api

package module
v0.0.0-...-8405c2a Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: EUPL-1.2 Imports: 17 Imported by: 2

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 NewCreateAttributeByProcesIdRequest

func NewCreateAttributeByProcesIdRequest(server string, procesId PathProcesId, params *CreateAttributeByProcesIdParams, body CreateAttributeByProcesIdJSONRequestBody) (*http.Request, error)

NewCreateAttributeByProcesIdRequest calls the generic CreateAttributeByProcesId builder with application/json body

func NewCreateAttributeByProcesIdRequestWithBody

func NewCreateAttributeByProcesIdRequestWithBody(server string, procesId PathProcesId, params *CreateAttributeByProcesIdParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateAttributeByProcesIdRequestWithBody generates requests for CreateAttributeByProcesId with any type of body

func NewCreateObservationByVreemdelingenIdRequest

func NewCreateObservationByVreemdelingenIdRequest(server string, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, body CreateObservationByVreemdelingenIdJSONRequestBody) (*http.Request, error)

NewCreateObservationByVreemdelingenIdRequest calls the generic CreateObservationByVreemdelingenId builder with application/json body

func NewCreateObservationByVreemdelingenIdRequestWithBody

func NewCreateObservationByVreemdelingenIdRequestWithBody(server string, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateObservationByVreemdelingenIdRequestWithBody generates requests for CreateObservationByVreemdelingenId with any type of body

func NewCreateProcesByVreemdelingenIdRequest

func NewCreateProcesByVreemdelingenIdRequest(server string, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, body CreateProcesByVreemdelingenIdJSONRequestBody) (*http.Request, error)

NewCreateProcesByVreemdelingenIdRequest calls the generic CreateProcesByVreemdelingenId builder with application/json body

func NewCreateProcesByVreemdelingenIdRequestWithBody

func NewCreateProcesByVreemdelingenIdRequestWithBody(server string, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateProcesByVreemdelingenIdRequestWithBody generates requests for CreateProcesByVreemdelingenId with any type of body

func NewDeleteAttributeByIdRequest

func NewDeleteAttributeByIdRequest(server string, attributeId PathAttributeId, params *DeleteAttributeByIdParams) (*http.Request, error)

NewDeleteAttributeByIdRequest generates requests for DeleteAttributeById

func NewDeleteObservationByIdRequest

func NewDeleteObservationByIdRequest(server string, observationId PathObservationId, params *DeleteObservationByIdParams) (*http.Request, error)

NewDeleteObservationByIdRequest generates requests for DeleteObservationById

func NewReadProcesByIdRequest

func NewReadProcesByIdRequest(server string, procesId PathProcesId, params *ReadProcesByIdParams) (*http.Request, error)

NewReadProcesByIdRequest generates requests for ReadProcesById

func NewReadProcessenByVreemdelingIdRequest

func NewReadProcessenByVreemdelingIdRequest(server string, vreemdelingId PathVreemdelingId, params *ReadProcessenByVreemdelingIdParams) (*http.Request, error)

NewReadProcessenByVreemdelingIdRequest generates requests for ReadProcessenByVreemdelingId

func NewReadProcessenRequest

func NewReadProcessenRequest(server string, params *ReadProcessenParams) (*http.Request, error)

NewReadProcessenRequest generates requests for ReadProcessen

func NewReadVreemdelingByIdRequest

func NewReadVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams) (*http.Request, error)

NewReadVreemdelingByIdRequest generates requests for ReadVreemdelingById

func NewUpdateProcesByIdRequest

func NewUpdateProcesByIdRequest(server string, procesId PathProcesId, params *UpdateProcesByIdParams, body UpdateProcesByIdJSONRequestBody) (*http.Request, error)

NewUpdateProcesByIdRequest calls the generic UpdateProcesById builder with application/json body

func NewUpdateProcesByIdRequestWithBody

func NewUpdateProcesByIdRequestWithBody(server string, procesId PathProcesId, params *UpdateProcesByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProcesByIdRequestWithBody generates requests for UpdateProcesById 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 Attribute

type Attribute struct {
	Observations []Observation `json:"observations"`
	Value        interface{}   `json:"value"`
}

Attribute Attribute containing the current value with all observations

type AttributeId

type AttributeId = openapi_types.UUID

AttributeId UUID of attribute.

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

func (c *Client) CreateAttributeByProcesId(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, body CreateAttributeByProcesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAttributeByProcesIdWithBody

func (c *Client) CreateAttributeByProcesIdWithBody(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateObservationByVreemdelingenIdWithBody

func (c *Client) CreateObservationByVreemdelingenIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProcesByVreemdelingenId

func (c *Client) CreateProcesByVreemdelingenId(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, body CreateProcesByVreemdelingenIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProcesByVreemdelingenIdWithBody

func (c *Client) CreateProcesByVreemdelingenIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAttributeById

func (c *Client) DeleteAttributeById(ctx context.Context, attributeId PathAttributeId, params *DeleteAttributeByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteObservationById

func (c *Client) DeleteObservationById(ctx context.Context, observationId PathObservationId, params *DeleteObservationByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadProcesById

func (c *Client) ReadProcesById(ctx context.Context, procesId PathProcesId, params *ReadProcesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadProcessen

func (c *Client) ReadProcessen(ctx context.Context, params *ReadProcessenParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadProcessenByVreemdelingId

func (c *Client) ReadProcessenByVreemdelingId(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadProcessenByVreemdelingIdParams, 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) UpdateProcesById

func (c *Client) UpdateProcesById(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, body UpdateProcesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProcesByIdWithBody

func (c *Client) UpdateProcesByIdWithBody(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// DeleteAttributeById request
	DeleteAttributeById(ctx context.Context, attributeId PathAttributeId, params *DeleteAttributeByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteObservationById request
	DeleteObservationById(ctx context.Context, observationId PathObservationId, params *DeleteObservationByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadProcessen request
	ReadProcessen(ctx context.Context, params *ReadProcessenParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadProcesById request
	ReadProcesById(ctx context.Context, procesId PathProcesId, params *ReadProcesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProcesByIdWithBody request with any body
	UpdateProcesByIdWithBody(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateProcesById(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, body UpdateProcesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAttributeByProcesIdWithBody request with any body
	CreateAttributeByProcesIdWithBody(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAttributeByProcesId(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, body CreateAttributeByProcesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadVreemdelingById request
	ReadVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateObservationByVreemdelingenIdWithBody request with any body
	CreateObservationByVreemdelingenIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateObservationByVreemdelingenId(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, body CreateObservationByVreemdelingenIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadProcessenByVreemdelingId request
	ReadProcessenByVreemdelingId(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadProcessenByVreemdelingIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProcesByVreemdelingenIdWithBody request with any body
	CreateProcesByVreemdelingenIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateProcesByVreemdelingenId(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, body CreateProcesByVreemdelingenIdJSONRequestBody, 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) CreateAttributeByProcesIdWithBodyWithResponse

func (c *ClientWithResponses) CreateAttributeByProcesIdWithBodyWithResponse(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAttributeByProcesIdResponse, error)

CreateAttributeByProcesIdWithBodyWithResponse request with arbitrary body returning *CreateAttributeByProcesIdResponse

func (*ClientWithResponses) CreateObservationByVreemdelingenIdWithBodyWithResponse

func (c *ClientWithResponses) CreateObservationByVreemdelingenIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObservationByVreemdelingenIdResponse, error)

CreateObservationByVreemdelingenIdWithBodyWithResponse request with arbitrary body returning *CreateObservationByVreemdelingenIdResponse

func (*ClientWithResponses) CreateProcesByVreemdelingenIdWithBodyWithResponse

func (c *ClientWithResponses) CreateProcesByVreemdelingenIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProcesByVreemdelingenIdResponse, error)

CreateProcesByVreemdelingenIdWithBodyWithResponse request with arbitrary body returning *CreateProcesByVreemdelingenIdResponse

func (*ClientWithResponses) DeleteAttributeByIdWithResponse

func (c *ClientWithResponses) DeleteAttributeByIdWithResponse(ctx context.Context, attributeId PathAttributeId, params *DeleteAttributeByIdParams, reqEditors ...RequestEditorFn) (*DeleteAttributeByIdResponse, error)

DeleteAttributeByIdWithResponse request returning *DeleteAttributeByIdResponse

func (*ClientWithResponses) DeleteObservationByIdWithResponse

func (c *ClientWithResponses) DeleteObservationByIdWithResponse(ctx context.Context, observationId PathObservationId, params *DeleteObservationByIdParams, reqEditors ...RequestEditorFn) (*DeleteObservationByIdResponse, error)

DeleteObservationByIdWithResponse request returning *DeleteObservationByIdResponse

func (*ClientWithResponses) ReadProcesByIdWithResponse

func (c *ClientWithResponses) ReadProcesByIdWithResponse(ctx context.Context, procesId PathProcesId, params *ReadProcesByIdParams, reqEditors ...RequestEditorFn) (*ReadProcesByIdResponse, error)

ReadProcesByIdWithResponse request returning *ReadProcesByIdResponse

func (*ClientWithResponses) ReadProcessenByVreemdelingIdWithResponse

func (c *ClientWithResponses) ReadProcessenByVreemdelingIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadProcessenByVreemdelingIdParams, reqEditors ...RequestEditorFn) (*ReadProcessenByVreemdelingIdResponse, error)

ReadProcessenByVreemdelingIdWithResponse request returning *ReadProcessenByVreemdelingIdResponse

func (*ClientWithResponses) ReadProcessenWithResponse

func (c *ClientWithResponses) ReadProcessenWithResponse(ctx context.Context, params *ReadProcessenParams, reqEditors ...RequestEditorFn) (*ReadProcessenResponse, error)

ReadProcessenWithResponse request returning *ReadProcessenResponse

func (*ClientWithResponses) ReadVreemdelingByIdWithResponse

func (c *ClientWithResponses) ReadVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*ReadVreemdelingByIdResponse, error)

ReadVreemdelingByIdWithResponse request returning *ReadVreemdelingByIdResponse

func (*ClientWithResponses) UpdateProcesByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateProcesByIdWithBodyWithResponse(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProcesByIdResponse, error)

UpdateProcesByIdWithBodyWithResponse request with arbitrary body returning *UpdateProcesByIdResponse

func (*ClientWithResponses) UpdateProcesByIdWithResponse

func (c *ClientWithResponses) UpdateProcesByIdWithResponse(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, body UpdateProcesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProcesByIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// DeleteAttributeByIdWithResponse request
	DeleteAttributeByIdWithResponse(ctx context.Context, attributeId PathAttributeId, params *DeleteAttributeByIdParams, reqEditors ...RequestEditorFn) (*DeleteAttributeByIdResponse, error)

	// DeleteObservationByIdWithResponse request
	DeleteObservationByIdWithResponse(ctx context.Context, observationId PathObservationId, params *DeleteObservationByIdParams, reqEditors ...RequestEditorFn) (*DeleteObservationByIdResponse, error)

	// ReadProcessenWithResponse request
	ReadProcessenWithResponse(ctx context.Context, params *ReadProcessenParams, reqEditors ...RequestEditorFn) (*ReadProcessenResponse, error)

	// ReadProcesByIdWithResponse request
	ReadProcesByIdWithResponse(ctx context.Context, procesId PathProcesId, params *ReadProcesByIdParams, reqEditors ...RequestEditorFn) (*ReadProcesByIdResponse, error)

	// UpdateProcesByIdWithBodyWithResponse request with any body
	UpdateProcesByIdWithBodyWithResponse(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProcesByIdResponse, error)

	UpdateProcesByIdWithResponse(ctx context.Context, procesId PathProcesId, params *UpdateProcesByIdParams, body UpdateProcesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProcesByIdResponse, error)

	// CreateAttributeByProcesIdWithBodyWithResponse request with any body
	CreateAttributeByProcesIdWithBodyWithResponse(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAttributeByProcesIdResponse, error)

	CreateAttributeByProcesIdWithResponse(ctx context.Context, procesId PathProcesId, params *CreateAttributeByProcesIdParams, body CreateAttributeByProcesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAttributeByProcesIdResponse, error)

	// ReadVreemdelingByIdWithResponse request
	ReadVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*ReadVreemdelingByIdResponse, error)

	// CreateObservationByVreemdelingenIdWithBodyWithResponse request with any body
	CreateObservationByVreemdelingenIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObservationByVreemdelingenIdResponse, error)

	CreateObservationByVreemdelingenIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateObservationByVreemdelingenIdParams, body CreateObservationByVreemdelingenIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObservationByVreemdelingenIdResponse, error)

	// ReadProcessenByVreemdelingIdWithResponse request
	ReadProcessenByVreemdelingIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadProcessenByVreemdelingIdParams, reqEditors ...RequestEditorFn) (*ReadProcessenByVreemdelingIdResponse, error)

	// CreateProcesByVreemdelingenIdWithBodyWithResponse request with any body
	CreateProcesByVreemdelingenIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProcesByVreemdelingenIdResponse, error)

	CreateProcesByVreemdelingenIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *CreateProcesByVreemdelingenIdParams, body CreateProcesByVreemdelingenIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProcesByVreemdelingenIdResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateAttributeByProcesId201JSONResponse

type CreateAttributeByProcesId201JSONResponse struct {
	ObservationCreateResponseJSONResponse
}

func (CreateAttributeByProcesId201JSONResponse) VisitCreateAttributeByProcesIdResponse

func (response CreateAttributeByProcesId201JSONResponse) VisitCreateAttributeByProcesIdResponse(w http.ResponseWriter) error

type CreateAttributeByProcesId400JSONResponse

type CreateAttributeByProcesId400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (CreateAttributeByProcesId400JSONResponse) VisitCreateAttributeByProcesIdResponse

func (response CreateAttributeByProcesId400JSONResponse) VisitCreateAttributeByProcesIdResponse(w http.ResponseWriter) error

type CreateAttributeByProcesId410JSONResponse

type CreateAttributeByProcesId410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (CreateAttributeByProcesId410JSONResponse) VisitCreateAttributeByProcesIdResponse

func (response CreateAttributeByProcesId410JSONResponse) VisitCreateAttributeByProcesIdResponse(w http.ResponseWriter) error

type CreateAttributeByProcesIdJSONBody

type CreateAttributeByProcesIdJSONBody struct {
	// Data Observation to create.
	Data ObservationCreate `json:"data"`
}

CreateAttributeByProcesIdJSONBody defines parameters for CreateAttributeByProcesId.

type CreateAttributeByProcesIdJSONRequestBody

type CreateAttributeByProcesIdJSONRequestBody CreateAttributeByProcesIdJSONBody

CreateAttributeByProcesIdJSONRequestBody defines body for CreateAttributeByProcesId for application/json ContentType.

type CreateAttributeByProcesIdParams

type CreateAttributeByProcesIdParams struct {
	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

CreateAttributeByProcesIdParams defines parameters for CreateAttributeByProcesId.

type CreateAttributeByProcesIdRequestObject

type CreateAttributeByProcesIdRequestObject struct {
	ProcesId PathProcesId `json:"procesId"`
	Params   CreateAttributeByProcesIdParams
	Body     *CreateAttributeByProcesIdJSONRequestBody
}

type CreateAttributeByProcesIdResponse

type CreateAttributeByProcesIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ObservationCreateResponse
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseCreateAttributeByProcesIdResponse

func ParseCreateAttributeByProcesIdResponse(rsp *http.Response) (*CreateAttributeByProcesIdResponse, error)

ParseCreateAttributeByProcesIdResponse parses an HTTP response from a CreateAttributeByProcesIdWithResponse call

func (CreateAttributeByProcesIdResponse) Status

Status returns HTTPResponse.Status

func (CreateAttributeByProcesIdResponse) StatusCode

func (r CreateAttributeByProcesIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAttributeByProcesIdResponseObject

type CreateAttributeByProcesIdResponseObject interface {
	VisitCreateAttributeByProcesIdResponse(w http.ResponseWriter) error
}

type CreateObservationByVreemdelingenId201JSONResponse

type CreateObservationByVreemdelingenId201JSONResponse struct {
	ObservationCreateResponseJSONResponse
}

func (CreateObservationByVreemdelingenId201JSONResponse) VisitCreateObservationByVreemdelingenIdResponse

func (response CreateObservationByVreemdelingenId201JSONResponse) VisitCreateObservationByVreemdelingenIdResponse(w http.ResponseWriter) error

type CreateObservationByVreemdelingenId400JSONResponse

type CreateObservationByVreemdelingenId400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (CreateObservationByVreemdelingenId400JSONResponse) VisitCreateObservationByVreemdelingenIdResponse

func (response CreateObservationByVreemdelingenId400JSONResponse) VisitCreateObservationByVreemdelingenIdResponse(w http.ResponseWriter) error

type CreateObservationByVreemdelingenId410JSONResponse

type CreateObservationByVreemdelingenId410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (CreateObservationByVreemdelingenId410JSONResponse) VisitCreateObservationByVreemdelingenIdResponse

func (response CreateObservationByVreemdelingenId410JSONResponse) VisitCreateObservationByVreemdelingenIdResponse(w http.ResponseWriter) error

type CreateObservationByVreemdelingenIdJSONBody

type CreateObservationByVreemdelingenIdJSONBody struct {
	// Data Observation to create.
	Data ObservationCreate `json:"data"`
}

CreateObservationByVreemdelingenIdJSONBody defines parameters for CreateObservationByVreemdelingenId.

type CreateObservationByVreemdelingenIdJSONRequestBody

type CreateObservationByVreemdelingenIdJSONRequestBody CreateObservationByVreemdelingenIdJSONBody

CreateObservationByVreemdelingenIdJSONRequestBody defines body for CreateObservationByVreemdelingenId for application/json ContentType.

type CreateObservationByVreemdelingenIdParams

type CreateObservationByVreemdelingenIdParams struct {
	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

CreateObservationByVreemdelingenIdParams defines parameters for CreateObservationByVreemdelingenId.

type CreateObservationByVreemdelingenIdRequestObject

type CreateObservationByVreemdelingenIdRequestObject struct {
	VreemdelingId PathVreemdelingId `json:"vreemdelingId"`
	Params        CreateObservationByVreemdelingenIdParams
	Body          *CreateObservationByVreemdelingenIdJSONRequestBody
}

type CreateObservationByVreemdelingenIdResponse

type CreateObservationByVreemdelingenIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ObservationCreateResponse
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseCreateObservationByVreemdelingenIdResponse

func ParseCreateObservationByVreemdelingenIdResponse(rsp *http.Response) (*CreateObservationByVreemdelingenIdResponse, error)

ParseCreateObservationByVreemdelingenIdResponse parses an HTTP response from a CreateObservationByVreemdelingenIdWithResponse call

func (CreateObservationByVreemdelingenIdResponse) Status

Status returns HTTPResponse.Status

func (CreateObservationByVreemdelingenIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateObservationByVreemdelingenIdResponseObject

type CreateObservationByVreemdelingenIdResponseObject interface {
	VisitCreateObservationByVreemdelingenIdResponse(w http.ResponseWriter) error
}

type CreateProcesByVreemdelingenId201JSONResponse

type CreateProcesByVreemdelingenId201JSONResponse struct {
	ProcesCreateResponseJSONResponse
}

func (CreateProcesByVreemdelingenId201JSONResponse) VisitCreateProcesByVreemdelingenIdResponse

func (response CreateProcesByVreemdelingenId201JSONResponse) VisitCreateProcesByVreemdelingenIdResponse(w http.ResponseWriter) error

type CreateProcesByVreemdelingenId400JSONResponse

type CreateProcesByVreemdelingenId400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (CreateProcesByVreemdelingenId400JSONResponse) VisitCreateProcesByVreemdelingenIdResponse

func (response CreateProcesByVreemdelingenId400JSONResponse) VisitCreateProcesByVreemdelingenIdResponse(w http.ResponseWriter) error

type CreateProcesByVreemdelingenId410JSONResponse

type CreateProcesByVreemdelingenId410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (CreateProcesByVreemdelingenId410JSONResponse) VisitCreateProcesByVreemdelingenIdResponse

func (response CreateProcesByVreemdelingenId410JSONResponse) VisitCreateProcesByVreemdelingenIdResponse(w http.ResponseWriter) error

type CreateProcesByVreemdelingenIdJSONBody

type CreateProcesByVreemdelingenIdJSONBody struct {
	// Data Proces to create.
	Data ProcesCreate `json:"data"`
}

CreateProcesByVreemdelingenIdJSONBody defines parameters for CreateProcesByVreemdelingenId.

type CreateProcesByVreemdelingenIdJSONRequestBody

type CreateProcesByVreemdelingenIdJSONRequestBody CreateProcesByVreemdelingenIdJSONBody

CreateProcesByVreemdelingenIdJSONRequestBody defines body for CreateProcesByVreemdelingenId for application/json ContentType.

type CreateProcesByVreemdelingenIdParams

type CreateProcesByVreemdelingenIdParams struct {
	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

CreateProcesByVreemdelingenIdParams defines parameters for CreateProcesByVreemdelingenId.

type CreateProcesByVreemdelingenIdRequestObject

type CreateProcesByVreemdelingenIdRequestObject struct {
	VreemdelingId PathVreemdelingId `json:"vreemdelingId"`
	Params        CreateProcesByVreemdelingenIdParams
	Body          *CreateProcesByVreemdelingenIdJSONRequestBody
}

type CreateProcesByVreemdelingenIdResponse

type CreateProcesByVreemdelingenIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ProcesCreateResponse
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseCreateProcesByVreemdelingenIdResponse

func ParseCreateProcesByVreemdelingenIdResponse(rsp *http.Response) (*CreateProcesByVreemdelingenIdResponse, error)

ParseCreateProcesByVreemdelingenIdResponse parses an HTTP response from a CreateProcesByVreemdelingenIdWithResponse call

func (CreateProcesByVreemdelingenIdResponse) Status

Status returns HTTPResponse.Status

func (CreateProcesByVreemdelingenIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateProcesByVreemdelingenIdResponseObject

type CreateProcesByVreemdelingenIdResponseObject interface {
	VisitCreateProcesByVreemdelingenIdResponse(w http.ResponseWriter) error
}

type DeleteAttributeById204Response

type DeleteAttributeById204Response = EmptyResponseResponse

func (DeleteAttributeById204Response) VisitDeleteAttributeByIdResponse

func (response DeleteAttributeById204Response) VisitDeleteAttributeByIdResponse(w http.ResponseWriter) error

type DeleteAttributeById400JSONResponse

type DeleteAttributeById400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (DeleteAttributeById400JSONResponse) VisitDeleteAttributeByIdResponse

func (response DeleteAttributeById400JSONResponse) VisitDeleteAttributeByIdResponse(w http.ResponseWriter) error

type DeleteAttributeById410JSONResponse

type DeleteAttributeById410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (DeleteAttributeById410JSONResponse) VisitDeleteAttributeByIdResponse

func (response DeleteAttributeById410JSONResponse) VisitDeleteAttributeByIdResponse(w http.ResponseWriter) error

type DeleteAttributeByIdParams

type DeleteAttributeByIdParams struct {
	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

DeleteAttributeByIdParams defines parameters for DeleteAttributeById.

type DeleteAttributeByIdRequestObject

type DeleteAttributeByIdRequestObject struct {
	AttributeId PathAttributeId `json:"attributeId"`
	Params      DeleteAttributeByIdParams
}

type DeleteAttributeByIdResponse

type DeleteAttributeByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseDeleteAttributeByIdResponse

func ParseDeleteAttributeByIdResponse(rsp *http.Response) (*DeleteAttributeByIdResponse, error)

ParseDeleteAttributeByIdResponse parses an HTTP response from a DeleteAttributeByIdWithResponse call

func (DeleteAttributeByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteAttributeByIdResponse) StatusCode

func (r DeleteAttributeByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAttributeByIdResponseObject

type DeleteAttributeByIdResponseObject interface {
	VisitDeleteAttributeByIdResponse(w http.ResponseWriter) error
}

type DeleteObservationById204Response

type DeleteObservationById204Response = EmptyResponseResponse

func (DeleteObservationById204Response) VisitDeleteObservationByIdResponse

func (response DeleteObservationById204Response) VisitDeleteObservationByIdResponse(w http.ResponseWriter) error

type DeleteObservationById400JSONResponse

type DeleteObservationById400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (DeleteObservationById400JSONResponse) VisitDeleteObservationByIdResponse

func (response DeleteObservationById400JSONResponse) VisitDeleteObservationByIdResponse(w http.ResponseWriter) error

type DeleteObservationById410JSONResponse

type DeleteObservationById410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (DeleteObservationById410JSONResponse) VisitDeleteObservationByIdResponse

func (response DeleteObservationById410JSONResponse) VisitDeleteObservationByIdResponse(w http.ResponseWriter) error

type DeleteObservationByIdParams

type DeleteObservationByIdParams struct {
	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

DeleteObservationByIdParams defines parameters for DeleteObservationById.

type DeleteObservationByIdRequestObject

type DeleteObservationByIdRequestObject struct {
	ObservationId PathObservationId `json:"observationId"`
	Params        DeleteObservationByIdParams
}

type DeleteObservationByIdResponse

type DeleteObservationByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseDeleteObservationByIdResponse

func ParseDeleteObservationByIdResponse(rsp *http.Response) (*DeleteObservationByIdResponse, error)

ParseDeleteObservationByIdResponse parses an HTTP response from a DeleteObservationByIdWithResponse call

func (DeleteObservationByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteObservationByIdResponse) StatusCode

func (r DeleteObservationByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteObservationByIdResponseObject

type DeleteObservationByIdResponseObject interface {
	VisitDeleteObservationByIdResponse(w http.ResponseWriter) error
}

type EmptyResponseResponse

type EmptyResponseResponse struct {
}

type Error

type Error struct {
	Message *string `json:"message,omitempty"`
}

Error The error that occured while processing this request.

type FSCVWLSysteem

type FSCVWLSysteem = string

FSCVWLSysteem vwl systeem schema

type FSCVWLVerantwoordelijke

type FSCVWLVerantwoordelijke = string

FSCVWLVerantwoordelijke vwl verantwoordelijke schema

type FSCVWLVerwerker

type FSCVWLVerwerker = string

FSCVWLVerwerker vwl verwerker schema

type FSCVWLVerwerkingsActiviteit

type FSCVWLVerwerkingsActiviteit = string

FSCVWLVerwerkingsActiviteit id of the verwerking type schema

type FSCVWLVerwerkingsSpan

type FSCVWLVerwerkingsSpan = openapi_types.UUID

FSCVWLVerwerkingsSpan verwerkings span uuid type schema

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 Observation

type Observation struct {
	Attribute string    `json:"attribute"`
	CreatedAt time.Time `json:"createdAt"`

	// Id UUID of observation.
	Id            ObservationId `json:"id"`
	InvalidatedAt *time.Time    `json:"invalidatedAt,omitempty"`
	Source        string        `json:"source"`
	Value         interface{}   `json:"value"`
}

Observation Moment of registration of a specific observation of a vreemdeling.

type ObservationCreate

type ObservationCreate struct {
	Attribute string `json:"attribute"`

	// Value Generic value to enable dynamic typing
	Value Value `json:"value"`
}

ObservationCreate Observation to create.

type ObservationCreateRequest

type ObservationCreateRequest struct {
	// Data Observation to create.
	Data ObservationCreate `json:"data"`
}

ObservationCreateRequest defines model for ObservationCreateRequest.

type ObservationCreateResponse

type ObservationCreateResponse struct {
	// Data Moment of registration of a specific observation of a vreemdeling.
	Data Observation `json:"data"`
}

ObservationCreateResponse Observation create response schema

type ObservationCreateResponseJSONResponse

type ObservationCreateResponseJSONResponse struct {
	Body ObservationCreateResponse

	Headers ObservationCreateResponseResponseHeaders
}

type ObservationCreateResponseResponseHeaders

type ObservationCreateResponseResponseHeaders struct {
	FSCVWLSysteem               FSCVWLSysteem
	FSCVWLVerantwoordelijke     FSCVWLVerantwoordelijke
	FSCVWLVerwerker             FSCVWLVerwerker
	FSCVWLVerwerkingsActiviteit FSCVWLVerwerkingsActiviteit
	FSCVWLVerwerkingsSpan       FSCVWLVerwerkingsSpan
}

type ObservationId

type ObservationId = openapi_types.UUID

ObservationId UUID of observation.

type PathAttributeId

type PathAttributeId = AttributeId

PathAttributeId UUID of attribute.

type PathObservationId

type PathObservationId = ObservationId

PathObservationId UUID of observation.

type PathProcesId

type PathProcesId = ProcesId

PathProcesId P-number of proces

type PathVreemdelingId

type PathVreemdelingId = VreemdelingId

PathVreemdelingId V-number of vreemdeling.

type Proces

type Proces struct {
	Attributes    *map[string]Attribute `json:"attributes,omitempty"`
	CreatedAt     time.Time             `json:"createdAt"`
	DeletedAt     *time.Time            `json:"deletedAt,omitempty"`
	Id            openapi_types.UUID    `json:"id"`
	ProcesId      string                `json:"procesId"`
	Source        string                `json:"source"`
	Status        string                `json:"status"`
	Type          string                `json:"type"`
	VreemdelingId string                `json:"vreemdelingId"`
}

Proces Proces with its attributes

type ProcesCreate

type ProcesCreate struct {
	Attributes []ObservationCreate `json:"attributes"`
	Status     string              `json:"status"`
	Type       string              `json:"type"`
}

ProcesCreate Proces to create.

type ProcesCreateRequest

type ProcesCreateRequest struct {
	// Data Proces to create.
	Data ProcesCreate `json:"data"`
}

ProcesCreateRequest defines model for ProcesCreateRequest.

type ProcesCreateResponse

type ProcesCreateResponse struct {
	// Data Proces with its attributes
	Data Proces `json:"data"`
}

ProcesCreateResponse Proces create response schema

type ProcesCreateResponseJSONResponse

type ProcesCreateResponseJSONResponse struct {
	Body ProcesCreateResponse

	Headers ProcesCreateResponseResponseHeaders
}

type ProcesCreateResponseResponseHeaders

type ProcesCreateResponseResponseHeaders struct {
	FSCVWLSysteem               FSCVWLSysteem
	FSCVWLVerantwoordelijke     FSCVWLVerantwoordelijke
	FSCVWLVerwerker             FSCVWLVerwerker
	FSCVWLVerwerkingsActiviteit FSCVWLVerwerkingsActiviteit
	FSCVWLVerwerkingsSpan       FSCVWLVerwerkingsSpan
}

type ProcesId

type ProcesId = string

ProcesId P-number of proces

type ProcesResponse

type ProcesResponse struct {
	// Data Proces with its attributes
	Data Proces `json:"data"`
}

ProcesResponse Proces response schema

type ProcesResponseJSONResponse

type ProcesResponseJSONResponse struct {
	Body ProcesResponse

	Headers ProcesResponseResponseHeaders
}

type ProcesResponseResponseHeaders

type ProcesResponseResponseHeaders struct {
	FSCVWLSysteem               FSCVWLSysteem
	FSCVWLVerantwoordelijke     FSCVWLVerantwoordelijke
	FSCVWLVerwerker             FSCVWLVerwerker
	FSCVWLVerwerkingsActiviteit FSCVWLVerwerkingsActiviteit
	FSCVWLVerwerkingsSpan       FSCVWLVerwerkingsSpan
}

type ProcesUpdate

type ProcesUpdate struct {
	Status string `json:"status"`
}

ProcesUpdate Proces to update.

type ProcesUpdateRequest

type ProcesUpdateRequest struct {
	// Data Proces to update.
	Data ProcesUpdate `json:"data"`
}

ProcesUpdateRequest defines model for ProcesUpdateRequest.

type ProcessenResponse

type ProcessenResponse struct {
	Data []Proces `json:"data"`
}

ProcessenResponse Processen response schema

type ProcessenResponseJSONResponse

type ProcessenResponseJSONResponse struct {
	Body ProcessenResponse

	Headers ProcessenResponseResponseHeaders
}

type ProcessenResponseResponseHeaders

type ProcessenResponseResponseHeaders struct {
	FSCVWLSysteem               FSCVWLSysteem
	FSCVWLVerantwoordelijke     FSCVWLVerantwoordelijke
	FSCVWLVerwerker             FSCVWLVerwerker
	FSCVWLVerwerkingsActiviteit FSCVWLVerwerkingsActiviteit
	FSCVWLVerwerkingsSpan       FSCVWLVerwerkingsSpan
}

type QueryAttributes

type QueryAttributes = []string

QueryAttributes defines model for queryAttributes.

type QueryAttributesOptional

type QueryAttributesOptional = []string

QueryAttributesOptional defines model for queryAttributesOptional.

type ReadProcesById200JSONResponse

type ReadProcesById200JSONResponse struct{ ProcesResponseJSONResponse }

func (ReadProcesById200JSONResponse) VisitReadProcesByIdResponse

func (response ReadProcesById200JSONResponse) VisitReadProcesByIdResponse(w http.ResponseWriter) error

type ReadProcesById400JSONResponse

type ReadProcesById400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (ReadProcesById400JSONResponse) VisitReadProcesByIdResponse

func (response ReadProcesById400JSONResponse) VisitReadProcesByIdResponse(w http.ResponseWriter) error

type ReadProcesById410JSONResponse

type ReadProcesById410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (ReadProcesById410JSONResponse) VisitReadProcesByIdResponse

func (response ReadProcesById410JSONResponse) VisitReadProcesByIdResponse(w http.ResponseWriter) error

type ReadProcesByIdParams

type ReadProcesByIdParams struct {
	// Attributes Comma-separated list of attributes to show.
	Attributes *QueryAttributesOptional `form:"attributes,omitempty" json:"attributes,omitempty"`

	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

ReadProcesByIdParams defines parameters for ReadProcesById.

type ReadProcesByIdRequestObject

type ReadProcesByIdRequestObject struct {
	ProcesId PathProcesId `json:"procesId"`
	Params   ReadProcesByIdParams
}

type ReadProcesByIdResponse

type ReadProcesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcesResponse
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseReadProcesByIdResponse

func ParseReadProcesByIdResponse(rsp *http.Response) (*ReadProcesByIdResponse, error)

ParseReadProcesByIdResponse parses an HTTP response from a ReadProcesByIdWithResponse call

func (ReadProcesByIdResponse) Status

func (r ReadProcesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (ReadProcesByIdResponse) StatusCode

func (r ReadProcesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadProcesByIdResponseObject

type ReadProcesByIdResponseObject interface {
	VisitReadProcesByIdResponse(w http.ResponseWriter) error
}

type ReadProcessen200JSONResponse

type ReadProcessen200JSONResponse struct{ ProcessenResponseJSONResponse }

func (ReadProcessen200JSONResponse) VisitReadProcessenResponse

func (response ReadProcessen200JSONResponse) VisitReadProcessenResponse(w http.ResponseWriter) error

type ReadProcessen400JSONResponse

type ReadProcessen400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (ReadProcessen400JSONResponse) VisitReadProcessenResponse

func (response ReadProcessen400JSONResponse) VisitReadProcessenResponse(w http.ResponseWriter) error

type ReadProcessenByVreemdelingId200JSONResponse

type ReadProcessenByVreemdelingId200JSONResponse struct{ ProcessenResponseJSONResponse }

func (ReadProcessenByVreemdelingId200JSONResponse) VisitReadProcessenByVreemdelingIdResponse

func (response ReadProcessenByVreemdelingId200JSONResponse) VisitReadProcessenByVreemdelingIdResponse(w http.ResponseWriter) error

type ReadProcessenByVreemdelingId400JSONResponse

type ReadProcessenByVreemdelingId400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (ReadProcessenByVreemdelingId400JSONResponse) VisitReadProcessenByVreemdelingIdResponse

func (response ReadProcessenByVreemdelingId400JSONResponse) VisitReadProcessenByVreemdelingIdResponse(w http.ResponseWriter) error

type ReadProcessenByVreemdelingIdParams

type ReadProcessenByVreemdelingIdParams struct {
	// Attributes Comma-separated list of attributes to show.
	Attributes *QueryAttributesOptional `form:"attributes,omitempty" json:"attributes,omitempty"`

	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

ReadProcessenByVreemdelingIdParams defines parameters for ReadProcessenByVreemdelingId.

type ReadProcessenByVreemdelingIdRequestObject

type ReadProcessenByVreemdelingIdRequestObject struct {
	VreemdelingId PathVreemdelingId `json:"vreemdelingId"`
	Params        ReadProcessenByVreemdelingIdParams
}

type ReadProcessenByVreemdelingIdResponse

type ReadProcessenByVreemdelingIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcessenResponse
	JSON400      *BadRequestErrorResponse
}

func ParseReadProcessenByVreemdelingIdResponse

func ParseReadProcessenByVreemdelingIdResponse(rsp *http.Response) (*ReadProcessenByVreemdelingIdResponse, error)

ParseReadProcessenByVreemdelingIdResponse parses an HTTP response from a ReadProcessenByVreemdelingIdWithResponse call

func (ReadProcessenByVreemdelingIdResponse) Status

Status returns HTTPResponse.Status

func (ReadProcessenByVreemdelingIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReadProcessenByVreemdelingIdResponseObject

type ReadProcessenByVreemdelingIdResponseObject interface {
	VisitReadProcessenByVreemdelingIdResponse(w http.ResponseWriter) error
}

type ReadProcessenParams

type ReadProcessenParams struct {
	// Attributes Comma-separated list of attributes to show.
	Attributes *QueryAttributesOptional `form:"attributes,omitempty" json:"attributes,omitempty"`

	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

ReadProcessenParams defines parameters for ReadProcessen.

type ReadProcessenRequestObject

type ReadProcessenRequestObject struct {
	Params ReadProcessenParams
}

type ReadProcessenResponse

type ReadProcessenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcessenResponse
	JSON400      *BadRequestErrorResponse
}

func ParseReadProcessenResponse

func ParseReadProcessenResponse(rsp *http.Response) (*ReadProcessenResponse, error)

ParseReadProcessenResponse parses an HTTP response from a ReadProcessenWithResponse call

func (ReadProcessenResponse) Status

func (r ReadProcessenResponse) Status() string

Status returns HTTPResponse.Status

func (ReadProcessenResponse) StatusCode

func (r ReadProcessenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadProcessenResponseObject

type ReadProcessenResponseObject interface {
	VisitReadProcessenResponse(w http.ResponseWriter) error
}

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 {
	// Attributes Comma-separated list of required attributes to show.
	Attributes QueryAttributes `form:"attributes" json:"attributes"`

	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *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 {
	// Invalidate attribute
	// (DELETE /attributes/{attributeId})
	DeleteAttributeById(w http.ResponseWriter, r *http.Request, attributeId PathAttributeId, params DeleteAttributeByIdParams)
	// Invalidate observation
	// (DELETE /observations/{observationId})
	DeleteObservationById(w http.ResponseWriter, r *http.Request, observationId PathObservationId, params DeleteObservationByIdParams)
	// Get all processes
	// (GET /processen)
	ReadProcessen(w http.ResponseWriter, r *http.Request, params ReadProcessenParams)
	// Find proces by ID.
	// (GET /processen/{procesId})
	ReadProcesById(w http.ResponseWriter, r *http.Request, procesId PathProcesId, params ReadProcesByIdParams)
	// Update proces by ID.
	// (PUT /processen/{procesId})
	UpdateProcesById(w http.ResponseWriter, r *http.Request, procesId PathProcesId, params UpdateProcesByIdParams)
	// Adds an attribute to a proces
	// (POST /processen/{procesId}/attributes)
	CreateAttributeByProcesId(w http.ResponseWriter, r *http.Request, procesId PathProcesId, params CreateAttributeByProcesIdParams)
	// Find vreemdeling by ID
	// (GET /vreemdelingen/{vreemdelingId})
	ReadVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params ReadVreemdelingByIdParams)
	// Adds an observation to a vreemdeling
	// (POST /vreemdelingen/{vreemdelingId}/observations)
	CreateObservationByVreemdelingenId(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params CreateObservationByVreemdelingenIdParams)
	// Find processen about a vreemdling by ID
	// (GET /vreemdelingen/{vreemdelingId}/processen)
	ReadProcessenByVreemdelingId(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params ReadProcessenByVreemdelingIdParams)
	// Adds a process to a vreemdeling
	// (POST /vreemdelingen/{vreemdelingId}/processen)
	CreateProcesByVreemdelingenId(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params CreateProcesByVreemdelingenIdParams)
}

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

func (siw *ServerInterfaceWrapper) CreateAttributeByProcesId(w http.ResponseWriter, r *http.Request)

CreateAttributeByProcesId operation middleware

func (*ServerInterfaceWrapper) CreateObservationByVreemdelingenId

func (siw *ServerInterfaceWrapper) CreateObservationByVreemdelingenId(w http.ResponseWriter, r *http.Request)

CreateObservationByVreemdelingenId operation middleware

func (*ServerInterfaceWrapper) CreateProcesByVreemdelingenId

func (siw *ServerInterfaceWrapper) CreateProcesByVreemdelingenId(w http.ResponseWriter, r *http.Request)

CreateProcesByVreemdelingenId operation middleware

func (*ServerInterfaceWrapper) DeleteAttributeById

func (siw *ServerInterfaceWrapper) DeleteAttributeById(w http.ResponseWriter, r *http.Request)

DeleteAttributeById operation middleware

func (*ServerInterfaceWrapper) DeleteObservationById

func (siw *ServerInterfaceWrapper) DeleteObservationById(w http.ResponseWriter, r *http.Request)

DeleteObservationById operation middleware

func (*ServerInterfaceWrapper) ReadProcesById

func (siw *ServerInterfaceWrapper) ReadProcesById(w http.ResponseWriter, r *http.Request)

ReadProcesById operation middleware

func (*ServerInterfaceWrapper) ReadProcessen

func (siw *ServerInterfaceWrapper) ReadProcessen(w http.ResponseWriter, r *http.Request)

ReadProcessen operation middleware

func (*ServerInterfaceWrapper) ReadProcessenByVreemdelingId

func (siw *ServerInterfaceWrapper) ReadProcessenByVreemdelingId(w http.ResponseWriter, r *http.Request)

ReadProcessenByVreemdelingId operation middleware

func (*ServerInterfaceWrapper) ReadVreemdelingById

func (siw *ServerInterfaceWrapper) ReadVreemdelingById(w http.ResponseWriter, r *http.Request)

ReadVreemdelingById operation middleware

func (*ServerInterfaceWrapper) UpdateProcesById

func (siw *ServerInterfaceWrapper) UpdateProcesById(w http.ResponseWriter, r *http.Request)

UpdateProcesById 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 {
	// Invalidate attribute
	// (DELETE /attributes/{attributeId})
	DeleteAttributeById(ctx context.Context, request DeleteAttributeByIdRequestObject) (DeleteAttributeByIdResponseObject, error)
	// Invalidate observation
	// (DELETE /observations/{observationId})
	DeleteObservationById(ctx context.Context, request DeleteObservationByIdRequestObject) (DeleteObservationByIdResponseObject, error)
	// Get all processes
	// (GET /processen)
	ReadProcessen(ctx context.Context, request ReadProcessenRequestObject) (ReadProcessenResponseObject, error)
	// Find proces by ID.
	// (GET /processen/{procesId})
	ReadProcesById(ctx context.Context, request ReadProcesByIdRequestObject) (ReadProcesByIdResponseObject, error)
	// Update proces by ID.
	// (PUT /processen/{procesId})
	UpdateProcesById(ctx context.Context, request UpdateProcesByIdRequestObject) (UpdateProcesByIdResponseObject, error)
	// Adds an attribute to a proces
	// (POST /processen/{procesId}/attributes)
	CreateAttributeByProcesId(ctx context.Context, request CreateAttributeByProcesIdRequestObject) (CreateAttributeByProcesIdResponseObject, error)
	// Find vreemdeling by ID
	// (GET /vreemdelingen/{vreemdelingId})
	ReadVreemdelingById(ctx context.Context, request ReadVreemdelingByIdRequestObject) (ReadVreemdelingByIdResponseObject, error)
	// Adds an observation to a vreemdeling
	// (POST /vreemdelingen/{vreemdelingId}/observations)
	CreateObservationByVreemdelingenId(ctx context.Context, request CreateObservationByVreemdelingenIdRequestObject) (CreateObservationByVreemdelingenIdResponseObject, error)
	// Find processen about a vreemdling by ID
	// (GET /vreemdelingen/{vreemdelingId}/processen)
	ReadProcessenByVreemdelingId(ctx context.Context, request ReadProcessenByVreemdelingIdRequestObject) (ReadProcessenByVreemdelingIdResponseObject, error)
	// Adds a process to a vreemdeling
	// (POST /vreemdelingen/{vreemdelingId}/processen)
	CreateProcesByVreemdelingenId(ctx context.Context, request CreateProcesByVreemdelingenIdRequestObject) (CreateProcesByVreemdelingenIdResponseObject, 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) CreateAttributeByProcesId

func (_ Unimplemented) CreateAttributeByProcesId(w http.ResponseWriter, r *http.Request, procesId PathProcesId, params CreateAttributeByProcesIdParams)

Adds an attribute to a proces (POST /processen/{procesId}/attributes)

func (Unimplemented) CreateObservationByVreemdelingenId

func (_ Unimplemented) CreateObservationByVreemdelingenId(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params CreateObservationByVreemdelingenIdParams)

Adds an observation to a vreemdeling (POST /vreemdelingen/{vreemdelingId}/observations)

func (Unimplemented) CreateProcesByVreemdelingenId

func (_ Unimplemented) CreateProcesByVreemdelingenId(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params CreateProcesByVreemdelingenIdParams)

Adds a process to a vreemdeling (POST /vreemdelingen/{vreemdelingId}/processen)

func (Unimplemented) DeleteAttributeById

func (_ Unimplemented) DeleteAttributeById(w http.ResponseWriter, r *http.Request, attributeId PathAttributeId, params DeleteAttributeByIdParams)

Invalidate attribute (DELETE /attributes/{attributeId})

func (Unimplemented) DeleteObservationById

func (_ Unimplemented) DeleteObservationById(w http.ResponseWriter, r *http.Request, observationId PathObservationId, params DeleteObservationByIdParams)

Invalidate observation (DELETE /observations/{observationId})

func (Unimplemented) ReadProcesById

func (_ Unimplemented) ReadProcesById(w http.ResponseWriter, r *http.Request, procesId PathProcesId, params ReadProcesByIdParams)

Find proces by ID. (GET /processen/{procesId})

func (Unimplemented) ReadProcessen

func (_ Unimplemented) ReadProcessen(w http.ResponseWriter, r *http.Request, params ReadProcessenParams)

Get all processes (GET /processen)

func (Unimplemented) ReadProcessenByVreemdelingId

func (_ Unimplemented) ReadProcessenByVreemdelingId(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params ReadProcessenByVreemdelingIdParams)

Find processen about a vreemdling by ID (GET /vreemdelingen/{vreemdelingId}/processen)

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

func (_ Unimplemented) UpdateProcesById(w http.ResponseWriter, r *http.Request, procesId PathProcesId, params UpdateProcesByIdParams)

Update proces by ID. (PUT /processen/{procesId})

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 UpdateProcesById204Response

type UpdateProcesById204Response = EmptyResponseResponse

func (UpdateProcesById204Response) VisitUpdateProcesByIdResponse

func (response UpdateProcesById204Response) VisitUpdateProcesByIdResponse(w http.ResponseWriter) error

type UpdateProcesById400JSONResponse

type UpdateProcesById400JSONResponse struct {
	BadRequestErrorResponseJSONResponse
}

func (UpdateProcesById400JSONResponse) VisitUpdateProcesByIdResponse

func (response UpdateProcesById400JSONResponse) VisitUpdateProcesByIdResponse(w http.ResponseWriter) error

type UpdateProcesById410JSONResponse

type UpdateProcesById410JSONResponse struct{ GoneErrorResponseJSONResponse }

func (UpdateProcesById410JSONResponse) VisitUpdateProcesByIdResponse

func (response UpdateProcesById410JSONResponse) VisitUpdateProcesByIdResponse(w http.ResponseWriter) error

type UpdateProcesByIdJSONBody

type UpdateProcesByIdJSONBody struct {
	// Data Proces to update.
	Data ProcesUpdate `json:"data"`
}

UpdateProcesByIdJSONBody defines parameters for UpdateProcesById.

type UpdateProcesByIdJSONRequestBody

type UpdateProcesByIdJSONRequestBody UpdateProcesByIdJSONBody

UpdateProcesByIdJSONRequestBody defines body for UpdateProcesById for application/json ContentType.

type UpdateProcesByIdParams

type UpdateProcesByIdParams struct {
	// FSCVWLVerwerkingsActiviteit id of the verwerking type parameter
	FSCVWLVerwerkingsActiviteit *FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"`

	// FSCVWLVerwerkingsSpan transaction uuid of the incoming request parameter
	FSCVWLVerwerkingsSpan *FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"`

	// FSCVWLSysteem identifier for the system processing the verwerking parameter
	FSCVWLSysteem *FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"`

	// FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking parameter
	FSCVWLVerwerker *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 parameter
	FSCVWLVerantwoordelijke *FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"`
}

UpdateProcesByIdParams defines parameters for UpdateProcesById.

type UpdateProcesByIdRequestObject

type UpdateProcesByIdRequestObject struct {
	ProcesId PathProcesId `json:"procesId"`
	Params   UpdateProcesByIdParams
	Body     *UpdateProcesByIdJSONRequestBody
}

type UpdateProcesByIdResponse

type UpdateProcesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestErrorResponse
	JSON410      *GoneErrorResponse
}

func ParseUpdateProcesByIdResponse

func ParseUpdateProcesByIdResponse(rsp *http.Response) (*UpdateProcesByIdResponse, error)

ParseUpdateProcesByIdResponse parses an HTTP response from a UpdateProcesByIdWithResponse call

func (UpdateProcesByIdResponse) Status

func (r UpdateProcesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProcesByIdResponse) StatusCode

func (r UpdateProcesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProcesByIdResponseObject

type UpdateProcesByIdResponseObject interface {
	VisitUpdateProcesByIdResponse(w http.ResponseWriter) error
}

type Value

type Value struct {
	// contains filtered or unexported fields
}

Value Generic value to enable dynamic typing

func (Value) AsValue0

func (t Value) AsValue0() (Value0, error)

AsValue0 returns the union data inside the Value as a Value0

func (Value) AsValue1

func (t Value) AsValue1() (Value1, error)

AsValue1 returns the union data inside the Value as a Value1

func (Value) AsValue2

func (t Value) AsValue2() (Value2, error)

AsValue2 returns the union data inside the Value as a Value2

func (Value) AsValue3

func (t Value) AsValue3() (Value3, error)

AsValue3 returns the union data inside the Value as a Value3

func (Value) AsValue4

func (t Value) AsValue4() (Value4, error)

AsValue4 returns the union data inside the Value as a Value4

func (*Value) FromValue0

func (t *Value) FromValue0(v Value0) error

FromValue0 overwrites any union data inside the Value as the provided Value0

func (*Value) FromValue1

func (t *Value) FromValue1(v Value1) error

FromValue1 overwrites any union data inside the Value as the provided Value1

func (*Value) FromValue2

func (t *Value) FromValue2(v Value2) error

FromValue2 overwrites any union data inside the Value as the provided Value2

func (*Value) FromValue3

func (t *Value) FromValue3(v Value3) error

FromValue3 overwrites any union data inside the Value as the provided Value3

func (*Value) FromValue4

func (t *Value) FromValue4(v Value4) error

FromValue4 overwrites any union data inside the Value as the provided Value4

func (Value) MarshalJSON

func (t Value) MarshalJSON() ([]byte, error)

func (*Value) MergeValue0

func (t *Value) MergeValue0(v Value0) error

MergeValue0 performs a merge with any union data inside the Value, using the provided Value0

func (*Value) MergeValue1

func (t *Value) MergeValue1(v Value1) error

MergeValue1 performs a merge with any union data inside the Value, using the provided Value1

func (*Value) MergeValue2

func (t *Value) MergeValue2(v Value2) error

MergeValue2 performs a merge with any union data inside the Value, using the provided Value2

func (*Value) MergeValue3

func (t *Value) MergeValue3(v Value3) error

MergeValue3 performs a merge with any union data inside the Value, using the provided Value3

func (*Value) MergeValue4

func (t *Value) MergeValue4(v Value4) error

MergeValue4 performs a merge with any union data inside the Value, using the provided Value4

func (*Value) UnmarshalJSON

func (t *Value) UnmarshalJSON(b []byte) error

type Value0

type Value0 = map[string]interface{}

Value0 defines model for .

type Value1

type Value1 = string

Value1 defines model for .

type Value2

type Value2 = bool

Value2 defines model for .

type Value3

type Value3 = []interface{}

Value3 defines model for .

type Value4

type Value4 = float32

Value4 defines model for .

type Vreemdeling

type Vreemdeling map[string]Attribute

Vreemdeling Known attributes for a vreemdeling.

type VreemdelingId

type VreemdelingId = string

VreemdelingId V-number of vreemdeling.

type VreemdelingResponse

type VreemdelingResponse struct {
	// Data Known attributes for a vreemdeling.
	Data Vreemdeling `json:"data"`
}

VreemdelingResponse Vreemdelingen response schema

type VreemdelingResponseJSONResponse

type VreemdelingResponseJSONResponse struct {
	Body VreemdelingResponse

	Headers VreemdelingResponseResponseHeaders
}

type VreemdelingResponseResponseHeaders

type VreemdelingResponseResponseHeaders struct {
	FSCVWLSysteem               FSCVWLSysteem
	FSCVWLVerantwoordelijke     FSCVWLVerantwoordelijke
	FSCVWLVerwerker             FSCVWLVerwerker
	FSCVWLVerwerkingsActiviteit FSCVWLVerwerkingsActiviteit
	FSCVWLVerwerkingsSpan       FSCVWLVerwerkingsSpan
}

Jump to

Keyboard shortcuts

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