openapi

package
v0.2.173 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Go API Server for openapi

This page documents the backchannel API the test harness uses to communicate with agents under tests.

For more information checkout the Aries Interoperability Information page.

Overview

This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

Running the server

To run the server, follow these simple steps:

go run main.go

To run the server in a docker container

docker build --network=host -t openapi .

Once image is built use

docker run --rm -it openapi

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrTypeAssertionError is thrown when type an interface does not match the asserted type
	ErrTypeAssertionError = errors.New("unable to assert type")
)
View Source
var (
	Version = "dev"
)

Functions

func AssertAgentStartRequestDataParametersRequired added in v0.1.68

func AssertAgentStartRequestDataParametersRequired(obj AgentStartRequestDataParameters) error

AssertAgentStartRequestDataParametersRequired checks if the required fields are not zero-ed

func AssertAgentStartRequestDataRequired added in v0.1.68

func AssertAgentStartRequestDataRequired(obj AgentStartRequestData) error

AssertAgentStartRequestDataRequired checks if the required fields are not zero-ed

func AssertAgentStartRequestRequired added in v0.1.68

func AssertAgentStartRequestRequired(obj AgentStartRequest) error

AssertAgentStartRequestRequired checks if the required fields are not zero-ed

func AssertAttachmentFormatRequired added in v0.1.68

func AssertAttachmentFormatRequired(obj AttachmentFormat) error

AssertAttachmentFormatRequired checks if the required fields are not zero-ed

func AssertConnectionAcceptInvitation200ResponseRequired added in v0.1.68

func AssertConnectionAcceptInvitation200ResponseRequired(obj ConnectionAcceptInvitation200Response) error

AssertConnectionAcceptInvitation200ResponseRequired checks if the required fields are not zero-ed

func AssertConnectionAcceptInvitationRequestRequired added in v0.1.68

func AssertConnectionAcceptInvitationRequestRequired(obj ConnectionAcceptInvitationRequest) error

AssertConnectionAcceptInvitationRequestRequired checks if the required fields are not zero-ed

func AssertConnectionAcceptRequest200ResponseRequired added in v0.1.68

func AssertConnectionAcceptRequest200ResponseRequired(obj ConnectionAcceptRequest200Response) error

AssertConnectionAcceptRequest200ResponseRequired checks if the required fields are not zero-ed

func AssertConnectionCreateInvitation200ResponseRequired added in v0.1.68

func AssertConnectionCreateInvitation200ResponseRequired(obj ConnectionCreateInvitation200Response) error

AssertConnectionCreateInvitation200ResponseRequired checks if the required fields are not zero-ed

func AssertConnectionCreateInvitationRequestDataRequired added in v0.1.68

func AssertConnectionCreateInvitationRequestDataRequired(obj ConnectionCreateInvitationRequestData) error

AssertConnectionCreateInvitationRequestDataRequired checks if the required fields are not zero-ed

func AssertConnectionCreateInvitationRequestRequired added in v0.1.68

func AssertConnectionCreateInvitationRequestRequired(obj ConnectionCreateInvitationRequest) error

AssertConnectionCreateInvitationRequestRequired checks if the required fields are not zero-ed

func AssertConnectionReceiveInvitation200ResponseRequired added in v0.1.68

func AssertConnectionReceiveInvitation200ResponseRequired(obj ConnectionReceiveInvitation200Response) error

AssertConnectionReceiveInvitation200ResponseRequired checks if the required fields are not zero-ed

func AssertConnectionReceiveInvitationRequestDataAllOfRequired added in v0.1.68

func AssertConnectionReceiveInvitationRequestDataAllOfRequired(obj ConnectionReceiveInvitationRequestDataAllOf) error

AssertConnectionReceiveInvitationRequestDataAllOfRequired checks if the required fields are not zero-ed

func AssertConnectionReceiveInvitationRequestDataRequired added in v0.1.68

func AssertConnectionReceiveInvitationRequestDataRequired(obj ConnectionReceiveInvitationRequestData) error

AssertConnectionReceiveInvitationRequestDataRequired checks if the required fields are not zero-ed

func AssertConnectionReceiveInvitationRequestRequired added in v0.1.68

func AssertConnectionReceiveInvitationRequestRequired(obj ConnectionReceiveInvitationRequest) error

AssertConnectionReceiveInvitationRequestRequired checks if the required fields are not zero-ed

func AssertConnectionResponseRequired added in v0.1.68

func AssertConnectionResponseRequired(obj ConnectionResponse) error

AssertConnectionResponseRequired checks if the required fields are not zero-ed

func AssertConnectionSendPingRequestDataRequired added in v0.1.68

func AssertConnectionSendPingRequestDataRequired(obj ConnectionSendPingRequestData) error

AssertConnectionSendPingRequestDataRequired checks if the required fields are not zero-ed

func AssertConnectionSendPingRequestRequired added in v0.1.68

func AssertConnectionSendPingRequestRequired(obj ConnectionSendPingRequest) error

AssertConnectionSendPingRequestRequired checks if the required fields are not zero-ed

func AssertConnectionStateRequired added in v0.1.68

func AssertConnectionStateRequired(obj ConnectionState) error

AssertConnectionStateRequired checks if the required fields are not zero-ed

func AssertCoordinateMediationOperationResponseRequired added in v0.1.68

func AssertCoordinateMediationOperationResponseRequired(obj CoordinateMediationOperationResponse) error

AssertCoordinateMediationOperationResponseRequired checks if the required fields are not zero-ed

func AssertCoordinateMediationStateRequired added in v0.1.68

func AssertCoordinateMediationStateRequired(obj CoordinateMediationState) error

AssertCoordinateMediationStateRequired checks if the required fields are not zero-ed

func AssertCreateOfferToStartCredentialIssuanceFlow1DataRequired added in v0.1.68

func AssertCreateOfferToStartCredentialIssuanceFlow1DataRequired(obj CreateOfferToStartCredentialIssuanceFlow1Data) error

AssertCreateOfferToStartCredentialIssuanceFlow1DataRequired checks if the required fields are not zero-ed

func AssertCreateOfferToStartCredentialIssuanceFlow1Required added in v0.1.68

func AssertCreateOfferToStartCredentialIssuanceFlow1Required(obj CreateOfferToStartCredentialIssuanceFlow1) error

AssertCreateOfferToStartCredentialIssuanceFlow1Required checks if the required fields are not zero-ed

func AssertCreateOfferToStartCredentialIssuanceFlowDataRequired added in v0.1.68

func AssertCreateOfferToStartCredentialIssuanceFlowDataRequired(obj CreateOfferToStartCredentialIssuanceFlowData) error

AssertCreateOfferToStartCredentialIssuanceFlowDataRequired checks if the required fields are not zero-ed

func AssertCreateOfferToStartCredentialIssuanceFlowRequired added in v0.1.68

func AssertCreateOfferToStartCredentialIssuanceFlowRequired(obj CreateOfferToStartCredentialIssuanceFlow) error

AssertCreateOfferToStartCredentialIssuanceFlowRequired checks if the required fields are not zero-ed

func AssertCredentialDefinitionCreate200ResponseRequired added in v0.1.68

func AssertCredentialDefinitionCreate200ResponseRequired(obj CredentialDefinitionCreate200Response) error

AssertCredentialDefinitionCreate200ResponseRequired checks if the required fields are not zero-ed

func AssertCredentialDefinitionCreateRequestDataRequired added in v0.1.68

func AssertCredentialDefinitionCreateRequestDataRequired(obj CredentialDefinitionCreateRequestData) error

AssertCredentialDefinitionCreateRequestDataRequired checks if the required fields are not zero-ed

func AssertCredentialDefinitionCreateRequestRequired added in v0.1.68

func AssertCredentialDefinitionCreateRequestRequired(obj CredentialDefinitionCreateRequest) error

AssertCredentialDefinitionCreateRequestRequired checks if the required fields are not zero-ed

func AssertCredentialGetById200ResponseRequired added in v0.1.68

func AssertCredentialGetById200ResponseRequired(obj CredentialGetById200Response) error

AssertCredentialGetById200ResponseRequired checks if the required fields are not zero-ed

func AssertCredentialGetRevocationStatusById200ResponseRequired added in v0.1.68

func AssertCredentialGetRevocationStatusById200ResponseRequired(obj CredentialGetRevocationStatusById200Response) error

AssertCredentialGetRevocationStatusById200ResponseRequired checks if the required fields are not zero-ed

func AssertCredentialPreviewAttributesInnerRequired added in v0.1.68

func AssertCredentialPreviewAttributesInnerRequired(obj CredentialPreviewAttributesInner) error

AssertCredentialPreviewAttributesInnerRequired checks if the required fields are not zero-ed

func AssertCredentialPreviewRequired added in v0.1.68

func AssertCredentialPreviewRequired(obj CredentialPreview) error

AssertCredentialPreviewRequired checks if the required fields are not zero-ed

func AssertDidCommV2AcceptInvitationRequestDataRequired added in v0.1.68

func AssertDidCommV2AcceptInvitationRequestDataRequired(obj DidCommV2AcceptInvitationRequestData) error

AssertDidCommV2AcceptInvitationRequestDataRequired checks if the required fields are not zero-ed

func AssertDidCommV2AcceptInvitationRequestRequired added in v0.1.68

func AssertDidCommV2AcceptInvitationRequestRequired(obj DidCommV2AcceptInvitationRequest) error

AssertDidCommV2AcceptInvitationRequestRequired checks if the required fields are not zero-ed

func AssertDidCommV2CreateInvitation200ResponseRequired added in v0.1.68

func AssertDidCommV2CreateInvitation200ResponseRequired(obj DidCommV2CreateInvitation200Response) error

AssertDidCommV2CreateInvitation200ResponseRequired checks if the required fields are not zero-ed

func AssertDidCommV2CreateInvitationRequestDataRequired added in v0.1.68

func AssertDidCommV2CreateInvitationRequestDataRequired(obj DidCommV2CreateInvitationRequestData) error

AssertDidCommV2CreateInvitationRequestDataRequired checks if the required fields are not zero-ed

func AssertDidCommV2CreateInvitationRequestRequired added in v0.1.68

func AssertDidCommV2CreateInvitationRequestRequired(obj DidCommV2CreateInvitationRequest) error

AssertDidCommV2CreateInvitationRequestRequired checks if the required fields are not zero-ed

func AssertDidExchangeCreateRequestResolvableDidRequestDataRequired added in v0.1.68

func AssertDidExchangeCreateRequestResolvableDidRequestDataRequired(obj DidExchangeCreateRequestResolvableDidRequestData) error

AssertDidExchangeCreateRequestResolvableDidRequestDataRequired checks if the required fields are not zero-ed

func AssertDidExchangeCreateRequestResolvableDidRequestRequired added in v0.1.68

func AssertDidExchangeCreateRequestResolvableDidRequestRequired(obj DidExchangeCreateRequestResolvableDidRequest) error

AssertDidExchangeCreateRequestResolvableDidRequestRequired checks if the required fields are not zero-ed

func AssertDidExchangeGetById200ResponseRequired added in v0.1.68

func AssertDidExchangeGetById200ResponseRequired(obj DidExchangeGetById200Response) error

AssertDidExchangeGetById200ResponseRequired checks if the required fields are not zero-ed

func AssertDidExchangeGetByInvitationId200ResponseRequired added in v0.1.68

func AssertDidExchangeGetByInvitationId200ResponseRequired(obj DidExchangeGetByInvitationId200Response) error

AssertDidExchangeGetByInvitationId200ResponseRequired checks if the required fields are not zero-ed

func AssertDidExchangeReceiveRequestResolvableDidRequestRequired added in v0.1.68

func AssertDidExchangeReceiveRequestResolvableDidRequestRequired(obj DidExchangeReceiveRequestResolvableDidRequest) error

AssertDidExchangeReceiveRequestResolvableDidRequestRequired checks if the required fields are not zero-ed

func AssertDidExchangeStateRequired added in v0.1.68

func AssertDidExchangeStateRequired(obj DidExchangeState) error

AssertDidExchangeStateRequired checks if the required fields are not zero-ed

func AssertDidGetPublic200ResponseRequired added in v0.1.68

func AssertDidGetPublic200ResponseRequired(obj DidGetPublic200Response) error

AssertDidGetPublic200ResponseRequired checks if the required fields are not zero-ed

func AssertIndyCredentialRequired added in v0.1.68

func AssertIndyCredentialRequired(obj IndyCredential) error

AssertIndyCredentialRequired checks if the required fields are not zero-ed

func AssertIssueCredentialCreateOffer200ResponseRecordAllOfRequired added in v0.1.68

func AssertIssueCredentialCreateOffer200ResponseRecordAllOfRequired(obj IssueCredentialCreateOffer200ResponseRecordAllOf) error

AssertIssueCredentialCreateOffer200ResponseRecordAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialCreateOffer200ResponseRecordRequired added in v0.1.68

func AssertIssueCredentialCreateOffer200ResponseRecordRequired(obj IssueCredentialCreateOffer200ResponseRecord) error

AssertIssueCredentialCreateOffer200ResponseRecordRequired checks if the required fields are not zero-ed

func AssertIssueCredentialCreateOffer200ResponseRequired added in v0.1.68

func AssertIssueCredentialCreateOffer200ResponseRequired(obj IssueCredentialCreateOffer200Response) error

AssertIssueCredentialCreateOffer200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialCreateOfferRequestRequired added in v0.1.68

func AssertIssueCredentialCreateOfferRequestRequired(obj IssueCredentialCreateOfferRequest) error

AssertIssueCredentialCreateOfferRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialIssue200ResponseAllOfRequired added in v0.1.68

func AssertIssueCredentialIssue200ResponseAllOfRequired(obj IssueCredentialIssue200ResponseAllOf) error

AssertIssueCredentialIssue200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialIssue200ResponseRequired added in v0.1.68

func AssertIssueCredentialIssue200ResponseRequired(obj IssueCredentialIssue200Response) error

AssertIssueCredentialIssue200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialIssueRequestDataRequired added in v0.1.68

func AssertIssueCredentialIssueRequestDataRequired(obj IssueCredentialIssueRequestData) error

AssertIssueCredentialIssueRequestDataRequired checks if the required fields are not zero-ed

func AssertIssueCredentialIssueRequestRequired added in v0.1.68

func AssertIssueCredentialIssueRequestRequired(obj IssueCredentialIssueRequest) error

AssertIssueCredentialIssueRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialOperationResponseRequired added in v0.1.68

func AssertIssueCredentialOperationResponseRequired(obj IssueCredentialOperationResponse) error

AssertIssueCredentialOperationResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendOfferRequestRequired added in v0.1.68

func AssertIssueCredentialSendOfferRequestRequired(obj IssueCredentialSendOfferRequest) error

AssertIssueCredentialSendOfferRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendProposal200ResponseAllOfRequired added in v0.1.68

func AssertIssueCredentialSendProposal200ResponseAllOfRequired(obj IssueCredentialSendProposal200ResponseAllOf) error

AssertIssueCredentialSendProposal200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendProposal200ResponseRequired added in v0.1.68

func AssertIssueCredentialSendProposal200ResponseRequired(obj IssueCredentialSendProposal200Response) error

AssertIssueCredentialSendProposal200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendProposalRequestDataRequired added in v0.1.68

func AssertIssueCredentialSendProposalRequestDataRequired(obj IssueCredentialSendProposalRequestData) error

AssertIssueCredentialSendProposalRequestDataRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendProposalRequestRequired added in v0.1.68

func AssertIssueCredentialSendProposalRequestRequired(obj IssueCredentialSendProposalRequest) error

AssertIssueCredentialSendProposalRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendRequest200ResponseAllOfRequired added in v0.1.68

func AssertIssueCredentialSendRequest200ResponseAllOfRequired(obj IssueCredentialSendRequest200ResponseAllOf) error

AssertIssueCredentialSendRequest200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendRequest200ResponseRequired added in v0.1.68

func AssertIssueCredentialSendRequest200ResponseRequired(obj IssueCredentialSendRequest200Response) error

AssertIssueCredentialSendRequest200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialSendRequestRequestRequired added in v0.1.68

func AssertIssueCredentialSendRequestRequestRequired(obj IssueCredentialSendRequestRequest) error

AssertIssueCredentialSendRequestRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialStateRequired added in v0.1.68

func AssertIssueCredentialStateRequired(obj IssueCredentialState) error

AssertIssueCredentialStateRequired checks if the required fields are not zero-ed

func AssertIssueCredentialStore200ResponseAllOfRequired added in v0.1.68

func AssertIssueCredentialStore200ResponseAllOfRequired(obj IssueCredentialStore200ResponseAllOf) error

AssertIssueCredentialStore200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialStore200ResponseRequired added in v0.1.68

func AssertIssueCredentialStore200ResponseRequired(obj IssueCredentialStore200Response) error

AssertIssueCredentialStore200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialStoreRequestRequired added in v0.1.68

func AssertIssueCredentialStoreRequestRequired(obj IssueCredentialStoreRequest) error

AssertIssueCredentialStoreRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2AttachFormatIndyCredFilterRequired added in v0.1.68

func AssertIssueCredentialV2AttachFormatIndyCredFilterRequired(obj IssueCredentialV2AttachFormatIndyCredFilter) error

AssertIssueCredentialV2AttachFormatIndyCredFilterRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2CreateOffer200ResponseRequired added in v0.1.68

func AssertIssueCredentialV2CreateOffer200ResponseRequired(obj IssueCredentialV2CreateOffer200Response) error

AssertIssueCredentialV2CreateOffer200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2CredentialProposalFilterRequired added in v0.1.68

func AssertIssueCredentialV2CredentialProposalFilterRequired(obj IssueCredentialV2CredentialProposalFilter) error

AssertIssueCredentialV2CredentialProposalFilterRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2PrepareJsonLd200ResponseRequired added in v0.1.68

func AssertIssueCredentialV2PrepareJsonLd200ResponseRequired(obj IssueCredentialV2PrepareJsonLd200Response) error

AssertIssueCredentialV2PrepareJsonLd200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2PrepareJsonLdRequestRequired added in v0.1.68

func AssertIssueCredentialV2PrepareJsonLdRequestRequired(obj IssueCredentialV2PrepareJsonLdRequest) error

AssertIssueCredentialV2PrepareJsonLdRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2SendOfferRequestRequired added in v0.1.68

func AssertIssueCredentialV2SendOfferRequestRequired(obj IssueCredentialV2SendOfferRequest) error

AssertIssueCredentialV2SendOfferRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2SendProposalRequestDataCredentialPreviewAllOfRequired added in v0.1.68

func AssertIssueCredentialV2SendProposalRequestDataCredentialPreviewAllOfRequired(obj IssueCredentialV2SendProposalRequestDataCredentialPreviewAllOf) error

AssertIssueCredentialV2SendProposalRequestDataCredentialPreviewAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2SendProposalRequestDataCredentialPreviewRequired added in v0.1.68

func AssertIssueCredentialV2SendProposalRequestDataCredentialPreviewRequired(obj IssueCredentialV2SendProposalRequestDataCredentialPreview) error

AssertIssueCredentialV2SendProposalRequestDataCredentialPreviewRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2SendProposalRequestDataRequired added in v0.1.68

func AssertIssueCredentialV2SendProposalRequestDataRequired(obj IssueCredentialV2SendProposalRequestData) error

AssertIssueCredentialV2SendProposalRequestDataRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2SendProposalRequestRequired added in v0.1.68

func AssertIssueCredentialV2SendProposalRequestRequired(obj IssueCredentialV2SendProposalRequest) error

AssertIssueCredentialV2SendProposalRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2SendRequestRequestRequired added in v0.1.68

func AssertIssueCredentialV2SendRequestRequestRequired(obj IssueCredentialV2SendRequestRequest) error

AssertIssueCredentialV2SendRequestRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2Store200ResponseAllOfIndyRequired added in v0.1.68

func AssertIssueCredentialV2Store200ResponseAllOfIndyRequired(obj IssueCredentialV2Store200ResponseAllOfIndy) error

AssertIssueCredentialV2Store200ResponseAllOfIndyRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2Store200ResponseAllOfRequired added in v0.1.68

func AssertIssueCredentialV2Store200ResponseAllOfRequired(obj IssueCredentialV2Store200ResponseAllOf) error

AssertIssueCredentialV2Store200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV2Store200ResponseRequired added in v0.1.68

func AssertIssueCredentialV2Store200ResponseRequired(obj IssueCredentialV2Store200Response) error

AssertIssueCredentialV2Store200ResponseRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV3IssueRequestRequired added in v0.1.68

func AssertIssueCredentialV3IssueRequestRequired(obj IssueCredentialV3IssueRequest) error

AssertIssueCredentialV3IssueRequestRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV3SendProposalRequestDataRequired added in v0.1.68

func AssertIssueCredentialV3SendProposalRequestDataRequired(obj IssueCredentialV3SendProposalRequestData) error

AssertIssueCredentialV3SendProposalRequestDataRequired checks if the required fields are not zero-ed

func AssertIssueCredentialV3SendProposalRequestRequired added in v0.1.68

func AssertIssueCredentialV3SendProposalRequestRequired(obj IssueCredentialV3SendProposalRequest) error

AssertIssueCredentialV3SendProposalRequestRequired checks if the required fields are not zero-ed

func AssertOutOfBandCreateInvitation200ResponseRequired added in v0.1.68

func AssertOutOfBandCreateInvitation200ResponseRequired(obj OutOfBandCreateInvitation200Response) error

AssertOutOfBandCreateInvitation200ResponseRequired checks if the required fields are not zero-ed

func AssertOutOfBandCreateInvitationRequestDataRequired added in v0.1.68

func AssertOutOfBandCreateInvitationRequestDataRequired(obj OutOfBandCreateInvitationRequestData) error

AssertOutOfBandCreateInvitationRequestDataRequired checks if the required fields are not zero-ed

func AssertOutOfBandCreateInvitationRequestRequired added in v0.1.68

func AssertOutOfBandCreateInvitationRequestRequired(obj OutOfBandCreateInvitationRequest) error

AssertOutOfBandCreateInvitationRequestRequired checks if the required fields are not zero-ed

func AssertOutOfBandReceiveInvitation200ResponseRequired added in v0.1.68

func AssertOutOfBandReceiveInvitation200ResponseRequired(obj OutOfBandReceiveInvitation200Response) error

AssertOutOfBandReceiveInvitation200ResponseRequired checks if the required fields are not zero-ed

func AssertOutOfBandReceiveInvitationRequestDataAllOfRequired added in v0.1.68

func AssertOutOfBandReceiveInvitationRequestDataAllOfRequired(obj OutOfBandReceiveInvitationRequestDataAllOf) error

AssertOutOfBandReceiveInvitationRequestDataAllOfRequired checks if the required fields are not zero-ed

func AssertOutOfBandReceiveInvitationRequestDataRequired added in v0.1.68

func AssertOutOfBandReceiveInvitationRequestDataRequired(obj OutOfBandReceiveInvitationRequestData) error

AssertOutOfBandReceiveInvitationRequestDataRequired checks if the required fields are not zero-ed

func AssertOutOfBandReceiveInvitationRequestRequired added in v0.1.68

func AssertOutOfBandReceiveInvitationRequestRequired(obj OutOfBandReceiveInvitationRequest) error

AssertOutOfBandReceiveInvitationRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofOperationResponseRequired added in v0.1.68

func AssertPresentProofOperationResponseRequired(obj PresentProofOperationResponse) error

AssertPresentProofOperationResponseRequired checks if the required fields are not zero-ed

func AssertPresentProofSendPresentation200ResponseAllOfRequired added in v0.1.68

func AssertPresentProofSendPresentation200ResponseAllOfRequired(obj PresentProofSendPresentation200ResponseAllOf) error

AssertPresentProofSendPresentation200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertPresentProofSendPresentation200ResponseRequired added in v0.1.68

func AssertPresentProofSendPresentation200ResponseRequired(obj PresentProofSendPresentation200Response) error

AssertPresentProofSendPresentation200ResponseRequired checks if the required fields are not zero-ed

func AssertPresentProofSendPresentationRequestDataRequired added in v0.1.68

