Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- func NewCaseBasedOnBSNServiceLawRequest(server string, bsn PathBSN, service PathService, law PathLaw) (*http.Request, error)
- func NewCaseGetRequest(server string, caseID PathCaseID) (*http.Request, error)
- func NewCaseListBasedOnBSNRequest(server string, bsn PathBSN) (*http.Request, error)
- func NewCaseListBasedOnServiceLawRequest(server string, service PathService, law PathLaw) (*http.Request, error)
- func NewCaseObjectRequest(server string, caseID PathCaseID, body CaseObjectJSONRequestBody) (*http.Request, error)
- func NewCaseObjectRequestWithBody(server string, caseID PathCaseID, contentType string, body io.Reader) (*http.Request, error)
- func NewCaseReviewRequest(server string, caseID PathCaseID, body CaseReviewJSONRequestBody) (*http.Request, error)
- func NewCaseReviewRequestWithBody(server string, caseID PathCaseID, contentType string, body io.Reader) (*http.Request, error)
- func NewCaseSubmitRequest(server string, body CaseSubmitJSONRequestBody) (*http.Request, error)
- func NewCaseSubmitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewClaimApproveRequest(server string, claimId PathClaimID, body ClaimApproveJSONRequestBody) (*http.Request, error)
- func NewClaimApproveRequestWithBody(server string, claimId PathClaimID, contentType string, body io.Reader) (*http.Request, error)
- func NewClaimListBasedOnBSNRequest(server string, bsn PathBSN, params *ClaimListBasedOnBSNParams) (*http.Request, error)
- func NewClaimListBasedOnBSNServiceLawRequest(server string, bsn PathBSN, service PathService, law PathLaw, ...) (*http.Request, error)
- func NewClaimRejectRequest(server string, claimId PathClaimID, body ClaimRejectJSONRequestBody) (*http.Request, error)
- func NewClaimRejectRequestWithBody(server string, claimId PathClaimID, contentType string, body io.Reader) (*http.Request, error)
- func NewClaimSubmitRequest(server string, body ClaimSubmitJSONRequestBody) (*http.Request, error)
- func NewClaimSubmitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvaluateRequest(server string, body EvaluateJSONRequestBody) (*http.Request, error)
- func NewEvaluateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEventListBasedOnCaseIDRequest(server string, caseID PathCaseID) (*http.Request, error)
- func NewEventListRequest(server string) (*http.Request, error)
- func NewProfileGetRequest(server string, bsn PathBSN, params *ProfileGetParams) (*http.Request, error)
- func NewProfileListRequest(server string, params *ProfileListParams) (*http.Request, error)
- func NewResetEngineRequest(server string) (*http.Request, error)
- func NewRuleSpecGetRequest(server string, params *RuleSpecGetParams) (*http.Request, error)
- func NewServiceLawsDiscoverableListRequest(server string, params *ServiceLawsDiscoverableListParams) (*http.Request, error)
- func NewSetSourceDataFrameRequest(server string, body SetSourceDataFrameJSONRequestBody) (*http.Request, error)
- func NewSetSourceDataFrameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type Action
- type ActionRequirement
- func (t ActionRequirement) AsAction() (Action, error)
- func (t ActionRequirement) AsRequirement() (Requirement, error)
- func (t *ActionRequirement) FromAction(v Action) error
- func (t *ActionRequirement) FromRequirement(v Requirement) error
- func (t ActionRequirement) MarshalJSON() ([]byte, error)
- func (t *ActionRequirement) MergeAction(v Action) error
- func (t *ActionRequirement) MergeRequirement(v Requirement) error
- func (t *ActionRequirement) UnmarshalJSON(b []byte) error
- type ActionValue
- func (t ActionValue) AsAction() (Action, error)
- func (t ActionValue) AsActionValue1() (ActionValue1, error)
- func (t *ActionValue) FromAction(v Action) error
- func (t *ActionValue) FromActionValue1(v ActionValue1) error
- func (t ActionValue) MarshalJSON() ([]byte, error)
- func (t *ActionValue) MergeAction(v Action) error
- func (t *ActionValue) MergeActionValue1(v ActionValue1) error
- func (t *ActionValue) UnmarshalJSON(b []byte) error
- type ActionValue1
- type ActionValues
- func (t ActionValues) AsActionValues0() (ActionValues0, error)
- func (t ActionValues) AsActionValues1() (ActionValues1, error)
- func (t *ActionValues) FromActionValues0(v ActionValues0) error
- func (t *ActionValues) FromActionValues1(v ActionValues1) error
- func (t ActionValues) MarshalJSON() ([]byte, error)
- func (t *ActionValues) MergeActionValues0(v ActionValues0) error
- func (t *ActionValues) MergeActionValues1(v ActionValues1) error
- func (t *ActionValues) UnmarshalJSON(b []byte) error
- type ActionValues0
- type ActionValues1
- type Apply
- type ApplyEvent
- type BadRequestErrorResponse
- type BaseField
- type Bsn
- type Case
- type CaseAppealStatus
- type CaseBasedOnBSNServiceLawResponse
- type CaseGetResponse
- type CaseID
- type CaseList
- type CaseListBasedOnBSNResponse
- type CaseListBasedOnServiceLawResponse
- type CaseObject
- type CaseObjectJSONBody
- type CaseObjectJSONRequestBody
- type CaseObjectRequest
- type CaseObjectResponse
- type CaseObjectionStatus
- type CaseReview
- type CaseReviewJSONBody
- type CaseReviewJSONRequestBody
- type CaseReviewRequest
- type CaseReviewResponse
- type CaseStatus
- type CaseSubmit
- type CaseSubmitJSONBody
- type CaseSubmitJSONRequestBody
- type CaseSubmitRequest
- type CaseSubmitResponse
- type Claim
- type ClaimApprove
- type ClaimApproveJSONBody
- type ClaimApproveJSONRequestBody
- type ClaimApproveRequest
- type ClaimApproveResponse
- type ClaimID
- type ClaimList
- type ClaimListBasedOnBSNParams
- type ClaimListBasedOnBSNResponse
- type ClaimListBasedOnBSNServiceLawParams
- type ClaimListBasedOnBSNServiceLawResponse
- type ClaimListResponse
- type ClaimListWithKeyResponse
- type ClaimReject
- type ClaimRejectJSONBody
- type ClaimRejectJSONRequestBody
- type ClaimRejectRequest
- type ClaimRejectResponse
- type ClaimStatus
- type ClaimSubmit
- type ClaimSubmitJSONBody
- type ClaimSubmitJSONRequestBody
- type ClaimSubmitRequest
- type ClaimSubmitResponse
- type Client
- func (c *Client) CaseBasedOnBSNServiceLaw(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, ...) (*http.Response, error)
- func (c *Client) CaseGet(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CaseListBasedOnBSN(ctx context.Context, bsn PathBSN, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CaseListBasedOnServiceLaw(ctx context.Context, service PathService, law PathLaw, ...) (*http.Response, error)
- func (c *Client) CaseObject(ctx context.Context, caseID PathCaseID, body CaseObjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CaseObjectWithBody(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CaseReview(ctx context.Context, caseID PathCaseID, body CaseReviewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CaseReviewWithBody(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CaseSubmit(ctx context.Context, body CaseSubmitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CaseSubmitWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ClaimApprove(ctx context.Context, claimId PathClaimID, body ClaimApproveJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ClaimApproveWithBody(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ClaimListBasedOnBSN(ctx context.Context, bsn PathBSN, params *ClaimListBasedOnBSNParams, ...) (*http.Response, error)
- func (c *Client) ClaimListBasedOnBSNServiceLaw(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, ...) (*http.Response, error)
- func (c *Client) ClaimReject(ctx context.Context, claimId PathClaimID, body ClaimRejectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ClaimRejectWithBody(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ClaimSubmit(ctx context.Context, body ClaimSubmitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ClaimSubmitWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Evaluate(ctx context.Context, body EvaluateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EvaluateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EventList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EventListBasedOnCaseID(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProfileGet(ctx context.Context, bsn PathBSN, params *ProfileGetParams, ...) (*http.Response, error)
- func (c *Client) ProfileList(ctx context.Context, params *ProfileListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResetEngine(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RuleSpecGet(ctx context.Context, params *RuleSpecGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServiceLawsDiscoverableList(ctx context.Context, params *ServiceLawsDiscoverableListParams, ...) (*http.Response, error)
- func (c *Client) SetSourceDataFrame(ctx context.Context, body SetSourceDataFrameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetSourceDataFrameWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CaseBasedOnBSNServiceLawWithResponse(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, ...) (*CaseBasedOnBSNServiceLawResponse, error)
- func (c *ClientWithResponses) CaseGetWithResponse(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*CaseGetResponse, error)
- func (c *ClientWithResponses) CaseListBasedOnBSNWithResponse(ctx context.Context, bsn PathBSN, reqEditors ...RequestEditorFn) (*CaseListBasedOnBSNResponse, error)
- func (c *ClientWithResponses) CaseListBasedOnServiceLawWithResponse(ctx context.Context, service PathService, law PathLaw, ...) (*CaseListBasedOnServiceLawResponse, error)
- func (c *ClientWithResponses) CaseObjectWithBodyWithResponse(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, ...) (*CaseObjectResponse, error)
- func (c *ClientWithResponses) CaseObjectWithResponse(ctx context.Context, caseID PathCaseID, body CaseObjectJSONRequestBody, ...) (*CaseObjectResponse, error)
- func (c *ClientWithResponses) CaseReviewWithBodyWithResponse(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, ...) (*CaseReviewResponse, error)
- func (c *ClientWithResponses) CaseReviewWithResponse(ctx context.Context, caseID PathCaseID, body CaseReviewJSONRequestBody, ...) (*CaseReviewResponse, error)
- func (c *ClientWithResponses) CaseSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CaseSubmitResponse, error)
- func (c *ClientWithResponses) CaseSubmitWithResponse(ctx context.Context, body CaseSubmitJSONRequestBody, ...) (*CaseSubmitResponse, error)
- func (c *ClientWithResponses) ClaimApproveWithBodyWithResponse(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, ...) (*ClaimApproveResponse, error)
- func (c *ClientWithResponses) ClaimApproveWithResponse(ctx context.Context, claimId PathClaimID, body ClaimApproveJSONRequestBody, ...) (*ClaimApproveResponse, error)
- func (c *ClientWithResponses) ClaimListBasedOnBSNServiceLawWithResponse(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, ...) (*ClaimListBasedOnBSNServiceLawResponse, error)
- func (c *ClientWithResponses) ClaimListBasedOnBSNWithResponse(ctx context.Context, bsn PathBSN, params *ClaimListBasedOnBSNParams, ...) (*ClaimListBasedOnBSNResponse, error)
- func (c *ClientWithResponses) ClaimRejectWithBodyWithResponse(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, ...) (*ClaimRejectResponse, error)
- func (c *ClientWithResponses) ClaimRejectWithResponse(ctx context.Context, claimId PathClaimID, body ClaimRejectJSONRequestBody, ...) (*ClaimRejectResponse, error)
- func (c *ClientWithResponses) ClaimSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ClaimSubmitResponse, error)
- func (c *ClientWithResponses) ClaimSubmitWithResponse(ctx context.Context, body ClaimSubmitJSONRequestBody, ...) (*ClaimSubmitResponse, error)
- func (c *ClientWithResponses) EvaluateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EvaluateResponse, error)
- func (c *ClientWithResponses) EvaluateWithResponse(ctx context.Context, body EvaluateJSONRequestBody, ...) (*EvaluateResponse, error)
- func (c *ClientWithResponses) EventListBasedOnCaseIDWithResponse(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*EventListBasedOnCaseIDResponse, error)
- func (c *ClientWithResponses) EventListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventListResponse, error)
- func (c *ClientWithResponses) ProfileGetWithResponse(ctx context.Context, bsn PathBSN, params *ProfileGetParams, ...) (*ProfileGetResponse, error)
- func (c *ClientWithResponses) ProfileListWithResponse(ctx context.Context, params *ProfileListParams, reqEditors ...RequestEditorFn) (*ProfileListResponse, error)
- func (c *ClientWithResponses) ResetEngineWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResetEngineResponse, error)
- func (c *ClientWithResponses) RuleSpecGetWithResponse(ctx context.Context, params *RuleSpecGetParams, reqEditors ...RequestEditorFn) (*RuleSpecGetResponse, error)
- func (c *ClientWithResponses) ServiceLawsDiscoverableListWithResponse(ctx context.Context, params *ServiceLawsDiscoverableListParams, ...) (*ServiceLawsDiscoverableListResponse, error)
- func (c *ClientWithResponses) SetSourceDataFrameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetSourceDataFrameResponse, error)
- func (c *ClientWithResponses) SetSourceDataFrameWithResponse(ctx context.Context, body SetSourceDataFrameJSONRequestBody, ...) (*SetSourceDataFrameResponse, error)
- type ClientWithResponsesInterface
- type Condition
- type DataFrame
- type DataFrameRequest
- type DiscoverableBy
- type Error
- type Evaluate
- type EvaluateJSONBody
- type EvaluateJSONRequestBody
- type EvaluateRequest
- type EvaluateResponse
- type Event
- type EventList
- type EventListBasedOnCaseIDResponse
- type EventListResponse
- type HttpRequestDoer
- type InputField
- type InternalServerErrorResponse
- type Law
- type OutputField
- type Parameter
- type ParameterField
- type PathBSN
- type PathCaseID
- type PathClaimID
- type PathLaw
- type PathNode
- type PathService
- type Profile
- type ProfileGetParams
- type ProfileGetResponse
- type ProfileList
- type ProfileListParams
- type ProfileListResponse
- type ProfileResponse
- type Properties
- type QueryDiscoverableBy
- type QueryEffectiveDate
- type QueryIncludeRejected
- type QueryLaw
- type QueryOnlyApproved
- type QueryReferenceDate
- type QueryService
- type Reference
- type ReferenceDate
- type RequestEditorFn
- type Requirement
- type ResetEngineResponse
- type ResourceNotFoundErrorResponse
- type ResponseCase
- type ResponseCaseList
- type ResponseCaseObject
- type ResponseCaseReview
- type ResponseCaseSubmit
- type ResponseClaimApprove
- type ResponseClaimReject
- type ResponseClaimSubmit
- type ResponseEvaluate
- type ResponseEvaluateSchema
- type ResponseEventList
- type ResponseProfileList
- type RuleSpec
- type RuleSpecGetParams
- type RuleSpecGetResponse
- type RuleSpecResponse
- type SelectField
- type Service
- type ServiceLawsDiscoverableListParams
- type ServiceLawsDiscoverableListResponse
- type ServiceList
- type ServiceListResponse
- type ServiceReference
- type SetSourceDataFrameJSONBody
- type SetSourceDataFrameJSONRequestBody
- type SetSourceDataFrameResponse
- type Source
- type SourceField
- type SourceReference
- type Temporal
- type TypeSpec
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCaseBasedOnBSNServiceLawRequest ¶
func NewCaseBasedOnBSNServiceLawRequest(server string, bsn PathBSN, service PathService, law PathLaw) (*http.Request, error)
NewCaseBasedOnBSNServiceLawRequest generates requests for CaseBasedOnBSNServiceLaw
func NewCaseGetRequest ¶
func NewCaseGetRequest(server string, caseID PathCaseID) (*http.Request, error)
NewCaseGetRequest generates requests for CaseGet
func NewCaseListBasedOnBSNRequest ¶
NewCaseListBasedOnBSNRequest generates requests for CaseListBasedOnBSN
func NewCaseListBasedOnServiceLawRequest ¶
func NewCaseListBasedOnServiceLawRequest(server string, service PathService, law PathLaw) (*http.Request, error)
NewCaseListBasedOnServiceLawRequest generates requests for CaseListBasedOnServiceLaw
func NewCaseObjectRequest ¶
func NewCaseObjectRequest(server string, caseID PathCaseID, body CaseObjectJSONRequestBody) (*http.Request, error)
NewCaseObjectRequest calls the generic CaseObject builder with application/json body
func NewCaseObjectRequestWithBody ¶
func NewCaseObjectRequestWithBody(server string, caseID PathCaseID, contentType string, body io.Reader) (*http.Request, error)
NewCaseObjectRequestWithBody generates requests for CaseObject with any type of body
func NewCaseReviewRequest ¶
func NewCaseReviewRequest(server string, caseID PathCaseID, body CaseReviewJSONRequestBody) (*http.Request, error)
NewCaseReviewRequest calls the generic CaseReview builder with application/json body
func NewCaseReviewRequestWithBody ¶
func NewCaseReviewRequestWithBody(server string, caseID PathCaseID, contentType string, body io.Reader) (*http.Request, error)
NewCaseReviewRequestWithBody generates requests for CaseReview with any type of body
func NewCaseSubmitRequest ¶
func NewCaseSubmitRequest(server string, body CaseSubmitJSONRequestBody) (*http.Request, error)
NewCaseSubmitRequest calls the generic CaseSubmit builder with application/json body
func NewCaseSubmitRequestWithBody ¶
func NewCaseSubmitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCaseSubmitRequestWithBody generates requests for CaseSubmit with any type of body
func NewClaimApproveRequest ¶
func NewClaimApproveRequest(server string, claimId PathClaimID, body ClaimApproveJSONRequestBody) (*http.Request, error)
NewClaimApproveRequest calls the generic ClaimApprove builder with application/json body
func NewClaimApproveRequestWithBody ¶
func NewClaimApproveRequestWithBody(server string, claimId PathClaimID, contentType string, body io.Reader) (*http.Request, error)
NewClaimApproveRequestWithBody generates requests for ClaimApprove with any type of body
func NewClaimListBasedOnBSNRequest ¶
func NewClaimListBasedOnBSNRequest(server string, bsn PathBSN, params *ClaimListBasedOnBSNParams) (*http.Request, error)
NewClaimListBasedOnBSNRequest generates requests for ClaimListBasedOnBSN
func NewClaimListBasedOnBSNServiceLawRequest ¶
func NewClaimListBasedOnBSNServiceLawRequest(server string, bsn PathBSN, service PathService, law PathLaw, params *ClaimListBasedOnBSNServiceLawParams) (*http.Request, error)
NewClaimListBasedOnBSNServiceLawRequest generates requests for ClaimListBasedOnBSNServiceLaw
func NewClaimRejectRequest ¶
func NewClaimRejectRequest(server string, claimId PathClaimID, body ClaimRejectJSONRequestBody) (*http.Request, error)
NewClaimRejectRequest calls the generic ClaimReject builder with application/json body
func NewClaimRejectRequestWithBody ¶
func NewClaimRejectRequestWithBody(server string, claimId PathClaimID, contentType string, body io.Reader) (*http.Request, error)
NewClaimRejectRequestWithBody generates requests for ClaimReject with any type of body
func NewClaimSubmitRequest ¶
func NewClaimSubmitRequest(server string, body ClaimSubmitJSONRequestBody) (*http.Request, error)
NewClaimSubmitRequest calls the generic ClaimSubmit builder with application/json body
func NewClaimSubmitRequestWithBody ¶
func NewClaimSubmitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewClaimSubmitRequestWithBody generates requests for ClaimSubmit with any type of body
func NewEvaluateRequest ¶
func NewEvaluateRequest(server string, body EvaluateJSONRequestBody) (*http.Request, error)
NewEvaluateRequest calls the generic Evaluate builder with application/json body
func NewEvaluateRequestWithBody ¶
func NewEvaluateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEvaluateRequestWithBody generates requests for Evaluate with any type of body
func NewEventListBasedOnCaseIDRequest ¶
func NewEventListBasedOnCaseIDRequest(server string, caseID PathCaseID) (*http.Request, error)
NewEventListBasedOnCaseIDRequest generates requests for EventListBasedOnCaseID
func NewEventListRequest ¶
NewEventListRequest generates requests for EventList
func NewProfileGetRequest ¶
func NewProfileGetRequest(server string, bsn PathBSN, params *ProfileGetParams) (*http.Request, error)
NewProfileGetRequest generates requests for ProfileGet
func NewProfileListRequest ¶
func NewProfileListRequest(server string, params *ProfileListParams) (*http.Request, error)
NewProfileListRequest generates requests for ProfileList
func NewResetEngineRequest ¶
NewResetEngineRequest generates requests for ResetEngine
func NewRuleSpecGetRequest ¶
func NewRuleSpecGetRequest(server string, params *RuleSpecGetParams) (*http.Request, error)
NewRuleSpecGetRequest generates requests for RuleSpecGet
func NewServiceLawsDiscoverableListRequest ¶
func NewServiceLawsDiscoverableListRequest(server string, params *ServiceLawsDiscoverableListParams) (*http.Request, error)
NewServiceLawsDiscoverableListRequest generates requests for ServiceLawsDiscoverableList
func NewSetSourceDataFrameRequest ¶
func NewSetSourceDataFrameRequest(server string, body SetSourceDataFrameJSONRequestBody) (*http.Request, error)
NewSetSourceDataFrameRequest calls the generic SetSourceDataFrame builder with application/json body
Types ¶
type Action ¶
type Action struct {
// Combine Combination method
Combine *string `json:"combine"`
// Conditions Conditional logic
Conditions *[]Condition `json:"conditions,omitempty"`
// Operation Operation to perform
Operation *string `json:"operation"`
// Output Action output
Output string `json:"output"`
// Subject Subject of the action
Subject *string `json:"subject"`
// Unit Unit for the action
Unit *string `json:"unit"`
// Value Represents a value in an operation (can be a primitive value or nested action)
Value *ActionValue `json:"value,omitempty"`
// Values Represents multiple values or a single value
Values *ActionValues `json:"values,omitempty"`
}
Action defines model for Action.
type ActionRequirement ¶
type ActionRequirement struct {
// contains filtered or unexported fields
}
ActionRequirement Either a nested requirement or an action
func (ActionRequirement) AsAction ¶
func (t ActionRequirement) AsAction() (Action, error)
AsAction returns the union data inside the ActionRequirement as a Action
func (ActionRequirement) AsRequirement ¶
func (t ActionRequirement) AsRequirement() (Requirement, error)
AsRequirement returns the union data inside the ActionRequirement as a Requirement
func (*ActionRequirement) FromAction ¶
func (t *ActionRequirement) FromAction(v Action) error
FromAction overwrites any union data inside the ActionRequirement as the provided Action
func (*ActionRequirement) FromRequirement ¶
func (t *ActionRequirement) FromRequirement(v Requirement) error
FromRequirement overwrites any union data inside the ActionRequirement as the provided Requirement
func (ActionRequirement) MarshalJSON ¶
func (t ActionRequirement) MarshalJSON() ([]byte, error)
func (*ActionRequirement) MergeAction ¶
func (t *ActionRequirement) MergeAction(v Action) error
MergeAction performs a merge with any union data inside the ActionRequirement, using the provided Action
func (*ActionRequirement) MergeRequirement ¶
func (t *ActionRequirement) MergeRequirement(v Requirement) error
MergeRequirement performs a merge with any union data inside the ActionRequirement, using the provided Requirement
func (*ActionRequirement) UnmarshalJSON ¶
func (t *ActionRequirement) UnmarshalJSON(b []byte) error
type ActionValue ¶
type ActionValue struct {
// contains filtered or unexported fields
}
ActionValue Represents a value in an operation (can be a primitive value or nested action)
func (ActionValue) AsAction ¶
func (t ActionValue) AsAction() (Action, error)
AsAction returns the union data inside the ActionValue as a Action
func (ActionValue) AsActionValue1 ¶
func (t ActionValue) AsActionValue1() (ActionValue1, error)
AsActionValue1 returns the union data inside the ActionValue as a ActionValue1
func (*ActionValue) FromAction ¶
func (t *ActionValue) FromAction(v Action) error
FromAction overwrites any union data inside the ActionValue as the provided Action
func (*ActionValue) FromActionValue1 ¶
func (t *ActionValue) FromActionValue1(v ActionValue1) error
FromActionValue1 overwrites any union data inside the ActionValue as the provided ActionValue1
func (ActionValue) MarshalJSON ¶
func (t ActionValue) MarshalJSON() ([]byte, error)
func (*ActionValue) MergeAction ¶
func (t *ActionValue) MergeAction(v Action) error
MergeAction performs a merge with any union data inside the ActionValue, using the provided Action
func (*ActionValue) MergeActionValue1 ¶
func (t *ActionValue) MergeActionValue1(v ActionValue1) error
MergeActionValue1 performs a merge with any union data inside the ActionValue, using the provided ActionValue1
func (*ActionValue) UnmarshalJSON ¶
func (t *ActionValue) UnmarshalJSON(b []byte) error
type ActionValues ¶
type ActionValues struct {
// contains filtered or unexported fields
}
ActionValues Represents multiple values or a single value
func (ActionValues) AsActionValues0 ¶
func (t ActionValues) AsActionValues0() (ActionValues0, error)
AsActionValues0 returns the union data inside the ActionValues as a ActionValues0
func (ActionValues) AsActionValues1 ¶
func (t ActionValues) AsActionValues1() (ActionValues1, error)
AsActionValues1 returns the union data inside the ActionValues as a ActionValues1
func (*ActionValues) FromActionValues0 ¶
func (t *ActionValues) FromActionValues0(v ActionValues0) error
FromActionValues0 overwrites any union data inside the ActionValues as the provided ActionValues0
func (*ActionValues) FromActionValues1 ¶
func (t *ActionValues) FromActionValues1(v ActionValues1) error
FromActionValues1 overwrites any union data inside the ActionValues as the provided ActionValues1
func (ActionValues) MarshalJSON ¶
func (t ActionValues) MarshalJSON() ([]byte, error)
func (*ActionValues) MergeActionValues0 ¶
func (t *ActionValues) MergeActionValues0(v ActionValues0) error
MergeActionValues0 performs a merge with any union data inside the ActionValues, using the provided ActionValues0
func (*ActionValues) MergeActionValues1 ¶
func (t *ActionValues) MergeActionValues1(v ActionValues1) error
MergeActionValues1 performs a merge with any union data inside the ActionValues, using the provided ActionValues1
func (*ActionValues) UnmarshalJSON ¶
func (t *ActionValues) UnmarshalJSON(b []byte) error
type Apply ¶
type Apply struct {
// Aggregate Aggregate identifier
Aggregate string `json:"aggregate"`
// Events Associated events
Events []ApplyEvent `json:"events"`
// Name Name of the application rule
Name string `json:"name"`
// Update Update rules
Update []Update `json:"update"`
}
Apply defines model for Apply.
type ApplyEvent ¶
type ApplyEvent struct {
// Filter Event filter criteria
Filter map[string]interface{} `json:"filter"`
// Type Event type
Type string `json:"type"`
}
ApplyEvent defines model for ApplyEvent.
type BadRequestErrorResponse ¶
type BadRequestErrorResponse struct {
Errors []Error `json:"errors"`
}
BadRequestErrorResponse defines model for BadRequestErrorResponse.
type BaseField ¶
type BaseField struct {
// Description Field description
Description string `json:"description"`
// Name Field name
Name string `json:"name"`
// Required Whether the field is required
Required *bool `json:"required"`
Temporal *Temporal `json:"temporal,omitempty"`
// Type Field type
Type string `json:"type"`
TypeSpec *TypeSpec `json:"type_spec,omitempty"`
}
BaseField defines model for BaseField.
type Case ¶
type Case struct {
// AppealStatus Parameters to set the objection status
AppealStatus *CaseAppealStatus `json:"appealStatus,omitempty"`
Approved *bool `json:"approved,omitempty"`
ApprovedClaimsOnly bool `json:"approvedClaimsOnly"`
// Bsn Burgerservicenummer of a Dutch citizen
Bsn Bsn `json:"bsn"`
ClaimIds *[]openapi_types.UUID `json:"claim_ids,omitempty"`
ClaimedResult map[string]interface{} `json:"claimedResult"`
// Id Identifier of a case
Id CaseID `json:"id"`
// Law Specify the law that needs to be executed
Law string `json:"law"`
// ObjectionStatus Parameters to set the objection status
ObjectionStatus *CaseObjectionStatus `json:"objectionStatus,omitempty"`
Parameters map[string]interface{} `json:"parameters"`
// RulespecId Identifier of the rulespec
RulespecId openapi_types.UUID `json:"rulespecId"`
// Service Specify the service that needs to be executed
Service string `json:"service"`
Status CaseStatus `json:"status"`
VerifiedResult map[string]interface{} `json:"verifiedResult"`
}
Case Case
type CaseAppealStatus ¶
type CaseAppealStatus struct {
AppealPeriod *int `json:"appealPeriod,omitempty"`
CompetentCourt *string `json:"competentCourt,omitempty"`
CourtType *string `json:"courtType,omitempty"`
DirectAppeal *bool `json:"directAppeal,omitempty"`
DirectAppealReason *string `json:"directAppealReason,omitempty"`
NotPossibleReason *string `json:"notPossibleReason,omitempty"`
Possible *bool `json:"possible,omitempty"`
}
CaseAppealStatus Parameters to set the objection status
type CaseBasedOnBSNServiceLawResponse ¶
type CaseBasedOnBSNServiceLawResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseCase
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseBasedOnBSNServiceLawResponse ¶
func ParseCaseBasedOnBSNServiceLawResponse(rsp *http.Response) (*CaseBasedOnBSNServiceLawResponse, error)
ParseCaseBasedOnBSNServiceLawResponse parses an HTTP response from a CaseBasedOnBSNServiceLawWithResponse call
func (CaseBasedOnBSNServiceLawResponse) Status ¶
func (r CaseBasedOnBSNServiceLawResponse) Status() string
Status returns HTTPResponse.Status
func (CaseBasedOnBSNServiceLawResponse) StatusCode ¶
func (r CaseBasedOnBSNServiceLawResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CaseGetResponse ¶
type CaseGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseCase
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseGetResponse ¶
func ParseCaseGetResponse(rsp *http.Response) (*CaseGetResponse, error)
ParseCaseGetResponse parses an HTTP response from a CaseGetWithResponse call
func (CaseGetResponse) Status ¶
func (r CaseGetResponse) Status() string
Status returns HTTPResponse.Status
func (CaseGetResponse) StatusCode ¶
func (r CaseGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CaseListBasedOnBSNResponse ¶
type CaseListBasedOnBSNResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseCaseList
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseListBasedOnBSNResponse ¶
func ParseCaseListBasedOnBSNResponse(rsp *http.Response) (*CaseListBasedOnBSNResponse, error)
ParseCaseListBasedOnBSNResponse parses an HTTP response from a CaseListBasedOnBSNWithResponse call
func (CaseListBasedOnBSNResponse) Status ¶
func (r CaseListBasedOnBSNResponse) Status() string
Status returns HTTPResponse.Status
func (CaseListBasedOnBSNResponse) StatusCode ¶
func (r CaseListBasedOnBSNResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CaseListBasedOnServiceLawResponse ¶
type CaseListBasedOnServiceLawResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseCaseList
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseListBasedOnServiceLawResponse ¶
func ParseCaseListBasedOnServiceLawResponse(rsp *http.Response) (*CaseListBasedOnServiceLawResponse, error)
ParseCaseListBasedOnServiceLawResponse parses an HTTP response from a CaseListBasedOnServiceLawWithResponse call
func (CaseListBasedOnServiceLawResponse) Status ¶
func (r CaseListBasedOnServiceLawResponse) Status() string
Status returns HTTPResponse.Status
func (CaseListBasedOnServiceLawResponse) StatusCode ¶
func (r CaseListBasedOnServiceLawResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CaseObject ¶
type CaseObject struct {
// Reason Explanation for the objection
Reason string `json:"reason"`
}
CaseObject defines model for CaseObject.
type CaseObjectJSONBody ¶
type CaseObjectJSONBody struct {
Data CaseObject `json:"data"`
}
CaseObjectJSONBody defines parameters for CaseObject.
type CaseObjectJSONRequestBody ¶
type CaseObjectJSONRequestBody CaseObjectJSONBody
CaseObjectJSONRequestBody defines body for CaseObject for application/json ContentType.
type CaseObjectRequest ¶
type CaseObjectRequest struct {
Data CaseObject `json:"data"`
}
CaseObjectRequest defines model for CaseObjectRequest.
type CaseObjectResponse ¶
type CaseObjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseCaseObject
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseObjectResponse ¶
func ParseCaseObjectResponse(rsp *http.Response) (*CaseObjectResponse, error)
ParseCaseObjectResponse parses an HTTP response from a CaseObjectWithResponse call
func (CaseObjectResponse) Status ¶
func (r CaseObjectResponse) Status() string
Status returns HTTPResponse.Status
func (CaseObjectResponse) StatusCode ¶
func (r CaseObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CaseObjectionStatus ¶
type CaseObjectionStatus struct {
Admissable *bool `json:"admissable,omitempty"`
DecisionPeriod *int `json:"decisionPeriod,omitempty"`
ExtensionPeriod *int `json:"extensionPeriod,omitempty"`
NotPossibleReason *string `json:"notPossibleReason,omitempty"`
ObjectionPeriod *int `json:"objectionPeriod,omitempty"`
Possible *bool `json:"possible,omitempty"`
}
CaseObjectionStatus Parameters to set the objection status
type CaseReview ¶
type CaseReview struct {
// Approved Decision outcome - true for approval, false for rejection
Approved bool `json:"approved"`
// Reason Explanation for the decision
Reason string `json:"reason"`
// VerifierId ID of the verifier making the decision
VerifierId string `json:"verifierId"`
}
CaseReview defines model for CaseReview.
type CaseReviewJSONBody ¶
type CaseReviewJSONBody struct {
Data CaseReview `json:"data"`
}
CaseReviewJSONBody defines parameters for CaseReview.
type CaseReviewJSONRequestBody ¶
type CaseReviewJSONRequestBody CaseReviewJSONBody
CaseReviewJSONRequestBody defines body for CaseReview for application/json ContentType.
type CaseReviewRequest ¶
type CaseReviewRequest struct {
Data CaseReview `json:"data"`
}
CaseReviewRequest defines model for CaseReviewRequest.
type CaseReviewResponse ¶
type CaseReviewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseCaseReview
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseReviewResponse ¶
func ParseCaseReviewResponse(rsp *http.Response) (*CaseReviewResponse, error)
ParseCaseReviewResponse parses an HTTP response from a CaseReviewWithResponse call
func (CaseReviewResponse) Status ¶
func (r CaseReviewResponse) Status() string
Status returns HTTPResponse.Status
func (CaseReviewResponse) StatusCode ¶
func (r CaseReviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CaseStatus ¶
type CaseStatus string
CaseStatus defines model for Case.Status.
const ( DECIDED CaseStatus = "DECIDED" INREVIEW CaseStatus = "IN_REVIEW" OBJECTED CaseStatus = "OBJECTED" SUBMITTED CaseStatus = "SUBMITTED" )
Defines values for CaseStatus.
type CaseSubmit ¶
type CaseSubmit struct {
ApprovedClaimsOnly bool `json:"approvedClaimsOnly"`
// Bsn Burgerservicenummer of a Dutch citizen
Bsn Bsn `json:"bsn"`
ClaimedResult map[string]interface{} `json:"claimedResult"`
// EffectiveDate The date on which the case, when accepted, should become effective. Defaults to the moment of acceptance.
EffectiveDate *openapi_types.Date `json:"effective_date,omitempty"`
// Law Specify the law that needs to be executed
Law string `json:"law"`
Parameters map[string]interface{} `json:"parameters"`
// Service Specify the service that needs to be executed
Service string `json:"service"`
}
CaseSubmit Case
type CaseSubmitJSONBody ¶
type CaseSubmitJSONBody struct {
// Data Case
Data CaseSubmit `json:"data"`
}
CaseSubmitJSONBody defines parameters for CaseSubmit.
type CaseSubmitJSONRequestBody ¶
type CaseSubmitJSONRequestBody CaseSubmitJSONBody
CaseSubmitJSONRequestBody defines body for CaseSubmit for application/json ContentType.
type CaseSubmitRequest ¶
type CaseSubmitRequest struct {
// Data Case
Data CaseSubmit `json:"data"`
}
CaseSubmitRequest defines model for CaseSubmitRequest.
type CaseSubmitResponse ¶
type CaseSubmitResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ResponseCaseSubmit
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseCaseSubmitResponse ¶
func ParseCaseSubmitResponse(rsp *http.Response) (*CaseSubmitResponse, error)
ParseCaseSubmitResponse parses an HTTP response from a CaseSubmitWithResponse call
func (CaseSubmitResponse) Status ¶
func (r CaseSubmitResponse) Status() string
Status returns HTTPResponse.Status
func (CaseSubmitResponse) StatusCode ¶
func (r CaseSubmitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Claim ¶
type Claim struct {
// Bsn Burgerservicenummer of a Dutch citizen
Bsn Bsn `json:"bsn"`
// CaseId Identifier of a case
CaseId *CaseID `json:"caseId,omitempty"`
Claimant string `json:"claimant"`
EvidencePath *string `json:"evidencePath,omitempty"`
// Id Identifier of a claim
Id ClaimID `json:"id"`
Key string `json:"key"`
// Law Specify the law that needs to be executed
Law string `json:"law"`
NewValue interface{} `json:"newValue"`
OldValue interface{} `json:"oldValue,omitempty"`
Reason string `json:"reason"`
// Service Specify the service that needs to be executed
Service string `json:"service"`
Status ClaimStatus `json:"status"`
}
Claim Claim
type ClaimApprove ¶
type ClaimApprove struct {
// VerifiedBy User that verified the claim
VerifiedBy string `json:"verifiedBy"`
// VerifiedValue Verified value for the claim
VerifiedValue string `json:"verifiedValue"`
}
ClaimApprove Approve a claim
type ClaimApproveJSONBody ¶
type ClaimApproveJSONBody struct {
// Data Approve a claim
Data ClaimApprove `json:"data"`
}
ClaimApproveJSONBody defines parameters for ClaimApprove.
type ClaimApproveJSONRequestBody ¶
type ClaimApproveJSONRequestBody ClaimApproveJSONBody
ClaimApproveJSONRequestBody defines body for ClaimApprove for application/json ContentType.
type ClaimApproveRequest ¶
type ClaimApproveRequest struct {
// Data Approve a claim
Data ClaimApprove `json:"data"`
}
ClaimApproveRequest defines model for ClaimApproveRequest.
type ClaimApproveResponse ¶
type ClaimApproveResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseClaimApprove
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseClaimApproveResponse ¶
func ParseClaimApproveResponse(rsp *http.Response) (*ClaimApproveResponse, error)
ParseClaimApproveResponse parses an HTTP response from a ClaimApproveWithResponse call
func (ClaimApproveResponse) Status ¶
func (r ClaimApproveResponse) Status() string
Status returns HTTPResponse.Status
func (ClaimApproveResponse) StatusCode ¶
func (r ClaimApproveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClaimListBasedOnBSNParams ¶
type ClaimListBasedOnBSNParams struct {
// Approved If added to URI only approved claims will be returned.
Approved *QueryOnlyApproved `form:"approved,omitempty" json:"approved,omitempty"`
// IncludeRejected If added to URI rejected claims will be added to the return
IncludeRejected *QueryIncludeRejected `form:"includeRejected,omitempty" json:"includeRejected,omitempty"`
}
ClaimListBasedOnBSNParams defines parameters for ClaimListBasedOnBSN.
type ClaimListBasedOnBSNResponse ¶
type ClaimListBasedOnBSNResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClaimListResponse
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseClaimListBasedOnBSNResponse ¶
func ParseClaimListBasedOnBSNResponse(rsp *http.Response) (*ClaimListBasedOnBSNResponse, error)
ParseClaimListBasedOnBSNResponse parses an HTTP response from a ClaimListBasedOnBSNWithResponse call
func (ClaimListBasedOnBSNResponse) Status ¶
func (r ClaimListBasedOnBSNResponse) Status() string
Status returns HTTPResponse.Status
func (ClaimListBasedOnBSNResponse) StatusCode ¶
func (r ClaimListBasedOnBSNResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClaimListBasedOnBSNServiceLawParams ¶
type ClaimListBasedOnBSNServiceLawParams struct {
// Approved If added to URI only approved claims will be returned.
Approved *QueryOnlyApproved `form:"approved,omitempty" json:"approved,omitempty"`
// IncludeRejected If added to URI rejected claims will be added to the return
IncludeRejected *QueryIncludeRejected `form:"includeRejected,omitempty" json:"includeRejected,omitempty"`
}
ClaimListBasedOnBSNServiceLawParams defines parameters for ClaimListBasedOnBSNServiceLaw.
type ClaimListBasedOnBSNServiceLawResponse ¶
type ClaimListBasedOnBSNServiceLawResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClaimListWithKeyResponse
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseClaimListBasedOnBSNServiceLawResponse ¶
func ParseClaimListBasedOnBSNServiceLawResponse(rsp *http.Response) (*ClaimListBasedOnBSNServiceLawResponse, error)
ParseClaimListBasedOnBSNServiceLawResponse parses an HTTP response from a ClaimListBasedOnBSNServiceLawWithResponse call
func (ClaimListBasedOnBSNServiceLawResponse) Status ¶
func (r ClaimListBasedOnBSNServiceLawResponse) Status() string
Status returns HTTPResponse.Status
func (ClaimListBasedOnBSNServiceLawResponse) StatusCode ¶
func (r ClaimListBasedOnBSNServiceLawResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClaimListResponse ¶
type ClaimListResponse struct {
// Data List of all claims
Data ClaimList `json:"data"`
}
ClaimListResponse defines model for ClaimListResponse.
type ClaimListWithKeyResponse ¶
ClaimListWithKeyResponse defines model for ClaimListWithKeyResponse.
type ClaimReject ¶
type ClaimReject struct {
// RejectedBy User that rejected the claim
RejectedBy string `json:"rejectedBy"`
// RejectionReason Reason of the rejection
RejectionReason string `json:"rejectionReason"`
}
ClaimReject Reject a claim
type ClaimRejectJSONBody ¶
type ClaimRejectJSONBody struct {
// Data Reject a claim
Data ClaimReject `json:"data"`
}
ClaimRejectJSONBody defines parameters for ClaimReject.
type ClaimRejectJSONRequestBody ¶
type ClaimRejectJSONRequestBody ClaimRejectJSONBody
ClaimRejectJSONRequestBody defines body for ClaimReject for application/json ContentType.
type ClaimRejectRequest ¶
type ClaimRejectRequest struct {
// Data Reject a claim
Data ClaimReject `json:"data"`
}
ClaimRejectRequest defines model for ClaimRejectRequest.
type ClaimRejectResponse ¶
type ClaimRejectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseClaimReject
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseClaimRejectResponse ¶
func ParseClaimRejectResponse(rsp *http.Response) (*ClaimRejectResponse, error)
ParseClaimRejectResponse parses an HTTP response from a ClaimRejectWithResponse call
func (ClaimRejectResponse) Status ¶
func (r ClaimRejectResponse) Status() string
Status returns HTTPResponse.Status
func (ClaimRejectResponse) StatusCode ¶
func (r ClaimRejectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClaimStatus ¶
type ClaimStatus string
ClaimStatus defines model for Claim.Status.
const ( APPROVED ClaimStatus = "APPROVED" PENDING ClaimStatus = "PENDING" REJECTED ClaimStatus = "REJECTED" )
Defines values for ClaimStatus.
type ClaimSubmit ¶
type ClaimSubmit struct {
// AutoApprove Whether to automatically approve the claim
AutoApprove *bool `json:"autoApprove,omitempty"`
// Bsn Burgerservicenummer of a Dutch citizen
Bsn Bsn `json:"bsn"`
// CaseId Optional identifier of the related case
CaseId *openapi_types.UUID `json:"caseId"`
// Claimant Identity of the claimant
Claimant string `json:"claimant"`
// EvidencePath Path to evidence supporting the claim
EvidencePath *string `json:"evidencePath"`
// Key Key to be claimed
Key string `json:"key"`
// Law Legal basis for the claim
Law string `json:"law"`
NewValue interface{} `json:"newValue"`
OldValue interface{} `json:"oldValue,omitempty"`
// Reason Reason for the claim
Reason string `json:"reason"`
// Service Service identifier
Service string `json:"service"`
}
ClaimSubmit Submit a new claim
type ClaimSubmitJSONBody ¶
type ClaimSubmitJSONBody struct {
// Data Submit a new claim
Data ClaimSubmit `json:"data"`
}
ClaimSubmitJSONBody defines parameters for ClaimSubmit.
type ClaimSubmitJSONRequestBody ¶
type ClaimSubmitJSONRequestBody ClaimSubmitJSONBody
ClaimSubmitJSONRequestBody defines body for ClaimSubmit for application/json ContentType.
type ClaimSubmitRequest ¶
type ClaimSubmitRequest struct {
// Data Submit a new claim
Data ClaimSubmit `json:"data"`
}
ClaimSubmitRequest defines model for ClaimSubmitRequest.
type ClaimSubmitResponse ¶
type ClaimSubmitResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ResponseClaimSubmit
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseClaimSubmitResponse ¶
func ParseClaimSubmitResponse(rsp *http.Response) (*ClaimSubmitResponse, error)
ParseClaimSubmitResponse parses an HTTP response from a ClaimSubmitWithResponse call
func (ClaimSubmitResponse) Status ¶
func (r ClaimSubmitResponse) Status() string
Status returns HTTPResponse.Status
func (ClaimSubmitResponse) StatusCode ¶
func (r ClaimSubmitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) CaseBasedOnBSNServiceLaw ¶
func (c *Client) CaseBasedOnBSNServiceLaw(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CaseGet ¶
func (c *Client) CaseGet(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CaseListBasedOnBSN ¶
func (*Client) CaseListBasedOnServiceLaw ¶
func (c *Client) CaseListBasedOnServiceLaw(ctx context.Context, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CaseObject ¶
func (c *Client) CaseObject(ctx context.Context, caseID PathCaseID, body CaseObjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CaseObjectWithBody ¶
func (*Client) CaseReview ¶
func (c *Client) CaseReview(ctx context.Context, caseID PathCaseID, body CaseReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CaseReviewWithBody ¶
func (*Client) CaseSubmit ¶
func (c *Client) CaseSubmit(ctx context.Context, body CaseSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CaseSubmitWithBody ¶
func (*Client) ClaimApprove ¶
func (c *Client) ClaimApprove(ctx context.Context, claimId PathClaimID, body ClaimApproveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClaimApproveWithBody ¶
func (*Client) ClaimListBasedOnBSN ¶
func (c *Client) ClaimListBasedOnBSN(ctx context.Context, bsn PathBSN, params *ClaimListBasedOnBSNParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClaimListBasedOnBSNServiceLaw ¶
func (c *Client) ClaimListBasedOnBSNServiceLaw(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, params *ClaimListBasedOnBSNServiceLawParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClaimReject ¶
func (c *Client) ClaimReject(ctx context.Context, claimId PathClaimID, body ClaimRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClaimRejectWithBody ¶
func (*Client) ClaimSubmit ¶
func (c *Client) ClaimSubmit(ctx context.Context, body ClaimSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClaimSubmitWithBody ¶
func (*Client) Evaluate ¶
func (c *Client) Evaluate(ctx context.Context, body EvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EvaluateWithBody ¶
func (*Client) EventListBasedOnCaseID ¶
func (c *Client) EventListBasedOnCaseID(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProfileGet ¶
func (c *Client) ProfileGet(ctx context.Context, bsn PathBSN, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProfileList ¶
func (c *Client) ProfileList(ctx context.Context, params *ProfileListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetEngine ¶
func (*Client) RuleSpecGet ¶
func (c *Client) RuleSpecGet(ctx context.Context, params *RuleSpecGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ServiceLawsDiscoverableList ¶
func (c *Client) ServiceLawsDiscoverableList(ctx context.Context, params *ServiceLawsDiscoverableListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetSourceDataFrame ¶
func (c *Client) SetSourceDataFrame(ctx context.Context, body SetSourceDataFrameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// CaseSubmitWithBody request with any body
CaseSubmitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CaseSubmit(ctx context.Context, body CaseSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CaseGet request
CaseGet(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*http.Response, error)
// EventListBasedOnCaseID request
EventListBasedOnCaseID(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CaseListBasedOnBSN request
CaseListBasedOnBSN(ctx context.Context, bsn PathBSN, reqEditors ...RequestEditorFn) (*http.Response, error)
// CaseBasedOnBSNServiceLaw request
CaseBasedOnBSNServiceLaw(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*http.Response, error)
// CaseObjectWithBody request with any body
CaseObjectWithBody(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CaseObject(ctx context.Context, caseID PathCaseID, body CaseObjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CaseReviewWithBody request with any body
CaseReviewWithBody(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CaseReview(ctx context.Context, caseID PathCaseID, body CaseReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CaseListBasedOnServiceLaw request
CaseListBasedOnServiceLaw(ctx context.Context, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClaimSubmitWithBody request with any body
ClaimSubmitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ClaimSubmit(ctx context.Context, body ClaimSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClaimListBasedOnBSN request
ClaimListBasedOnBSN(ctx context.Context, bsn PathBSN, params *ClaimListBasedOnBSNParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClaimListBasedOnBSNServiceLaw request
ClaimListBasedOnBSNServiceLaw(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, params *ClaimListBasedOnBSNServiceLawParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClaimApproveWithBody request with any body
ClaimApproveWithBody(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ClaimApprove(ctx context.Context, claimId PathClaimID, body ClaimApproveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClaimRejectWithBody request with any body
ClaimRejectWithBody(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ClaimReject(ctx context.Context, claimId PathClaimID, body ClaimRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServiceLawsDiscoverableList request
ServiceLawsDiscoverableList(ctx context.Context, params *ServiceLawsDiscoverableListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetEngine request
ResetEngine(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvaluateWithBody request with any body
EvaluateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Evaluate(ctx context.Context, body EvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EventList request
EventList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProfileList request
ProfileList(ctx context.Context, params *ProfileListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProfileGet request
ProfileGet(ctx context.Context, bsn PathBSN, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleSpecGet request
RuleSpecGet(ctx context.Context, params *RuleSpecGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetSourceDataFrameWithBody request with any body
SetSourceDataFrameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetSourceDataFrame(ctx context.Context, body SetSourceDataFrameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CaseBasedOnBSNServiceLawWithResponse ¶
func (c *ClientWithResponses) CaseBasedOnBSNServiceLawWithResponse(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*CaseBasedOnBSNServiceLawResponse, error)
CaseBasedOnBSNServiceLawWithResponse request returning *CaseBasedOnBSNServiceLawResponse
func (*ClientWithResponses) CaseGetWithResponse ¶
func (c *ClientWithResponses) CaseGetWithResponse(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*CaseGetResponse, error)
CaseGetWithResponse request returning *CaseGetResponse
func (*ClientWithResponses) CaseListBasedOnBSNWithResponse ¶
func (c *ClientWithResponses) CaseListBasedOnBSNWithResponse(ctx context.Context, bsn PathBSN, reqEditors ...RequestEditorFn) (*CaseListBasedOnBSNResponse, error)
CaseListBasedOnBSNWithResponse request returning *CaseListBasedOnBSNResponse
func (*ClientWithResponses) CaseListBasedOnServiceLawWithResponse ¶
func (c *ClientWithResponses) CaseListBasedOnServiceLawWithResponse(ctx context.Context, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*CaseListBasedOnServiceLawResponse, error)
CaseListBasedOnServiceLawWithResponse request returning *CaseListBasedOnServiceLawResponse
func (*ClientWithResponses) CaseObjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CaseObjectWithBodyWithResponse(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CaseObjectResponse, error)
CaseObjectWithBodyWithResponse request with arbitrary body returning *CaseObjectResponse
func (*ClientWithResponses) CaseObjectWithResponse ¶
func (c *ClientWithResponses) CaseObjectWithResponse(ctx context.Context, caseID PathCaseID, body CaseObjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CaseObjectResponse, error)
func (*ClientWithResponses) CaseReviewWithBodyWithResponse ¶
func (c *ClientWithResponses) CaseReviewWithBodyWithResponse(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CaseReviewResponse, error)
CaseReviewWithBodyWithResponse request with arbitrary body returning *CaseReviewResponse
func (*ClientWithResponses) CaseReviewWithResponse ¶
func (c *ClientWithResponses) CaseReviewWithResponse(ctx context.Context, caseID PathCaseID, body CaseReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CaseReviewResponse, error)
func (*ClientWithResponses) CaseSubmitWithBodyWithResponse ¶
func (c *ClientWithResponses) CaseSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CaseSubmitResponse, error)
CaseSubmitWithBodyWithResponse request with arbitrary body returning *CaseSubmitResponse
func (*ClientWithResponses) CaseSubmitWithResponse ¶
func (c *ClientWithResponses) CaseSubmitWithResponse(ctx context.Context, body CaseSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*CaseSubmitResponse, error)
func (*ClientWithResponses) ClaimApproveWithBodyWithResponse ¶
func (c *ClientWithResponses) ClaimApproveWithBodyWithResponse(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimApproveResponse, error)
ClaimApproveWithBodyWithResponse request with arbitrary body returning *ClaimApproveResponse
func (*ClientWithResponses) ClaimApproveWithResponse ¶
func (c *ClientWithResponses) ClaimApproveWithResponse(ctx context.Context, claimId PathClaimID, body ClaimApproveJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimApproveResponse, error)
func (*ClientWithResponses) ClaimListBasedOnBSNServiceLawWithResponse ¶
func (c *ClientWithResponses) ClaimListBasedOnBSNServiceLawWithResponse(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, params *ClaimListBasedOnBSNServiceLawParams, reqEditors ...RequestEditorFn) (*ClaimListBasedOnBSNServiceLawResponse, error)
ClaimListBasedOnBSNServiceLawWithResponse request returning *ClaimListBasedOnBSNServiceLawResponse
func (*ClientWithResponses) ClaimListBasedOnBSNWithResponse ¶
func (c *ClientWithResponses) ClaimListBasedOnBSNWithResponse(ctx context.Context, bsn PathBSN, params *ClaimListBasedOnBSNParams, reqEditors ...RequestEditorFn) (*ClaimListBasedOnBSNResponse, error)
ClaimListBasedOnBSNWithResponse request returning *ClaimListBasedOnBSNResponse
func (*ClientWithResponses) ClaimRejectWithBodyWithResponse ¶
func (c *ClientWithResponses) ClaimRejectWithBodyWithResponse(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimRejectResponse, error)
ClaimRejectWithBodyWithResponse request with arbitrary body returning *ClaimRejectResponse
func (*ClientWithResponses) ClaimRejectWithResponse ¶
func (c *ClientWithResponses) ClaimRejectWithResponse(ctx context.Context, claimId PathClaimID, body ClaimRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimRejectResponse, error)
func (*ClientWithResponses) ClaimSubmitWithBodyWithResponse ¶
func (c *ClientWithResponses) ClaimSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimSubmitResponse, error)
ClaimSubmitWithBodyWithResponse request with arbitrary body returning *ClaimSubmitResponse
func (*ClientWithResponses) ClaimSubmitWithResponse ¶
func (c *ClientWithResponses) ClaimSubmitWithResponse(ctx context.Context, body ClaimSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimSubmitResponse, error)
func (*ClientWithResponses) EvaluateWithBodyWithResponse ¶
func (c *ClientWithResponses) EvaluateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluateResponse, error)
EvaluateWithBodyWithResponse request with arbitrary body returning *EvaluateResponse
func (*ClientWithResponses) EvaluateWithResponse ¶
func (c *ClientWithResponses) EvaluateWithResponse(ctx context.Context, body EvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluateResponse, error)
func (*ClientWithResponses) EventListBasedOnCaseIDWithResponse ¶
func (c *ClientWithResponses) EventListBasedOnCaseIDWithResponse(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*EventListBasedOnCaseIDResponse, error)
EventListBasedOnCaseIDWithResponse request returning *EventListBasedOnCaseIDResponse
func (*ClientWithResponses) EventListWithResponse ¶
func (c *ClientWithResponses) EventListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventListResponse, error)
EventListWithResponse request returning *EventListResponse
func (*ClientWithResponses) ProfileGetWithResponse ¶
func (c *ClientWithResponses) ProfileGetWithResponse(ctx context.Context, bsn PathBSN, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*ProfileGetResponse, error)
ProfileGetWithResponse request returning *ProfileGetResponse
func (*ClientWithResponses) ProfileListWithResponse ¶
func (c *ClientWithResponses) ProfileListWithResponse(ctx context.Context, params *ProfileListParams, reqEditors ...RequestEditorFn) (*ProfileListResponse, error)
ProfileListWithResponse request returning *ProfileListResponse
func (*ClientWithResponses) ResetEngineWithResponse ¶
func (c *ClientWithResponses) ResetEngineWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResetEngineResponse, error)
ResetEngineWithResponse request returning *ResetEngineResponse
func (*ClientWithResponses) RuleSpecGetWithResponse ¶
func (c *ClientWithResponses) RuleSpecGetWithResponse(ctx context.Context, params *RuleSpecGetParams, reqEditors ...RequestEditorFn) (*RuleSpecGetResponse, error)
RuleSpecGetWithResponse request returning *RuleSpecGetResponse
func (*ClientWithResponses) ServiceLawsDiscoverableListWithResponse ¶
func (c *ClientWithResponses) ServiceLawsDiscoverableListWithResponse(ctx context.Context, params *ServiceLawsDiscoverableListParams, reqEditors ...RequestEditorFn) (*ServiceLawsDiscoverableListResponse, error)
ServiceLawsDiscoverableListWithResponse request returning *ServiceLawsDiscoverableListResponse
func (*ClientWithResponses) SetSourceDataFrameWithBodyWithResponse ¶
func (c *ClientWithResponses) SetSourceDataFrameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSourceDataFrameResponse, error)
SetSourceDataFrameWithBodyWithResponse request with arbitrary body returning *SetSourceDataFrameResponse
func (*ClientWithResponses) SetSourceDataFrameWithResponse ¶
func (c *ClientWithResponses) SetSourceDataFrameWithResponse(ctx context.Context, body SetSourceDataFrameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSourceDataFrameResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// CaseSubmitWithBodyWithResponse request with any body
CaseSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CaseSubmitResponse, error)
CaseSubmitWithResponse(ctx context.Context, body CaseSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*CaseSubmitResponse, error)
// CaseGetWithResponse request
CaseGetWithResponse(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*CaseGetResponse, error)
// EventListBasedOnCaseIDWithResponse request
EventListBasedOnCaseIDWithResponse(ctx context.Context, caseID PathCaseID, reqEditors ...RequestEditorFn) (*EventListBasedOnCaseIDResponse, error)
// CaseListBasedOnBSNWithResponse request
CaseListBasedOnBSNWithResponse(ctx context.Context, bsn PathBSN, reqEditors ...RequestEditorFn) (*CaseListBasedOnBSNResponse, error)
// CaseBasedOnBSNServiceLawWithResponse request
CaseBasedOnBSNServiceLawWithResponse(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*CaseBasedOnBSNServiceLawResponse, error)
// CaseObjectWithBodyWithResponse request with any body
CaseObjectWithBodyWithResponse(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CaseObjectResponse, error)
CaseObjectWithResponse(ctx context.Context, caseID PathCaseID, body CaseObjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CaseObjectResponse, error)
// CaseReviewWithBodyWithResponse request with any body
CaseReviewWithBodyWithResponse(ctx context.Context, caseID PathCaseID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CaseReviewResponse, error)
CaseReviewWithResponse(ctx context.Context, caseID PathCaseID, body CaseReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CaseReviewResponse, error)
// CaseListBasedOnServiceLawWithResponse request
CaseListBasedOnServiceLawWithResponse(ctx context.Context, service PathService, law PathLaw, reqEditors ...RequestEditorFn) (*CaseListBasedOnServiceLawResponse, error)
// ClaimSubmitWithBodyWithResponse request with any body
ClaimSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimSubmitResponse, error)
ClaimSubmitWithResponse(ctx context.Context, body ClaimSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimSubmitResponse, error)
// ClaimListBasedOnBSNWithResponse request
ClaimListBasedOnBSNWithResponse(ctx context.Context, bsn PathBSN, params *ClaimListBasedOnBSNParams, reqEditors ...RequestEditorFn) (*ClaimListBasedOnBSNResponse, error)
// ClaimListBasedOnBSNServiceLawWithResponse request
ClaimListBasedOnBSNServiceLawWithResponse(ctx context.Context, bsn PathBSN, service PathService, law PathLaw, params *ClaimListBasedOnBSNServiceLawParams, reqEditors ...RequestEditorFn) (*ClaimListBasedOnBSNServiceLawResponse, error)
// ClaimApproveWithBodyWithResponse request with any body
ClaimApproveWithBodyWithResponse(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimApproveResponse, error)
ClaimApproveWithResponse(ctx context.Context, claimId PathClaimID, body ClaimApproveJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimApproveResponse, error)
// ClaimRejectWithBodyWithResponse request with any body
ClaimRejectWithBodyWithResponse(ctx context.Context, claimId PathClaimID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClaimRejectResponse, error)
ClaimRejectWithResponse(ctx context.Context, claimId PathClaimID, body ClaimRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*ClaimRejectResponse, error)
// ServiceLawsDiscoverableListWithResponse request
ServiceLawsDiscoverableListWithResponse(ctx context.Context, params *ServiceLawsDiscoverableListParams, reqEditors ...RequestEditorFn) (*ServiceLawsDiscoverableListResponse, error)
// ResetEngineWithResponse request
ResetEngineWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResetEngineResponse, error)
// EvaluateWithBodyWithResponse request with any body
EvaluateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluateResponse, error)
EvaluateWithResponse(ctx context.Context, body EvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluateResponse, error)
// EventListWithResponse request
EventListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventListResponse, error)
// ProfileListWithResponse request
ProfileListWithResponse(ctx context.Context, params *ProfileListParams, reqEditors ...RequestEditorFn) (*ProfileListResponse, error)
// ProfileGetWithResponse request
ProfileGetWithResponse(ctx context.Context, bsn PathBSN, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*ProfileGetResponse, error)
// RuleSpecGetWithResponse request
RuleSpecGetWithResponse(ctx context.Context, params *RuleSpecGetParams, reqEditors ...RequestEditorFn) (*RuleSpecGetResponse, error)
// SetSourceDataFrameWithBodyWithResponse request with any body
SetSourceDataFrameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSourceDataFrameResponse, error)
SetSourceDataFrameWithResponse(ctx context.Context, body SetSourceDataFrameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSourceDataFrameResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Condition ¶
type Condition struct {
// Else Represents a value in an operation (can be a primitive value or nested action)
Else *ActionValue `json:"else,omitempty"`
Test *Action `json:"test,omitempty"`
// Then Represents a value in an operation (can be a primitive value or nested action)
Then *ActionValue `json:"then,omitempty"`
}
Condition Conditional logic with test, then, and optional else
type DataFrame ¶
type DataFrame struct {
// Data Column definitions for the data frame
Data []map[string]interface{} `json:"data"`
Service string `json:"service"`
Table string `json:"table"`
}
DataFrame defines model for DataFrame.
type DataFrameRequest ¶
type DataFrameRequest struct {
Data DataFrame `json:"data"`
}
DataFrameRequest defines model for DataFrameRequest.
type DiscoverableBy ¶
type DiscoverableBy = string
DiscoverableBy DiscoverableBy is a string that can be used to filter lists
type Error ¶
type Error struct {
Message string `json:"message"`
}
Error The error that occured while processing this request.
type Evaluate ¶
type Evaluate struct {
// Approved only use approved claims, default to true
Approved *bool `json:"approved,omitempty"`
// EffectiveDate Can be used to set the effective execution date
EffectiveDate *openapi_types.Date `json:"effectiveDate,omitempty"`
Input *map[string]interface{} `json:"input,omitempty"`
// Law Specify the law that needs to be executed
Law string `json:"law"`
// Output specify a requested output value
Output *string `json:"output,omitempty"`
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// ReferenceDate Can be used to set the reference date of data
ReferenceDate *openapi_types.Date `json:"referenceDate,omitempty"`
// Service Specify the service that needs to be executed
Service string `json:"service"`
}
Evaluate Evaluate.
type EvaluateJSONBody ¶
type EvaluateJSONBody struct {
// Data Evaluate.
Data Evaluate `json:"data"`
}
EvaluateJSONBody defines parameters for Evaluate.
type EvaluateJSONRequestBody ¶
type EvaluateJSONRequestBody EvaluateJSONBody
EvaluateJSONRequestBody defines body for Evaluate for application/json ContentType.
type EvaluateRequest ¶
type EvaluateRequest struct {
// Data Evaluate.
Data Evaluate `json:"data"`
}
EvaluateRequest defines model for EvaluateRequest.
type EvaluateResponse ¶
type EvaluateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ResponseEvaluate
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseEvaluateResponse ¶
func ParseEvaluateResponse(rsp *http.Response) (*EvaluateResponse, error)
ParseEvaluateResponse parses an HTTP response from a EvaluateWithResponse call
func (EvaluateResponse) Status ¶
func (r EvaluateResponse) Status() string
Status returns HTTPResponse.Status
func (EvaluateResponse) StatusCode ¶
func (r EvaluateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Event ¶
type Event struct {
Data map[string]interface{} `json:"data"`
// EventType Type of the event
EventType string `json:"eventType"`
Timestamp time.Time `json:"timestamp"`
}
Event Event
type EventListBasedOnCaseIDResponse ¶
type EventListBasedOnCaseIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseEventList
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseEventListBasedOnCaseIDResponse ¶
func ParseEventListBasedOnCaseIDResponse(rsp *http.Response) (*EventListBasedOnCaseIDResponse, error)
ParseEventListBasedOnCaseIDResponse parses an HTTP response from a EventListBasedOnCaseIDWithResponse call
func (EventListBasedOnCaseIDResponse) Status ¶
func (r EventListBasedOnCaseIDResponse) Status() string
Status returns HTTPResponse.Status
func (EventListBasedOnCaseIDResponse) StatusCode ¶
func (r EventListBasedOnCaseIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EventListResponse ¶
type EventListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseEventList
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseEventListResponse ¶
func ParseEventListResponse(rsp *http.Response) (*EventListResponse, error)
ParseEventListResponse parses an HTTP response from a EventListWithResponse call
func (EventListResponse) Status ¶
func (r EventListResponse) Status() string
Status returns HTTPResponse.Status
func (EventListResponse) StatusCode ¶
func (r EventListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InputField ¶
type InputField struct {
// Description Field description
Description string `json:"description"`
// Name Field name
Name string `json:"name"`
// Required Whether the field is required
Required *bool `json:"required"`
ServiceReference ServiceReference `json:"service_reference"`
Temporal *Temporal `json:"temporal,omitempty"`
// Type Field type
Type string `json:"type"`
TypeSpec *TypeSpec `json:"type_spec,omitempty"`
}
InputField defines model for InputField.
type InternalServerErrorResponse ¶
type InternalServerErrorResponse struct {
Errors []Error `json:"errors"`
}
InternalServerErrorResponse defines model for InternalServerErrorResponse.
type Law ¶
type Law struct {
// DiscoverableBy Who can discover this law
DiscoverableBy []string `json:"discoverableBy"`
// Name Name of the law
Name string `json:"name"`
}
Law Law
type OutputField ¶
type OutputField struct {
CitizenRelevance string `json:"citizen_relevance"`
// Description Field description
Description string `json:"description"`
// Name Field name
Name string `json:"name"`
// Required Whether the field is required
Required *bool `json:"required"`
Temporal *Temporal `json:"temporal,omitempty"`
// Type Field type
Type string `json:"type"`
TypeSpec *TypeSpec `json:"type_spec,omitempty"`
}
OutputField defines model for OutputField.
type Parameter ¶
type Parameter struct {
// Name Parameter name
Name string `json:"name"`
// Reference Parameter reference
Reference string `json:"reference"`
}
Parameter defines model for Parameter.
type ParameterField ¶
type ParameterField = BaseField
ParameterField defines model for ParameterField.
type PathNode ¶
type PathNode struct {
Children *[]PathNode `json:"children,omitempty"`
Details *map[string]interface{} `json:"details,omitempty"`
Name string `json:"name"`
Required *bool `json:"required,omitempty"`
ResolveType *string `json:"resolveType,omitempty"`
Result interface{} `json:"result,omitempty"`
Type string `json:"type"`
}
PathNode path node
type Profile ¶
type Profile struct {
// Bsn Burgerservicenummer of a Dutch citizen
Bsn Bsn `json:"bsn"`
// Description Description of the burger
Description string `json:"description"`
// Name Name of the burger
Name string `json:"name"`
// Sources All sources for a certain profile
Sources map[string]Source `json:"sources"`
}
Profile Profile
type ProfileGetParams ¶
type ProfileGetParams struct {
// EffectiveDate Can be used to set the effective execution date
EffectiveDate *QueryEffectiveDate `form:"effective_date,omitempty" json:"effective_date,omitempty"`
}
ProfileGetParams defines parameters for ProfileGet.
type ProfileGetResponse ¶
type ProfileGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProfileResponse
JSON400 *BadRequestErrorResponse
JSON404 *ResourceNotFoundErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseProfileGetResponse ¶
func ParseProfileGetResponse(rsp *http.Response) (*ProfileGetResponse, error)
ParseProfileGetResponse parses an HTTP response from a ProfileGetWithResponse call
func (ProfileGetResponse) Status ¶
func (r ProfileGetResponse) Status() string
Status returns HTTPResponse.Status
func (ProfileGetResponse) StatusCode ¶
func (r ProfileGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProfileListParams ¶
type ProfileListParams struct {
// EffectiveDate Can be used to set the effective execution date
EffectiveDate *QueryEffectiveDate `form:"effective_date,omitempty" json:"effective_date,omitempty"`
}
ProfileListParams defines parameters for ProfileList.
type ProfileListResponse ¶
type ProfileListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResponseProfileList
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseProfileListResponse ¶
func ParseProfileListResponse(rsp *http.Response) (*ProfileListResponse, error)
ParseProfileListResponse parses an HTTP response from a ProfileListWithResponse call
func (ProfileListResponse) Status ¶
func (r ProfileListResponse) Status() string
Status returns HTTPResponse.Status
func (ProfileListResponse) StatusCode ¶
func (r ProfileListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProfileResponse ¶
type ProfileResponse struct {
// Data Profile
Data Profile `json:"data"`
}
ProfileResponse defines model for ProfileResponse.
type Properties ¶
type Properties struct {
// Applies Application rules
Applies *[]Apply `json:"applies,omitempty"`
// Definitions Additional definitions
Definitions *map[string]interface{} `json:"definitions,omitempty"`
// Input Input fields
Input *[]InputField `json:"input,omitempty"`
// Output Output fields
Output *[]OutputField `json:"output,omitempty"`
// Parameters Parameter fields
Parameters *[]ParameterField `json:"parameters,omitempty"`
// Sources Source fields
Sources *[]SourceField `json:"sources,omitempty"`
}
Properties defines model for Properties.
type QueryDiscoverableBy ¶
type QueryDiscoverableBy = DiscoverableBy
QueryDiscoverableBy DiscoverableBy is a string that can be used to filter lists
type QueryEffectiveDate ¶
type QueryEffectiveDate = openapi_types.Date
QueryEffectiveDate defines model for queryEffectiveDate.
type QueryIncludeRejected ¶
type QueryIncludeRejected = bool
QueryIncludeRejected defines model for queryIncludeRejected.
type QueryOnlyApproved ¶
type QueryOnlyApproved = bool
QueryOnlyApproved defines model for queryOnlyApproved.
type Reference ¶
type Reference struct {
// Article Article reference
Article string `json:"article"`
// Law Law reference
Law string `json:"law"`
// Url URL to the legal reference
Url string `json:"url"`
}
Reference defines model for Reference.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Requirement ¶
type Requirement struct {
// All All requirements must be met (AND logic)
All *[]ActionRequirement `json:"all"`
// Or Any requirement must be met (OR logic)
Or *[]ActionRequirement `json:"or"`
}
Requirement Logical requirements with AND/OR operations
type ResetEngineResponse ¶
type ResetEngineResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseResetEngineResponse ¶
func ParseResetEngineResponse(rsp *http.Response) (*ResetEngineResponse, error)
ParseResetEngineResponse parses an HTTP response from a ResetEngineWithResponse call
func (ResetEngineResponse) Status ¶
func (r ResetEngineResponse) Status() string
Status returns HTTPResponse.Status
func (ResetEngineResponse) StatusCode ¶
func (r ResetEngineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResourceNotFoundErrorResponse ¶
type ResourceNotFoundErrorResponse struct {
Errors *[]Error `json:"errors,omitempty"`
}
ResourceNotFoundErrorResponse defines model for ResourceNotFoundErrorResponse.
type ResponseCase ¶
type ResponseCase struct {
// Data Case
Data Case `json:"data"`
}
ResponseCase defines model for ResponseCase.
type ResponseCaseList ¶
type ResponseCaseList struct {
// Data List of all cases
Data CaseList `json:"data"`
}
ResponseCaseList defines model for ResponseCaseList.
type ResponseCaseObject ¶
type ResponseCaseObject struct {
// Data Identifier of a case
Data CaseID `json:"data"`
}
ResponseCaseObject defines model for ResponseCaseObject.
type ResponseCaseReview ¶
type ResponseCaseReview struct {
// Data Identifier of a case
Data CaseID `json:"data"`
}
ResponseCaseReview defines model for ResponseCaseReview.
type ResponseCaseSubmit ¶
type ResponseCaseSubmit struct {
// Data Identifier of a case
Data CaseID `json:"data"`
}
ResponseCaseSubmit defines model for ResponseCaseSubmit.
type ResponseClaimApprove ¶
type ResponseClaimApprove struct {
// Data Identifier of a claim
Data ClaimID `json:"data"`
}
ResponseClaimApprove defines model for ResponseClaimApprove.
type ResponseClaimReject ¶
type ResponseClaimReject struct {
// Data Identifier of a claim
Data ClaimID `json:"data"`
}
ResponseClaimReject defines model for ResponseClaimReject.
type ResponseClaimSubmit ¶
type ResponseClaimSubmit struct {
// Data Identifier of a claim
Data ClaimID `json:"data"`
}
ResponseClaimSubmit defines model for ResponseClaimSubmit.
type ResponseEvaluate ¶
type ResponseEvaluate struct {
// Data Evaluate response
Data ResponseEvaluateSchema `json:"data"`
}
ResponseEvaluate defines model for ResponseEvaluate.
type ResponseEvaluateSchema ¶
type ResponseEvaluateSchema struct {
Input map[string]interface{} `json:"input"`
// MissingRequired Will be true when a required value is missing
MissingRequired bool `json:"missingRequired"`
Output map[string]interface{} `json:"output"`
// Path path node
Path PathNode `json:"path"`
// RequirementsMet Will be true when all requirements where met
RequirementsMet bool `json:"requirementsMet"`
// RulespecId Identifier of the rulespec
RulespecId openapi_types.UUID `json:"rulespecId"`
}
ResponseEvaluateSchema Evaluate response
type ResponseEventList ¶
type ResponseEventList struct {
// Data List of all events
Data EventList `json:"data"`
}
ResponseEventList defines model for ResponseEventList.
type ResponseProfileList ¶
type ResponseProfileList struct {
// Data List of all burgers
Data ProfileList `json:"data"`
}
ResponseProfileList defines model for ResponseProfileList.
type RuleSpec ¶
type RuleSpec struct {
// Actions Actions associated with the rule
Actions *[]Action `json:"actions,omitempty"`
// DecisionType Type of decision
DecisionType *string `json:"decision_type"`
// Description Description of the rule specification
Description string `json:"description"`
// Discoverable Discoverability setting
Discoverable *string `json:"discoverable"`
// Law Associated law reference
Law string `json:"law"`
// LawType Type of law
LawType *string `json:"law_type"`
// LegalCharacter Legal character of the rule
LegalCharacter *string `json:"legal_character"`
// Name Name of the rule specification
Name string `json:"name"`
Properties Properties `json:"properties"`
// References Legal references
References *[]Reference `json:"references,omitempty"`
// Requirements Requirements for the rule
Requirements *[]Requirement `json:"requirements,omitempty"`
// Service Associated service identifier
Service string `json:"service"`
// Uuid Unique identifier for the rule specification
Uuid openapi_types.UUID `json:"uuid"`
// ValidFrom Date from which the rule is valid
ValidFrom time.Time `json:"valid_from"`
}
RuleSpec defines model for RuleSpec.
type RuleSpecGetParams ¶
type RuleSpecGetParams struct {
// Service filter for service
Service QueryService `form:"service" json:"service"`
// Law filter for law
Law QueryLaw `form:"law" json:"law"`
// ReferenceDate reference date
ReferenceDate QueryReferenceDate `form:"referenceDate" json:"referenceDate"`
}
RuleSpecGetParams defines parameters for RuleSpecGet.
type RuleSpecGetResponse ¶
type RuleSpecGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RuleSpecResponse
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseRuleSpecGetResponse ¶
func ParseRuleSpecGetResponse(rsp *http.Response) (*RuleSpecGetResponse, error)
ParseRuleSpecGetResponse parses an HTTP response from a RuleSpecGetWithResponse call
func (RuleSpecGetResponse) Status ¶
func (r RuleSpecGetResponse) Status() string
Status returns HTTPResponse.Status
func (RuleSpecGetResponse) StatusCode ¶
func (r RuleSpecGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleSpecResponse ¶
type RuleSpecResponse struct {
Data RuleSpec `json:"data"`
}
RuleSpecResponse defines model for RuleSpecResponse.
type SelectField ¶
type SelectField struct {
// Description Field description
Description string `json:"description"`
// Name Field name
Name string `json:"name"`
// Type Field type
Type string `json:"type"`
// Value Represents a value in an operation (can be a primitive value or nested action)
Value ActionValue `json:"value"`
}
SelectField defines model for SelectField.
type ServiceLawsDiscoverableListParams ¶
type ServiceLawsDiscoverableListParams struct {
// DiscoverableBy Filter for discoverable by, defaults to 'CITIZEN'
DiscoverableBy *QueryDiscoverableBy `form:"discoverableBy,omitempty" json:"discoverableBy,omitempty"`
}
ServiceLawsDiscoverableListParams defines parameters for ServiceLawsDiscoverableList.
type ServiceLawsDiscoverableListResponse ¶
type ServiceLawsDiscoverableListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceListResponse
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseServiceLawsDiscoverableListResponse ¶
func ParseServiceLawsDiscoverableListResponse(rsp *http.Response) (*ServiceLawsDiscoverableListResponse, error)
ParseServiceLawsDiscoverableListResponse parses an HTTP response from a ServiceLawsDiscoverableListWithResponse call
func (ServiceLawsDiscoverableListResponse) Status ¶
func (r ServiceLawsDiscoverableListResponse) Status() string
Status returns HTTPResponse.Status
func (ServiceLawsDiscoverableListResponse) StatusCode ¶
func (r ServiceLawsDiscoverableListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServiceListResponse ¶
type ServiceListResponse struct {
// Data List of all services
Data ServiceList `json:"data"`
}
ServiceListResponse defines model for ServiceListResponse.
type ServiceReference ¶
type ServiceReference struct {
// Field Field in the referenced service
Field string `json:"field"`
// Law Associated law
Law string `json:"law"`
// Parameters Service parameters
Parameters *[]Parameter `json:"parameters,omitempty"`
// Service Referenced service identifier
Service string `json:"service"`
}
ServiceReference defines model for ServiceReference.
type SetSourceDataFrameJSONBody ¶
type SetSourceDataFrameJSONBody struct {
Data DataFrame `json:"data"`
}
SetSourceDataFrameJSONBody defines parameters for SetSourceDataFrame.
type SetSourceDataFrameJSONRequestBody ¶
type SetSourceDataFrameJSONRequestBody SetSourceDataFrameJSONBody
SetSourceDataFrameJSONRequestBody defines body for SetSourceDataFrame for application/json ContentType.
type SetSourceDataFrameResponse ¶
type SetSourceDataFrameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestErrorResponse
JSON500 *InternalServerErrorResponse
}
func ParseSetSourceDataFrameResponse ¶
func ParseSetSourceDataFrameResponse(rsp *http.Response) (*SetSourceDataFrameResponse, error)
ParseSetSourceDataFrameResponse parses an HTTP response from a SetSourceDataFrameWithResponse call
func (SetSourceDataFrameResponse) Status ¶
func (r SetSourceDataFrameResponse) Status() string
Status returns HTTPResponse.Status
func (SetSourceDataFrameResponse) StatusCode ¶
func (r SetSourceDataFrameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SourceField ¶
type SourceField struct {
// Description Field description
Description string `json:"description"`
// Name Field name
Name string `json:"name"`
// Required Whether the field is required
Required *bool `json:"required"`
ServiceReference *ServiceReference `json:"service_reference,omitempty"`
SourceReference *SourceReference `json:"source_reference,omitempty"`
Temporal *Temporal `json:"temporal,omitempty"`
// Type Field type
Type string `json:"type"`
TypeSpec *TypeSpec `json:"type_spec,omitempty"`
}
SourceField defines model for SourceField.
type SourceReference ¶
type SourceReference struct {
// Field Specific field to reference
Field *string `json:"field"`
// Fields Multiple fields to reference
Fields *[]string `json:"fields"`
// SelectOn Selection criteria
SelectOn *[]SelectField `json:"select_on,omitempty"`
// SourceType Type of the data source
SourceType *string `json:"source_type,omitempty"`
// Table Table name in the source
Table *string `json:"table,omitempty"`
}
SourceReference defines model for SourceReference.
type Temporal ¶
type Temporal struct {
// ImmutableAfter Immutability rule
ImmutableAfter *string `json:"immutable_after"`
// PeriodType Period type specification
PeriodType *string `json:"period_type"`
// Reference Reference (can be string or VariableReference)
Reference *string `json:"reference"`
// Type Temporal type
Type string `json:"type"`
}
Temporal defines model for Temporal.
type TypeSpec ¶
type TypeSpec struct {
// Max Maximum value
Max *float64 `json:"max"`
// Min Minimum value
Min *float64 `json:"min"`
// Precision Precision for numeric types
Precision *int `json:"precision"`
// Type Specific type definition
Type string `json:"type"`
// Unit Unit of measurement
Unit *string `json:"unit"`
}
TypeSpec defines model for TypeSpec.