func AssertPresentProofSendPresentationRequestDataRequired(obj PresentProofSendPresentationRequestData) error

AssertPresentProofSendPresentationRequestDataRequired checks if the required fields are not zero-ed

func AssertPresentProofSendPresentationRequestRequired added in v0.1.68

func AssertPresentProofSendPresentationRequestRequired(obj PresentProofSendPresentationRequest) error

AssertPresentProofSendPresentationRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofSendProposal200ResponseRequired added in v0.1.68

func AssertPresentProofSendProposal200ResponseRequired(obj PresentProofSendProposal200Response) error

AssertPresentProofSendProposal200ResponseRequired checks if the required fields are not zero-ed

func AssertPresentProofSendProposalRequestDataRequired added in v0.1.68

func AssertPresentProofSendProposalRequestDataRequired(obj PresentProofSendProposalRequestData) error

AssertPresentProofSendProposalRequestDataRequired checks if the required fields are not zero-ed

func AssertPresentProofSendProposalRequestRequired added in v0.1.68

func AssertPresentProofSendProposalRequestRequired(obj PresentProofSendProposalRequest) error

AssertPresentProofSendProposalRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofSendRequest200ResponseRequired added in v0.1.68

func AssertPresentProofSendRequest200ResponseRequired(obj PresentProofSendRequest200Response) error

AssertPresentProofSendRequest200ResponseRequired checks if the required fields are not zero-ed

func AssertPresentProofSendRequestRequestDataRequired added in v0.1.68

func AssertPresentProofSendRequestRequestDataRequired(obj PresentProofSendRequestRequestData) error

AssertPresentProofSendRequestRequestDataRequired checks if the required fields are not zero-ed

func AssertPresentProofSendRequestRequestRequired added in v0.1.68

func AssertPresentProofSendRequestRequestRequired(obj PresentProofSendRequestRequest) error

AssertPresentProofSendRequestRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofStateRequired added in v0.1.68

func AssertPresentProofStateRequired(obj PresentProofState) error

AssertPresentProofStateRequired checks if the required fields are not zero-ed

func AssertPresentProofV2SendPresentationRequestRequired added in v0.1.68

func AssertPresentProofV2SendPresentationRequestRequired(obj PresentProofV2SendPresentationRequest) error

AssertPresentProofV2SendPresentationRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofV2SendRequestDifRequired added in v0.1.68

func AssertPresentProofV2SendRequestDifRequired(obj PresentProofV2SendRequestDif) error

AssertPresentProofV2SendRequestDifRequired checks if the required fields are not zero-ed

func AssertPresentProofV2SendRequestIndyRequired added in v0.1.68

func AssertPresentProofV2SendRequestIndyRequired(obj PresentProofV2SendRequestIndy) error

AssertPresentProofV2SendRequestIndyRequired checks if the required fields are not zero-ed

func AssertPresentProofV2SendRequestRequestRequired added in v0.1.68

func AssertPresentProofV2SendRequestRequestRequired(obj PresentProofV2SendRequestRequest) error

AssertPresentProofV2SendRequestRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofV2VerifyPresentation200ResponseAllOfRequired added in v0.1.68

func AssertPresentProofV2VerifyPresentation200ResponseAllOfRequired(obj PresentProofV2VerifyPresentation200ResponseAllOf) error

AssertPresentProofV2VerifyPresentation200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertPresentProofV2VerifyPresentation200ResponseRequired added in v0.1.68

func AssertPresentProofV2VerifyPresentation200ResponseRequired(obj PresentProofV2VerifyPresentation200Response) error

AssertPresentProofV2VerifyPresentation200ResponseRequired checks if the required fields are not zero-ed

func AssertPresentProofV3SendProposalRequestRequired added in v0.1.68

func AssertPresentProofV3SendProposalRequestRequired(obj PresentProofV3SendProposalRequest) error

AssertPresentProofV3SendProposalRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofV3SendRequestRequestDataPresentationRequestRequired added in v0.1.68

func AssertPresentProofV3SendRequestRequestDataPresentationRequestRequired(obj PresentProofV3SendRequestRequestDataPresentationRequest) error

AssertPresentProofV3SendRequestRequestDataPresentationRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofV3SendRequestRequestDataRequired added in v0.1.68

func AssertPresentProofV3SendRequestRequestDataRequired(obj PresentProofV3SendRequestRequestData) error

AssertPresentProofV3SendRequestRequestDataRequired checks if the required fields are not zero-ed

func AssertPresentProofV3SendRequestRequestRequired added in v0.1.68

func AssertPresentProofV3SendRequestRequestRequired(obj PresentProofV3SendRequestRequest) error

AssertPresentProofV3SendRequestRequestRequired checks if the required fields are not zero-ed

func AssertPresentProofVerifyPresentation200ResponseAllOfRequired added in v0.1.68

func AssertPresentProofVerifyPresentation200ResponseAllOfRequired(obj PresentProofVerifyPresentation200ResponseAllOf) error

AssertPresentProofVerifyPresentation200ResponseAllOfRequired checks if the required fields are not zero-ed

func AssertPresentProofVerifyPresentation200ResponseRequired added in v0.1.68

func AssertPresentProofVerifyPresentation200ResponseRequired(obj PresentProofVerifyPresentation200Response) error

AssertPresentProofVerifyPresentation200ResponseRequired checks if the required fields are not zero-ed

func AssertPresentProofVerifyPresentationRequestRequired added in v0.1.68

func AssertPresentProofVerifyPresentationRequestRequired(obj PresentProofVerifyPresentationRequest) error

AssertPresentProofVerifyPresentationRequestRequired checks if the required fields are not zero-ed

func AssertPresentationPreviewAttributesInnerRequired added in v0.1.68

func AssertPresentationPreviewAttributesInnerRequired(obj PresentationPreviewAttributesInner) error

AssertPresentationPreviewAttributesInnerRequired checks if the required fields are not zero-ed

func AssertPresentationPreviewPredicatesInnerRequired added in v0.1.68

func AssertPresentationPreviewPredicatesInnerRequired(obj PresentationPreviewPredicatesInner) error

AssertPresentationPreviewPredicatesInnerRequired checks if the required fields are not zero-ed

func AssertPresentationPreviewRequired added in v0.1.68

func AssertPresentationPreviewRequired(obj PresentationPreview) error

AssertPresentationPreviewRequired checks if the required fields are not zero-ed

func AssertRecurseAgentStartRequestDataParametersRequired added in v0.1.68

func AssertRecurseAgentStartRequestDataParametersRequired(objSlice interface{}) error

AssertRecurseAgentStartRequestDataParametersRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of AgentStartRequestDataParameters (e.g. [][]AgentStartRequestDataParameters), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseAgentStartRequestDataRequired added in v0.1.68

func AssertRecurseAgentStartRequestDataRequired(objSlice interface{}) error

AssertRecurseAgentStartRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of AgentStartRequestData (e.g. [][]AgentStartRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseAgentStartRequestRequired added in v0.1.68

func AssertRecurseAgentStartRequestRequired(objSlice interface{}) error

AssertRecurseAgentStartRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of AgentStartRequest (e.g. [][]AgentStartRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseAttachmentFormatRequired added in v0.1.68

func AssertRecurseAttachmentFormatRequired(objSlice interface{}) error

AssertRecurseAttachmentFormatRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of AttachmentFormat (e.g. [][]AttachmentFormat), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionAcceptInvitation200ResponseRequired added in v0.1.68

func AssertRecurseConnectionAcceptInvitation200ResponseRequired(objSlice interface{}) error

AssertRecurseConnectionAcceptInvitation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionAcceptInvitation200Response (e.g. [][]ConnectionAcceptInvitation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionAcceptInvitationRequestRequired added in v0.1.68

func AssertRecurseConnectionAcceptInvitationRequestRequired(objSlice interface{}) error

AssertRecurseConnectionAcceptInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionAcceptInvitationRequest (e.g. [][]ConnectionAcceptInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionAcceptRequest200ResponseRequired added in v0.1.68

func AssertRecurseConnectionAcceptRequest200ResponseRequired(objSlice interface{}) error

AssertRecurseConnectionAcceptRequest200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionAcceptRequest200Response (e.g. [][]ConnectionAcceptRequest200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionCreateInvitation200ResponseRequired added in v0.1.68

func AssertRecurseConnectionCreateInvitation200ResponseRequired(objSlice interface{}) error

AssertRecurseConnectionCreateInvitation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionCreateInvitation200Response (e.g. [][]ConnectionCreateInvitation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionCreateInvitationRequestDataRequired added in v0.1.68

func AssertRecurseConnectionCreateInvitationRequestDataRequired(objSlice interface{}) error

AssertRecurseConnectionCreateInvitationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionCreateInvitationRequestData (e.g. [][]ConnectionCreateInvitationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionCreateInvitationRequestRequired added in v0.1.68

func AssertRecurseConnectionCreateInvitationRequestRequired(objSlice interface{}) error

AssertRecurseConnectionCreateInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionCreateInvitationRequest (e.g. [][]ConnectionCreateInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionReceiveInvitation200ResponseRequired added in v0.1.68

func AssertRecurseConnectionReceiveInvitation200ResponseRequired(objSlice interface{}) error

AssertRecurseConnectionReceiveInvitation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionReceiveInvitation200Response (e.g. [][]ConnectionReceiveInvitation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionReceiveInvitationRequestDataAllOfRequired added in v0.1.68

func AssertRecurseConnectionReceiveInvitationRequestDataAllOfRequired(objSlice interface{}) error

AssertRecurseConnectionReceiveInvitationRequestDataAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionReceiveInvitationRequestDataAllOf (e.g. [][]ConnectionReceiveInvitationRequestDataAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionReceiveInvitationRequestDataRequired added in v0.1.68

func AssertRecurseConnectionReceiveInvitationRequestDataRequired(objSlice interface{}) error

AssertRecurseConnectionReceiveInvitationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionReceiveInvitationRequestData (e.g. [][]ConnectionReceiveInvitationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionReceiveInvitationRequestRequired added in v0.1.68

func AssertRecurseConnectionReceiveInvitationRequestRequired(objSlice interface{}) error

AssertRecurseConnectionReceiveInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionReceiveInvitationRequest (e.g. [][]ConnectionReceiveInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionResponseRequired added in v0.1.68

func AssertRecurseConnectionResponseRequired(objSlice interface{}) error

AssertRecurseConnectionResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionResponse (e.g. [][]ConnectionResponse), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionSendPingRequestDataRequired added in v0.1.68

func AssertRecurseConnectionSendPingRequestDataRequired(objSlice interface{}) error

AssertRecurseConnectionSendPingRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionSendPingRequestData (e.g. [][]ConnectionSendPingRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionSendPingRequestRequired added in v0.1.68

func AssertRecurseConnectionSendPingRequestRequired(objSlice interface{}) error

AssertRecurseConnectionSendPingRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionSendPingRequest (e.g. [][]ConnectionSendPingRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseConnectionStateRequired added in v0.1.68

func AssertRecurseConnectionStateRequired(objSlice interface{}) error

AssertRecurseConnectionStateRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of ConnectionState (e.g. [][]ConnectionState), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCoordinateMediationOperationResponseRequired added in v0.1.68

func AssertRecurseCoordinateMediationOperationResponseRequired(objSlice interface{}) error

AssertRecurseCoordinateMediationOperationResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CoordinateMediationOperationResponse (e.g. [][]CoordinateMediationOperationResponse), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCoordinateMediationStateRequired added in v0.1.68

func AssertRecurseCoordinateMediationStateRequired(objSlice interface{}) error

AssertRecurseCoordinateMediationStateRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CoordinateMediationState (e.g. [][]CoordinateMediationState), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCreateOfferToStartCredentialIssuanceFlow1DataRequired added in v0.1.68

func AssertRecurseCreateOfferToStartCredentialIssuanceFlow1DataRequired(objSlice interface{}) error

AssertRecurseCreateOfferToStartCredentialIssuanceFlow1DataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CreateOfferToStartCredentialIssuanceFlow1Data (e.g. [][]CreateOfferToStartCredentialIssuanceFlow1Data), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCreateOfferToStartCredentialIssuanceFlow1Required added in v0.1.68

func AssertRecurseCreateOfferToStartCredentialIssuanceFlow1Required(objSlice interface{}) error

AssertRecurseCreateOfferToStartCredentialIssuanceFlow1Required recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CreateOfferToStartCredentialIssuanceFlow1 (e.g. [][]CreateOfferToStartCredentialIssuanceFlow1), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCreateOfferToStartCredentialIssuanceFlowDataRequired added in v0.1.68

func AssertRecurseCreateOfferToStartCredentialIssuanceFlowDataRequired(objSlice interface{}) error

AssertRecurseCreateOfferToStartCredentialIssuanceFlowDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CreateOfferToStartCredentialIssuanceFlowData (e.g. [][]CreateOfferToStartCredentialIssuanceFlowData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCreateOfferToStartCredentialIssuanceFlowRequired added in v0.1.68

func AssertRecurseCreateOfferToStartCredentialIssuanceFlowRequired(objSlice interface{}) error

AssertRecurseCreateOfferToStartCredentialIssuanceFlowRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CreateOfferToStartCredentialIssuanceFlow (e.g. [][]CreateOfferToStartCredentialIssuanceFlow), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialDefinitionCreate200ResponseRequired added in v0.1.68

func AssertRecurseCredentialDefinitionCreate200ResponseRequired(objSlice interface{}) error

AssertRecurseCredentialDefinitionCreate200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialDefinitionCreate200Response (e.g. [][]CredentialDefinitionCreate200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialDefinitionCreateRequestDataRequired added in v0.1.68

func AssertRecurseCredentialDefinitionCreateRequestDataRequired(objSlice interface{}) error

AssertRecurseCredentialDefinitionCreateRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialDefinitionCreateRequestData (e.g. [][]CredentialDefinitionCreateRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialDefinitionCreateRequestRequired added in v0.1.68

func AssertRecurseCredentialDefinitionCreateRequestRequired(objSlice interface{}) error

AssertRecurseCredentialDefinitionCreateRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialDefinitionCreateRequest (e.g. [][]CredentialDefinitionCreateRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialGetById200ResponseRequired added in v0.1.68

func AssertRecurseCredentialGetById200ResponseRequired(objSlice interface{}) error

AssertRecurseCredentialGetById200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialGetById200Response (e.g. [][]CredentialGetById200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialGetRevocationStatusById200ResponseRequired added in v0.1.68

func AssertRecurseCredentialGetRevocationStatusById200ResponseRequired(objSlice interface{}) error

AssertRecurseCredentialGetRevocationStatusById200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialGetRevocationStatusById200Response (e.g. [][]CredentialGetRevocationStatusById200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialPreviewAttributesInnerRequired added in v0.1.68

func AssertRecurseCredentialPreviewAttributesInnerRequired(objSlice interface{}) error

AssertRecurseCredentialPreviewAttributesInnerRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialPreviewAttributesInner (e.g. [][]CredentialPreviewAttributesInner), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseCredentialPreviewRequired added in v0.1.68

func AssertRecurseCredentialPreviewRequired(objSlice interface{}) error

AssertRecurseCredentialPreviewRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of CredentialPreview (e.g. [][]CredentialPreview), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidCommV2AcceptInvitationRequestDataRequired added in v0.1.68

func AssertRecurseDidCommV2AcceptInvitationRequestDataRequired(objSlice interface{}) error

AssertRecurseDidCommV2AcceptInvitationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidCommV2AcceptInvitationRequestData (e.g. [][]DidCommV2AcceptInvitationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidCommV2AcceptInvitationRequestRequired added in v0.1.68

func AssertRecurseDidCommV2AcceptInvitationRequestRequired(objSlice interface{}) error

AssertRecurseDidCommV2AcceptInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidCommV2AcceptInvitationRequest (e.g. [][]DidCommV2AcceptInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidCommV2CreateInvitation200ResponseRequired added in v0.1.68

func AssertRecurseDidCommV2CreateInvitation200ResponseRequired(objSlice interface{}) error

AssertRecurseDidCommV2CreateInvitation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidCommV2CreateInvitation200Response (e.g. [][]DidCommV2CreateInvitation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidCommV2CreateInvitationRequestDataRequired added in v0.1.68

func AssertRecurseDidCommV2CreateInvitationRequestDataRequired(objSlice interface{}) error

AssertRecurseDidCommV2CreateInvitationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidCommV2CreateInvitationRequestData (e.g. [][]DidCommV2CreateInvitationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidCommV2CreateInvitationRequestRequired added in v0.1.68

func AssertRecurseDidCommV2CreateInvitationRequestRequired(objSlice interface{}) error

AssertRecurseDidCommV2CreateInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidCommV2CreateInvitationRequest (e.g. [][]DidCommV2CreateInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidExchangeCreateRequestResolvableDidRequestDataRequired added in v0.1.68

func AssertRecurseDidExchangeCreateRequestResolvableDidRequestDataRequired(objSlice interface{}) error

AssertRecurseDidExchangeCreateRequestResolvableDidRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidExchangeCreateRequestResolvableDidRequestData (e.g. [][]DidExchangeCreateRequestResolvableDidRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidExchangeCreateRequestResolvableDidRequestRequired added in v0.1.68

func AssertRecurseDidExchangeCreateRequestResolvableDidRequestRequired(objSlice interface{}) error

AssertRecurseDidExchangeCreateRequestResolvableDidRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidExchangeCreateRequestResolvableDidRequest (e.g. [][]DidExchangeCreateRequestResolvableDidRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidExchangeGetById200ResponseRequired added in v0.1.68

func AssertRecurseDidExchangeGetById200ResponseRequired(objSlice interface{}) error

AssertRecurseDidExchangeGetById200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidExchangeGetById200Response (e.g. [][]DidExchangeGetById200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidExchangeGetByInvitationId200ResponseRequired added in v0.1.68

func AssertRecurseDidExchangeGetByInvitationId200ResponseRequired(objSlice interface{}) error

AssertRecurseDidExchangeGetByInvitationId200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidExchangeGetByInvitationId200Response (e.g. [][]DidExchangeGetByInvitationId200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidExchangeReceiveRequestResolvableDidRequestRequired added in v0.1.68

func AssertRecurseDidExchangeReceiveRequestResolvableDidRequestRequired(objSlice interface{}) error

AssertRecurseDidExchangeReceiveRequestResolvableDidRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidExchangeReceiveRequestResolvableDidRequest (e.g. [][]DidExchangeReceiveRequestResolvableDidRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidExchangeStateRequired added in v0.1.68

func AssertRecurseDidExchangeStateRequired(objSlice interface{}) error

AssertRecurseDidExchangeStateRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidExchangeState (e.g. [][]DidExchangeState), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseDidGetPublic200ResponseRequired added in v0.1.68

func AssertRecurseDidGetPublic200ResponseRequired(objSlice interface{}) error

AssertRecurseDidGetPublic200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of DidGetPublic200Response (e.g. [][]DidGetPublic200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIndyCredentialRequired added in v0.1.68

func AssertRecurseIndyCredentialRequired(objSlice interface{}) error

AssertRecurseIndyCredentialRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IndyCredential (e.g. [][]IndyCredential), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseInterfaceRequired added in v0.1.68

func AssertRecurseInterfaceRequired(obj interface{}, callback func(interface{}) error) error

AssertRecurseInterfaceRequired recursively checks each struct in a slice against the callback. This method traverse nested slices in a preorder fashion.

func AssertRecurseIssueCredentialCreateOffer200ResponseRecordAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialCreateOffer200ResponseRecordAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialCreateOffer200ResponseRecordAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialCreateOffer200ResponseRecordAllOf (e.g. [][]IssueCredentialCreateOffer200ResponseRecordAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialCreateOffer200ResponseRecordRequired added in v0.1.68

func AssertRecurseIssueCredentialCreateOffer200ResponseRecordRequired(objSlice interface{}) error

AssertRecurseIssueCredentialCreateOffer200ResponseRecordRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialCreateOffer200ResponseRecord (e.g. [][]IssueCredentialCreateOffer200ResponseRecord), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialCreateOffer200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialCreateOffer200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialCreateOffer200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialCreateOffer200Response (e.g. [][]IssueCredentialCreateOffer200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialCreateOfferRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialCreateOfferRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialCreateOfferRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialCreateOfferRequest (e.g. [][]IssueCredentialCreateOfferRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialIssue200ResponseAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialIssue200ResponseAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialIssue200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialIssue200ResponseAllOf (e.g. [][]IssueCredentialIssue200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialIssue200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialIssue200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialIssue200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialIssue200Response (e.g. [][]IssueCredentialIssue200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialIssueRequestDataRequired added in v0.1.68

func AssertRecurseIssueCredentialIssueRequestDataRequired(objSlice interface{}) error

AssertRecurseIssueCredentialIssueRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialIssueRequestData (e.g. [][]IssueCredentialIssueRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialIssueRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialIssueRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialIssueRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialIssueRequest (e.g. [][]IssueCredentialIssueRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialOperationResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialOperationResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialOperationResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialOperationResponse (e.g. [][]IssueCredentialOperationResponse), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendOfferRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialSendOfferRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendOfferRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendOfferRequest (e.g. [][]IssueCredentialSendOfferRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendProposal200ResponseAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialSendProposal200ResponseAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendProposal200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendProposal200ResponseAllOf (e.g. [][]IssueCredentialSendProposal200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendProposal200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialSendProposal200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendProposal200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendProposal200Response (e.g. [][]IssueCredentialSendProposal200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendProposalRequestDataRequired added in v0.1.68

func AssertRecurseIssueCredentialSendProposalRequestDataRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendProposalRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendProposalRequestData (e.g. [][]IssueCredentialSendProposalRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendProposalRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialSendProposalRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendProposalRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendProposalRequest (e.g. [][]IssueCredentialSendProposalRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendRequest200ResponseAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialSendRequest200ResponseAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendRequest200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendRequest200ResponseAllOf (e.g. [][]IssueCredentialSendRequest200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendRequest200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialSendRequest200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendRequest200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendRequest200Response (e.g. [][]IssueCredentialSendRequest200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialSendRequestRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialSendRequestRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialSendRequestRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialSendRequestRequest (e.g. [][]IssueCredentialSendRequestRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialStateRequired added in v0.1.68

func AssertRecurseIssueCredentialStateRequired(objSlice interface{}) error

AssertRecurseIssueCredentialStateRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialState (e.g. [][]IssueCredentialState), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialStore200ResponseAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialStore200ResponseAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialStore200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialStore200ResponseAllOf (e.g. [][]IssueCredentialStore200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialStore200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialStore200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialStore200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialStore200Response (e.g. [][]IssueCredentialStore200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialStoreRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialStoreRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialStoreRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialStoreRequest (e.g. [][]IssueCredentialStoreRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2AttachFormatIndyCredFilterRequired added in v0.1.68

func AssertRecurseIssueCredentialV2AttachFormatIndyCredFilterRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2AttachFormatIndyCredFilterRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2AttachFormatIndyCredFilter (e.g. [][]IssueCredentialV2AttachFormatIndyCredFilter), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2CreateOffer200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialV2CreateOffer200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2CreateOffer200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2CreateOffer200Response (e.g. [][]IssueCredentialV2CreateOffer200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2CredentialProposalFilterRequired added in v0.1.68

func AssertRecurseIssueCredentialV2CredentialProposalFilterRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2CredentialProposalFilterRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2CredentialProposalFilter (e.g. [][]IssueCredentialV2CredentialProposalFilter), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2PrepareJsonLd200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialV2PrepareJsonLd200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2PrepareJsonLd200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2PrepareJsonLd200Response (e.g. [][]IssueCredentialV2PrepareJsonLd200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2PrepareJsonLdRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialV2PrepareJsonLdRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2PrepareJsonLdRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2PrepareJsonLdRequest (e.g. [][]IssueCredentialV2PrepareJsonLdRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2SendOfferRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialV2SendOfferRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2SendOfferRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2SendOfferRequest (e.g. [][]IssueCredentialV2SendOfferRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2SendProposalRequestDataCredentialPreviewAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialV2SendProposalRequestDataCredentialPreviewAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2SendProposalRequestDataCredentialPreviewAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2SendProposalRequestDataCredentialPreviewAllOf (e.g. [][]IssueCredentialV2SendProposalRequestDataCredentialPreviewAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2SendProposalRequestDataCredentialPreviewRequired added in v0.1.68

func AssertRecurseIssueCredentialV2SendProposalRequestDataCredentialPreviewRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2SendProposalRequestDataCredentialPreviewRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2SendProposalRequestDataCredentialPreview (e.g. [][]IssueCredentialV2SendProposalRequestDataCredentialPreview), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2SendProposalRequestDataRequired added in v0.1.68

func AssertRecurseIssueCredentialV2SendProposalRequestDataRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2SendProposalRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2SendProposalRequestData (e.g. [][]IssueCredentialV2SendProposalRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2SendProposalRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialV2SendProposalRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2SendProposalRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2SendProposalRequest (e.g. [][]IssueCredentialV2SendProposalRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2SendRequestRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialV2SendRequestRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2SendRequestRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2SendRequestRequest (e.g. [][]IssueCredentialV2SendRequestRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2Store200ResponseAllOfIndyRequired added in v0.1.68

func AssertRecurseIssueCredentialV2Store200ResponseAllOfIndyRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2Store200ResponseAllOfIndyRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2Store200ResponseAllOfIndy (e.g. [][]IssueCredentialV2Store200ResponseAllOfIndy), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2Store200ResponseAllOfRequired added in v0.1.68

func AssertRecurseIssueCredentialV2Store200ResponseAllOfRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2Store200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2Store200ResponseAllOf (e.g. [][]IssueCredentialV2Store200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV2Store200ResponseRequired added in v0.1.68

func AssertRecurseIssueCredentialV2Store200ResponseRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV2Store200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV2Store200Response (e.g. [][]IssueCredentialV2Store200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV3IssueRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialV3IssueRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV3IssueRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV3IssueRequest (e.g. [][]IssueCredentialV3IssueRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV3SendProposalRequestDataRequired added in v0.1.68

func AssertRecurseIssueCredentialV3SendProposalRequestDataRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV3SendProposalRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV3SendProposalRequestData (e.g. [][]IssueCredentialV3SendProposalRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseIssueCredentialV3SendProposalRequestRequired added in v0.1.68

func AssertRecurseIssueCredentialV3SendProposalRequestRequired(objSlice interface{}) error

AssertRecurseIssueCredentialV3SendProposalRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of IssueCredentialV3SendProposalRequest (e.g. [][]IssueCredentialV3SendProposalRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandCreateInvitation200ResponseRequired added in v0.1.68

func AssertRecurseOutOfBandCreateInvitation200ResponseRequired(objSlice interface{}) error

AssertRecurseOutOfBandCreateInvitation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandCreateInvitation200Response (e.g. [][]OutOfBandCreateInvitation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandCreateInvitationRequestDataRequired added in v0.1.68

func AssertRecurseOutOfBandCreateInvitationRequestDataRequired(objSlice interface{}) error

AssertRecurseOutOfBandCreateInvitationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandCreateInvitationRequestData (e.g. [][]OutOfBandCreateInvitationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandCreateInvitationRequestRequired added in v0.1.68

func AssertRecurseOutOfBandCreateInvitationRequestRequired(objSlice interface{}) error

AssertRecurseOutOfBandCreateInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandCreateInvitationRequest (e.g. [][]OutOfBandCreateInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandReceiveInvitation200ResponseRequired added in v0.1.68

func AssertRecurseOutOfBandReceiveInvitation200ResponseRequired(objSlice interface{}) error

AssertRecurseOutOfBandReceiveInvitation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandReceiveInvitation200Response (e.g. [][]OutOfBandReceiveInvitation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandReceiveInvitationRequestDataAllOfRequired added in v0.1.68

func AssertRecurseOutOfBandReceiveInvitationRequestDataAllOfRequired(objSlice interface{}) error

AssertRecurseOutOfBandReceiveInvitationRequestDataAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandReceiveInvitationRequestDataAllOf (e.g. [][]OutOfBandReceiveInvitationRequestDataAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandReceiveInvitationRequestDataRequired added in v0.1.68

func AssertRecurseOutOfBandReceiveInvitationRequestDataRequired(objSlice interface{}) error

AssertRecurseOutOfBandReceiveInvitationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandReceiveInvitationRequestData (e.g. [][]OutOfBandReceiveInvitationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseOutOfBandReceiveInvitationRequestRequired added in v0.1.68

func AssertRecurseOutOfBandReceiveInvitationRequestRequired(objSlice interface{}) error

AssertRecurseOutOfBandReceiveInvitationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of OutOfBandReceiveInvitationRequest (e.g. [][]OutOfBandReceiveInvitationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofOperationResponseRequired added in v0.1.68

func AssertRecursePresentProofOperationResponseRequired(objSlice interface{}) error

AssertRecursePresentProofOperationResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofOperationResponse (e.g. [][]PresentProofOperationResponse), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendPresentation200ResponseAllOfRequired added in v0.1.68

func AssertRecursePresentProofSendPresentation200ResponseAllOfRequired(objSlice interface{}) error

AssertRecursePresentProofSendPresentation200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendPresentation200ResponseAllOf (e.g. [][]PresentProofSendPresentation200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendPresentation200ResponseRequired added in v0.1.68

func AssertRecursePresentProofSendPresentation200ResponseRequired(objSlice interface{}) error

AssertRecursePresentProofSendPresentation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendPresentation200Response (e.g. [][]PresentProofSendPresentation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendPresentationRequestDataRequired added in v0.1.68

func AssertRecursePresentProofSendPresentationRequestDataRequired(objSlice interface{}) error

AssertRecursePresentProofSendPresentationRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendPresentationRequestData (e.g. [][]PresentProofSendPresentationRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendPresentationRequestRequired added in v0.1.68

func AssertRecursePresentProofSendPresentationRequestRequired(objSlice interface{}) error

AssertRecursePresentProofSendPresentationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendPresentationRequest (e.g. [][]PresentProofSendPresentationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendProposal200ResponseRequired added in v0.1.68

func AssertRecursePresentProofSendProposal200ResponseRequired(objSlice interface{}) error

AssertRecursePresentProofSendProposal200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendProposal200Response (e.g. [][]PresentProofSendProposal200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendProposalRequestDataRequired added in v0.1.68

func AssertRecursePresentProofSendProposalRequestDataRequired(objSlice interface{}) error

AssertRecursePresentProofSendProposalRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendProposalRequestData (e.g. [][]PresentProofSendProposalRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendProposalRequestRequired added in v0.1.68

func AssertRecursePresentProofSendProposalRequestRequired(objSlice interface{}) error

AssertRecursePresentProofSendProposalRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendProposalRequest (e.g. [][]PresentProofSendProposalRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendRequest200ResponseRequired added in v0.1.68

func AssertRecursePresentProofSendRequest200ResponseRequired(objSlice interface{}) error

AssertRecursePresentProofSendRequest200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendRequest200Response (e.g. [][]PresentProofSendRequest200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendRequestRequestDataRequired added in v0.1.68

func AssertRecursePresentProofSendRequestRequestDataRequired(objSlice interface{}) error

AssertRecursePresentProofSendRequestRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendRequestRequestData (e.g. [][]PresentProofSendRequestRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofSendRequestRequestRequired added in v0.1.68

func AssertRecursePresentProofSendRequestRequestRequired(objSlice interface{}) error

AssertRecursePresentProofSendRequestRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofSendRequestRequest (e.g. [][]PresentProofSendRequestRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofStateRequired added in v0.1.68

func AssertRecursePresentProofStateRequired(objSlice interface{}) error

AssertRecursePresentProofStateRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofState (e.g. [][]PresentProofState), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV2SendPresentationRequestRequired added in v0.1.68

func AssertRecursePresentProofV2SendPresentationRequestRequired(objSlice interface{}) error

AssertRecursePresentProofV2SendPresentationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV2SendPresentationRequest (e.g. [][]PresentProofV2SendPresentationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV2SendRequestDifRequired added in v0.1.68

func AssertRecursePresentProofV2SendRequestDifRequired(objSlice interface{}) error

AssertRecursePresentProofV2SendRequestDifRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV2SendRequestDif (e.g. [][]PresentProofV2SendRequestDif), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV2SendRequestIndyRequired added in v0.1.68

func AssertRecursePresentProofV2SendRequestIndyRequired(objSlice interface{}) error

AssertRecursePresentProofV2SendRequestIndyRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV2SendRequestIndy (e.g. [][]PresentProofV2SendRequestIndy), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV2SendRequestRequestRequired added in v0.1.68

func AssertRecursePresentProofV2SendRequestRequestRequired(objSlice interface{}) error

AssertRecursePresentProofV2SendRequestRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV2SendRequestRequest (e.g. [][]PresentProofV2SendRequestRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV2VerifyPresentation200ResponseAllOfRequired added in v0.1.68

func AssertRecursePresentProofV2VerifyPresentation200ResponseAllOfRequired(objSlice interface{}) error

AssertRecursePresentProofV2VerifyPresentation200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV2VerifyPresentation200ResponseAllOf (e.g. [][]PresentProofV2VerifyPresentation200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV2VerifyPresentation200ResponseRequired added in v0.1.68

func AssertRecursePresentProofV2VerifyPresentation200ResponseRequired(objSlice interface{}) error

AssertRecursePresentProofV2VerifyPresentation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV2VerifyPresentation200Response (e.g. [][]PresentProofV2VerifyPresentation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV3SendProposalRequestRequired added in v0.1.68

func AssertRecursePresentProofV3SendProposalRequestRequired(objSlice interface{}) error

AssertRecursePresentProofV3SendProposalRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV3SendProposalRequest (e.g. [][]PresentProofV3SendProposalRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV3SendRequestRequestDataPresentationRequestRequired added in v0.1.68

func AssertRecursePresentProofV3SendRequestRequestDataPresentationRequestRequired(objSlice interface{}) error

AssertRecursePresentProofV3SendRequestRequestDataPresentationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV3SendRequestRequestDataPresentationRequest (e.g. [][]PresentProofV3SendRequestRequestDataPresentationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV3SendRequestRequestDataRequired added in v0.1.68

func AssertRecursePresentProofV3SendRequestRequestDataRequired(objSlice interface{}) error

AssertRecursePresentProofV3SendRequestRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV3SendRequestRequestData (e.g. [][]PresentProofV3SendRequestRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofV3SendRequestRequestRequired added in v0.1.68

func AssertRecursePresentProofV3SendRequestRequestRequired(objSlice interface{}) error

AssertRecursePresentProofV3SendRequestRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofV3SendRequestRequest (e.g. [][]PresentProofV3SendRequestRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofVerifyPresentation200ResponseAllOfRequired added in v0.1.68

func AssertRecursePresentProofVerifyPresentation200ResponseAllOfRequired(objSlice interface{}) error

AssertRecursePresentProofVerifyPresentation200ResponseAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofVerifyPresentation200ResponseAllOf (e.g. [][]PresentProofVerifyPresentation200ResponseAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofVerifyPresentation200ResponseRequired added in v0.1.68

func AssertRecursePresentProofVerifyPresentation200ResponseRequired(objSlice interface{}) error

AssertRecursePresentProofVerifyPresentation200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofVerifyPresentation200Response (e.g. [][]PresentProofVerifyPresentation200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentProofVerifyPresentationRequestRequired added in v0.1.68

func AssertRecursePresentProofVerifyPresentationRequestRequired(objSlice interface{}) error

AssertRecursePresentProofVerifyPresentationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentProofVerifyPresentationRequest (e.g. [][]PresentProofVerifyPresentationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentationPreviewAttributesInnerRequired added in v0.1.68

func AssertRecursePresentationPreviewAttributesInnerRequired(objSlice interface{}) error

AssertRecursePresentationPreviewAttributesInnerRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentationPreviewAttributesInner (e.g. [][]PresentationPreviewAttributesInner), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentationPreviewPredicatesInnerRequired added in v0.1.68

func AssertRecursePresentationPreviewPredicatesInnerRequired(objSlice interface{}) error

AssertRecursePresentationPreviewPredicatesInnerRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentationPreviewPredicatesInner (e.g. [][]PresentationPreviewPredicatesInner), otherwise ErrTypeAssertionError is thrown.

func AssertRecursePresentationPreviewRequired added in v0.1.68

func AssertRecursePresentationPreviewRequired(objSlice interface{}) error

AssertRecursePresentationPreviewRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of PresentationPreview (e.g. [][]PresentationPreview), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseRevocationGetNotificationByThreadId200ResponseRequired added in v0.1.68

func AssertRecurseRevocationGetNotificationByThreadId200ResponseRequired(objSlice interface{}) error

AssertRecurseRevocationGetNotificationByThreadId200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of RevocationGetNotificationByThreadId200Response (e.g. [][]RevocationGetNotificationByThreadId200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseRevocationRevokeCredentialRequestDataRequired added in v0.1.68

func AssertRecurseRevocationRevokeCredentialRequestDataRequired(objSlice interface{}) error

AssertRecurseRevocationRevokeCredentialRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of RevocationRevokeCredentialRequestData (e.g. [][]RevocationRevokeCredentialRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseRevocationRevokeCredentialRequestRequired added in v0.1.68

func AssertRecurseRevocationRevokeCredentialRequestRequired(objSlice interface{}) error

AssertRecurseRevocationRevokeCredentialRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of RevocationRevokeCredentialRequest (e.g. [][]RevocationRevokeCredentialRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSchemaCreate200ResponseRequired added in v0.1.68

func AssertRecurseSchemaCreate200ResponseRequired(objSlice interface{}) error

AssertRecurseSchemaCreate200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SchemaCreate200Response (e.g. [][]SchemaCreate200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSchemaCreateRequestDataRequired added in v0.1.68

func AssertRecurseSchemaCreateRequestDataRequired(objSlice interface{}) error

AssertRecurseSchemaCreateRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SchemaCreateRequestData (e.g. [][]SchemaCreateRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSchemaCreateRequestRequired added in v0.1.68

func AssertRecurseSchemaCreateRequestRequired(objSlice interface{}) error

AssertRecurseSchemaCreateRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SchemaCreateRequest (e.g. [][]SchemaCreateRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendDifProofRequestDataPresentationRequestRequired added in v0.1.68

func AssertRecurseSendDifProofRequestDataPresentationRequestRequired(objSlice interface{}) error

AssertRecurseSendDifProofRequestDataPresentationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendDifProofRequestDataPresentationRequest (e.g. [][]SendDifProofRequestDataPresentationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendDifProofRequestDataRequired added in v0.1.68

func AssertRecurseSendDifProofRequestDataRequired(objSlice interface{}) error

AssertRecurseSendDifProofRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendDifProofRequestData (e.g. [][]SendDifProofRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendDifProofRequestRequired added in v0.1.68

func AssertRecurseSendDifProofRequestRequired(objSlice interface{}) error

AssertRecurseSendDifProofRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendDifProofRequest (e.g. [][]SendDifProofRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendIndyProofRequestDataPresentationRequestAllOfRequired added in v0.1.68

func AssertRecurseSendIndyProofRequestDataPresentationRequestAllOfRequired(objSlice interface{}) error

AssertRecurseSendIndyProofRequestDataPresentationRequestAllOfRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendIndyProofRequestDataPresentationRequestAllOf (e.g. [][]SendIndyProofRequestDataPresentationRequestAllOf), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendIndyProofRequestDataPresentationRequestRequired added in v0.1.68

func AssertRecurseSendIndyProofRequestDataPresentationRequestRequired(objSlice interface{}) error

AssertRecurseSendIndyProofRequestDataPresentationRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendIndyProofRequestDataPresentationRequest (e.g. [][]SendIndyProofRequestDataPresentationRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendIndyProofRequestDataRequired added in v0.1.68

func AssertRecurseSendIndyProofRequestDataRequired(objSlice interface{}) error

AssertRecurseSendIndyProofRequestDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendIndyProofRequestData (e.g. [][]SendIndyProofRequestData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendIndyProofRequestRequired added in v0.1.68

func AssertRecurseSendIndyProofRequestRequired(objSlice interface{}) error

AssertRecurseSendIndyProofRequestRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendIndyProofRequest (e.g. [][]SendIndyProofRequest), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendOfferInResponseToProposalRequired added in v0.1.68

func AssertRecurseSendOfferInResponseToProposalRequired(objSlice interface{}) error

AssertRecurseSendOfferInResponseToProposalRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendOfferInResponseToProposal (e.g. [][]SendOfferInResponseToProposal), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendOfferToStartCredentialIssuanceFlow1Required added in v0.1.68

func AssertRecurseSendOfferToStartCredentialIssuanceFlow1Required(objSlice interface{}) error

AssertRecurseSendOfferToStartCredentialIssuanceFlow1Required recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendOfferToStartCredentialIssuanceFlow1 (e.g. [][]SendOfferToStartCredentialIssuanceFlow1), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendOfferToStartCredentialIssuanceFlowDataRequired added in v0.1.68

func AssertRecurseSendOfferToStartCredentialIssuanceFlowDataRequired(objSlice interface{}) error

AssertRecurseSendOfferToStartCredentialIssuanceFlowDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendOfferToStartCredentialIssuanceFlowData (e.g. [][]SendOfferToStartCredentialIssuanceFlowData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendOfferToStartCredentialIssuanceFlowRequired added in v0.1.68

func AssertRecurseSendOfferToStartCredentialIssuanceFlowRequired(objSlice interface{}) error

AssertRecurseSendOfferToStartCredentialIssuanceFlowRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendOfferToStartCredentialIssuanceFlow (e.g. [][]SendOfferToStartCredentialIssuanceFlow), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendProposalDataPresentationProposalRequired added in v0.1.68

func AssertRecurseSendProposalDataPresentationProposalRequired(objSlice interface{}) error

AssertRecurseSendProposalDataPresentationProposalRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendProposalDataPresentationProposal (e.g. [][]SendProposalDataPresentationProposal), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendProposalDataRequired added in v0.1.68

func AssertRecurseSendProposalDataRequired(objSlice interface{}) error

AssertRecurseSendProposalDataRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendProposalData (e.g. [][]SendProposalData), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendProposalRequired added in v0.1.68

func AssertRecurseSendProposalRequired(objSlice interface{}) error

AssertRecurseSendProposalRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendProposal (e.g. [][]SendProposal), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendRequestInResponseToOffer1Required added in v0.1.68

func AssertRecurseSendRequestInResponseToOffer1Required(objSlice interface{}) error

AssertRecurseSendRequestInResponseToOffer1Required recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendRequestInResponseToOffer1 (e.g. [][]SendRequestInResponseToOffer1), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendRequestInResponseToOfferRequired added in v0.1.68

func AssertRecurseSendRequestInResponseToOfferRequired(objSlice interface{}) error

AssertRecurseSendRequestInResponseToOfferRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendRequestInResponseToOffer (e.g. [][]SendRequestInResponseToOffer), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseSendRequestToStartCredentialIssuanceFlowRequired added in v0.1.68

func AssertRecurseSendRequestToStartCredentialIssuanceFlowRequired(objSlice interface{}) error

AssertRecurseSendRequestToStartCredentialIssuanceFlowRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of SendRequestToStartCredentialIssuanceFlow (e.g. [][]SendRequestToStartCredentialIssuanceFlow), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseStatusGet200ResponseRequired added in v0.1.68

func AssertRecurseStatusGet200ResponseRequired(objSlice interface{}) error

AssertRecurseStatusGet200ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of StatusGet200Response (e.g. [][]StatusGet200Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseStatusGet418ResponseRequired added in v0.1.68

func AssertRecurseStatusGet418ResponseRequired(objSlice interface{}) error

AssertRecurseStatusGet418ResponseRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of StatusGet418Response (e.g. [][]StatusGet418Response), otherwise ErrTypeAssertionError is thrown.

func AssertRecurseValueRequired added in v0.1.68

func AssertRecurseValueRequired(value reflect.Value, callback func(interface{}) error) error

AssertRecurseValueRequired checks each struct in the nested slice against the callback. This method traverse nested slices in a preorder fashion.

func AssertRecurseW3CCredentialRequired added in v0.1.68

func AssertRecurseW3CCredentialRequired(objSlice interface{}) error

AssertRecurseW3CCredentialRequired recursively checks if required fields are not zero-ed in a nested slice. Accepts only nested slice of W3CCredential (e.g. [][]W3CCredential), otherwise ErrTypeAssertionError is thrown.

func AssertRevocationGetNotificationByThreadId200ResponseRequired added in v0.1.68

func AssertRevocationGetNotificationByThreadId200ResponseRequired(obj RevocationGetNotificationByThreadId200Response) error

AssertRevocationGetNotificationByThreadId200ResponseRequired checks if the required fields are not zero-ed

func AssertRevocationRevokeCredentialRequestDataRequired added in v0.1.68

func AssertRevocationRevokeCredentialRequestDataRequired(obj RevocationRevokeCredentialRequestData) error

AssertRevocationRevokeCredentialRequestDataRequired checks if the required fields are not zero-ed

func AssertRevocationRevokeCredentialRequestRequired added in v0.1.68

func AssertRevocationRevokeCredentialRequestRequired(obj RevocationRevokeCredentialRequest) error

AssertRevocationRevokeCredentialRequestRequired checks if the required fields are not zero-ed

func AssertSchemaCreate200ResponseRequired added in v0.1.68

func AssertSchemaCreate200ResponseRequired(obj SchemaCreate200Response) error

AssertSchemaCreate200ResponseRequired checks if the required fields are not zero-ed

func AssertSchemaCreateRequestDataRequired added in v0.1.68

func AssertSchemaCreateRequestDataRequired(obj SchemaCreateRequestData) error

AssertSchemaCreateRequestDataRequired checks if the required fields are not zero-ed

func AssertSchemaCreateRequestRequired added in v0.1.68

func AssertSchemaCreateRequestRequired(obj SchemaCreateRequest) error

AssertSchemaCreateRequestRequired checks if the required fields are not zero-ed

func AssertSendDifProofRequestDataPresentationRequestRequired added in v0.1.68

func AssertSendDifProofRequestDataPresentationRequestRequired(obj SendDifProofRequestDataPresentationRequest) error

AssertSendDifProofRequestDataPresentationRequestRequired checks if the required fields are not zero-ed

func AssertSendDifProofRequestDataRequired added in v0.1.68

func AssertSendDifProofRequestDataRequired(obj SendDifProofRequestData) error

AssertSendDifProofRequestDataRequired checks if the required fields are not zero-ed

func AssertSendDifProofRequestRequired added in v0.1.68

func AssertSendDifProofRequestRequired(obj SendDifProofRequest) error

AssertSendDifProofRequestRequired checks if the required fields are not zero-ed

func AssertSendIndyProofRequestDataPresentationRequestAllOfRequired added in v0.1.68

func AssertSendIndyProofRequestDataPresentationRequestAllOfRequired(obj SendIndyProofRequestDataPresentationRequestAllOf) error

AssertSendIndyProofRequestDataPresentationRequestAllOfRequired checks if the required fields are not zero-ed

func AssertSendIndyProofRequestDataPresentationRequestRequired added in v0.1.68

func AssertSendIndyProofRequestDataPresentationRequestRequired(obj SendIndyProofRequestDataPresentationRequest) error

AssertSendIndyProofRequestDataPresentationRequestRequired checks if the required fields are not zero-ed

func AssertSendIndyProofRequestDataRequired added in v0.1.68

func AssertSendIndyProofRequestDataRequired(obj SendIndyProofRequestData) error

AssertSendIndyProofRequestDataRequired checks if the required fields are not zero-ed

func AssertSendIndyProofRequestRequired added in v0.1.68

func AssertSendIndyProofRequestRequired(obj SendIndyProofRequest) error

AssertSendIndyProofRequestRequired checks if the required fields are not zero-ed

func AssertSendOfferInResponseToProposalRequired added in v0.1.68

func AssertSendOfferInResponseToProposalRequired(obj SendOfferInResponseToProposal) error

AssertSendOfferInResponseToProposalRequired checks if the required fields are not zero-ed

func AssertSendOfferToStartCredentialIssuanceFlow1Required added in v0.1.68

func AssertSendOfferToStartCredentialIssuanceFlow1Required(obj SendOfferToStartCredentialIssuanceFlow1) error

AssertSendOfferToStartCredentialIssuanceFlow1Required checks if the required fields are not zero-ed

func AssertSendOfferToStartCredentialIssuanceFlowDataRequired added in v0.1.68

func AssertSendOfferToStartCredentialIssuanceFlowDataRequired(obj SendOfferToStartCredentialIssuanceFlowData) error

AssertSendOfferToStartCredentialIssuanceFlowDataRequired checks if the required fields are not zero-ed

func AssertSendOfferToStartCredentialIssuanceFlowRequired added in v0.1.68

func AssertSendOfferToStartCredentialIssuanceFlowRequired(obj SendOfferToStartCredentialIssuanceFlow) error

AssertSendOfferToStartCredentialIssuanceFlowRequired checks if the required fields are not zero-ed

func AssertSendProposalDataPresentationProposalRequired added in v0.1.68

func AssertSendProposalDataPresentationProposalRequired(obj SendProposalDataPresentationProposal) error

AssertSendProposalDataPresentationProposalRequired checks if the required fields are not zero-ed

func AssertSendProposalDataRequired added in v0.1.68

func AssertSendProposalDataRequired(obj SendProposalData) error

AssertSendProposalDataRequired checks if the required fields are not zero-ed

func AssertSendProposalRequired added in v0.1.68

func AssertSendProposalRequired(obj SendProposal) error

AssertSendProposalRequired checks if the required fields are not zero-ed

func AssertSendRequestInResponseToOffer1Required added in v0.1.68

func AssertSendRequestInResponseToOffer1Required(obj SendRequestInResponseToOffer1) error

AssertSendRequestInResponseToOffer1Required checks if the required fields are not zero-ed

func AssertSendRequestInResponseToOfferRequired added in v0.1.68

func AssertSendRequestInResponseToOfferRequired(obj SendRequestInResponseToOffer) error

AssertSendRequestInResponseToOfferRequired checks if the required fields are not zero-ed

func AssertSendRequestToStartCredentialIssuanceFlowRequired added in v0.1.68

func AssertSendRequestToStartCredentialIssuanceFlowRequired(obj SendRequestToStartCredentialIssuanceFlow) error

AssertSendRequestToStartCredentialIssuanceFlowRequired checks if the required fields are not zero-ed

func AssertStatusGet200ResponseRequired added in v0.1.68

func AssertStatusGet200ResponseRequired(obj StatusGet200Response) error

AssertStatusGet200ResponseRequired checks if the required fields are not zero-ed

func AssertStatusGet418ResponseRequired added in v0.1.68

func AssertStatusGet418ResponseRequired(obj StatusGet418Response) error

AssertStatusGet418ResponseRequired checks if the required fields are not zero-ed

func AssertW3CCredentialRequired added in v0.1.68

func AssertW3CCredentialRequired(obj W3CCredential) error

AssertW3CCredentialRequired checks if the required fields are not zero-ed

func DefaultErrorHandler added in v0.1.68

func DefaultErrorHandler(w http.ResponseWriter, r *http.Request, err error, result *ImplResponse)

DefaultErrorHandler defines the default logic on how to handle errors from the controller. Any errors from parsing request params will return a StatusBadRequest. Otherwise, the error code originating from the servicer will be used.

func EncodeJSONResponse

func EncodeJSONResponse(i interface{}, status *int, w http.ResponseWriter) error

EncodeJSONResponse uses the json encoder to write an interface to the http response with an optional status code

func IsZeroValue added in v0.1.68

func IsZeroValue(val interface{}) bool

IsZeroValue checks if the val is the zero-ed value.

func Logger

func Logger(inner http.Handler, name string) http.Handler

func NewRouter

func NewRouter(routers ...Router) *mux.Router

NewRouter creates a new router for any number of api routers

func ReadFormFileToTempFile

func ReadFormFileToTempFile(r *http.Request, key string) (*os.File, error)

ReadFormFileToTempFile reads file data from a request form and writes it to a temporary file

func ReadFormFilesToTempFiles

func ReadFormFilesToTempFiles(r *http.Request, key string) ([]*os.File, error)

ReadFormFilesToTempFiles reads files array data from a request form and writes it to a temporary files

Types

type AgentApiController added in v0.1.68

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

AgentApiController binds http requests to an api service and writes the service results to the http response

func (*AgentApiController) AgentStart added in v0.1.68

func (c *AgentApiController) AgentStart(w http.ResponseWriter, r *http.Request)

AgentStart - (re)start the agent

func (*AgentApiController) Routes added in v0.1.68

func (c *AgentApiController) Routes() Routes

Routes returns all the api routes for the AgentApiController

type AgentApiOption added in v0.1.68

type AgentApiOption func(*AgentApiController)

AgentApiOption for how the controller is set up.

func WithAgentApiErrorHandler added in v0.1.68

func WithAgentApiErrorHandler(h ErrorHandler) AgentApiOption

WithAgentApiErrorHandler inject ErrorHandler into controller

type AgentApiRouter added in v0.1.68

type AgentApiRouter interface {
	AgentStart(http.ResponseWriter, *http.Request)
}

AgentApiRouter defines the required methods for binding the api requests to a responses for the AgentApi The AgentApiRouter implementation should parse necessary information from the http request, pass the data to a AgentApiServicer to perform the required actions, then write the service results to the http response.

type AgentApiService added in v0.1.68

type AgentApiService struct {
}

AgentApiService is a service that implements the logic for the AgentApiServicer This service should implement the business logic for every endpoint for the AgentApi API. Include any external packages or services that will be required by this service.

func (*AgentApiService) AgentStart added in v0.1.68

func (s *AgentApiService) AgentStart(ctx context.Context, agentStartRequest AgentStartRequest) (ImplResponse, error)

AgentStart - (re)start the agent

type AgentApiServicer added in v0.1.68

type AgentApiServicer interface {
	AgentStart(context.Context, AgentStartRequest) (ImplResponse, error)
}

AgentApiServicer defines the api actions for the AgentApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewAgentApiService added in v0.1.68

func NewAgentApiService() AgentApiServicer

NewAgentApiService creates a default api service

type AgentStartRequest added in v0.1.68

type AgentStartRequest struct {
	Data AgentStartRequestData `json:"data"`
}

type AgentStartRequestData added in v0.1.68

type AgentStartRequestData struct {
	Parameters AgentStartRequestDataParameters `json:"parameters"`
}

type AgentStartRequestDataParameters added in v0.1.68

type AgentStartRequestDataParameters struct {
	MimeType string `json:"mime-type,omitempty"`

	InboundTransports []string `json:"inbound_transports,omitempty"`

	OutboundTransports []string `json:"outbound_transports,omitempty"`
}

type AttachmentFormat added in v0.1.68

type AttachmentFormat string
const (
	INDY    AttachmentFormat = "indy"
	JSON_LD AttachmentFormat = "json-ld"
)

List of AttachmentFormat

type ConnectionAcceptInvitation200Response added in v0.1.68

type ConnectionAcceptInvitation200Response struct {
	ConnectionId string `json:"connection_id,omitempty"`

	State ConnectionState `json:"state,omitempty"`
}

type ConnectionAcceptInvitationRequest added in v0.1.68

type ConnectionAcceptInvitationRequest struct {
	Id string `json:"id"`
}

type ConnectionAcceptRequest200Response added in v0.1.68

type ConnectionAcceptRequest200Response struct {
	ConnectionId string `json:"connection_id,omitempty"`

	State ConnectionState `json:"state,omitempty"`
}

type ConnectionApiController

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

ConnectionApiController binds http requests to an api service and writes the service results to the http response

func (*ConnectionApiController) ConnectionAcceptInvitation

func (c *ConnectionApiController) ConnectionAcceptInvitation(w http.ResponseWriter, r *http.Request)

ConnectionAcceptInvitation - Accept an invitation

func (*ConnectionApiController) ConnectionAcceptRequest

func (c *ConnectionApiController) ConnectionAcceptRequest(w http.ResponseWriter, r *http.Request)

ConnectionAcceptRequest - Accept a connection request

func (*ConnectionApiController) ConnectionCreateInvitation

func (c *ConnectionApiController) ConnectionCreateInvitation(w http.ResponseWriter, r *http.Request)

ConnectionCreateInvitation - Create a new connection invitation

func (*ConnectionApiController) ConnectionGetAll

func (c *ConnectionApiController) ConnectionGetAll(w http.ResponseWriter, r *http.Request)

ConnectionGetAll - Get all connections

func (*ConnectionApiController) ConnectionGetById

func (c *ConnectionApiController) ConnectionGetById(w http.ResponseWriter, r *http.Request)

ConnectionGetById - Get connection by id

func (*ConnectionApiController) ConnectionReceiveInvitation

func (c *ConnectionApiController) ConnectionReceiveInvitation(w http.ResponseWriter, r *http.Request)

ConnectionReceiveInvitation - Receive an invitation

func (*ConnectionApiController) ConnectionSendPing

func (c *ConnectionApiController) ConnectionSendPing(w http.ResponseWriter, r *http.Request)

ConnectionSendPing - Send trust ping

func (*ConnectionApiController) Routes

func (c *ConnectionApiController) Routes() Routes

Routes returns all the api routes for the ConnectionApiController

type ConnectionApiOption added in v0.1.68

type ConnectionApiOption func(*ConnectionApiController)

ConnectionApiOption for how the controller is set up.

func WithConnectionApiErrorHandler added in v0.1.68

func WithConnectionApiErrorHandler(h ErrorHandler) ConnectionApiOption

WithConnectionApiErrorHandler inject ErrorHandler into controller

type ConnectionApiRouter

type ConnectionApiRouter interface {
	ConnectionAcceptInvitation(http.ResponseWriter, *http.Request)
	ConnectionAcceptRequest(http.ResponseWriter, *http.Request)
	ConnectionCreateInvitation(http.ResponseWriter, *http.Request)
	ConnectionGetAll(http.ResponseWriter, *http.Request)
	ConnectionGetById(http.ResponseWriter, *http.Request)
	ConnectionReceiveInvitation(http.ResponseWriter, *http.Request)
	ConnectionSendPing(http.ResponseWriter, *http.Request)
}

ConnectionApiRouter defines the required methods for binding the api requests to a responses for the ConnectionApi The ConnectionApiRouter implementation should parse necessary information from the http request, pass the data to a ConnectionApiServicer to perform the required actions, then write the service results to the http response.

type ConnectionApiService

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

ConnectionApiService is a service that implements the logic for the ConnectionApiServicer This service should implement the business logic for every endpoint for the ConnectionApi API. Include any external packages or services that will be required by this service.

func (*ConnectionApiService) ConnectionAcceptInvitation

func (s *ConnectionApiService) ConnectionAcceptInvitation(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

ConnectionAcceptInvitation - Accept an invitation

func (*ConnectionApiService) ConnectionAcceptRequest

func (s *ConnectionApiService) ConnectionAcceptRequest(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

ConnectionAcceptRequest - Accept a connection request

func (*ConnectionApiService) ConnectionCreateInvitation

ConnectionCreateInvitation - Create a new connection invitation

func (*ConnectionApiService) ConnectionGetAll

func (s *ConnectionApiService) ConnectionGetAll(ctx context.Context) (ImplResponse, error)

ConnectionGetAll - Get all connections

func (*ConnectionApiService) ConnectionGetById

func (s *ConnectionApiService) ConnectionGetById(ctx context.Context, connectionId string) (ImplResponse, error)

ConnectionGetById - Get connection by id

func (*ConnectionApiService) ConnectionReceiveInvitation

func (s *ConnectionApiService) ConnectionReceiveInvitation(ctx context.Context, connectionReceiveInvitationRequest ConnectionReceiveInvitationRequest) (ImplResponse, error)

ConnectionReceiveInvitation - Receive an invitation

func (*ConnectionApiService) ConnectionSendPing

func (s *ConnectionApiService) ConnectionSendPing(ctx context.Context, connectionSendPingRequest ConnectionSendPingRequest) (ImplResponse, error)

ConnectionSendPing - Send trust ping

type ConnectionApiServicer

type ConnectionApiServicer interface {
	ConnectionAcceptInvitation(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
	ConnectionAcceptRequest(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
	ConnectionCreateInvitation(context.Context, ConnectionCreateInvitationRequest) (ImplResponse, error)
	ConnectionGetAll(context.Context) (ImplResponse, error)
	ConnectionGetById(context.Context, string) (ImplResponse, error)
	ConnectionReceiveInvitation(context.Context, ConnectionReceiveInvitationRequest) (ImplResponse, error)
	ConnectionSendPing(context.Context, ConnectionSendPingRequest) (ImplResponse, error)
}

ConnectionApiServicer defines the api actions for the ConnectionApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewConnectionApiService

func NewConnectionApiService(a *agent.Agent) ConnectionApiServicer

NewConnectionApiService creates a default api service

type ConnectionCreateInvitation200Response added in v0.1.68

type ConnectionCreateInvitation200Response struct {
	ConnectionId string `json:"connection_id"`

	Invitation map[string]interface{} `json:"invitation"`
}

type ConnectionCreateInvitationRequest added in v0.1.68

type ConnectionCreateInvitationRequest struct {
	Data ConnectionCreateInvitationRequestData `json:"data"`
}

type ConnectionCreateInvitationRequestData added in v0.1.68

type ConnectionCreateInvitationRequestData struct {
	MediatorConnectionId string `json:"mediator_connection_id,omitempty"`
}

type ConnectionReceiveInvitation200Response added in v0.1.68

type ConnectionReceiveInvitation200Response struct {
	ConnectionId string `json:"connection_id,omitempty"`

	State ConnectionState `json:"state,omitempty"`
}

type ConnectionReceiveInvitationRequest added in v0.1.68

type ConnectionReceiveInvitationRequest struct {
	Data ConnectionReceiveInvitationRequestData `json:"data"`
}

type ConnectionReceiveInvitationRequestData added in v0.1.68

type ConnectionReceiveInvitationRequestData struct {
	Type                 string   `json:"@type,omitempty"`
	InvitationId         string   `json:"@id,omitempty"`
	ServiceEndpoint      string   `json:"serviceEndpoint,omitempty"`
	RecipientKeys        []string `json:"recipientKeys,omitempty"`
	RoutingKeys          []string `json:"routingKeys,omitempty"`
	Label                string   `json:"label,omitempty"`
	MediatorConnectionId string   `json:"mediator_connection_id,omitempty"`
}

type ConnectionReceiveInvitationRequestDataAllOf added in v0.1.68

type ConnectionReceiveInvitationRequestDataAllOf struct {
	MediatorConnectionId string `json:"mediator_connection_id,omitempty"`
}

type ConnectionResponse

type ConnectionResponse struct {
	ConnectionId string `json:"connection_id"`

	State ConnectionState `json:"state"`

	Connection map[string]interface{} `json:"connection,omitempty"`
}

type ConnectionSendPingRequest added in v0.1.68

type ConnectionSendPingRequest struct {
	Id string `json:"id"`

	Data ConnectionSendPingRequestData `json:"data"`
}

type ConnectionSendPingRequestData added in v0.1.68

type ConnectionSendPingRequestData struct {
	Comment string `json:"comment"`
}

type ConnectionState

type ConnectionState string

ConnectionState : All possible connection state values

const (
	INVITATION ConnectionState = "invited"
	REQUEST    ConnectionState = "requested"
	RESPONSE   ConnectionState = "responded"
	ACTIVE     ConnectionState = "complete"
)

type CoordinateMediationApiController added in v0.1.68

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

CoordinateMediationApiController binds http requests to an api service and writes the service results to the http response

func (*CoordinateMediationApiController) CoordinateMediationGetByConnectionId added in v0.1.68

func (c *CoordinateMediationApiController) CoordinateMediationGetByConnectionId(w http.ResponseWriter, r *http.Request)

CoordinateMediationGetByConnectionId - Get mediation record by connection id

func (*CoordinateMediationApiController) CoordinateMediationSendDeny added in v0.1.68

func (c *CoordinateMediationApiController) CoordinateMediationSendDeny(w http.ResponseWriter, r *http.Request)

CoordinateMediationSendDeny - Send mediation deny message

func (*CoordinateMediationApiController) CoordinateMediationSendGrant added in v0.1.68

func (c *CoordinateMediationApiController) CoordinateMediationSendGrant(w http.ResponseWriter, r *http.Request)

CoordinateMediationSendGrant - Send mediation grant message

func (*CoordinateMediationApiController) CoordinateMediationSendRequest added in v0.1.68

func (c *CoordinateMediationApiController) CoordinateMediationSendRequest(w http.ResponseWriter, r *http.Request)

CoordinateMediationSendRequest - Send mediation request message

func (*CoordinateMediationApiController) Routes added in v0.1.68

Routes returns all the api routes for the CoordinateMediationApiController

type CoordinateMediationApiOption added in v0.1.68

type CoordinateMediationApiOption func(*CoordinateMediationApiController)

CoordinateMediationApiOption for how the controller is set up.

func WithCoordinateMediationApiErrorHandler added in v0.1.68

func WithCoordinateMediationApiErrorHandler(h ErrorHandler) CoordinateMediationApiOption

WithCoordinateMediationApiErrorHandler inject ErrorHandler into controller

type CoordinateMediationApiRouter added in v0.1.68

type CoordinateMediationApiRouter interface {
	CoordinateMediationGetByConnectionId(http.ResponseWriter, *http.Request)
	CoordinateMediationSendDeny(http.ResponseWriter, *http.Request)
	CoordinateMediationSendGrant(http.ResponseWriter, *http.Request)
	CoordinateMediationSendRequest(http.ResponseWriter, *http.Request)
}

CoordinateMediationApiRouter defines the required methods for binding the api requests to a responses for the CoordinateMediationApi The CoordinateMediationApiRouter implementation should parse necessary information from the http request, pass the data to a CoordinateMediationApiServicer to perform the required actions, then write the service results to the http response.

type CoordinateMediationApiService added in v0.1.68

type CoordinateMediationApiService struct {
}

CoordinateMediationApiService is a service that implements the logic for the CoordinateMediationApiServicer This service should implement the business logic for every endpoint for the CoordinateMediationApi API. Include any external packages or services that will be required by this service.

func (*CoordinateMediationApiService) CoordinateMediationGetByConnectionId added in v0.1.68

func (s *CoordinateMediationApiService) CoordinateMediationGetByConnectionId(ctx context.Context, connectionId string) (ImplResponse, error)

CoordinateMediationGetByConnectionId - Get mediation record by connection id

func (*CoordinateMediationApiService) CoordinateMediationSendDeny added in v0.1.68

func (s *CoordinateMediationApiService) CoordinateMediationSendDeny(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

CoordinateMediationSendDeny - Send mediation deny message

func (*CoordinateMediationApiService) CoordinateMediationSendGrant added in v0.1.68

func (s *CoordinateMediationApiService) CoordinateMediationSendGrant(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

CoordinateMediationSendGrant - Send mediation grant message

func (*CoordinateMediationApiService) CoordinateMediationSendRequest added in v0.1.68

func (s *CoordinateMediationApiService) CoordinateMediationSendRequest(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

CoordinateMediationSendRequest - Send mediation request message

type CoordinateMediationApiServicer added in v0.1.68

type CoordinateMediationApiServicer interface {
	CoordinateMediationGetByConnectionId(context.Context, string) (ImplResponse, error)
	CoordinateMediationSendDeny(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
	CoordinateMediationSendGrant(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
	CoordinateMediationSendRequest(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
}

CoordinateMediationApiServicer defines the api actions for the CoordinateMediationApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewCoordinateMediationApiService added in v0.1.68

func NewCoordinateMediationApiService() CoordinateMediationApiServicer

NewCoordinateMediationApiService creates a default api service

type CoordinateMediationOperationResponse added in v0.1.68

type CoordinateMediationOperationResponse struct {
	ConnectionId string `json:"connection_id"`

	State CoordinateMediationState `json:"state"`
}

type CoordinateMediationState added in v0.1.68

type CoordinateMediationState string

CoordinateMediationState : All possible coordinate mediation state values

const (
	REQUEST_SENT     CoordinateMediationState = "request-sent"
	REQUEST_RECEIVED CoordinateMediationState = "request-received"
	GRANT_SENT       CoordinateMediationState = "grant-sent"
	GRANT_RECEIVED   CoordinateMediationState = "grant-received"
	DENY_SENT        CoordinateMediationState = "deny-sent"
	DENY_RECEIVED    CoordinateMediationState = "deny-received"
)

List of CoordinateMediationState

type CreateOfferToStartCredentialIssuanceFlow added in v0.1.68

type CreateOfferToStartCredentialIssuanceFlow struct {
	Data CreateOfferToStartCredentialIssuanceFlowData `json:"data"`
}

type CreateOfferToStartCredentialIssuanceFlow1 added in v0.1.68

type CreateOfferToStartCredentialIssuanceFlow1 struct {
	Data CreateOfferToStartCredentialIssuanceFlow1Data `json:"data"`
}

type CreateOfferToStartCredentialIssuanceFlow1Data added in v0.1.68

type CreateOfferToStartCredentialIssuanceFlow1Data struct {
	CredentialPreview IssueCredentialV2SendProposalRequestDataCredentialPreview `json:"credential_preview,omitempty"`

	Filter IssueCredentialV2CredentialProposalFilter `json:"filter"`
}

type CreateOfferToStartCredentialIssuanceFlowData added in v0.1.68

type CreateOfferToStartCredentialIssuanceFlowData struct {
	Comment string `json:"comment,omitempty"`

	CredentialPreview CredentialPreview `json:"credential_preview"`

	CredDefId string `json:"cred_def_id"`
}

type CredentialApiController

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

CredentialApiController binds http requests to an api service and writes the service results to the http response

func (*CredentialApiController) CredentialDeleteById added in v0.1.68

func (c *CredentialApiController) CredentialDeleteById(w http.ResponseWriter, r *http.Request)

CredentialDeleteById - Delete credential by id

func (*CredentialApiController) CredentialGetById

func (c *CredentialApiController) CredentialGetById(w http.ResponseWriter, r *http.Request)

CredentialGetById - Get credential by id

func (*CredentialApiController) CredentialGetRevocationStatusById added in v0.1.68

func (c *CredentialApiController) CredentialGetRevocationStatusById(w http.ResponseWriter, r *http.Request)

CredentialGetRevocationStatusById - Get Credential Revocation Status

func (*CredentialApiController) Routes

func (c *CredentialApiController) Routes() Routes

Routes returns all the api routes for the CredentialApiController

type CredentialApiOption added in v0.1.68

type CredentialApiOption func(*CredentialApiController)

CredentialApiOption for how the controller is set up.

func WithCredentialApiErrorHandler added in v0.1.68

func WithCredentialApiErrorHandler(h ErrorHandler) CredentialApiOption

WithCredentialApiErrorHandler inject ErrorHandler into controller

type CredentialApiRouter

type CredentialApiRouter interface {
	CredentialDeleteById(http.ResponseWriter, *http.Request)
	CredentialGetById(http.ResponseWriter, *http.Request)
	CredentialGetRevocationStatusById(http.ResponseWriter, *http.Request)
}

CredentialApiRouter defines the required methods for binding the api requests to a responses for the CredentialApi The CredentialApiRouter implementation should parse necessary information from the http request, pass the data to a CredentialApiServicer to perform the required actions, then write the service results to the http response.

type CredentialApiService

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

CredentialApiService is a service that implements the logic for the CredentialApiServicer This service should implement the business logic for every endpoint for the CredentialApi API. Include any external packages or services that will be required by this service.

func (*CredentialApiService) CredentialDeleteById added in v0.1.68

func (s *CredentialApiService) CredentialDeleteById(ctx context.Context, credentialId string) (ImplResponse, error)

CredentialDeleteById - Delete credential by id

func (*CredentialApiService) CredentialGetById

func (s *CredentialApiService) CredentialGetById(ctx context.Context, credentialId string) (ImplResponse, error)

CredentialGetById - Get credential by id

func (*CredentialApiService) CredentialGetRevocationStatusById added in v0.1.68

func (s *CredentialApiService) CredentialGetRevocationStatusById(ctx context.Context, credentialId string) (ImplResponse, error)

CredentialGetRevocationStatusById - Get Credential Revocation Status

type CredentialApiServicer

type CredentialApiServicer interface {
	CredentialDeleteById(context.Context, string) (ImplResponse, error)
	CredentialGetById(context.Context, string) (ImplResponse, error)
	CredentialGetRevocationStatusById(context.Context, string) (ImplResponse, error)
}

CredentialApiServicer defines the api actions for the CredentialApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewCredentialApiService

func NewCredentialApiService(a *agent.Agent) CredentialApiServicer

NewCredentialApiService creates a default api service

type CredentialDefinitionApiController

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

CredentialDefinitionApiController binds http requests to an api service and writes the service results to the http response

func (*CredentialDefinitionApiController) CredentialDefinitionCreate

func (c *CredentialDefinitionApiController) CredentialDefinitionCreate(w http.ResponseWriter, r *http.Request)

CredentialDefinitionCreate - Create a new credential definition

func (*CredentialDefinitionApiController) CredentialDefinitionGetById

func (c *CredentialDefinitionApiController) CredentialDefinitionGetById(w http.ResponseWriter, r *http.Request)

CredentialDefinitionGetById - Get credential definition by id

func (*CredentialDefinitionApiController) Routes

Routes returns all the api routes for the CredentialDefinitionApiController

type CredentialDefinitionApiOption added in v0.1.68

type CredentialDefinitionApiOption func(*CredentialDefinitionApiController)

CredentialDefinitionApiOption for how the controller is set up.

func WithCredentialDefinitionApiErrorHandler added in v0.1.68

func WithCredentialDefinitionApiErrorHandler(h ErrorHandler) CredentialDefinitionApiOption

WithCredentialDefinitionApiErrorHandler inject ErrorHandler into controller

type CredentialDefinitionApiRouter

type CredentialDefinitionApiRouter interface {
	CredentialDefinitionCreate(http.ResponseWriter, *http.Request)
	CredentialDefinitionGetById(http.ResponseWriter, *http.Request)
}

CredentialDefinitionApiRouter defines the required methods for binding the api requests to a responses for the CredentialDefinitionApi The CredentialDefinitionApiRouter implementation should parse necessary information from the http request, pass the data to a CredentialDefinitionApiServicer to perform the required actions, then write the service results to the http response.

type CredentialDefinitionApiService

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

CredentialDefinitionApiService is a service that implements the logic for the CredentialDefinitionApiServicer This service should implement the business logic for every endpoint for the CredentialDefinitionApi API. Include any external packages or services that will be required by this service.

func (*CredentialDefinitionApiService) CredentialDefinitionCreate

func (s *CredentialDefinitionApiService) CredentialDefinitionCreate(ctx context.Context, credentialDefinitionCreateRequest CredentialDefinitionCreateRequest) (ImplResponse, error)

CredentialDefinitionCreate - Create a new credential definition

func (*CredentialDefinitionApiService) CredentialDefinitionGetById

func (s *CredentialDefinitionApiService) CredentialDefinitionGetById(ctx context.Context, credentialDefinitionId string) (ImplResponse, error)

CredentialDefinitionGetById - Get credential definition by id

type CredentialDefinitionApiServicer

type CredentialDefinitionApiServicer interface {
	CredentialDefinitionCreate(context.Context, CredentialDefinitionCreateRequest) (ImplResponse, error)
	CredentialDefinitionGetById(context.Context, string) (ImplResponse, error)
}

CredentialDefinitionApiServicer defines the api actions for the CredentialDefinitionApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewCredentialDefinitionApiService

func NewCredentialDefinitionApiService(a *agent.Agent) CredentialDefinitionApiServicer

NewCredentialDefinitionApiService creates a default api service

type CredentialDefinitionCreate200Response added in v0.1.68

type CredentialDefinitionCreate200Response struct {
	CredentialDefinitionId string `json:"credential_definition_id,omitempty"`
}

type CredentialDefinitionCreateRequest added in v0.1.68

type CredentialDefinitionCreateRequest struct {
	Data CredentialDefinitionCreateRequestData `json:"data"`
}

type CredentialDefinitionCreateRequestData added in v0.1.68

type CredentialDefinitionCreateRequestData struct {
	SupportRevocation bool `json:"support_revocation"`

	SchemaId string `json:"schema_id"`

	Tag string `json:"tag"`
}

type CredentialGetById200Response added in v0.1.68

type CredentialGetById200Response struct {
	Referent string `json:"referent"`

	SchemaId string `json:"schema_id"`

	CredDefId string `json:"cred_def_id"`

	CredentialId string `json:"credential_id"`

	Credential map[string]interface{} `json:"credential"`
}

type CredentialGetRevocationStatusById200Response added in v0.1.68

type CredentialGetRevocationStatusById200Response struct {
	Revoked bool `json:"revoked"`
}

type CredentialPreview

type CredentialPreview struct {
	Type string `json:"@type"`

	Attributes []CredentialPreviewAttributesInner `json:"attributes"`
}

type CredentialPreviewAttributesInner added in v0.1.68

type CredentialPreviewAttributesInner struct {
	Name string `json:"name"`

	MimeType string `json:"mime-type,omitempty"`

	Value string `json:"value"`
}

type DIDApiController

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

DIDApiController binds http requests to an api service and writes the service results to the http response

func (*DIDApiController) DIDGetPublic

func (c *DIDApiController) DIDGetPublic(w http.ResponseWriter, r *http.Request)

DIDGetPublic - Get public DID

func (*DIDApiController) Routes

func (c *DIDApiController) Routes() Routes

Routes returns all the api routes for the DIDApiController

type DIDApiOption added in v0.1.68

type DIDApiOption func(*DIDApiController)

DIDApiOption for how the controller is set up.

func WithDIDApiErrorHandler added in v0.1.68

func WithDIDApiErrorHandler(h ErrorHandler) DIDApiOption

WithDIDApiErrorHandler inject ErrorHandler into controller

type DIDApiRouter

type DIDApiRouter interface {
	DIDGetPublic(http.ResponseWriter, *http.Request)
}

DIDApiRouter defines the required methods for binding the api requests to a responses for the DIDApi The DIDApiRouter implementation should parse necessary information from the http request, pass the data to a DIDApiServicer to perform the required actions, then write the service results to the http response.

type DIDApiService

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

DIDApiService is a service that implements the logic for the DIDApiServicer This service should implement the business logic for every endpoint for the DIDApi API. Include any external packages or services that will be required by this service.

func (*DIDApiService) DIDGetPublic

func (s *DIDApiService) DIDGetPublic(ctx context.Context) (ImplResponse, error)

DIDGetPublic - Get public DID

type DIDApiServicer

type DIDApiServicer interface {
	DIDGetPublic(context.Context) (ImplResponse, error)
}

DIDApiServicer defines the api actions for the DIDApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewDIDApiService

func NewDIDApiService(a *agent.Agent) DIDApiServicer

NewDIDApiService creates a default api service

type DIDExchangeApiController added in v0.1.68

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

DIDExchangeApiController binds http requests to an api service and writes the service results to the http response

func (*DIDExchangeApiController) DidExchangeCreateRequestResolvableDid added in v0.1.68

func (c *DIDExchangeApiController) DidExchangeCreateRequestResolvableDid(w http.ResponseWriter, r *http.Request)

DidExchangeCreateRequestResolvableDid - Send a did exchange request to the didcomm service registered in the public did

func (*DIDExchangeApiController) DidExchangeGetById added in v0.1.68

func (c *DIDExchangeApiController) DidExchangeGetById(w http.ResponseWriter, r *http.Request)

DidExchangeGetById - Get did exchange connection by id

func (*DIDExchangeApiController) DidExchangeGetByInvitationId added in v0.1.68

func (c *DIDExchangeApiController) DidExchangeGetByInvitationId(w http.ResponseWriter, r *http.Request)

DidExchangeGetByInvitationId - Get did exchange connection by invitation id. Can be used to determine the connection id based of an invitation id.

func (*DIDExchangeApiController) DidExchangeReceiveRequestResolvableDid added in v0.1.68

func (c *DIDExchangeApiController) DidExchangeReceiveRequestResolvableDid(w http.ResponseWriter, r *http.Request)

DidExchangeReceiveRequestResolvableDid - The documentation of this endpoint need to be looked at.

func (*DIDExchangeApiController) DidExchangeSendRequest added in v0.1.68

func (c *DIDExchangeApiController) DidExchangeSendRequest(w http.ResponseWriter, r *http.Request)

DidExchangeSendRequest - Send a did exchange request to the connection with specified id.

func (*DIDExchangeApiController) DidExchangeSendResponse added in v0.1.68

func (c *DIDExchangeApiController) DidExchangeSendResponse(w http.ResponseWriter, r *http.Request)

DidExchangeSendResponse - Send a did exchange response to the connection with specified id.

func (*DIDExchangeApiController) Routes added in v0.1.68

func (c *DIDExchangeApiController) Routes() Routes

Routes returns all the api routes for the DIDExchangeApiController

type DIDExchangeApiOption added in v0.1.68

type DIDExchangeApiOption func(*DIDExchangeApiController)

DIDExchangeApiOption for how the controller is set up.

func WithDIDExchangeApiErrorHandler added in v0.1.68

func WithDIDExchangeApiErrorHandler(h ErrorHandler) DIDExchangeApiOption

WithDIDExchangeApiErrorHandler inject ErrorHandler into controller

type DIDExchangeApiRouter added in v0.1.68

type DIDExchangeApiRouter interface {
	DidExchangeCreateRequestResolvableDid(http.ResponseWriter, *http.Request)
	DidExchangeGetById(http.ResponseWriter, *http.Request)
	DidExchangeGetByInvitationId(http.ResponseWriter, *http.Request)
	DidExchangeReceiveRequestResolvableDid(http.ResponseWriter, *http.Request)
	DidExchangeSendRequest(http.ResponseWriter, *http.Request)
	DidExchangeSendResponse(http.ResponseWriter, *http.Request)
}

DIDExchangeApiRouter defines the required methods for binding the api requests to a responses for the DIDExchangeApi The DIDExchangeApiRouter implementation should parse necessary information from the http request, pass the data to a DIDExchangeApiServicer to perform the required actions, then write the service results to the http response.

type DIDExchangeApiService added in v0.1.68

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

DIDExchangeApiService is a service that implements the logic for the DIDExchangeApiServicer This service should implement the business logic for every endpoint for the DIDExchangeApi API. Include any external packages or services that will be required by this service.

func (*DIDExchangeApiService) DidExchangeCreateRequestResolvableDid added in v0.1.68

func (s *DIDExchangeApiService) DidExchangeCreateRequestResolvableDid(ctx context.Context, didExchangeCreateRequestResolvableDidRequest DidExchangeCreateRequestResolvableDidRequest) (ImplResponse, error)

DidExchangeCreateRequestResolvableDid - Send a did exchange request to the didcomm service registered in the public did

func (*DIDExchangeApiService) DidExchangeGetById added in v0.1.68

func (s *DIDExchangeApiService) DidExchangeGetById(ctx context.Context, connectionId string) (ImplResponse, error)

DidExchangeGetById - Get did exchange connection by id

func (*DIDExchangeApiService) DidExchangeGetByInvitationId added in v0.1.68

func (s *DIDExchangeApiService) DidExchangeGetByInvitationId(ctx context.Context, invitationId string) (ImplResponse, error)

DidExchangeGetByInvitationId - Get did exchange connection by invitation id. Can be used to determine the connection id based of an invitation id.

func (*DIDExchangeApiService) DidExchangeReceiveRequestResolvableDid added in v0.1.68

func (s *DIDExchangeApiService) DidExchangeReceiveRequestResolvableDid(ctx context.Context, didExchangeReceiveRequestResolvableDidRequest DidExchangeReceiveRequestResolvableDidRequest) (ImplResponse, error)

DidExchangeReceiveRequestResolvableDid - The documentation of this endpoint need to be looked at.

func (*DIDExchangeApiService) DidExchangeSendRequest added in v0.1.68

func (s *DIDExchangeApiService) DidExchangeSendRequest(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

DidExchangeSendRequest - Send a did exchange request to the connection with specified id.

func (*DIDExchangeApiService) DidExchangeSendResponse added in v0.1.68

func (s *DIDExchangeApiService) DidExchangeSendResponse(ctx context.Context, connectionAcceptInvitationRequest ConnectionAcceptInvitationRequest) (ImplResponse, error)

DidExchangeSendResponse - Send a did exchange response to the connection with specified id.

type DIDExchangeApiServicer added in v0.1.68

type DIDExchangeApiServicer interface {
	DidExchangeCreateRequestResolvableDid(context.Context, DidExchangeCreateRequestResolvableDidRequest) (ImplResponse, error)
	DidExchangeGetById(context.Context, string) (ImplResponse, error)
	DidExchangeGetByInvitationId(context.Context, string) (ImplResponse, error)
	DidExchangeReceiveRequestResolvableDid(context.Context, DidExchangeReceiveRequestResolvableDidRequest) (ImplResponse, error)
	DidExchangeSendRequest(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
	DidExchangeSendResponse(context.Context, ConnectionAcceptInvitationRequest) (ImplResponse, error)
}

DIDExchangeApiServicer defines the api actions for the DIDExchangeApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewDIDExchangeApiService added in v0.1.68

func NewDIDExchangeApiService(a *agent.Agent) DIDExchangeApiServicer

NewDIDExchangeApiService creates a default api service

type DidCommV2AcceptInvitationRequest added in v0.1.68

type DidCommV2AcceptInvitationRequest struct {
	Data DidCommV2AcceptInvitationRequestData `json:"data"`
}

type DidCommV2AcceptInvitationRequestData added in v0.1.68

type DidCommV2AcceptInvitationRequestData struct {
	Invitation map[string]interface{} `json:"invitation,omitempty"`
}

type DidCommV2CreateInvitation200Response added in v0.1.68

type DidCommV2CreateInvitation200Response struct {
	Invitation map[string]interface{} `json:"invitation"`
}

type DidCommV2CreateInvitationRequest added in v0.1.68

type DidCommV2CreateInvitationRequest struct {
	Data DidCommV2CreateInvitationRequestData `json:"data,omitempty"`
}

type DidCommV2CreateInvitationRequestData added in v0.1.68

type DidCommV2CreateInvitationRequestData struct {
	GoalCode string `json:"goal-code,omitempty"`
}

type DidExchangeCreateRequestResolvableDidRequest added in v0.1.68

type DidExchangeCreateRequestResolvableDidRequest struct {
	Data DidExchangeCreateRequestResolvableDidRequestData `json:"data"`
}

type DidExchangeCreateRequestResolvableDidRequestData added in v0.1.68

type DidExchangeCreateRequestResolvableDidRequestData struct {
	TheirPublicDid string `json:"their_public_did"`

	TheirDid string `json:"their_did"`
}

type DidExchangeGetById200Response added in v0.1.68

type DidExchangeGetById200Response struct {
	ConnectionId string `json:"connection_id"`

	State DidExchangeState `json:"state"`
}

type DidExchangeGetByInvitationId200Response added in v0.1.68

type DidExchangeGetByInvitationId200Response struct {
	ConnectionId string `json:"connection_id,omitempty"`
}

type DidExchangeReceiveRequestResolvableDidRequest added in v0.1.68

type DidExchangeReceiveRequestResolvableDidRequest struct {
	Data map[string]interface{} `json:"data"`
}

type DidExchangeState added in v0.1.68

type DidExchangeState string

DidExchangeState : All possible did exchange state values

const (
	DID_EXCHANGE_START               DidExchangeState = "start"
	DID_EXCHANGE_INVITATION_SENT     DidExchangeState = "invitation-sent"
	DID_EXCHANGE_INVITATION_RECEIVED DidExchangeState = "invitation-received"
	DID_EXCHANGE_REQUEST_SENT        DidExchangeState = "request-sent"
	DID_EXCHANGE_REQUEST_RECEIVED    DidExchangeState = "request-received"
	DID_EXCHANGE_RESPONSE_SENT       DidExchangeState = "response-sent"
	DID_EXCHANGE_RESPONSE_RECEIVED   DidExchangeState = "response-received"
	DID_EXCHANGE_ABANDONED           DidExchangeState = "abandoned"
	DID_EXCHANGE_COMPLETED           DidExchangeState = "completed"
)

List of DidExchangeState

type DidGetPublic200Response added in v0.1.68

type DidGetPublic200Response struct {
	Did string `json:"did,omitempty"`

	Verkey string `json:"verkey,omitempty"`
}

type ErrorHandler added in v0.1.68

type ErrorHandler func(w http.ResponseWriter, r *http.Request, err error, result *ImplResponse)

ErrorHandler defines the required method for handling error. You may implement it and inject this into a controller if you would like errors to be handled differently from the DefaultErrorHandler

type ImplResponse

type ImplResponse struct {
	Code int
	Body interface{}
}

ImplResponse response defines an error code with the associated body

func Response

func Response(code int, body interface{}) ImplResponse

Response return a ImplResponse struct filled

type IndyCredential added in v0.1.68

type IndyCredential struct {
	Referent string `json:"referent"`

	SchemaId string `json:"schema_id"`

	CredDefId string `json:"cred_def_id"`
}

IndyCredential - Expected response for an Indy credential

type IssueCredentialApiController

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

IssueCredentialApiController binds http requests to an api service and writes the service results to the http response

func (*IssueCredentialApiController) IssueCredentialCreateOffer added in v0.1.68

func (c *IssueCredentialApiController) IssueCredentialCreateOffer(w http.ResponseWriter, r *http.Request)

IssueCredentialCreateOffer - Create credential offer.

func (*IssueCredentialApiController) IssueCredentialGetByThreadId

func (c *IssueCredentialApiController) IssueCredentialGetByThreadId(w http.ResponseWriter, r *http.Request)

IssueCredentialGetByThreadId - Get credential exchange record by thread id

func (*IssueCredentialApiController) IssueCredentialIssue

func (c *IssueCredentialApiController) IssueCredentialIssue(w http.ResponseWriter, r *http.Request)

IssueCredentialIssue - Issue Credential

func (*IssueCredentialApiController) IssueCredentialSendOffer

func (c *IssueCredentialApiController) IssueCredentialSendOffer(w http.ResponseWriter, r *http.Request)

IssueCredentialSendOffer - Send credential offer

func (*IssueCredentialApiController) IssueCredentialSendProposal

func (c *IssueCredentialApiController) IssueCredentialSendProposal(w http.ResponseWriter, r *http.Request)

IssueCredentialSendProposal - Send credential proposal

func (*IssueCredentialApiController) IssueCredentialSendRequest

func (c *IssueCredentialApiController) IssueCredentialSendRequest(w http.ResponseWriter, r *http.Request)

IssueCredentialSendRequest - Send credential request

func (*IssueCredentialApiController) IssueCredentialStore

func (c *IssueCredentialApiController) IssueCredentialStore(w http.ResponseWriter, r *http.Request)

IssueCredentialStore - Store Credential

func (*IssueCredentialApiController) Routes

Routes returns all the api routes for the IssueCredentialApiController

type IssueCredentialApiOption added in v0.1.68

type IssueCredentialApiOption func(*IssueCredentialApiController)

IssueCredentialApiOption for how the controller is set up.

func WithIssueCredentialApiErrorHandler added in v0.1.68

func WithIssueCredentialApiErrorHandler(h ErrorHandler) IssueCredentialApiOption

WithIssueCredentialApiErrorHandler inject ErrorHandler into controller

type IssueCredentialApiRouter

type IssueCredentialApiRouter interface {
	IssueCredentialCreateOffer(http.ResponseWriter, *http.Request)
	IssueCredentialGetByThreadId(http.ResponseWriter, *http.Request)
	IssueCredentialIssue(http.ResponseWriter, *http.Request)
	IssueCredentialSendOffer(http.ResponseWriter, *http.Request)
	IssueCredentialSendProposal(http.ResponseWriter, *http.Request)
	IssueCredentialSendRequest(http.ResponseWriter, *http.Request)
	IssueCredentialStore(http.ResponseWriter, *http.Request)
}

IssueCredentialApiRouter defines the required methods for binding the api requests to a responses for the IssueCredentialApi The IssueCredentialApiRouter implementation should parse necessary information from the http request, pass the data to a IssueCredentialApiServicer to perform the required actions, then write the service results to the http response.

type IssueCredentialApiService

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

IssueCredentialApiService is a service that implements the logic for the IssueCredentialApiServicer This service should implement the business logic for every endpoint for the IssueCredentialApi API. Include any external packages or services that will be required by this service.

func (*IssueCredentialApiService) IssueCredentialCreateOffer added in v0.1.68

func (s *IssueCredentialApiService) IssueCredentialCreateOffer(ctx context.Context, issueCredentialCreateOfferRequest IssueCredentialCreateOfferRequest) (ImplResponse, error)

IssueCredentialCreateOffer - Create credential offer.

func (*IssueCredentialApiService) IssueCredentialGetByThreadId

func (s *IssueCredentialApiService) IssueCredentialGetByThreadId(ctx context.Context, credentialExchangeThreadId string) (ImplResponse, error)

IssueCredentialGetByThreadId - Get credential exchange record by thread id

func (*IssueCredentialApiService) IssueCredentialIssue

func (s *IssueCredentialApiService) IssueCredentialIssue(ctx context.Context, issueCredentialIssueRequest IssueCredentialIssueRequest) (ImplResponse, error)

IssueCredentialIssue - Issue Credential

func (*IssueCredentialApiService) IssueCredentialSendOffer

func (s *IssueCredentialApiService) IssueCredentialSendOffer(ctx context.Context, issueCredentialSendOfferRequest IssueCredentialSendOfferRequest) (r ImplResponse, err error)

IssueCredentialSendOffer - Send credential offer

func (*IssueCredentialApiService) IssueCredentialSendProposal

func (s *IssueCredentialApiService) IssueCredentialSendProposal(ctx context.Context, issueCredentialSendProposalRequest IssueCredentialSendProposalRequest) (ImplResponse, error)

IssueCredentialSendProposal - Send credential proposal

func (*IssueCredentialApiService) IssueCredentialSendRequest

func (s *IssueCredentialApiService) IssueCredentialSendRequest(ctx context.Context, issueCredentialSendRequestRequest IssueCredentialSendRequestRequest) (ImplResponse, error)

IssueCredentialSendRequest - Send credential request

func (*IssueCredentialApiService) IssueCredentialStore

func (s *IssueCredentialApiService) IssueCredentialStore(ctx context.Context, issueCredentialStoreRequest IssueCredentialStoreRequest) (ImplResponse, error)

IssueCredentialStore - Store Credential

type IssueCredentialApiServicer

type IssueCredentialApiServicer interface {
	IssueCredentialCreateOffer(context.Context, IssueCredentialCreateOfferRequest) (ImplResponse, error)
	IssueCredentialGetByThreadId(context.Context, string) (ImplResponse, error)
	IssueCredentialIssue(context.Context, IssueCredentialIssueRequest) (ImplResponse, error)
	IssueCredentialSendOffer(context.Context, IssueCredentialSendOfferRequest) (ImplResponse, error)
	IssueCredentialSendProposal(context.Context, IssueCredentialSendProposalRequest) (ImplResponse, error)
	IssueCredentialSendRequest(context.Context, IssueCredentialSendRequestRequest) (ImplResponse, error)
	IssueCredentialStore(context.Context, IssueCredentialStoreRequest) (ImplResponse, error)
}

IssueCredentialApiServicer defines the api actions for the IssueCredentialApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewIssueCredentialApiService

func NewIssueCredentialApiService(a *agent.Agent) IssueCredentialApiServicer

NewIssueCredentialApiService creates a default api service

type IssueCredentialCreateOffer200Response added in v0.1.68

type IssueCredentialCreateOffer200Response struct {
	Message map[string]interface{} `json:"message,omitempty"`

	Record IssueCredentialCreateOffer200ResponseRecord `json:"record,omitempty"`
}

type IssueCredentialCreateOffer200ResponseRecord added in v0.1.68

type IssueCredentialCreateOffer200ResponseRecord struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id,omitempty"`
}

type IssueCredentialCreateOffer200ResponseRecordAllOf added in v0.1.68

type IssueCredentialCreateOffer200ResponseRecordAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type IssueCredentialCreateOfferRequest added in v0.1.68

type IssueCredentialCreateOfferRequest struct {
	Data CreateOfferToStartCredentialIssuanceFlowData `json:"data"`
}

type IssueCredentialIssue200Response added in v0.1.68

type IssueCredentialIssue200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id,omitempty"`
}

type IssueCredentialIssue200ResponseAllOf added in v0.1.68

type IssueCredentialIssue200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type IssueCredentialIssueRequest added in v0.1.6

type IssueCredentialIssueRequest struct {
	Id string `json:"id"`

	Data IssueCredentialIssueRequestData `json:"data,omitempty"`
}

type IssueCredentialIssueRequestData added in v0.1.68

type IssueCredentialIssueRequestData struct {
	CredentialPreview CredentialPreview `json:"credential_preview,omitempty"`
	Comment           string            `json:"comment,omitempty"`
}

type IssueCredentialOperationResponse

type IssueCredentialOperationResponse struct {
	State IssueCredentialState `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id,omitempty"`
}

type IssueCredentialSendOfferRequest added in v0.1.68

type IssueCredentialSendOfferRequest struct {
	Data SendOfferToStartCredentialIssuanceFlowData `json:"data"`

	Id string `json:"id"`
}

type IssueCredentialSendProposal200Response added in v0.1.68

type IssueCredentialSendProposal200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id,omitempty"`
}

type IssueCredentialSendProposal200ResponseAllOf added in v0.1.68

type IssueCredentialSendProposal200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type IssueCredentialSendProposalRequest added in v0.1.68

type IssueCredentialSendProposalRequest struct {
	Data IssueCredentialSendProposalRequestData `json:"data"`
}

type IssueCredentialSendProposalRequestData added in v0.1.68

type IssueCredentialSendProposalRequestData struct {
	Comment string `json:"comment,omitempty"`

	CredentialProposal CredentialPreview `json:"credential_proposal,omitempty"`

	SchemaIssuerDid string `json:"schema_issuer_did,omitempty"`

	SchemaId string `json:"schema_id,omitempty"`

	SchemaName string `json:"schema_name,omitempty"`

	SchemaVersion string `json:"schema_version,omitempty"`

	CredDefId string `json:"cred_def_id,omitempty"`

	IssuerDid string `json:"issuer_did,omitempty"`

	ConnectionId string `json:"connection_id"`
}

type IssueCredentialSendRequest200Response added in v0.1.68

type IssueCredentialSendRequest200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id,omitempty"`
}

type IssueCredentialSendRequest200ResponseAllOf added in v0.1.68

type IssueCredentialSendRequest200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type IssueCredentialSendRequestRequest added in v0.1.68

type IssueCredentialSendRequestRequest struct {
	Id string `json:"id"`
}

type IssueCredentialState

type IssueCredentialState string

IssueCredentialState : All possible issue credential state values

const (
	ISSUE_CREDENTIAL_PROPOSAL_SENT       IssueCredentialState = "proposal-sent"
	ISSUE_CREDENTIAL_PROPOSAL_RECEIVED   IssueCredentialState = "proposal-received"
	ISSUE_CREDENTIAL_OFFER_SENT          IssueCredentialState = "offer-sent"
	ISSUE_CREDENTIAL_OFFER_RECEIVED      IssueCredentialState = "offer-received"
	ISSUE_CREDENTIAL_REQUEST_SENT        IssueCredentialState = "request-sent"
	ISSUE_CREDENTIAL_REQUEST_RECEIVED    IssueCredentialState = "request-received"
	ISSUE_CREDENTIAL_CREDENTIAL_ISSUED   IssueCredentialState = "credential-issued"
	ISSUE_CREDENTIAL_CREDENTIAL_RECEIVED IssueCredentialState = "credential-received"
	ISSUE_CREDENTIAL_DONE                IssueCredentialState = "done"
)

List of IssueCredentialState

type IssueCredentialStore200Response added in v0.1.68

type IssueCredentialStore200Response struct {

	//State *interface{} `json:"state"`
	State IssueCredentialState `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id"`
}

type IssueCredentialStore200ResponseAllOf added in v0.1.68

type IssueCredentialStore200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type IssueCredentialStoreRequest

type IssueCredentialStoreRequest struct {
	Id   string                          `json:"id"`
	Data IssueCredentialStoreRequestData `json:"data"`
}

type IssueCredentialStoreRequestData added in v0.1.68

type IssueCredentialStoreRequestData struct {
	CredentialId string `json:"credential_id"`
}

type IssueCredentialV2ApiController

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

IssueCredentialV2ApiController binds http requests to an api service and writes the service results to the http response

func (*IssueCredentialV2ApiController) IssueCredentialV2CreateOffer added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2CreateOffer(w http.ResponseWriter, r *http.Request)

IssueCredentialV2CreateOffer - Create credential offer

func (*IssueCredentialV2ApiController) IssueCredentialV2GetByThreadId added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2GetByThreadId(w http.ResponseWriter, r *http.Request)

IssueCredentialV2GetByThreadId - Get credential exchange v2 record by thread id

func (*IssueCredentialV2ApiController) IssueCredentialV2Issue added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2Issue(w http.ResponseWriter, r *http.Request)

IssueCredentialV2Issue - Issue Credential

func (*IssueCredentialV2ApiController) IssueCredentialV2PrepareJsonLD

func (c *IssueCredentialV2ApiController) IssueCredentialV2PrepareJsonLD(w http.ResponseWriter, r *http.Request)

IssueCredentialV2PrepareJsonLD - Prepare for issuing a JSON-LD credential (RFC0593)

func (*IssueCredentialV2ApiController) IssueCredentialV2SendOffer added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2SendOffer(w http.ResponseWriter, r *http.Request)

IssueCredentialV2SendOffer - Send credential offer

func (*IssueCredentialV2ApiController) IssueCredentialV2SendProposal added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2SendProposal(w http.ResponseWriter, r *http.Request)

IssueCredentialV2SendProposal - Send credential proposal

func (*IssueCredentialV2ApiController) IssueCredentialV2SendRequest added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2SendRequest(w http.ResponseWriter, r *http.Request)

IssueCredentialV2SendRequest - Send credential request

func (*IssueCredentialV2ApiController) IssueCredentialV2Store added in v0.1.68

func (c *IssueCredentialV2ApiController) IssueCredentialV2Store(w http.ResponseWriter, r *http.Request)

IssueCredentialV2Store - Store Credential

func (*IssueCredentialV2ApiController) Routes

Routes returns all the api routes for the IssueCredentialV2ApiController

type IssueCredentialV2ApiOption added in v0.1.68

type IssueCredentialV2ApiOption func(*IssueCredentialV2ApiController)

IssueCredentialV2ApiOption for how the controller is set up.

func WithIssueCredentialV2ApiErrorHandler added in v0.1.68

func WithIssueCredentialV2ApiErrorHandler(h ErrorHandler) IssueCredentialV2ApiOption

WithIssueCredentialV2ApiErrorHandler inject ErrorHandler into controller

type IssueCredentialV2ApiRouter

type IssueCredentialV2ApiRouter interface {
	IssueCredentialV2CreateOffer(http.ResponseWriter, *http.Request)
	IssueCredentialV2GetByThreadId(http.ResponseWriter, *http.Request)
	IssueCredentialV2Issue(http.ResponseWriter, *http.Request)
	IssueCredentialV2PrepareJsonLD(http.ResponseWriter, *http.Request)
	IssueCredentialV2SendOffer(http.ResponseWriter, *http.Request)
	IssueCredentialV2SendProposal(http.ResponseWriter, *http.Request)
	IssueCredentialV2SendRequest(http.ResponseWriter, *http.Request)
	IssueCredentialV2Store(http.ResponseWriter, *http.Request)
}

IssueCredentialV2ApiRouter defines the required methods for binding the api requests to a responses for the IssueCredentialV2Api The IssueCredentialV2ApiRouter implementation should parse necessary information from the http request, pass the data to a IssueCredentialV2ApiServicer to perform the required actions, then write the service results to the http response.

type IssueCredentialV2ApiService

type IssueCredentialV2ApiService struct {
}

IssueCredentialV2ApiService is a service that implements the logic for the IssueCredentialV2ApiServicer This service should implement the business logic for every endpoint for the IssueCredentialV2Api API. Include any external packages or services that will be required by this service.

func (*IssueCredentialV2ApiService) IssueCredentialV2CreateOffer added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2CreateOffer(ctx context.Context, createOfferToStartCredentialIssuanceFlow1 CreateOfferToStartCredentialIssuanceFlow1) (ImplResponse, error)

IssueCredentialV2CreateOffer - Create credential offer

func (*IssueCredentialV2ApiService) IssueCredentialV2GetByThreadId added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2GetByThreadId(ctx context.Context, credentialExchangeThreadId string) (ImplResponse, error)

IssueCredentialV2GetByThreadId - Get credential exchange v2 record by thread id

func (*IssueCredentialV2ApiService) IssueCredentialV2Issue added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2Issue(ctx context.Context, issueCredentialIssueRequest IssueCredentialIssueRequest) (ImplResponse, error)

IssueCredentialV2Issue - Issue Credential

func (*IssueCredentialV2ApiService) IssueCredentialV2PrepareJsonLD

func (s *IssueCredentialV2ApiService) IssueCredentialV2PrepareJsonLD(ctx context.Context, issueCredentialV2PrepareJsonLdRequest IssueCredentialV2PrepareJsonLdRequest) (ImplResponse, error)

IssueCredentialV2PrepareJsonLD - Prepare for issuing a JSON-LD credential (RFC0593)

func (*IssueCredentialV2ApiService) IssueCredentialV2SendOffer added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2SendOffer(ctx context.Context, issueCredentialV2SendOfferRequest IssueCredentialV2SendOfferRequest) (ImplResponse, error)

IssueCredentialV2SendOffer - Send credential offer

func (*IssueCredentialV2ApiService) IssueCredentialV2SendProposal added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2SendProposal(ctx context.Context, issueCredentialV2SendProposalRequest IssueCredentialV2SendProposalRequest) (ImplResponse, error)

IssueCredentialV2SendProposal - Send credential proposal

func (*IssueCredentialV2ApiService) IssueCredentialV2SendRequest added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2SendRequest(ctx context.Context, issueCredentialV2SendRequestRequest IssueCredentialV2SendRequestRequest) (ImplResponse, error)

IssueCredentialV2SendRequest - Send credential request

func (*IssueCredentialV2ApiService) IssueCredentialV2Store added in v0.1.68

func (s *IssueCredentialV2ApiService) IssueCredentialV2Store(ctx context.Context, issueCredentialStoreRequest IssueCredentialStoreRequest) (ImplResponse, error)

IssueCredentialV2Store - Store Credential

type IssueCredentialV2ApiServicer

type IssueCredentialV2ApiServicer interface {
	IssueCredentialV2CreateOffer(context.Context, CreateOfferToStartCredentialIssuanceFlow1) (ImplResponse, error)
	IssueCredentialV2GetByThreadId(context.Context, string) (ImplResponse, error)
	IssueCredentialV2Issue(context.Context, IssueCredentialIssueRequest) (ImplResponse, error)
	IssueCredentialV2PrepareJsonLD(context.Context, IssueCredentialV2PrepareJsonLdRequest) (ImplResponse, error)
	IssueCredentialV2SendOffer(context.Context, IssueCredentialV2SendOfferRequest) (ImplResponse, error)
	IssueCredentialV2SendProposal(context.Context, IssueCredentialV2SendProposalRequest) (ImplResponse, error)
	IssueCredentialV2SendRequest(context.Context, IssueCredentialV2SendRequestRequest) (ImplResponse, error)
	IssueCredentialV2Store(context.Context, IssueCredentialStoreRequest) (ImplResponse, error)
}

IssueCredentialV2ApiServicer defines the api actions for the IssueCredentialV2Api service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewIssueCredentialV2ApiService

func NewIssueCredentialV2ApiService() IssueCredentialV2ApiServicer

NewIssueCredentialV2ApiService creates a default api service

type IssueCredentialV2AttachFormatIndyCredFilter added in v0.1.68

type IssueCredentialV2AttachFormatIndyCredFilter struct {
	SchemaIssuerDid string `json:"schema_issuer_did,omitempty"`

	SchemaId string `json:"schema_id,omitempty"`

	SchemaName string `json:"schema_name,omitempty"`

	SchemaVersion string `json:"schema_version,omitempty"`

	CredDefId string `json:"cred_def_id,omitempty"`

	IssuerDid string `json:"issuer_did,omitempty"`
}

type IssueCredentialV2CreateOffer200Response added in v0.1.68

type IssueCredentialV2CreateOffer200Response struct {
	Message map[string]interface{} `json:"message,omitempty"`

	Record IssueCredentialCreateOffer200ResponseRecord `json:"record,omitempty"`
}

type IssueCredentialV2CredentialProposalFilter added in v0.1.68

type IssueCredentialV2CredentialProposalFilter struct {
	Indy IssueCredentialV2AttachFormatIndyCredFilter `json:"indy,omitempty"`

	JsonLd map[string]interface{} `json:"json-ld,omitempty"`
}

type IssueCredentialV2PrepareJsonLd200Response added in v0.1.68

type IssueCredentialV2PrepareJsonLd200Response struct {
	Did string `json:"did"`
}

type IssueCredentialV2PrepareJsonLdRequest added in v0.1.68

type IssueCredentialV2PrepareJsonLdRequest struct {
	DidMethod string `json:"did_method"`

	ProofType string `json:"proof_type"`
}

type IssueCredentialV2SendOfferRequest added in v0.1.68

type IssueCredentialV2SendOfferRequest struct {
	Data IssueCredentialV2SendProposalRequestData `json:"data"`

	Id string `json:"id"`
}

type IssueCredentialV2SendProposalRequest added in v0.1.68

type IssueCredentialV2SendProposalRequest struct {
	Data IssueCredentialV2SendProposalRequestData `json:"data"`
}

type IssueCredentialV2SendProposalRequestData added in v0.1.68

type IssueCredentialV2SendProposalRequestData struct {
	ConnectionId string `json:"connection_id"`

	CredentialPreview IssueCredentialV2SendProposalRequestDataCredentialPreview `json:"credential_preview,omitempty"`

	Filter IssueCredentialV2CredentialProposalFilter `json:"filter"`
}

type IssueCredentialV2SendProposalRequestDataCredentialPreview added in v0.1.68

type IssueCredentialV2SendProposalRequestDataCredentialPreview struct {
	Type *interface{} `json:"@type"`

	Attributes []CredentialPreviewAttributesInner `json:"attributes"`
}

type IssueCredentialV2SendProposalRequestDataCredentialPreviewAllOf added in v0.1.68

type IssueCredentialV2SendProposalRequestDataCredentialPreviewAllOf struct {
	Type *interface{} `json:"@type,omitempty"`
}

type IssueCredentialV2SendRequestRequest added in v0.1.68

type IssueCredentialV2SendRequestRequest struct {
	Id string `json:"id"`
}

type IssueCredentialV2Store200Response added in v0.1.68

type IssueCredentialV2Store200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`

	CredentialId string `json:"credential_id,omitempty"`

	Indy IssueCredentialV2Store200ResponseAllOfIndy `json:"indy"`

	JsonLd IssueCredentialV2Store200ResponseAllOfIndy `json:"json-ld"`
}

type IssueCredentialV2Store200ResponseAllOf added in v0.1.68

type IssueCredentialV2Store200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`

	Indy IssueCredentialV2Store200ResponseAllOfIndy `json:"indy"`

	JsonLd IssueCredentialV2Store200ResponseAllOfIndy `json:"json-ld"`
}

type IssueCredentialV2Store200ResponseAllOfIndy added in v0.1.68

type IssueCredentialV2Store200ResponseAllOfIndy struct {
	CredentialId string `json:"credential_id"`
}

type IssueCredentialV3ApiController added in v0.1.68

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

IssueCredentialV3ApiController binds http requests to an api service and writes the service results to the http response

func (*IssueCredentialV3ApiController) IssueCredentialV3Issue added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3Issue(w http.ResponseWriter, r *http.Request)

IssueCredentialV3Issue - Issue credential

func (*IssueCredentialV3ApiController) IssueCredentialV3RetrieveCredentialApplication added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3RetrieveCredentialApplication(w http.ResponseWriter, r *http.Request)

IssueCredentialV3RetrieveCredentialApplication - Retrieves the Credential Application object received by the agent.

func (*IssueCredentialV3ApiController) IssueCredentialV3RetrieveCredentialProposal added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3RetrieveCredentialProposal(w http.ResponseWriter, r *http.Request)

IssueCredentialV3RetrieveCredentialProposal - Retrieves the Propose Credential object received by the agent.

func (*IssueCredentialV3ApiController) IssueCredentialV3SendOffer added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3SendOffer(w http.ResponseWriter, r *http.Request)

IssueCredentialV3SendOffer - Send credential offer

func (*IssueCredentialV3ApiController) IssueCredentialV3SendProposal added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3SendProposal(w http.ResponseWriter, r *http.Request)

IssueCredentialV3SendProposal - Send credential proposal

func (*IssueCredentialV3ApiController) IssueCredentialV3SendRequest added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3SendRequest(w http.ResponseWriter, r *http.Request)

IssueCredentialV3SendRequest - Send credential request

func (*IssueCredentialV3ApiController) IssueCredentialV3Store added in v0.1.68

func (c *IssueCredentialV3ApiController) IssueCredentialV3Store(w http.ResponseWriter, r *http.Request)

IssueCredentialV3Store - Store/accept credential

func (*IssueCredentialV3ApiController) Routes added in v0.1.68

Routes returns all the api routes for the IssueCredentialV3ApiController

type IssueCredentialV3ApiOption added in v0.1.68

type IssueCredentialV3ApiOption func(*IssueCredentialV3ApiController)

IssueCredentialV3ApiOption for how the controller is set up.

func WithIssueCredentialV3ApiErrorHandler added in v0.1.68

func WithIssueCredentialV3ApiErrorHandler(h ErrorHandler) IssueCredentialV3ApiOption

WithIssueCredentialV3ApiErrorHandler inject ErrorHandler into controller

type IssueCredentialV3ApiRouter added in v0.1.68

type IssueCredentialV3ApiRouter interface {
	IssueCredentialV3Issue(http.ResponseWriter, *http.Request)
	IssueCredentialV3RetrieveCredentialApplication(http.ResponseWriter, *http.Request)
	IssueCredentialV3RetrieveCredentialProposal(http.ResponseWriter, *http.Request)
	IssueCredentialV3SendOffer(http.ResponseWriter, *http.Request)
	IssueCredentialV3SendProposal(http.ResponseWriter, *http.Request)
	IssueCredentialV3SendRequest(http.ResponseWriter, *http.Request)
	IssueCredentialV3Store(http.ResponseWriter, *http.Request)
}

IssueCredentialV3ApiRouter defines the required methods for binding the api requests to a responses for the IssueCredentialV3Api The IssueCredentialV3ApiRouter implementation should parse necessary information from the http request, pass the data to a IssueCredentialV3ApiServicer to perform the required actions, then write the service results to the http response.

type IssueCredentialV3ApiService added in v0.1.68

type IssueCredentialV3ApiService struct {
}

IssueCredentialV3ApiService is a service that implements the logic for the IssueCredentialV3ApiServicer This service should implement the business logic for every endpoint for the IssueCredentialV3Api API. Include any external packages or services that will be required by this service.

func (*IssueCredentialV3ApiService) IssueCredentialV3Issue added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3Issue(ctx context.Context, issueCredentialV3IssueRequest IssueCredentialV3IssueRequest) (ImplResponse, error)

IssueCredentialV3Issue - Issue credential

func (*IssueCredentialV3ApiService) IssueCredentialV3RetrieveCredentialApplication added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3RetrieveCredentialApplication(ctx context.Context) (ImplResponse, error)

IssueCredentialV3RetrieveCredentialApplication - Retrieves the Credential Application object received by the agent.

func (*IssueCredentialV3ApiService) IssueCredentialV3RetrieveCredentialProposal added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3RetrieveCredentialProposal(ctx context.Context) (ImplResponse, error)

IssueCredentialV3RetrieveCredentialProposal - Retrieves the Propose Credential object received by the agent.

func (*IssueCredentialV3ApiService) IssueCredentialV3SendOffer added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3SendOffer(ctx context.Context, body map[string]interface{}) (ImplResponse, error)

IssueCredentialV3SendOffer - Send credential offer

func (*IssueCredentialV3ApiService) IssueCredentialV3SendProposal added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3SendProposal(ctx context.Context, issueCredentialV3SendProposalRequest IssueCredentialV3SendProposalRequest) (ImplResponse, error)

IssueCredentialV3SendProposal - Send credential proposal

func (*IssueCredentialV3ApiService) IssueCredentialV3SendRequest added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3SendRequest(ctx context.Context, body map[string]interface{}) (ImplResponse, error)

IssueCredentialV3SendRequest - Send credential request

func (*IssueCredentialV3ApiService) IssueCredentialV3Store added in v0.1.68

func (s *IssueCredentialV3ApiService) IssueCredentialV3Store(ctx context.Context, issueCredentialStoreRequest IssueCredentialStoreRequest) (ImplResponse, error)

IssueCredentialV3Store - Store/accept credential

type IssueCredentialV3ApiServicer added in v0.1.68

type IssueCredentialV3ApiServicer interface {
	IssueCredentialV3Issue(context.Context, IssueCredentialV3IssueRequest) (ImplResponse, error)
	IssueCredentialV3RetrieveCredentialApplication(context.Context) (ImplResponse, error)
	IssueCredentialV3RetrieveCredentialProposal(context.Context) (ImplResponse, error)
	IssueCredentialV3SendOffer(context.Context, map[string]interface{}) (ImplResponse, error)
	IssueCredentialV3SendProposal(context.Context, IssueCredentialV3SendProposalRequest) (ImplResponse, error)
	IssueCredentialV3SendRequest(context.Context, map[string]interface{}) (ImplResponse, error)
	IssueCredentialV3Store(context.Context, IssueCredentialStoreRequest) (ImplResponse, error)
}

IssueCredentialV3ApiServicer defines the api actions for the IssueCredentialV3Api service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewIssueCredentialV3ApiService added in v0.1.68

func NewIssueCredentialV3ApiService() IssueCredentialV3ApiServicer

NewIssueCredentialV3ApiService creates a default api service

type IssueCredentialV3IssueRequest added in v0.1.68

type IssueCredentialV3IssueRequest struct {
	Id string `json:"id"`

	Data map[string]interface{} `json:"data,omitempty"`
}

type IssueCredentialV3SendProposalRequest added in v0.1.68

type IssueCredentialV3SendProposalRequest struct {
	Data IssueCredentialV3SendProposalRequestData `json:"data"`
}

type IssueCredentialV3SendProposalRequestData added in v0.1.68

type IssueCredentialV3SendProposalRequestData struct {
	ConnectionId string `json:"connection_id"`

	Pthid string `json:"pthid"`
}

type OutOfBandApiController added in v0.1.68

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

OutOfBandApiController binds http requests to an api service and writes the service results to the http response

func (*OutOfBandApiController) OutOfBandCreateInvitation added in v0.1.68

func (c *OutOfBandApiController) OutOfBandCreateInvitation(w http.ResponseWriter, r *http.Request)

OutOfBandCreateInvitation - Create a new out of band invitation

func (*OutOfBandApiController) OutOfBandReceiveInvitation added in v0.1.68

func (c *OutOfBandApiController) OutOfBandReceiveInvitation(w http.ResponseWriter, r *http.Request)

OutOfBandReceiveInvitation - Receive an out of band invitation

func (*OutOfBandApiController) Routes added in v0.1.68

func (c *OutOfBandApiController) Routes() Routes

Routes returns all the api routes for the OutOfBandApiController

type OutOfBandApiOption added in v0.1.68

type OutOfBandApiOption func(*OutOfBandApiController)

OutOfBandApiOption for how the controller is set up.

func WithOutOfBandApiErrorHandler added in v0.1.68

func WithOutOfBandApiErrorHandler(h ErrorHandler) OutOfBandApiOption

WithOutOfBandApiErrorHandler inject ErrorHandler into controller

type OutOfBandApiRouter added in v0.1.68

type OutOfBandApiRouter interface {
	OutOfBandCreateInvitation(http.ResponseWriter, *http.Request)
	OutOfBandReceiveInvitation(http.ResponseWriter, *http.Request)
}

OutOfBandApiRouter defines the required methods for binding the api requests to a responses for the OutOfBandApi The OutOfBandApiRouter implementation should parse necessary information from the http request, pass the data to a OutOfBandApiServicer to perform the required actions, then write the service results to the http response.

type OutOfBandApiService added in v0.1.68

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

OutOfBandApiService is a service that implements the logic for the OutOfBandApiServicer This service should implement the business logic for every endpoint for the OutOfBandApi API. Include any external packages or services that will be required by this service.

func (*OutOfBandApiService) OutOfBandCreateInvitation added in v0.1.68

func (s *OutOfBandApiService) OutOfBandCreateInvitation(ctx context.Context, outOfBandCreateInvitationRequest OutOfBandCreateInvitationRequest) (ImplResponse, error)

OutOfBandCreateInvitation - Create a new out of band invitation

func (*OutOfBandApiService) OutOfBandReceiveInvitation added in v0.1.68

func (s *OutOfBandApiService) OutOfBandReceiveInvitation(ctx context.Context, outOfBandReceiveInvitationRequest OutOfBandReceiveInvitationRequest) (ImplResponse, error)

OutOfBandReceiveInvitation - Receive an out of band invitation

type OutOfBandApiServicer added in v0.1.68

type OutOfBandApiServicer interface {
	OutOfBandCreateInvitation(context.Context, OutOfBandCreateInvitationRequest) (ImplResponse, error)
	OutOfBandReceiveInvitation(context.Context, OutOfBandReceiveInvitationRequest) (ImplResponse, error)
}

OutOfBandApiServicer defines the api actions for the OutOfBandApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewOutOfBandApiService added in v0.1.68

func NewOutOfBandApiService(a *agent.Agent) OutOfBandApiServicer

NewOutOfBandApiService creates a default api service

type OutOfBandCreateInvitation200Response added in v0.1.68

type OutOfBandCreateInvitation200Response struct {
	ConnectionId string `json:"connection_id,omitempty"`

	State DidExchangeState `json:"state"`

	Invitation map[string]interface{} `json:"invitation"`
}

type OutOfBandCreateInvitationRequest added in v0.1.68

type OutOfBandCreateInvitationRequest struct {
	Data OutOfBandCreateInvitationRequestData `json:"data"`
}

type OutOfBandCreateInvitationRequestData added in v0.1.68

type OutOfBandCreateInvitationRequestData struct {
	MediatorConnectionId string `json:"mediator_connection_id,omitempty"`

	UsePublicDid bool `json:"use_public_did,omitempty"`

	Attachments []map[string]interface{} `json:"attachments,omitempty"`

	HandshakeProtocols []string `json:"handshake_protocols,omitempty"`
}

type OutOfBandReceiveInvitation200Response added in v0.1.68

type OutOfBandReceiveInvitation200Response struct {
	ConnectionId string `json:"connection_id"`

	State DidExchangeState `json:"state"`
}

type OutOfBandReceiveInvitationRequest added in v0.1.68

type OutOfBandReceiveInvitationRequest struct {
	Data OutOfBandReceiveInvitationRequestData `json:"data"`
}

type OutOfBandReceiveInvitationRequestData added in v0.1.68

type OutOfBandReceiveInvitationRequestData struct {
	Type               string                                         `json:"@type,omitempty"`
	InvitationId       string                                         `json:"@id,omitempty"`
	HandshakeProtocols []string                                       `json:"handshake_protocols,omitempty"`
	Label              string                                         `json:"label,omitempty"`
	Services           []OutOfBandReceiveInvitationRequestDataService `json:"services,omitempty"`

	UseExistingConnection bool `json:"use_existing_connection"`

	MediatorConnectionId string `json:"mediator_connection_id,omitempty"`
}

type OutOfBandReceiveInvitationRequestDataAllOf added in v0.1.68

type OutOfBandReceiveInvitationRequestDataAllOf struct {
	UseExistingConnection bool `json:"use_existing_connection"`

	MediatorConnectionId string `json:"mediator_connection_id,omitempty"`
}

type OutOfBandReceiveInvitationRequestDataService added in v0.2.13

type OutOfBandReceiveInvitationRequestDataService struct {
	ID              string   `json:"id,omitempty"`
	Type            string   `json:"type,omitempty"`
	RecipientKeys   []string `json:"recipientKeys,omitempty"`
	ServiceEndpoint string   `json:"serviceEndpoint,omitempty"`
}

type OutOfBandV2ApiController added in v0.1.68

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

OutOfBandV2ApiController binds http requests to an api service and writes the service results to the http response

func (*OutOfBandV2ApiController) DIDCommV2AcceptInvitation added in v0.1.68

func (c *OutOfBandV2ApiController) DIDCommV2AcceptInvitation(w http.ResponseWriter, r *http.Request)

DIDCommV2AcceptInvitation - Accept a DIDComm V2 out of band invitation

func (*OutOfBandV2ApiController) DIDCommV2CreateInvitation added in v0.1.68

func (c *OutOfBandV2ApiController) DIDCommV2CreateInvitation(w http.ResponseWriter, r *http.Request)

DIDCommV2CreateInvitation - Create a new DIDComm V2 out of band invitation

func (*OutOfBandV2ApiController) DIDCommV2GetByInvitationId added in v0.1.68

func (c *OutOfBandV2ApiController) DIDCommV2GetByInvitationId(w http.ResponseWriter, r *http.Request)

DIDCommV2GetByInvitationId - Get connection ID of new connection created by a response to this invitation.

func (*OutOfBandV2ApiController) Routes added in v0.1.68

func (c *OutOfBandV2ApiController) Routes() Routes

Routes returns all the api routes for the OutOfBandV2ApiController

type OutOfBandV2ApiOption added in v0.1.68

type OutOfBandV2ApiOption func(*OutOfBandV2ApiController)

OutOfBandV2ApiOption for how the controller is set up.

func WithOutOfBandV2ApiErrorHandler added in v0.1.68

func WithOutOfBandV2ApiErrorHandler(h ErrorHandler) OutOfBandV2ApiOption

WithOutOfBandV2ApiErrorHandler inject ErrorHandler into controller

type OutOfBandV2ApiRouter added in v0.1.68

type OutOfBandV2ApiRouter interface {
	DIDCommV2AcceptInvitation(http.ResponseWriter, *http.Request)
	DIDCommV2CreateInvitation(http.ResponseWriter, *http.Request)
	DIDCommV2GetByInvitationId(http.ResponseWriter, *http.Request)
}

OutOfBandV2ApiRouter defines the required methods for binding the api requests to a responses for the OutOfBandV2Api The OutOfBandV2ApiRouter implementation should parse necessary information from the http request, pass the data to a OutOfBandV2ApiServicer to perform the required actions, then write the service results to the http response.

type OutOfBandV2ApiService added in v0.1.68

type OutOfBandV2ApiService struct {
}

OutOfBandV2ApiService is a service that implements the logic for the OutOfBandV2ApiServicer This service should implement the business logic for every endpoint for the OutOfBandV2Api API. Include any external packages or services that will be required by this service.

func (*OutOfBandV2ApiService) DIDCommV2AcceptInvitation added in v0.1.68

func (s *OutOfBandV2ApiService) DIDCommV2AcceptInvitation(ctx context.Context, didCommV2AcceptInvitationRequest DidCommV2AcceptInvitationRequest) (ImplResponse, error)

DIDCommV2AcceptInvitation - Accept a DIDComm V2 out of band invitation

func (*OutOfBandV2ApiService) DIDCommV2CreateInvitation added in v0.1.68

func (s *OutOfBandV2ApiService) DIDCommV2CreateInvitation(ctx context.Context, didCommV2CreateInvitationRequest DidCommV2CreateInvitationRequest) (ImplResponse, error)

DIDCommV2CreateInvitation - Create a new DIDComm V2 out of band invitation

func (*OutOfBandV2ApiService) DIDCommV2GetByInvitationId added in v0.1.68

func (s *OutOfBandV2ApiService) DIDCommV2GetByInvitationId(ctx context.Context, invitationId string) (ImplResponse, error)

DIDCommV2GetByInvitationId - Get connection ID of new connection created by a response to this invitation.

type OutOfBandV2ApiServicer added in v0.1.68

type OutOfBandV2ApiServicer interface {
	DIDCommV2AcceptInvitation(context.Context, DidCommV2AcceptInvitationRequest) (ImplResponse, error)
	DIDCommV2CreateInvitation(context.Context, DidCommV2CreateInvitationRequest) (ImplResponse, error)
	DIDCommV2GetByInvitationId(context.Context, string) (ImplResponse, error)
}

OutOfBandV2ApiServicer defines the api actions for the OutOfBandV2Api service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewOutOfBandV2ApiService added in v0.1.68

func NewOutOfBandV2ApiService() OutOfBandV2ApiServicer

NewOutOfBandV2ApiService creates a default api service

type ParsingError added in v0.1.68

type ParsingError struct {
	Err error
}

ParsingError indicates that an error has occurred when parsing request parameters

func (*ParsingError) Error added in v0.1.68

func (e *ParsingError) Error() string

func (*ParsingError) Unwrap added in v0.1.68

func (e *ParsingError) Unwrap() error

type PresentProofApiController

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

PresentProofApiController binds http requests to an api service and writes the service results to the http response

func (*PresentProofApiController) PresentProofGetByThreadId

func (c *PresentProofApiController) PresentProofGetByThreadId(w http.ResponseWriter, r *http.Request)

PresentProofGetByThreadId - Get presentation exchange record by thread id

func (*PresentProofApiController) PresentProofSendPresentation

func (c *PresentProofApiController) PresentProofSendPresentation(w http.ResponseWriter, r *http.Request)

PresentProofSendPresentation - Send presentation

func (*PresentProofApiController) PresentProofSendProposal

func (c *PresentProofApiController) PresentProofSendProposal(w http.ResponseWriter, r *http.Request)

PresentProofSendProposal - Send presentation proposal

func (*PresentProofApiController) PresentProofSendRequest

func (c *PresentProofApiController) PresentProofSendRequest(w http.ResponseWriter, r *http.Request)

PresentProofSendRequest - Send presentation request

func (*PresentProofApiController) PresentProofVerifyPresentation

func (c *PresentProofApiController) PresentProofVerifyPresentation(w http.ResponseWriter, r *http.Request)

PresentProofVerifyPresentation - Verify presentation

func (*PresentProofApiController) Routes

func (c *PresentProofApiController) Routes() Routes

Routes returns all the api routes for the PresentProofApiController

type PresentProofApiOption added in v0.1.68

type PresentProofApiOption func(*PresentProofApiController)

PresentProofApiOption for how the controller is set up.

func WithPresentProofApiErrorHandler added in v0.1.68

func WithPresentProofApiErrorHandler(h ErrorHandler) PresentProofApiOption

WithPresentProofApiErrorHandler inject ErrorHandler into controller

type PresentProofApiRouter

type PresentProofApiRouter interface {
	PresentProofGetByThreadId(http.ResponseWriter, *http.Request)
	PresentProofSendPresentation(http.ResponseWriter, *http.Request)
	PresentProofSendProposal(http.ResponseWriter, *http.Request)
	PresentProofSendRequest(http.ResponseWriter, *http.Request)
	PresentProofVerifyPresentation(http.ResponseWriter, *http.Request)
}

PresentProofApiRouter defines the required methods for binding the api requests to a responses for the PresentProofApi The PresentProofApiRouter implementation should parse necessary information from the http request, pass the data to a PresentProofApiServicer to perform the required actions, then write the service results to the http response.

type PresentProofApiService

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

PresentProofApiService is a service that implements the logic for the PresentProofApiServicer This service should implement the business logic for every endpoint for the PresentProofApi API. Include any external packages or services that will be required by this service.

func (*PresentProofApiService) PresentProofGetByThreadId

func (s *PresentProofApiService) PresentProofGetByThreadId(ctx context.Context, presentationExchangeThreadId string) (ImplResponse, error)

PresentProofGetByThreadId - Get presentation exchange record by thread id

func (*PresentProofApiService) PresentProofSendPresentation

func (s *PresentProofApiService) PresentProofSendPresentation(ctx context.Context, presentProofSendPresentationRequest PresentProofSendPresentationRequest) (ImplResponse, error)

PresentProofSendPresentation - Send presentation

func (*PresentProofApiService) PresentProofSendProposal

func (s *PresentProofApiService) PresentProofSendProposal(ctx context.Context, presentProofSendProposalRequest PresentProofSendProposalRequest) (ImplResponse, error)

PresentProofSendProposal - Send presentation proposal

func (*PresentProofApiService) PresentProofSendRequest

func (s *PresentProofApiService) PresentProofSendRequest(ctx context.Context, presentProofSendRequestRequest PresentProofSendRequestRequest) (r ImplResponse, err error)

PresentProofSendRequest - Send presentation request

func (*PresentProofApiService) PresentProofVerifyPresentation

func (s *PresentProofApiService) PresentProofVerifyPresentation(ctx context.Context, presentProofVerifyPresentationRequest PresentProofVerifyPresentationRequest) (ImplResponse, error)

PresentProofVerifyPresentation - Verify presentation

type PresentProofApiServicer

type PresentProofApiServicer interface {
	PresentProofGetByThreadId(context.Context, string) (ImplResponse, error)
	PresentProofSendPresentation(context.Context, PresentProofSendPresentationRequest) (ImplResponse, error)
	PresentProofSendProposal(context.Context, PresentProofSendProposalRequest) (ImplResponse, error)
	PresentProofSendRequest(context.Context, PresentProofSendRequestRequest) (ImplResponse, error)
	PresentProofVerifyPresentation(context.Context, PresentProofVerifyPresentationRequest) (ImplResponse, error)
}

PresentProofApiServicer defines the api actions for the PresentProofApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewPresentProofApiService

func NewPresentProofApiService(a *agent.Agent) PresentProofApiServicer

NewPresentProofApiService creates a default api service

type PresentProofOperationResponse

type PresentProofOperationResponse struct {
	State PresentProofState `json:"state"`

	ThreadId string `json:"thread_id"`
}

type PresentProofPresentationRequest added in v0.1.68

type PresentProofPresentationRequest struct {
	Comment      string                                      `json:"comment"`
	ProofRequest PresentProofPresentationRequestProofRequest `json:"proof_request"`
}

type PresentProofPresentationRequestProofRequest added in v0.1.68

type PresentProofPresentationRequestProofRequest struct {
	Data PresentProofSendPresentationRequestData `json:"data"`
}

type PresentProofSendPresentation200Response added in v0.1.68

type PresentProofSendPresentation200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`
}

type PresentProofSendPresentation200ResponseAllOf added in v0.1.68

type PresentProofSendPresentation200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type PresentProofSendPresentationRequest added in v0.1.68

type PresentProofSendPresentationRequest struct {
	Id string `json:"id"`

	Data PresentProofSendPresentationRequestData `json:"data"`
}

type PresentProofSendPresentationRequestAttribute added in v0.1.68

type PresentProofSendPresentationRequestAttribute struct {
	Name         string        `json:"name,omitempty"`
	Value        string        `json:"value,omitempty"`
	Names        []string      `json:"names,omitempty"`
	Restrictions []interface{} `json:"restrictions,omitempty"`
	Revealed     bool          `json:"revealed,omitempty"`
	CredID       string        `json:"cred_id,omitempty"`
}

type PresentProofSendPresentationRequestData added in v0.1.68

type PresentProofSendPresentationRequestData struct {
	RequestedAttributes    map[string]PresentProofSendPresentationRequestAttribute `json:"requested_attributes,omitempty"`
	RequestedPredicates    map[string]interface{}                                  `json:"requested_predicates,omitempty"`
	SelfAttestedAttributes map[string]interface{}                                  `json:"self_attested_attributes,omitempty"`
	Comment                string                                                  `json:"comment,omitempty"`
	Name                   string                                                  `json:"name,omitempty"`
	Version                string                                                  `json:"version,omitempty"`
}

type PresentProofSendProposal200Response added in v0.1.68

type PresentProofSendProposal200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`
}

type PresentProofSendProposalRequest added in v0.1.68

type PresentProofSendProposalRequest struct {
	Data PresentProofSendProposalRequestData `json:"data"`
}

type PresentProofSendProposalRequestData added in v0.1.68

type PresentProofSendProposalRequestData struct {
	ConnectionId string `json:"connection_id"`

	PresentationProposal PresentationPreview `json:"presentation_proposal"`
}

type PresentProofSendRequest200Response added in v0.1.68

type PresentProofSendRequest200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`
}

type PresentProofSendRequestRequest added in v0.1.68

type PresentProofSendRequestRequest struct {
	Data PresentProofSendRequestRequestData `json:"data"`
}

type PresentProofSendRequestRequestData added in v0.1.68

type PresentProofSendRequestRequestData struct {
	ConnectionId string `json:"connection_id"`

	PresentationRequest PresentProofPresentationRequest `json:"presentation_request"`
}

type PresentProofState

type PresentProofState string

PresentProofState : All possible present proof state values

const (
	PRESENT_PROOF_PROPOSAL_SENT         PresentProofState = "proposal-sent"
	PRESENT_PROOF_PROPOSAL_RECEIVED     PresentProofState = "proposal-received"
	PRESENT_PROOF_REQUEST_SENT          PresentProofState = "request-sent"
	PRESENT_PROOF_REQUEST_RECEIVED      PresentProofState = "request-received"
	PRESENT_PROOF_PRESENTATION_SENT     PresentProofState = "presentation-sent"
	PRESENT_PROOF_PRESENTATION_RECEIVED PresentProofState = "presentation-received"
	PRESENT_PROOF_REJECT_SENT           PresentProofState = "reject-sent"
	PRESENT_PROOF_DONE                  PresentProofState = "done"
)

List of PresentProofState

type PresentProofV2ApiController added in v0.1.68

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

PresentProofV2ApiController binds http requests to an api service and writes the service results to the http response

func (*PresentProofV2ApiController) PresentProofV2SendPresentation added in v0.1.68

func (c *PresentProofV2ApiController) PresentProofV2SendPresentation(w http.ResponseWriter, r *http.Request)

PresentProofV2SendPresentation - Send presentation

func (*PresentProofV2ApiController) PresentProofV2SendRequest added in v0.1.68

func (c *PresentProofV2ApiController) PresentProofV2SendRequest(w http.ResponseWriter, r *http.Request)

PresentProofV2SendRequest - Send presentation request

func (*PresentProofV2ApiController) PresentProofV2VerifyPresentation added in v0.1.68

func (c *PresentProofV2ApiController) PresentProofV2VerifyPresentation(w http.ResponseWriter, r *http.Request)

PresentProofV2VerifyPresentation - Verify presentation

func (*PresentProofV2ApiController) Routes added in v0.1.68

func (c *PresentProofV2ApiController) Routes() Routes

Routes returns all the api routes for the PresentProofV2ApiController

type PresentProofV2ApiOption added in v0.1.68

type PresentProofV2ApiOption func(*PresentProofV2ApiController)

PresentProofV2ApiOption for how the controller is set up.

func WithPresentProofV2ApiErrorHandler added in v0.1.68

func WithPresentProofV2ApiErrorHandler(h ErrorHandler) PresentProofV2ApiOption

WithPresentProofV2ApiErrorHandler inject ErrorHandler into controller

type PresentProofV2ApiRouter added in v0.1.68

type PresentProofV2ApiRouter interface {
	PresentProofV2SendPresentation(http.ResponseWriter, *http.Request)
	PresentProofV2SendRequest(http.ResponseWriter, *http.Request)
	PresentProofV2VerifyPresentation(http.ResponseWriter, *http.Request)
}

PresentProofV2ApiRouter defines the required methods for binding the api requests to a responses for the PresentProofV2Api The PresentProofV2ApiRouter implementation should parse necessary information from the http request, pass the data to a PresentProofV2ApiServicer to perform the required actions, then write the service results to the http response.

type PresentProofV2ApiService added in v0.1.68

type PresentProofV2ApiService struct {
}

PresentProofV2ApiService is a service that implements the logic for the PresentProofV2ApiServicer This service should implement the business logic for every endpoint for the PresentProofV2Api API. Include any external packages or services that will be required by this service.

func (*PresentProofV2ApiService) PresentProofV2SendPresentation added in v0.1.68

func (s *PresentProofV2ApiService) PresentProofV2SendPresentation(ctx context.Context, presentProofV2SendPresentationRequest PresentProofV2SendPresentationRequest) (ImplResponse, error)

PresentProofV2SendPresentation - Send presentation

func (*PresentProofV2ApiService) PresentProofV2SendRequest added in v0.1.68

func (s *PresentProofV2ApiService) PresentProofV2SendRequest(ctx context.Context, presentProofV2SendRequestRequest PresentProofV2SendRequestRequest) (ImplResponse, error)

PresentProofV2SendRequest - Send presentation request

func (*PresentProofV2ApiService) PresentProofV2VerifyPresentation added in v0.1.68

func (s *PresentProofV2ApiService) PresentProofV2VerifyPresentation(ctx context.Context, presentProofVerifyPresentationRequest PresentProofVerifyPresentationRequest) (ImplResponse, error)

PresentProofV2VerifyPresentation - Verify presentation

type PresentProofV2ApiServicer added in v0.1.68

type PresentProofV2ApiServicer interface {
	PresentProofV2SendPresentation(context.Context, PresentProofV2SendPresentationRequest) (ImplResponse, error)
	PresentProofV2SendRequest(context.Context, PresentProofV2SendRequestRequest) (ImplResponse, error)
	PresentProofV2VerifyPresentation(context.Context, PresentProofVerifyPresentationRequest) (ImplResponse, error)
}

PresentProofV2ApiServicer defines the api actions for the PresentProofV2Api service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewPresentProofV2ApiService added in v0.1.68

func NewPresentProofV2ApiService() PresentProofV2ApiServicer

NewPresentProofV2ApiService creates a default api service

type PresentProofV2SendPresentationRequest added in v0.1.68

type PresentProofV2SendPresentationRequest struct {
	Id string `json:"id"`

	Data map[string]interface{} `json:"data"`
}

type PresentProofV2SendRequestDif added in v0.1.68

type PresentProofV2SendRequestDif struct {
	Format string `json:"format"`

	Comment string `json:"comment,omitempty"`

	Data map[string]interface{} `json:"data"`
}

type PresentProofV2SendRequestIndy added in v0.1.68

type PresentProofV2SendRequestIndy struct {
	Format string `json:"format"`

	Comment string `json:"comment,omitempty"`

	Data map[string]interface{} `json:"data"`
}

type PresentProofV2SendRequestRequest added in v0.1.68

type PresentProofV2SendRequestRequest struct {
	Data SendDifProofRequestData `json:"data"`
}

type PresentProofV2VerifyPresentation200Response added in v0.1.68

type PresentProofV2VerifyPresentation200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`

	Verified bool `json:"verified"`
}

type PresentProofV2VerifyPresentation200ResponseAllOf added in v0.1.68

type PresentProofV2VerifyPresentation200ResponseAllOf struct {
	State *interface{} `json:"state"`

	Verified bool `json:"verified"`
}

type PresentProofV3ApiController added in v0.1.68

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

PresentProofV3ApiController binds http requests to an api service and writes the service results to the http response

func (*PresentProofV3ApiController) PresentProofV3SendPresentation added in v0.1.68

func (c *PresentProofV3ApiController) PresentProofV3SendPresentation(w http.ResponseWriter, r *http.Request)

PresentProofV3SendPresentation - Send presentation

func (*PresentProofV3ApiController) PresentProofV3SendProposal added in v0.1.68

func (c *PresentProofV3ApiController) PresentProofV3SendProposal(w http.ResponseWriter, r *http.Request)

PresentProofV3SendProposal - Send presentation proposal

func (*PresentProofV3ApiController) PresentProofV3SendRequest added in v0.1.68

func (c *PresentProofV3ApiController) PresentProofV3SendRequest(w http.ResponseWriter, r *http.Request)

PresentProofV3SendRequest - Send present-proof v3 presentation request

func (*PresentProofV3ApiController) PresentProofV3VerifyPresentation added in v0.1.68

func (c *PresentProofV3ApiController) PresentProofV3VerifyPresentation(w http.ResponseWriter, r *http.Request)

PresentProofV3VerifyPresentation - Verify presentation

func (*PresentProofV3ApiController) Routes added in v0.1.68

func (c *PresentProofV3ApiController) Routes() Routes

Routes returns all the api routes for the PresentProofV3ApiController

type PresentProofV3ApiOption added in v0.1.68

type PresentProofV3ApiOption func(*PresentProofV3ApiController)

PresentProofV3ApiOption for how the controller is set up.

func WithPresentProofV3ApiErrorHandler added in v0.1.68

func WithPresentProofV3ApiErrorHandler(h ErrorHandler) PresentProofV3ApiOption

WithPresentProofV3ApiErrorHandler inject ErrorHandler into controller

type PresentProofV3ApiRouter added in v0.1.68

type PresentProofV3ApiRouter interface {
	PresentProofV3SendPresentation(http.ResponseWriter, *http.Request)
	PresentProofV3SendProposal(http.ResponseWriter, *http.Request)
	PresentProofV3SendRequest(http.ResponseWriter, *http.Request)
	PresentProofV3VerifyPresentation(http.ResponseWriter, *http.Request)
}

PresentProofV3ApiRouter defines the required methods for binding the api requests to a responses for the PresentProofV3Api The PresentProofV3ApiRouter implementation should parse necessary information from the http request, pass the data to a PresentProofV3ApiServicer to perform the required actions, then write the service results to the http response.

type PresentProofV3ApiService added in v0.1.68

type PresentProofV3ApiService struct {
}

PresentProofV3ApiService is a service that implements the logic for the PresentProofV3ApiServicer This service should implement the business logic for every endpoint for the PresentProofV3Api API. Include any external packages or services that will be required by this service.

func (*PresentProofV3ApiService) PresentProofV3SendPresentation added in v0.1.68

func (s *PresentProofV3ApiService) PresentProofV3SendPresentation(ctx context.Context, presentProofV2SendPresentationRequest PresentProofV2SendPresentationRequest) (ImplResponse, error)

PresentProofV3SendPresentation - Send presentation

func (*PresentProofV3ApiService) PresentProofV3SendProposal added in v0.1.68

func (s *PresentProofV3ApiService) PresentProofV3SendProposal(ctx context.Context, presentProofV3SendProposalRequest PresentProofV3SendProposalRequest) (ImplResponse, error)

PresentProofV3SendProposal - Send presentation proposal

func (*PresentProofV3ApiService) PresentProofV3SendRequest added in v0.1.68

func (s *PresentProofV3ApiService) PresentProofV3SendRequest(ctx context.Context, presentProofV3SendRequestRequest PresentProofV3SendRequestRequest) (ImplResponse, error)

PresentProofV3SendRequest - Send present-proof v3 presentation request

func (*PresentProofV3ApiService) PresentProofV3VerifyPresentation added in v0.1.68

func (s *PresentProofV3ApiService) PresentProofV3VerifyPresentation(ctx context.Context, presentProofVerifyPresentationRequest PresentProofVerifyPresentationRequest) (ImplResponse, error)

PresentProofV3VerifyPresentation - Verify presentation

type PresentProofV3ApiServicer added in v0.1.68

type PresentProofV3ApiServicer interface {
	PresentProofV3SendPresentation(context.Context, PresentProofV2SendPresentationRequest) (ImplResponse, error)
	PresentProofV3SendProposal(context.Context, PresentProofV3SendProposalRequest) (ImplResponse, error)
	PresentProofV3SendRequest(context.Context, PresentProofV3SendRequestRequest) (ImplResponse, error)
	PresentProofV3VerifyPresentation(context.Context, PresentProofVerifyPresentationRequest) (ImplResponse, error)
}

PresentProofV3ApiServicer defines the api actions for the PresentProofV3Api service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewPresentProofV3ApiService added in v0.1.68

func NewPresentProofV3ApiService() PresentProofV3ApiServicer

NewPresentProofV3ApiService creates a default api service

type PresentProofV3SendProposalRequest added in v0.1.68

type PresentProofV3SendProposalRequest struct {
	Data SendProposalData `json:"data"`
}

type PresentProofV3SendRequestRequest added in v0.1.68

type PresentProofV3SendRequestRequest struct {
	Id string `json:"id,omitempty"`

	ConnectionId string `json:"connection_id,omitempty"`

	Data PresentProofV3SendRequestRequestData `json:"data"`
}

type PresentProofV3SendRequestRequestData added in v0.1.68

type PresentProofV3SendRequestRequestData struct {
	PresentationRequest PresentProofV3SendRequestRequestDataPresentationRequest `json:"presentation_request,omitempty"`
}

type PresentProofV3SendRequestRequestDataPresentationRequest added in v0.1.68

type PresentProofV3SendRequestRequestDataPresentationRequest struct {
	Format string `json:"format"`

	Comment string `json:"comment,omitempty"`

	Data map[string]interface{} `json:"data"`
}

type PresentProofVerifyPresentation200Response added in v0.1.68

type PresentProofVerifyPresentation200Response struct {
	State *interface{} `json:"state"`

	ThreadId string `json:"thread_id"`
}

type PresentProofVerifyPresentation200ResponseAllOf added in v0.1.68

type PresentProofVerifyPresentation200ResponseAllOf struct {
	State *interface{} `json:"state,omitempty"`
}

type PresentProofVerifyPresentationRequest added in v0.1.68

type PresentProofVerifyPresentationRequest struct {
	Id string `json:"id"`
}

type PresentationPreview

type PresentationPreview struct {
	Type string `json:"@type"`

	Comment string `json:"comment"`

	Attributes []PresentationPreviewAttributesInner `json:"attributes"`

	Predicates []PresentationPreviewPredicatesInner `json:"predicates"`
}

type PresentationPreviewAttributesInner added in v0.1.68

type PresentationPreviewAttributesInner struct {
	Name string `json:"name"`

	CredDefId string `json:"cred_def_id,omitempty"`

	MimeType string `json:"mime-type,omitempty"`

	Value string `json:"value,omitempty"`

	Referent string `json:"referent,omitempty"`
}

type PresentationPreviewPredicatesInner added in v0.1.68

type PresentationPreviewPredicatesInner struct {
	Name string `json:"name"`

	CredDefId string `json:"cred_def_id"`

	Predicate string `json:"predicate"`

	Threshold string `json:"threshold"`
}

type RequiredError added in v0.1.68

type RequiredError struct {
	Field string
}

RequiredError indicates that an error has occurred when parsing request parameters

func (*RequiredError) Error added in v0.1.68

func (e *RequiredError) Error() string

type RevocationApiController added in v0.1.68

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

RevocationApiController binds http requests to an api service and writes the service results to the http response

func (*RevocationApiController) RevocationGetNotificationByThreadId added in v0.1.68

func (c *RevocationApiController) RevocationGetNotificationByThreadId(w http.ResponseWriter, r *http.Request)

RevocationGetNotificationByThreadId - Get revocation notification message based on the revocation notification message `thread_id` property.

func (*RevocationApiController) RevocationRevokeCredential added in v0.1.68

func (c *RevocationApiController) RevocationRevokeCredential(w http.ResponseWriter, r *http.Request)

RevocationRevokeCredential - Revoke Credential

func (*RevocationApiController) Routes added in v0.1.68

func (c *RevocationApiController) Routes() Routes

Routes returns all the api routes for the RevocationApiController

type RevocationApiOption added in v0.1.68

type RevocationApiOption func(*RevocationApiController)

RevocationApiOption for how the controller is set up.

func WithRevocationApiErrorHandler added in v0.1.68

func WithRevocationApiErrorHandler(h ErrorHandler) RevocationApiOption

WithRevocationApiErrorHandler inject ErrorHandler into controller

type RevocationApiRouter added in v0.1.68

type RevocationApiRouter interface {
	RevocationGetNotificationByThreadId(http.ResponseWriter, *http.Request)
	RevocationRevokeCredential(http.ResponseWriter, *http.Request)
}

RevocationApiRouter defines the required methods for binding the api requests to a responses for the RevocationApi The RevocationApiRouter implementation should parse necessary information from the http request, pass the data to a RevocationApiServicer to perform the required actions, then write the service results to the http response.

type RevocationApiService added in v0.1.68

type RevocationApiService struct {
}

RevocationApiService is a service that implements the logic for the RevocationApiServicer This service should implement the business logic for every endpoint for the RevocationApi API. Include any external packages or services that will be required by this service.

func (*RevocationApiService) RevocationGetNotificationByThreadId added in v0.1.68

func (s *RevocationApiService) RevocationGetNotificationByThreadId(ctx context.Context, threadId string) (ImplResponse, error)

RevocationGetNotificationByThreadId - Get revocation notification message based on the revocation notification message `thread_id` property.

func (*RevocationApiService) RevocationRevokeCredential added in v0.1.68

func (s *RevocationApiService) RevocationRevokeCredential(ctx context.Context, revocationRevokeCredentialRequest RevocationRevokeCredentialRequest) (ImplResponse, error)

RevocationRevokeCredential - Revoke Credential

type RevocationApiServicer added in v0.1.68

type RevocationApiServicer interface {
	RevocationGetNotificationByThreadId(context.Context, string) (ImplResponse, error)
	RevocationRevokeCredential(context.Context, RevocationRevokeCredentialRequest) (ImplResponse, error)
}

RevocationApiServicer defines the api actions for the RevocationApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewRevocationApiService added in v0.1.68

func NewRevocationApiService() RevocationApiServicer

NewRevocationApiService creates a default api service

type RevocationGetNotificationByThreadId200Response added in v0.1.68

type RevocationGetNotificationByThreadId200Response struct {
	ThreadId string `json:"thread_id,omitempty"`
}

type RevocationRevokeCredentialRequest added in v0.1.68

type RevocationRevokeCredentialRequest struct {
	Data RevocationRevokeCredentialRequestData `json:"data"`
}

type RevocationRevokeCredentialRequestData added in v0.1.68

type RevocationRevokeCredentialRequestData struct {
	CredRevId string `json:"cred_rev_id"`

	RevRegistryId string `json:"rev_registry_id"`

	PublishImmediately bool `json:"publish_immediately"`

	NotifyConnectionId string `json:"notify_connection_id,omitempty"`
}

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

A Route defines the parameters for an api endpoint

type Router

type Router interface {
	Routes() Routes
}

Router defines the required methods for retrieving api routes

func NewAgentApiController added in v0.1.68

func NewAgentApiController(s AgentApiServicer, opts ...AgentApiOption) Router

NewAgentApiController creates a default api controller

func NewConnectionApiController

func NewConnectionApiController(s ConnectionApiServicer, opts ...ConnectionApiOption) Router

NewConnectionApiController creates a default api controller

func NewCoordinateMediationApiController added in v0.1.68

func NewCoordinateMediationApiController(s CoordinateMediationApiServicer, opts ...CoordinateMediationApiOption) Router

NewCoordinateMediationApiController creates a default api controller

func NewCredentialApiController

func NewCredentialApiController(s CredentialApiServicer, opts ...CredentialApiOption) Router

NewCredentialApiController creates a default api controller

func NewCredentialDefinitionApiController

func NewCredentialDefinitionApiController(s CredentialDefinitionApiServicer, opts ...CredentialDefinitionApiOption) Router

NewCredentialDefinitionApiController creates a default api controller

func NewDIDApiController

func NewDIDApiController(s DIDApiServicer, opts ...DIDApiOption) Router

NewDIDApiController creates a default api controller

func NewDIDExchangeApiController added in v0.1.68

func NewDIDExchangeApiController(s DIDExchangeApiServicer, opts ...DIDExchangeApiOption) Router

NewDIDExchangeApiController creates a default api controller

func NewIssueCredentialApiController

func NewIssueCredentialApiController(s IssueCredentialApiServicer, opts ...IssueCredentialApiOption) Router

NewIssueCredentialApiController creates a default api controller

func NewIssueCredentialV2ApiController

func NewIssueCredentialV2ApiController(s IssueCredentialV2ApiServicer, opts ...IssueCredentialV2ApiOption) Router

NewIssueCredentialV2ApiController creates a default api controller

func NewIssueCredentialV3ApiController added in v0.1.68

func NewIssueCredentialV3ApiController(s IssueCredentialV3ApiServicer, opts ...IssueCredentialV3ApiOption) Router

NewIssueCredentialV3ApiController creates a default api controller

func NewOutOfBandApiController added in v0.1.68

func NewOutOfBandApiController(s OutOfBandApiServicer, opts ...OutOfBandApiOption) Router

NewOutOfBandApiController creates a default api controller

func NewOutOfBandV2ApiController added in v0.1.68

func NewOutOfBandV2ApiController(s OutOfBandV2ApiServicer, opts ...OutOfBandV2ApiOption) Router

NewOutOfBandV2ApiController creates a default api controller

func NewPresentProofApiController

func NewPresentProofApiController(s PresentProofApiServicer, opts ...PresentProofApiOption) Router

NewPresentProofApiController creates a default api controller

func NewPresentProofV2ApiController added in v0.1.68

func NewPresentProofV2ApiController(s PresentProofV2ApiServicer, opts ...PresentProofV2ApiOption) Router

NewPresentProofV2ApiController creates a default api controller

func NewPresentProofV3ApiController added in v0.1.68

func NewPresentProofV3ApiController(s PresentProofV3ApiServicer, opts ...PresentProofV3ApiOption) Router

NewPresentProofV3ApiController creates a default api controller

func NewRevocationApiController added in v0.1.68

func NewRevocationApiController(s RevocationApiServicer, opts ...RevocationApiOption) Router

NewRevocationApiController creates a default api controller

func NewSchemaApiController

func NewSchemaApiController(s SchemaApiServicer, opts ...SchemaApiOption) Router

NewSchemaApiController creates a default api controller

func NewStatusApiController

func NewStatusApiController(s StatusApiServicer, opts ...StatusApiOption) Router

NewStatusApiController creates a default api controller

type Routes

type Routes []Route

Routes are a collection of defined api endpoints

type SchemaApiController

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

SchemaApiController binds http requests to an api service and writes the service results to the http response

func (*SchemaApiController) Routes

func (c *SchemaApiController) Routes() Routes

Routes returns all the api routes for the SchemaApiController

func (*SchemaApiController) SchemaCreate

func (c *SchemaApiController) SchemaCreate(w http.ResponseWriter, r *http.Request)

SchemaCreate - Create a new schema

func (*SchemaApiController) SchemaGetById

func (c *SchemaApiController) SchemaGetById(w http.ResponseWriter, r *http.Request)

SchemaGetById - Get schema by id

type SchemaApiOption added in v0.1.68

type SchemaApiOption func(*SchemaApiController)

SchemaApiOption for how the controller is set up.

func WithSchemaApiErrorHandler added in v0.1.68

func WithSchemaApiErrorHandler(h ErrorHandler) SchemaApiOption

WithSchemaApiErrorHandler inject ErrorHandler into controller

type SchemaApiRouter

type SchemaApiRouter interface {
	SchemaCreate(http.ResponseWriter, *http.Request)
	SchemaGetById(http.ResponseWriter, *http.Request)
}

SchemaApiRouter defines the required methods for binding the api requests to a responses for the SchemaApi The SchemaApiRouter implementation should parse necessary information from the http request, pass the data to a SchemaApiServicer to perform the required actions, then write the service results to the http response.

type SchemaApiService

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

SchemaApiService is a service that implements the logic for the SchemaApiServicer This service should implement the business logic for every endpoint for the SchemaApi API. Include any external packages or services that will be required by this service.

func (*SchemaApiService) SchemaCreate

func (s *SchemaApiService) SchemaCreate(ctx context.Context, schemaCreateRequest SchemaCreateRequest) (ImplResponse, error)

SchemaCreate - Create a new schema

func (*SchemaApiService) SchemaGetById

func (s *SchemaApiService) SchemaGetById(ctx context.Context, schemaId string) (ImplResponse, error)

SchemaGetById - Get schema by id

type SchemaApiServicer

type SchemaApiServicer interface {
	SchemaCreate(context.Context, SchemaCreateRequest) (ImplResponse, error)
	SchemaGetById(context.Context, string) (ImplResponse, error)
}

SchemaApiServicer defines the api actions for the SchemaApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewSchemaApiService

func NewSchemaApiService(a *agent.Agent) SchemaApiServicer

NewSchemaApiService creates a default api service

type SchemaCreate200Response added in v0.1.68

type SchemaCreate200Response struct {
	SchemaId string `json:"schema_id,omitempty"`

	// Schema definition
	Schema map[string]interface{} `json:"schema,omitempty"`
}

type SchemaCreateRequest added in v0.1.68

type SchemaCreateRequest struct {
	Data SchemaCreateRequestData `json:"data"`
}

type SchemaCreateRequestData added in v0.1.68

type SchemaCreateRequestData struct {
	SchemaName string `json:"schema_name"`

	SchemaVersion string `json:"schema_version"`

	Attributes []string `json:"attributes"`
}

type SendDifProofRequest added in v0.1.68

type SendDifProofRequest struct {
	Data SendDifProofRequestData `json:"data"`
}

type SendDifProofRequestData added in v0.1.68

type SendDifProofRequestData struct {
	ConnectionId string `json:"connection_id"`

	PresentationRequest SendDifProofRequestDataPresentationRequest `json:"presentation_request"`
}

type SendDifProofRequestDataPresentationRequest added in v0.1.68

type SendDifProofRequestDataPresentationRequest struct {
	Format string `json:"format"`

	Comment string `json:"comment,omitempty"`

	Data map[string]interface{} `json:"data"`

	ConnectionId string `json:"connection_id"`
}

type SendIndyProofRequest added in v0.1.68

type SendIndyProofRequest struct {
	Data SendIndyProofRequestData `json:"data"`
}

type SendIndyProofRequestData added in v0.1.68

type SendIndyProofRequestData struct {
	ConnectionId string `json:"connection_id"`

	PresentationRequest SendIndyProofRequestDataPresentationRequest `json:"presentation_request"`
}

type SendIndyProofRequestDataPresentationRequest added in v0.1.68

type SendIndyProofRequestDataPresentationRequest struct {
	Format string `json:"format"`

	Comment string `json:"comment,omitempty"`

	Data map[string]interface{} `json:"data"`

	ConnectionId string `json:"connection_id"`
}

type SendIndyProofRequestDataPresentationRequestAllOf added in v0.1.68

type SendIndyProofRequestDataPresentationRequestAllOf struct {
	ConnectionId string `json:"connection_id"`
}

type SendOfferInResponseToProposal added in v0.1.68

type SendOfferInResponseToProposal struct {
	Id string `json:"id"`
}

type SendOfferToStartCredentialIssuanceFlow added in v0.1.68

type SendOfferToStartCredentialIssuanceFlow struct {
	Data SendOfferToStartCredentialIssuanceFlowData `json:"data"`
}

type SendOfferToStartCredentialIssuanceFlow1 added in v0.1.68

type SendOfferToStartCredentialIssuanceFlow1 struct {
	Data IssueCredentialV2SendProposalRequestData `json:"data"`
}

type SendOfferToStartCredentialIssuanceFlowData added in v0.1.68

type SendOfferToStartCredentialIssuanceFlowData struct {
	Comment string `json:"comment,omitempty"`

	CredentialPreview CredentialPreview `json:"credential_preview"`

	CredDefId string `json:"cred_def_id,omitempty"`

	ConnectionId string `json:"connection_id"`
}

type SendProposal added in v0.1.68

type SendProposal struct {
	Data SendProposalData `json:"data"`
}

type SendProposalData added in v0.1.68

type SendProposalData struct {
	PresentationProposal SendProposalDataPresentationProposal `json:"presentation_proposal"`
}

type SendProposalDataPresentationProposal added in v0.1.68

type SendProposalDataPresentationProposal struct {
	ConnectionId string `json:"connection_id"`

	Comment string `json:"comment,omitempty"`
}

type SendRequestInResponseToOffer added in v0.1.68

type SendRequestInResponseToOffer struct {
	Id string `json:"id"`
}

type SendRequestInResponseToOffer1 added in v0.1.68

type SendRequestInResponseToOffer1 struct {
	Id string `json:"id"`
}

SendRequestInResponseToOffer1 - It is currently not possible yet to start from a credential request, even though supported for some credential types (e.g. JSON-LD)

type SendRequestToStartCredentialIssuanceFlow added in v0.1.68

type SendRequestToStartCredentialIssuanceFlow struct {
	Id string `json:"id"`
}

type StatusApiController

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

StatusApiController binds http requests to an api service and writes the service results to the http response

func (*StatusApiController) Routes

func (c *StatusApiController) Routes() Routes

Routes returns all the api routes for the StatusApiController

func (*StatusApiController) StatusGet

func (c *StatusApiController) StatusGet(w http.ResponseWriter, r *http.Request)

StatusGet - Get agent/backchannel status

func (*StatusApiController) VersionGet added in v0.1.68

func (c *StatusApiController) VersionGet(w http.ResponseWriter, r *http.Request)

VersionGet - Get agent/backchannel version

type StatusApiOption added in v0.1.68

type StatusApiOption func(*StatusApiController)

StatusApiOption for how the controller is set up.

func WithStatusApiErrorHandler added in v0.1.68

func WithStatusApiErrorHandler(h ErrorHandler) StatusApiOption

WithStatusApiErrorHandler inject ErrorHandler into controller

type StatusApiRouter

type StatusApiRouter interface {
	StatusGet(http.ResponseWriter, *http.Request)
	VersionGet(http.ResponseWriter, *http.Request)
}

StatusApiRouter defines the required methods for binding the api requests to a responses for the StatusApi The StatusApiRouter implementation should parse necessary information from the http request, pass the data to a StatusApiServicer to perform the required actions, then write the service results to the http response.

type StatusApiService

type StatusApiService struct {
}

StatusApiService is a service that implements the logic for the StatusApiServicer This service should implement the business logic for every endpoint for the StatusApi API. Include any external packages or services that will be required by this service.

func (*StatusApiService) StatusGet

func (s *StatusApiService) StatusGet(ctx context.Context) (ImplResponse, error)

StatusGet - Get agent/backchannel status

func (*StatusApiService) VersionGet added in v0.1.68

func (s *StatusApiService) VersionGet(ctx context.Context) (ImplResponse, error)

VersionGet - Get agent/backchannel version

type StatusApiServicer

type StatusApiServicer interface {
	StatusGet(context.Context) (ImplResponse, error)
	VersionGet(context.Context) (ImplResponse, error)
}

StatusApiServicer defines the api actions for the StatusApi service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.

func NewStatusApiService

func NewStatusApiService() StatusApiServicer

NewStatusApiService creates a default api service

type StatusGet200Response added in v0.1.68

type StatusGet200Response struct {
	Status string `json:"status,omitempty"`
}

type StatusGet418Response added in v0.1.68

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

type W3CCredential added in v0.1.68

type W3CCredential struct {
	CredentialId string `json:"credential_id"`

	Credential map[string]interface{} `json:"credential"`
}

W3CCredential - Expected response for a W3C credential

Source Files

Jump to

Keyboard shortcuts

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