Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterHandlers(router gin.IRouter, si ServerInterface)
- func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
- type AddPaymailToUserJSONRequestBody
- type AdminConfirmContactJSONRequestBody
- type AdminCreateContactJSONRequestBody
- type AdminUpdateContactJSONRequestBody
- type CreateAddressJSONRequestBody
- type CreateTransactionOutlineJSONRequestBody
- type CreateTransactionOutlineParams
- type CreateTransactionOutlineParamsFormat
- type CreateUserJSONRequestBody
- type ErrorsAdminAuthOnNonAdminEndpoint
- type ErrorsAdminAuthorization
- func (t ErrorsAdminAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)
- func (t ErrorsAdminAuthorization) AsErrorsUserAuthOnNonUserEndpoint() (ErrorsUserAuthOnNonUserEndpoint, error)
- func (t *ErrorsAdminAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
- func (t *ErrorsAdminAuthorization) FromErrorsUserAuthOnNonUserEndpoint(v ErrorsUserAuthOnNonUserEndpoint) error
- func (t ErrorsAdminAuthorization) MarshalJSON() ([]byte, error)
- func (t *ErrorsAdminAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
- func (t *ErrorsAdminAuthorization) MergeErrorsUserAuthOnNonUserEndpoint(v ErrorsUserAuthOnNonUserEndpoint) error
- func (t *ErrorsAdminAuthorization) UnmarshalJSON(b []byte) error
- type ErrorsAnnotationIndexConversion
- type ErrorsAnnotationIndexOutOfRange
- type ErrorsAnyAuthorization
- func (t ErrorsAnyAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)
- func (t ErrorsAnyAuthorization) AsErrorsUnauthorized() (ErrorsUnauthorized, error)
- func (t *ErrorsAnyAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
- func (t *ErrorsAnyAuthorization) FromErrorsUnauthorized(v ErrorsUnauthorized) error
- func (t ErrorsAnyAuthorization) MarshalJSON() ([]byte, error)
- func (t *ErrorsAnyAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
- func (t *ErrorsAnyAuthorization) MergeErrorsUnauthorized(v ErrorsUnauthorized) error
- func (t *ErrorsAnyAuthorization) UnmarshalJSON(b []byte) error
- type ErrorsAuthXPubRequired
- type ErrorsBHSBadRequest
- type ErrorsBHSBadURL
- type ErrorsBHSNoSuccessResponse
- type ErrorsBHSParsingResponse
- type ErrorsBHSUnauthorized
- type ErrorsBHSUnhealthy
- type ErrorsBHSUnreachable
- type ErrorsCannotBindRequest
- type ErrorsContactFailedToUpdate
- type ErrorsContactFullNameRequired
- type ErrorsContactInWrongStatus
- type ErrorsContactInvalidPaymail
- type ErrorsContactNotFound
- type ErrorsCouldNotFindPaymail
- type ErrorsDataNotFound
- type ErrorsDeleteContact
- type ErrorsGetContact
- type ErrorsGettingOutputs
- type ErrorsGettingPKIFailed
- type ErrorsInternal
- type ErrorsInvalidBatchSize
- type ErrorsInvalidDataID
- type ErrorsMerkleRootNotFound
- type ErrorsMerkleRootNotInLongestChain
- type ErrorsNoOperations
- type ErrorsNotificationsDisabled
- type ErrorsProblemDetails
- type ErrorsSaveContact
- type ErrorsSchema
- type ErrorsTxBroadcast
- type ErrorsTxOutlineUserHasNotEnoughFunds
- type ErrorsTxSpecFailedToDecodeHex
- type ErrorsTxSpecInvalidPaymailReceiver
- type ErrorsTxSpecInvalidPaymailSender
- type ErrorsTxSpecNoDefaultPaymailAddress
- type ErrorsTxSpecOpReturnDataRequired
- type ErrorsTxSpecOutputsRequired
- type ErrorsUTXOSpent
- type ErrorsUnauthorized
- type ErrorsUpdateContactStatus
- type ErrorsUserAuthOnNonUserEndpoint
- type ErrorsUserAuthorization
- func (t ErrorsUserAuthorization) AsErrorsAdminAuthOnNonAdminEndpoint() (ErrorsAdminAuthOnNonAdminEndpoint, error)
- func (t ErrorsUserAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)
- func (t ErrorsUserAuthorization) AsErrorsUnauthorized() (ErrorsUnauthorized, error)
- func (t *ErrorsUserAuthorization) FromErrorsAdminAuthOnNonAdminEndpoint(v ErrorsAdminAuthOnNonAdminEndpoint) error
- func (t *ErrorsUserAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
- func (t *ErrorsUserAuthorization) FromErrorsUnauthorized(v ErrorsUnauthorized) error
- func (t ErrorsUserAuthorization) MarshalJSON() ([]byte, error)
- func (t *ErrorsUserAuthorization) MergeErrorsAdminAuthOnNonAdminEndpoint(v ErrorsAdminAuthOnNonAdminEndpoint) error
- func (t *ErrorsUserAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
- func (t *ErrorsUserAuthorization) MergeErrorsUnauthorized(v ErrorsUnauthorized) error
- func (t *ErrorsUserAuthorization) UnmarshalJSON(b []byte) error
- type ErrorsUserDoNotOwnPaymail
- type ErrorsWebhookTokenHeaderRequired
- type ErrorsWebhookTokenValueRequired
- type ErrorsWebhookUrlInvalid
- type ErrorsWebhookUrlRequired
- type GinServerOptions
- type MerkleRootsParams
- type MiddlewareFunc
- type ModelsAnnotatedTransactionOutline
- type ModelsAnnotatedTransactionOutlineFormat
- type ModelsBucketAnnotation
- type ModelsChangeAnnotation
- type ModelsContact
- type ModelsContactStatus
- type ModelsCustomInstructions
- func (t ModelsCustomInstructions) AsModelsSPVWalletCustomInstructions() (ModelsSPVWalletCustomInstructions, error)
- func (t ModelsCustomInstructions) AsModelsUserDefinedCustomInstructions() (ModelsUserDefinedCustomInstructions, error)
- func (t *ModelsCustomInstructions) FromModelsSPVWalletCustomInstructions(v ModelsSPVWalletCustomInstructions) error
- func (t *ModelsCustomInstructions) FromModelsUserDefinedCustomInstructions(v ModelsUserDefinedCustomInstructions) error
- func (t ModelsCustomInstructions) MarshalJSON() ([]byte, error)
- func (t *ModelsCustomInstructions) MergeModelsSPVWalletCustomInstructions(v ModelsSPVWalletCustomInstructions) error
- func (t *ModelsCustomInstructions) MergeModelsUserDefinedCustomInstructions(v ModelsUserDefinedCustomInstructions) error
- func (t *ModelsCustomInstructions) UnmarshalJSON(b []byte) error
- type ModelsData
- type ModelsDataAnnotation
- type ModelsDataAnnotationBucket
- type ModelsExclusiveStartKeySearchPage
- type ModelsGetMerkleRootResult
- type ModelsInputAnnotation
- type ModelsInputsAnnotations
- type ModelsMerkleRoot
- type ModelsModel
- type ModelsOperation
- type ModelsOperationTxStatus
- type ModelsOperationType
- type ModelsOperationsSearchResult
- type ModelsOutlineAnnotations
- type ModelsOutputAnnotation
- type ModelsOutputAnnotationBucket
- type ModelsOutputsAnnotations
- type ModelsPaymail
- type ModelsPaymailAnnotation
- type ModelsPaymailAnnotationBucket
- type ModelsPaymailAnnotationDetails
- type ModelsRecordedOutline
- type ModelsSPVWalletCustomInstruction
- type ModelsSPVWalletCustomInstructions
- type ModelsSearchPage
- type ModelsSharedConfig
- type ModelsTransactionHex
- type ModelsTransactionHexFormat
- type ModelsUser
- type ModelsUserDefinedCustomInstructions
- type ModelsUserInfo
- type ModelsWebhook
- type ModelsWebhooks
- type RecordTransactionOutlineForUserJSONRequestBody
- type RecordTransactionOutlineJSONRequestBody
- type RequestsAddPaymail
- type RequestsAdminConfirmContact
- type RequestsAdminCreateContact
- type RequestsCreatePaymailAddress
- type RequestsCreateUser
- type RequestsOpReturnHexesOutput
- type RequestsOpReturnOutputSpecification
- type RequestsOpReturnOutputSpecificationDataType
- type RequestsOpReturnOutputSpecificationType
- type RequestsOpReturnOutputSpecification_Data
- func (t RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnHexesOutput() (RequestsOpReturnHexesOutput, error)
- func (t RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnStringsOutput() (RequestsOpReturnStringsOutput, error)
- func (t *RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnHexesOutput(v RequestsOpReturnHexesOutput) error
- func (t *RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnStringsOutput(v RequestsOpReturnStringsOutput) error
- func (t RequestsOpReturnOutputSpecification_Data) MarshalJSON() ([]byte, error)
- func (t *RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnHexesOutput(v RequestsOpReturnHexesOutput) error
- func (t *RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnStringsOutput(v RequestsOpReturnStringsOutput) error
- func (t *RequestsOpReturnOutputSpecification_Data) UnmarshalJSON(b []byte) error
- type RequestsOpReturnStringsOutput
- type RequestsPageNumber
- type RequestsPageSize
- type RequestsPaymailOutputSpecification
- type RequestsPaymailOutputSpecificationType
- type RequestsRecordTransactionOutlineForUser
- type RequestsRecordTransactionOutlineForUserFormat
- type RequestsSort
- type RequestsSortBy
- type RequestsSubscribeWebhook
- type RequestsTransactionOutline
- type RequestsTransactionOutlineFormat
- type RequestsTransactionOutlineOutputSpecification
- func (t RequestsTransactionOutlineOutputSpecification) AsRequestsOpReturnOutputSpecification() (RequestsOpReturnOutputSpecification, error)
- func (t RequestsTransactionOutlineOutputSpecification) AsRequestsPaymailOutputSpecification() (RequestsPaymailOutputSpecification, error)
- func (t RequestsTransactionOutlineOutputSpecification) Discriminator() (string, error)
- func (t *RequestsTransactionOutlineOutputSpecification) FromRequestsOpReturnOutputSpecification(v RequestsOpReturnOutputSpecification) error
- func (t *RequestsTransactionOutlineOutputSpecification) FromRequestsPaymailOutputSpecification(v RequestsPaymailOutputSpecification) error
- func (t RequestsTransactionOutlineOutputSpecification) MarshalJSON() ([]byte, error)
- func (t *RequestsTransactionOutlineOutputSpecification) MergeRequestsOpReturnOutputSpecification(v RequestsOpReturnOutputSpecification) error
- func (t *RequestsTransactionOutlineOutputSpecification) MergeRequestsPaymailOutputSpecification(v RequestsPaymailOutputSpecification) error
- func (t *RequestsTransactionOutlineOutputSpecification) UnmarshalJSON(b []byte) error
- func (t RequestsTransactionOutlineOutputSpecification) ValueByDiscriminator() (interface{}, error)
- type RequestsTransactionSpecification
- type RequestsUnsubscribeWebhook
- type RequestsUpdateContact
- type RequestsUpsertContact
- type ResponsesAdminAddPaymailSuccess
- type ResponsesAdminCreateUserSuccess
- type ResponsesAdminGetUser
- type ResponsesAdminRecordTransactionOutlineForUserSuccess
- type ResponsesContactNotFound
- type ResponsesContactSuccess
- type ResponsesContactUpsertInternalServerError
- func (t ResponsesContactUpsertInternalServerError) AsErrorsContactFailedToUpdate() (ErrorsContactFailedToUpdate, error)
- func (t ResponsesContactUpsertInternalServerError) AsErrorsGetContact() (ErrorsGetContact, error)
- func (t ResponsesContactUpsertInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
- func (t *ResponsesContactUpsertInternalServerError) FromErrorsContactFailedToUpdate(v ErrorsContactFailedToUpdate) error
- func (t *ResponsesContactUpsertInternalServerError) FromErrorsGetContact(v ErrorsGetContact) error
- func (t *ResponsesContactUpsertInternalServerError) FromErrorsInternal(v ErrorsInternal) error
- func (t ResponsesContactUpsertInternalServerError) MarshalJSON() ([]byte, error)
- func (t *ResponsesContactUpsertInternalServerError) MergeErrorsContactFailedToUpdate(v ErrorsContactFailedToUpdate) error
- func (t *ResponsesContactUpsertInternalServerError) MergeErrorsGetContact(v ErrorsGetContact) error
- func (t *ResponsesContactUpsertInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesContactUpsertInternalServerError) UnmarshalJSON(b []byte) error
- type ResponsesCreateTransactionOutlineBadRequest
- func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecFailedToDecodeHex() (ErrorsTxSpecFailedToDecodeHex, error)
- func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailReceiver() (ErrorsTxSpecInvalidPaymailReceiver, error)
- func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailSender() (ErrorsTxSpecInvalidPaymailSender, error)
- func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecNoDefaultPaymailAddress() (ErrorsTxSpecNoDefaultPaymailAddress, error)
- func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOpReturnDataRequired() (ErrorsTxSpecOpReturnDataRequired, error)
- func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOutputsRequired() (ErrorsTxSpecOutputsRequired, error)
- func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecFailedToDecodeHex(v ErrorsTxSpecFailedToDecodeHex) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailReceiver(v ErrorsTxSpecInvalidPaymailReceiver) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailSender(v ErrorsTxSpecInvalidPaymailSender) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecNoDefaultPaymailAddress(v ErrorsTxSpecNoDefaultPaymailAddress) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOpReturnDataRequired(v ErrorsTxSpecOpReturnDataRequired) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOutputsRequired(v ErrorsTxSpecOutputsRequired) error
- func (t ResponsesCreateTransactionOutlineBadRequest) MarshalJSON() ([]byte, error)
- func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecFailedToDecodeHex(v ErrorsTxSpecFailedToDecodeHex) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailReceiver(v ErrorsTxSpecInvalidPaymailReceiver) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailSender(v ErrorsTxSpecInvalidPaymailSender) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecNoDefaultPaymailAddress(v ErrorsTxSpecNoDefaultPaymailAddress) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOpReturnDataRequired(v ErrorsTxSpecOpReturnDataRequired) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOutputsRequired(v ErrorsTxSpecOutputsRequired) error
- func (t *ResponsesCreateTransactionOutlineBadRequest) UnmarshalJSON(b []byte) error
- type ResponsesCreateTransactionOutlineSuccess
- type ResponsesCreateTransactionOutlineUnprocessable
- func (t ResponsesCreateTransactionOutlineUnprocessable) AsErrorsTxOutlineUserHasNotEnoughFunds() (ErrorsTxOutlineUserHasNotEnoughFunds, error)
- func (t *ResponsesCreateTransactionOutlineUnprocessable) FromErrorsTxOutlineUserHasNotEnoughFunds(v ErrorsTxOutlineUserHasNotEnoughFunds) error
- func (t ResponsesCreateTransactionOutlineUnprocessable) MarshalJSON() ([]byte, error)
- func (t *ResponsesCreateTransactionOutlineUnprocessable) MergeErrorsTxOutlineUserHasNotEnoughFunds(v ErrorsTxOutlineUserHasNotEnoughFunds) error
- func (t *ResponsesCreateTransactionOutlineUnprocessable) UnmarshalJSON(b []byte) error
- type ResponsesDeleteContactInternalServerError
- func (t ResponsesDeleteContactInternalServerError) AsErrorsDeleteContact() (ErrorsDeleteContact, error)
- func (t ResponsesDeleteContactInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
- func (t *ResponsesDeleteContactInternalServerError) FromErrorsDeleteContact(v ErrorsDeleteContact) error
- func (t *ResponsesDeleteContactInternalServerError) FromErrorsInternal(v ErrorsInternal) error
- func (t ResponsesDeleteContactInternalServerError) MarshalJSON() ([]byte, error)
- func (t *ResponsesDeleteContactInternalServerError) MergeErrorsDeleteContact(v ErrorsDeleteContact) error
- func (t *ResponsesDeleteContactInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesDeleteContactInternalServerError) UnmarshalJSON(b []byte) error
- type ResponsesGetContactInternalServerError
- func (t ResponsesGetContactInternalServerError) AsErrorsGetContact() (ErrorsGetContact, error)
- func (t ResponsesGetContactInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
- func (t *ResponsesGetContactInternalServerError) FromErrorsGetContact(v ErrorsGetContact) error
- func (t *ResponsesGetContactInternalServerError) FromErrorsInternal(v ErrorsInternal) error
- func (t ResponsesGetContactInternalServerError) MarshalJSON() ([]byte, error)
- func (t *ResponsesGetContactInternalServerError) MergeErrorsGetContact(v ErrorsGetContact) error
- func (t *ResponsesGetContactInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesGetContactInternalServerError) UnmarshalJSON(b []byte) error
- type ResponsesGetCurrentUserSuccess
- type ResponsesGetDataNotFound
- func (t ResponsesGetDataNotFound) AsErrorsDataNotFound() (ErrorsDataNotFound, error)
- func (t *ResponsesGetDataNotFound) FromErrorsDataNotFound(v ErrorsDataNotFound) error
- func (t ResponsesGetDataNotFound) MarshalJSON() ([]byte, error)
- func (t *ResponsesGetDataNotFound) MergeErrorsDataNotFound(v ErrorsDataNotFound) error
- func (t *ResponsesGetDataNotFound) UnmarshalJSON(b []byte) error
- type ResponsesGetDataSuccess
- type ResponsesGetMerklerootsBadRequest
- type ResponsesGetMerklerootsConflict
- type ResponsesGetMerklerootsInternalServerError
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadRequest() (ErrorsBHSBadRequest, error)
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadURL() (ErrorsBHSBadURL, error)
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSNoSuccessResponse() (ErrorsBHSNoSuccessResponse, error)
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSParsingResponse() (ErrorsBHSParsingResponse, error)
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnauthorized() (ErrorsBHSUnauthorized, error)
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnhealthy() (ErrorsBHSUnhealthy, error)
- func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnreachable() (ErrorsBHSUnreachable, error)
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadRequest(v ErrorsBHSBadRequest) error
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadURL(v ErrorsBHSBadURL) error
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSNoSuccessResponse(v ErrorsBHSNoSuccessResponse) error
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSParsingResponse(v ErrorsBHSParsingResponse) error
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnauthorized(v ErrorsBHSUnauthorized) error
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnhealthy(v ErrorsBHSUnhealthy) error
- func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnreachable(v ErrorsBHSUnreachable) error
- func (t ResponsesGetMerklerootsInternalServerError) MarshalJSON() ([]byte, error)
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadRequest(v ErrorsBHSBadRequest) error
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadURL(v ErrorsBHSBadURL) error
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSNoSuccessResponse(v ErrorsBHSNoSuccessResponse) error
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSParsingResponse(v ErrorsBHSParsingResponse) error
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnauthorized(v ErrorsBHSUnauthorized) error
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnhealthy(v ErrorsBHSUnhealthy) error
- func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnreachable(v ErrorsBHSUnreachable) error
- func (t *ResponsesGetMerklerootsInternalServerError) UnmarshalJSON(b []byte) error
- type ResponsesGetMerklerootsNotFound
- type ResponsesGetMerklerootsSuccess
- type ResponsesGetWebhooksInternalServerError
- type ResponsesGetWebhooksSuccess
- type ResponsesInternalServerError
- type ResponsesNotAuthorized
- type ResponsesNotAuthorizedToAdminEndpoint
- type ResponsesNotificationsDisabled
- type ResponsesPaymailAddress
- type ResponsesProblemDetails
- type ResponsesRecordTransactionBadRequest
- func (t ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexConversion() (ErrorsAnnotationIndexConversion, error)
- func (t ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexOutOfRange() (ErrorsAnnotationIndexOutOfRange, error)
- func (t ResponsesRecordTransactionBadRequest) AsErrorsInvalidDataID() (ErrorsInvalidDataID, error)
- func (t ResponsesRecordTransactionBadRequest) AsErrorsNoOperations() (ErrorsNoOperations, error)
- func (t ResponsesRecordTransactionBadRequest) AsErrorsUTXOSpent() (ErrorsUTXOSpent, error)
- func (t *ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexConversion(v ErrorsAnnotationIndexConversion) error
- func (t *ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexOutOfRange(v ErrorsAnnotationIndexOutOfRange) error
- func (t *ResponsesRecordTransactionBadRequest) FromErrorsInvalidDataID(v ErrorsInvalidDataID) error
- func (t *ResponsesRecordTransactionBadRequest) FromErrorsNoOperations(v ErrorsNoOperations) error
- func (t *ResponsesRecordTransactionBadRequest) FromErrorsUTXOSpent(v ErrorsUTXOSpent) error
- func (t ResponsesRecordTransactionBadRequest) MarshalJSON() ([]byte, error)
- func (t *ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexConversion(v ErrorsAnnotationIndexConversion) error
- func (t *ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexOutOfRange(v ErrorsAnnotationIndexOutOfRange) error
- func (t *ResponsesRecordTransactionBadRequest) MergeErrorsInvalidDataID(v ErrorsInvalidDataID) error
- func (t *ResponsesRecordTransactionBadRequest) MergeErrorsNoOperations(v ErrorsNoOperations) error
- func (t *ResponsesRecordTransactionBadRequest) MergeErrorsUTXOSpent(v ErrorsUTXOSpent) error
- func (t *ResponsesRecordTransactionBadRequest) UnmarshalJSON(b []byte) error
- type ResponsesRecordTransactionInternalServerError
- func (t ResponsesRecordTransactionInternalServerError) AsErrorsGettingOutputs() (ErrorsGettingOutputs, error)
- func (t ResponsesRecordTransactionInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
- func (t ResponsesRecordTransactionInternalServerError) AsErrorsTxBroadcast() (ErrorsTxBroadcast, error)
- func (t *ResponsesRecordTransactionInternalServerError) FromErrorsGettingOutputs(v ErrorsGettingOutputs) error
- func (t *ResponsesRecordTransactionInternalServerError) FromErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesRecordTransactionInternalServerError) FromErrorsTxBroadcast(v ErrorsTxBroadcast) error
- func (t ResponsesRecordTransactionInternalServerError) MarshalJSON() ([]byte, error)
- func (t *ResponsesRecordTransactionInternalServerError) MergeErrorsGettingOutputs(v ErrorsGettingOutputs) error
- func (t *ResponsesRecordTransactionInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesRecordTransactionInternalServerError) MergeErrorsTxBroadcast(v ErrorsTxBroadcast) error
- func (t *ResponsesRecordTransactionInternalServerError) UnmarshalJSON(b []byte) error
- type ResponsesRecordTransactionSuccess
- type ResponsesSearchBadRequest
- type ResponsesSearchOperationsSuccess
- type ResponsesSharedConfig
- type ResponsesSubscribeToWebhookBadRequest
- func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsCannotBindRequest() (ErrorsCannotBindRequest, error)
- func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenHeaderRequired() (ErrorsWebhookTokenHeaderRequired, error)
- func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenValueRequired() (ErrorsWebhookTokenValueRequired, error)
- func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlInvalid() (ErrorsWebhookUrlInvalid, error)
- func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlRequired() (ErrorsWebhookUrlRequired, error)
- func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
- func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenHeaderRequired(v ErrorsWebhookTokenHeaderRequired) error
- func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenValueRequired(v ErrorsWebhookTokenValueRequired) error
- func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlInvalid(v ErrorsWebhookUrlInvalid) error
- func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlRequired(v ErrorsWebhookUrlRequired) error
- func (t ResponsesSubscribeToWebhookBadRequest) MarshalJSON() ([]byte, error)
- func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
- func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenHeaderRequired(v ErrorsWebhookTokenHeaderRequired) error
- func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenValueRequired(v ErrorsWebhookTokenValueRequired) error
- func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlInvalid(v ErrorsWebhookUrlInvalid) error
- func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlRequired(v ErrorsWebhookUrlRequired) error
- func (t *ResponsesSubscribeToWebhookBadRequest) UnmarshalJSON(b []byte) error
- type ResponsesSubscribeToWebhookInternalServerError
- type ResponsesUnsubscribeToWebhookInternalServerError
- type ResponsesUpdateContactBadRequest
- func (t ResponsesUpdateContactBadRequest) AsErrorsContactInWrongStatus() (ErrorsContactInWrongStatus, error)
- func (t *ResponsesUpdateContactBadRequest) FromErrorsContactInWrongStatus(v ErrorsContactInWrongStatus) error
- func (t ResponsesUpdateContactBadRequest) MarshalJSON() ([]byte, error)
- func (t *ResponsesUpdateContactBadRequest) MergeErrorsContactInWrongStatus(v ErrorsContactInWrongStatus) error
- func (t *ResponsesUpdateContactBadRequest) UnmarshalJSON(b []byte) error
- type ResponsesUpdateContactInternalServerError
- func (t ResponsesUpdateContactInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
- func (t ResponsesUpdateContactInternalServerError) AsErrorsUpdateContactStatus() (ErrorsUpdateContactStatus, error)
- func (t *ResponsesUpdateContactInternalServerError) FromErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesUpdateContactInternalServerError) FromErrorsUpdateContactStatus(v ErrorsUpdateContactStatus) error
- func (t ResponsesUpdateContactInternalServerError) MarshalJSON() ([]byte, error)
- func (t *ResponsesUpdateContactInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
- func (t *ResponsesUpdateContactInternalServerError) MergeErrorsUpdateContactStatus(v ErrorsUpdateContactStatus) error
- func (t *ResponsesUpdateContactInternalServerError) UnmarshalJSON(b []byte) error
- type ResponsesUpsertContactBadRequest
- func (t ResponsesUpsertContactBadRequest) AsErrorsCannotBindRequest() (ErrorsCannotBindRequest, error)
- func (t ResponsesUpsertContactBadRequest) AsErrorsContactFullNameRequired() (ErrorsContactFullNameRequired, error)
- func (t ResponsesUpsertContactBadRequest) AsErrorsContactInvalidPaymail() (ErrorsContactInvalidPaymail, error)
- func (t ResponsesUpsertContactBadRequest) AsErrorsGettingPKIFailed() (ErrorsGettingPKIFailed, error)
- func (t ResponsesUpsertContactBadRequest) AsErrorsSaveContact() (ErrorsSaveContact, error)
- func (t ResponsesUpsertContactBadRequest) AsErrorsUserDoNotOwnPaymail() (ErrorsUserDoNotOwnPaymail, error)
- func (t *ResponsesUpsertContactBadRequest) FromErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
- func (t *ResponsesUpsertContactBadRequest) FromErrorsContactFullNameRequired(v ErrorsContactFullNameRequired) error
- func (t *ResponsesUpsertContactBadRequest) FromErrorsContactInvalidPaymail(v ErrorsContactInvalidPaymail) error
- func (t *ResponsesUpsertContactBadRequest) FromErrorsGettingPKIFailed(v ErrorsGettingPKIFailed) error
- func (t *ResponsesUpsertContactBadRequest) FromErrorsSaveContact(v ErrorsSaveContact) error
- func (t *ResponsesUpsertContactBadRequest) FromErrorsUserDoNotOwnPaymail(v ErrorsUserDoNotOwnPaymail) error
- func (t ResponsesUpsertContactBadRequest) MarshalJSON() ([]byte, error)
- func (t *ResponsesUpsertContactBadRequest) MergeErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
- func (t *ResponsesUpsertContactBadRequest) MergeErrorsContactFullNameRequired(v ErrorsContactFullNameRequired) error
- func (t *ResponsesUpsertContactBadRequest) MergeErrorsContactInvalidPaymail(v ErrorsContactInvalidPaymail) error
- func (t *ResponsesUpsertContactBadRequest) MergeErrorsGettingPKIFailed(v ErrorsGettingPKIFailed) error
- func (t *ResponsesUpsertContactBadRequest) MergeErrorsSaveContact(v ErrorsSaveContact) error
- func (t *ResponsesUpsertContactBadRequest) MergeErrorsUserDoNotOwnPaymail(v ErrorsUserDoNotOwnPaymail) error
- func (t *ResponsesUpsertContactBadRequest) UnmarshalJSON(b []byte) error
- type ResponsesUpsertContactNotFound
- func (t ResponsesUpsertContactNotFound) AsErrorsCouldNotFindPaymail() (ErrorsCouldNotFindPaymail, error)
- func (t *ResponsesUpsertContactNotFound) FromErrorsCouldNotFindPaymail(v ErrorsCouldNotFindPaymail) error
- func (t ResponsesUpsertContactNotFound) MarshalJSON() ([]byte, error)
- func (t *ResponsesUpsertContactNotFound) MergeErrorsCouldNotFindPaymail(v ErrorsCouldNotFindPaymail) error
- func (t *ResponsesUpsertContactNotFound) UnmarshalJSON(b []byte) error
- type ResponsesUserBadRequest
- type ResponsesUserNotAuthorized
- type SearchOperationsParams
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AcceptInvitation(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AddPaymailToUser(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminAcceptInvitation(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminConfirmContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminCreateContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminDeleteContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminRejectInvitation(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminStatus(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminUpdateContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ConfirmContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateAddress(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateTransactionOutline(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateUser(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CurrentUser(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DataById(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteCurrentUser(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) MerkleRoots(c *gin.Context)
- func (siw *ServerInterfaceWrapper) RecordTransactionOutline(c *gin.Context)
- func (siw *ServerInterfaceWrapper) RecordTransactionOutlineForUser(c *gin.Context)
- func (siw *ServerInterfaceWrapper) RejectInvitation(c *gin.Context)
- func (siw *ServerInterfaceWrapper) RemoveContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SearchOperations(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SharedConfig(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SubscribeWebhook(c *gin.Context)
- func (siw *ServerInterfaceWrapper) UnconfirmContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) UnsubscribeWebhook(c *gin.Context)
- func (siw *ServerInterfaceWrapper) UpsertContact(c *gin.Context)
- func (siw *ServerInterfaceWrapper) UserById(c *gin.Context)
- func (siw *ServerInterfaceWrapper) Webhooks(c *gin.Context)
- type SubscribeWebhookJSONRequestBody
- type UnsubscribeWebhookJSONRequestBody
- type UpsertContactJSONRequestBody
Constants ¶
const (
XPubAuthScopes = "XPubAuth.Scopes"
)
Variables ¶
var Yaml string
Yaml is the content of OpenAPI YAML file.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(router gin.IRouter, si ServerInterface)
RegisterHandlers creates http.Handler with routing matching OpenAPI spec.
func RegisterHandlersWithOptions ¶
func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
RegisterHandlersWithOptions creates http.Handler with additional options
Types ¶
type AddPaymailToUserJSONRequestBody ¶
type AddPaymailToUserJSONRequestBody = RequestsAddPaymail
AddPaymailToUserJSONRequestBody defines body for AddPaymailToUser for application/json ContentType.
type AdminConfirmContactJSONRequestBody ¶
type AdminConfirmContactJSONRequestBody = RequestsAdminConfirmContact
AdminConfirmContactJSONRequestBody defines body for AdminConfirmContact for application/json ContentType.
type AdminCreateContactJSONRequestBody ¶
type AdminCreateContactJSONRequestBody = RequestsAdminCreateContact
AdminCreateContactJSONRequestBody defines body for AdminCreateContact for application/json ContentType.
type AdminUpdateContactJSONRequestBody ¶
type AdminUpdateContactJSONRequestBody = RequestsUpdateContact
AdminUpdateContactJSONRequestBody defines body for AdminUpdateContact for application/json ContentType.
type CreateAddressJSONRequestBody ¶
type CreateAddressJSONRequestBody = RequestsCreatePaymailAddress
CreateAddressJSONRequestBody defines body for CreateAddress for application/json ContentType.
type CreateTransactionOutlineJSONRequestBody ¶
type CreateTransactionOutlineJSONRequestBody = RequestsTransactionSpecification
CreateTransactionOutlineJSONRequestBody defines body for CreateTransactionOutline for application/json ContentType.
type CreateTransactionOutlineParams ¶
type CreateTransactionOutlineParams struct {
// Format Required format of transaction hex
Format *CreateTransactionOutlineParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}
CreateTransactionOutlineParams defines parameters for CreateTransactionOutline.
type CreateTransactionOutlineParamsFormat ¶
type CreateTransactionOutlineParamsFormat string
CreateTransactionOutlineParamsFormat defines parameters for CreateTransactionOutline.
const ( Beef CreateTransactionOutlineParamsFormat = "beef" Raw CreateTransactionOutlineParamsFormat = "raw" )
Defines values for CreateTransactionOutlineParamsFormat.
type CreateUserJSONRequestBody ¶
type CreateUserJSONRequestBody = RequestsCreateUser
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
type ErrorsAdminAuthOnNonAdminEndpoint ¶
type ErrorsAdminAuthOnNonAdminEndpoint struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsAdminAuthOnNonAdminEndpoint defines model for errors_AdminAuthOnNonAdminEndpoint.
type ErrorsAdminAuthorization ¶
type ErrorsAdminAuthorization struct {
// contains filtered or unexported fields
}
ErrorsAdminAuthorization defines model for errors_AdminAuthorization.
func (ErrorsAdminAuthorization) AsErrorsAuthXPubRequired ¶
func (t ErrorsAdminAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)
AsErrorsAuthXPubRequired returns the union data inside the ErrorsAdminAuthorization as a ErrorsAuthXPubRequired
func (ErrorsAdminAuthorization) AsErrorsUserAuthOnNonUserEndpoint ¶
func (t ErrorsAdminAuthorization) AsErrorsUserAuthOnNonUserEndpoint() (ErrorsUserAuthOnNonUserEndpoint, error)
AsErrorsUserAuthOnNonUserEndpoint returns the union data inside the ErrorsAdminAuthorization as a ErrorsUserAuthOnNonUserEndpoint
func (*ErrorsAdminAuthorization) FromErrorsAuthXPubRequired ¶
func (t *ErrorsAdminAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
FromErrorsAuthXPubRequired overwrites any union data inside the ErrorsAdminAuthorization as the provided ErrorsAuthXPubRequired
func (*ErrorsAdminAuthorization) FromErrorsUserAuthOnNonUserEndpoint ¶
func (t *ErrorsAdminAuthorization) FromErrorsUserAuthOnNonUserEndpoint(v ErrorsUserAuthOnNonUserEndpoint) error
FromErrorsUserAuthOnNonUserEndpoint overwrites any union data inside the ErrorsAdminAuthorization as the provided ErrorsUserAuthOnNonUserEndpoint
func (ErrorsAdminAuthorization) MarshalJSON ¶
func (t ErrorsAdminAuthorization) MarshalJSON() ([]byte, error)
func (*ErrorsAdminAuthorization) MergeErrorsAuthXPubRequired ¶
func (t *ErrorsAdminAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
MergeErrorsAuthXPubRequired performs a merge with any union data inside the ErrorsAdminAuthorization, using the provided ErrorsAuthXPubRequired
func (*ErrorsAdminAuthorization) MergeErrorsUserAuthOnNonUserEndpoint ¶
func (t *ErrorsAdminAuthorization) MergeErrorsUserAuthOnNonUserEndpoint(v ErrorsUserAuthOnNonUserEndpoint) error
MergeErrorsUserAuthOnNonUserEndpoint performs a merge with any union data inside the ErrorsAdminAuthorization, using the provided ErrorsUserAuthOnNonUserEndpoint
func (*ErrorsAdminAuthorization) UnmarshalJSON ¶
func (t *ErrorsAdminAuthorization) UnmarshalJSON(b []byte) error
type ErrorsAnnotationIndexConversion ¶
type ErrorsAnnotationIndexConversion struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsAnnotationIndexConversion defines model for errors_AnnotationIndexConversion.
type ErrorsAnnotationIndexOutOfRange ¶
type ErrorsAnnotationIndexOutOfRange struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsAnnotationIndexOutOfRange defines model for errors_AnnotationIndexOutOfRange.
type ErrorsAnyAuthorization ¶
type ErrorsAnyAuthorization struct {
// contains filtered or unexported fields
}
ErrorsAnyAuthorization defines model for errors_AnyAuthorization.
func (ErrorsAnyAuthorization) AsErrorsAuthXPubRequired ¶
func (t ErrorsAnyAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)
AsErrorsAuthXPubRequired returns the union data inside the ErrorsAnyAuthorization as a ErrorsAuthXPubRequired
func (ErrorsAnyAuthorization) AsErrorsUnauthorized ¶
func (t ErrorsAnyAuthorization) AsErrorsUnauthorized() (ErrorsUnauthorized, error)
AsErrorsUnauthorized returns the union data inside the ErrorsAnyAuthorization as a ErrorsUnauthorized
func (*ErrorsAnyAuthorization) FromErrorsAuthXPubRequired ¶
func (t *ErrorsAnyAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
FromErrorsAuthXPubRequired overwrites any union data inside the ErrorsAnyAuthorization as the provided ErrorsAuthXPubRequired
func (*ErrorsAnyAuthorization) FromErrorsUnauthorized ¶
func (t *ErrorsAnyAuthorization) FromErrorsUnauthorized(v ErrorsUnauthorized) error
FromErrorsUnauthorized overwrites any union data inside the ErrorsAnyAuthorization as the provided ErrorsUnauthorized
func (ErrorsAnyAuthorization) MarshalJSON ¶
func (t ErrorsAnyAuthorization) MarshalJSON() ([]byte, error)
func (*ErrorsAnyAuthorization) MergeErrorsAuthXPubRequired ¶
func (t *ErrorsAnyAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
MergeErrorsAuthXPubRequired performs a merge with any union data inside the ErrorsAnyAuthorization, using the provided ErrorsAuthXPubRequired
func (*ErrorsAnyAuthorization) MergeErrorsUnauthorized ¶
func (t *ErrorsAnyAuthorization) MergeErrorsUnauthorized(v ErrorsUnauthorized) error
MergeErrorsUnauthorized performs a merge with any union data inside the ErrorsAnyAuthorization, using the provided ErrorsUnauthorized
func (*ErrorsAnyAuthorization) UnmarshalJSON ¶
func (t *ErrorsAnyAuthorization) UnmarshalJSON(b []byte) error
type ErrorsAuthXPubRequired ¶
type ErrorsAuthXPubRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsAuthXPubRequired defines model for errors_AuthXPubRequired.
type ErrorsBHSBadRequest ¶
type ErrorsBHSBadRequest struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsBHSBadRequest defines model for errors_BHSBadRequest.
type ErrorsBHSBadURL ¶
type ErrorsBHSBadURL struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsBHSBadURL defines model for errors_BHSBadURL.
type ErrorsBHSNoSuccessResponse ¶
type ErrorsBHSNoSuccessResponse struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsBHSNoSuccessResponse defines model for errors_BHSNoSuccessResponse.
type ErrorsBHSParsingResponse ¶
type ErrorsBHSParsingResponse struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsBHSParsingResponse defines model for errors_BHSParsingResponse.
type ErrorsBHSUnauthorized ¶
type ErrorsBHSUnauthorized struct {
}
ErrorsBHSUnauthorized defines model for errors_BHSUnauthorized.
type ErrorsBHSUnhealthy ¶
type ErrorsBHSUnhealthy struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsBHSUnhealthy defines model for errors_BHSUnhealthy.
type ErrorsBHSUnreachable ¶
type ErrorsBHSUnreachable struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsBHSUnreachable defines model for errors_BHSUnreachable.
type ErrorsCannotBindRequest ¶
type ErrorsCannotBindRequest struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsCannotBindRequest defines model for errors_CannotBindRequest.
type ErrorsContactFailedToUpdate ¶
type ErrorsContactFailedToUpdate struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsContactFailedToUpdate defines model for errors_ContactFailedToUpdate.
type ErrorsContactFullNameRequired ¶
type ErrorsContactFullNameRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsContactFullNameRequired defines model for errors_ContactFullNameRequired.
type ErrorsContactInWrongStatus ¶
type ErrorsContactInWrongStatus struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsContactInWrongStatus defines model for errors_ContactInWrongStatus.
type ErrorsContactInvalidPaymail ¶
type ErrorsContactInvalidPaymail struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsContactInvalidPaymail defines model for errors_ContactInvalidPaymail.
type ErrorsContactNotFound ¶
type ErrorsContactNotFound struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsContactNotFound defines model for errors_ContactNotFound.
type ErrorsCouldNotFindPaymail ¶
type ErrorsCouldNotFindPaymail struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsCouldNotFindPaymail defines model for errors_CouldNotFindPaymail.
type ErrorsDataNotFound ¶
type ErrorsDataNotFound struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsDataNotFound defines model for errors_DataNotFound.
type ErrorsDeleteContact ¶
type ErrorsDeleteContact struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsDeleteContact defines model for errors_DeleteContact.
type ErrorsGetContact ¶
type ErrorsGetContact struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsGetContact defines model for errors_GetContact.
type ErrorsGettingOutputs ¶
type ErrorsGettingOutputs struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsGettingOutputs defines model for errors_GettingOutputs.
type ErrorsGettingPKIFailed ¶
type ErrorsGettingPKIFailed struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsGettingPKIFailed defines model for errors_GettingPKIFailed.
type ErrorsInternal ¶
type ErrorsInternal struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsInternal defines model for errors_Internal.
type ErrorsInvalidBatchSize ¶
type ErrorsInvalidBatchSize struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsInvalidBatchSize defines model for errors_InvalidBatchSize.
type ErrorsInvalidDataID ¶
type ErrorsInvalidDataID struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsInvalidDataID defines model for errors_InvalidDataID.
type ErrorsMerkleRootNotFound ¶
type ErrorsMerkleRootNotFound struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsMerkleRootNotFound defines model for errors_MerkleRootNotFound.
type ErrorsMerkleRootNotInLongestChain ¶
type ErrorsMerkleRootNotInLongestChain struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsMerkleRootNotInLongestChain defines model for errors_MerkleRootNotInLongestChain.
type ErrorsNoOperations ¶
type ErrorsNoOperations struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsNoOperations defines model for errors_NoOperations.
type ErrorsNotificationsDisabled ¶
type ErrorsNotificationsDisabled struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsNotificationsDisabled defines model for errors_NotificationsDisabled.
type ErrorsProblemDetails ¶
type ErrorsProblemDetails struct {
// Detail A human-readable explanation specific to this occurrence of the problem
Detail string `json:"detail"`
// Instance A URI reference that identifies the specific occurrence of the problem
Instance string `json:"instance"`
// Status The HTTP status code
Status int `json:"status"`
// Title A short, human-readable summary of the problem type
Title string `json:"title"`
// Type A URI reference that identifies the problem type
Type string `json:"type"`
}
ErrorsProblemDetails defines model for errors_ProblemDetails.
type ErrorsSaveContact ¶
type ErrorsSaveContact struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsSaveContact defines model for errors_SaveContact.
type ErrorsSchema ¶
type ErrorsSchema struct {
// Code Error code
Code string `json:"code"`
// Message Error message
Message string `json:"message"`
}
ErrorsSchema defines model for errors_Schema.
type ErrorsTxBroadcast ¶
type ErrorsTxBroadcast struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxBroadcast defines model for errors_TxBroadcast.
type ErrorsTxOutlineUserHasNotEnoughFunds ¶
type ErrorsTxOutlineUserHasNotEnoughFunds struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxOutlineUserHasNotEnoughFunds defines model for errors_TxOutlineUserHasNotEnoughFunds.
type ErrorsTxSpecFailedToDecodeHex ¶
type ErrorsTxSpecFailedToDecodeHex struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxSpecFailedToDecodeHex defines model for errors_TxSpecFailedToDecodeHex.
type ErrorsTxSpecInvalidPaymailReceiver ¶
type ErrorsTxSpecInvalidPaymailReceiver struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxSpecInvalidPaymailReceiver defines model for errors_TxSpecInvalidPaymailReceiver.
type ErrorsTxSpecInvalidPaymailSender ¶
type ErrorsTxSpecInvalidPaymailSender struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxSpecInvalidPaymailSender defines model for errors_TxSpecInvalidPaymailSender.
type ErrorsTxSpecNoDefaultPaymailAddress ¶
type ErrorsTxSpecNoDefaultPaymailAddress struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxSpecNoDefaultPaymailAddress defines model for errors_TxSpecNoDefaultPaymailAddress.
type ErrorsTxSpecOpReturnDataRequired ¶
type ErrorsTxSpecOpReturnDataRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxSpecOpReturnDataRequired defines model for errors_TxSpecOpReturnDataRequired.
type ErrorsTxSpecOutputsRequired ¶
type ErrorsTxSpecOutputsRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsTxSpecOutputsRequired defines model for errors_TxSpecOutputsRequired.
type ErrorsUTXOSpent ¶
type ErrorsUTXOSpent struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsUTXOSpent defines model for errors_UTXOSpent.
type ErrorsUnauthorized ¶
type ErrorsUnauthorized struct {
}
ErrorsUnauthorized defines model for errors_Unauthorized.
type ErrorsUpdateContactStatus ¶
type ErrorsUpdateContactStatus struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsUpdateContactStatus defines model for errors_UpdateContactStatus.
type ErrorsUserAuthOnNonUserEndpoint ¶
type ErrorsUserAuthOnNonUserEndpoint struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsUserAuthOnNonUserEndpoint defines model for errors_UserAuthOnNonUserEndpoint.
type ErrorsUserAuthorization ¶
type ErrorsUserAuthorization struct {
// contains filtered or unexported fields
}
ErrorsUserAuthorization defines model for errors_UserAuthorization.
func (ErrorsUserAuthorization) AsErrorsAdminAuthOnNonAdminEndpoint ¶
func (t ErrorsUserAuthorization) AsErrorsAdminAuthOnNonAdminEndpoint() (ErrorsAdminAuthOnNonAdminEndpoint, error)
AsErrorsAdminAuthOnNonAdminEndpoint returns the union data inside the ErrorsUserAuthorization as a ErrorsAdminAuthOnNonAdminEndpoint
func (ErrorsUserAuthorization) AsErrorsAuthXPubRequired ¶
func (t ErrorsUserAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)
AsErrorsAuthXPubRequired returns the union data inside the ErrorsUserAuthorization as a ErrorsAuthXPubRequired
func (ErrorsUserAuthorization) AsErrorsUnauthorized ¶
func (t ErrorsUserAuthorization) AsErrorsUnauthorized() (ErrorsUnauthorized, error)
AsErrorsUnauthorized returns the union data inside the ErrorsUserAuthorization as a ErrorsUnauthorized
func (*ErrorsUserAuthorization) FromErrorsAdminAuthOnNonAdminEndpoint ¶
func (t *ErrorsUserAuthorization) FromErrorsAdminAuthOnNonAdminEndpoint(v ErrorsAdminAuthOnNonAdminEndpoint) error
FromErrorsAdminAuthOnNonAdminEndpoint overwrites any union data inside the ErrorsUserAuthorization as the provided ErrorsAdminAuthOnNonAdminEndpoint
func (*ErrorsUserAuthorization) FromErrorsAuthXPubRequired ¶
func (t *ErrorsUserAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
FromErrorsAuthXPubRequired overwrites any union data inside the ErrorsUserAuthorization as the provided ErrorsAuthXPubRequired
func (*ErrorsUserAuthorization) FromErrorsUnauthorized ¶
func (t *ErrorsUserAuthorization) FromErrorsUnauthorized(v ErrorsUnauthorized) error
FromErrorsUnauthorized overwrites any union data inside the ErrorsUserAuthorization as the provided ErrorsUnauthorized
func (ErrorsUserAuthorization) MarshalJSON ¶
func (t ErrorsUserAuthorization) MarshalJSON() ([]byte, error)
func (*ErrorsUserAuthorization) MergeErrorsAdminAuthOnNonAdminEndpoint ¶
func (t *ErrorsUserAuthorization) MergeErrorsAdminAuthOnNonAdminEndpoint(v ErrorsAdminAuthOnNonAdminEndpoint) error
MergeErrorsAdminAuthOnNonAdminEndpoint performs a merge with any union data inside the ErrorsUserAuthorization, using the provided ErrorsAdminAuthOnNonAdminEndpoint
func (*ErrorsUserAuthorization) MergeErrorsAuthXPubRequired ¶
func (t *ErrorsUserAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error
MergeErrorsAuthXPubRequired performs a merge with any union data inside the ErrorsUserAuthorization, using the provided ErrorsAuthXPubRequired
func (*ErrorsUserAuthorization) MergeErrorsUnauthorized ¶
func (t *ErrorsUserAuthorization) MergeErrorsUnauthorized(v ErrorsUnauthorized) error
MergeErrorsUnauthorized performs a merge with any union data inside the ErrorsUserAuthorization, using the provided ErrorsUnauthorized
func (*ErrorsUserAuthorization) UnmarshalJSON ¶
func (t *ErrorsUserAuthorization) UnmarshalJSON(b []byte) error
type ErrorsUserDoNotOwnPaymail ¶
type ErrorsUserDoNotOwnPaymail struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsUserDoNotOwnPaymail defines model for errors_UserDoNotOwnPaymail.
type ErrorsWebhookTokenHeaderRequired ¶
type ErrorsWebhookTokenHeaderRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsWebhookTokenHeaderRequired defines model for errors_WebhookTokenHeaderRequired.
type ErrorsWebhookTokenValueRequired ¶
type ErrorsWebhookTokenValueRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsWebhookTokenValueRequired defines model for errors_WebhookTokenValueRequired.
type ErrorsWebhookUrlInvalid ¶
type ErrorsWebhookUrlInvalid struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsWebhookUrlInvalid defines model for errors_WebhookUrlInvalid.
type ErrorsWebhookUrlRequired ¶
type ErrorsWebhookUrlRequired struct {
Code interface{} `json:"code"`
Message interface{} `json:"message"`
}
ErrorsWebhookUrlRequired defines model for errors_WebhookUrlRequired.
type GinServerOptions ¶
type GinServerOptions struct {
BaseURL string
Middlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
GinServerOptions provides options for the Gin server.
type MerkleRootsParams ¶
type MerkleRootsParams struct {
// BatchSize Batch size of merkleroots to be returned
BatchSize *int `form:"batchSize,omitempty" json:"batchSize,omitempty"`
// LastEvaluatedKey Last processed merkleroot in client's database
LastEvaluatedKey *string `form:"lastEvaluatedKey,omitempty" json:"lastEvaluatedKey,omitempty"`
}
MerkleRootsParams defines parameters for MerkleRoots.
type MiddlewareFunc ¶
type ModelsAnnotatedTransactionOutline ¶
type ModelsAnnotatedTransactionOutline struct {
Annotations *ModelsOutlineAnnotations `json:"annotations,omitempty"`
// Format Transaction format
Format ModelsAnnotatedTransactionOutlineFormat `json:"format"`
// Hex Transaction hex
Hex string `json:"hex"`
}
ModelsAnnotatedTransactionOutline defines model for models_AnnotatedTransactionOutline.
type ModelsAnnotatedTransactionOutlineFormat ¶
type ModelsAnnotatedTransactionOutlineFormat string
ModelsAnnotatedTransactionOutlineFormat Transaction format
const ( ModelsAnnotatedTransactionOutlineFormatBEEF ModelsAnnotatedTransactionOutlineFormat = "BEEF" ModelsAnnotatedTransactionOutlineFormatRAW ModelsAnnotatedTransactionOutlineFormat = "RAW" )
Defines values for ModelsAnnotatedTransactionOutlineFormat.
type ModelsBucketAnnotation ¶
type ModelsBucketAnnotation struct {
// Bucket Type of bucket where this output should be stored.
Bucket string `json:"bucket"`
}
ModelsBucketAnnotation defines model for models_BucketAnnotation.
type ModelsChangeAnnotation ¶
type ModelsChangeAnnotation struct {
CustomInstructions *ModelsSPVWalletCustomInstructions `json:"customInstructions,omitempty"`
}
ModelsChangeAnnotation defines model for models_ChangeAnnotation.
type ModelsContact ¶
type ModelsContact struct {
CreatedAt time.Time `json:"createdAt"`
DeletedAt *time.Time `json:"deletedAt,omitempty"`
FullName string `json:"fullName"`
Id uint `json:"id"`
Paymail string `json:"paymail"`
PubKey string `json:"pubKey"`
Status ModelsContactStatus `json:"status"`
UpdatedAt time.Time `json:"updatedAt"`
}
ModelsContact defines model for models_Contact.
type ModelsContactStatus ¶
type ModelsContactStatus string
ModelsContactStatus defines model for models_ContactStatus.
const ( Awaiting ModelsContactStatus = "awaiting" Confirmed ModelsContactStatus = "confirmed" Rejected ModelsContactStatus = "rejected" Unconfirmed ModelsContactStatus = "unconfirmed" )
Defines values for ModelsContactStatus.
type ModelsCustomInstructions ¶
type ModelsCustomInstructions struct {
// contains filtered or unexported fields
}
ModelsCustomInstructions defines model for models_CustomInstructions.
func (ModelsCustomInstructions) AsModelsSPVWalletCustomInstructions ¶
func (t ModelsCustomInstructions) AsModelsSPVWalletCustomInstructions() (ModelsSPVWalletCustomInstructions, error)
AsModelsSPVWalletCustomInstructions returns the union data inside the ModelsCustomInstructions as a ModelsSPVWalletCustomInstructions
func (ModelsCustomInstructions) AsModelsUserDefinedCustomInstructions ¶
func (t ModelsCustomInstructions) AsModelsUserDefinedCustomInstructions() (ModelsUserDefinedCustomInstructions, error)
AsModelsUserDefinedCustomInstructions returns the union data inside the ModelsCustomInstructions as a ModelsUserDefinedCustomInstructions
func (*ModelsCustomInstructions) FromModelsSPVWalletCustomInstructions ¶
func (t *ModelsCustomInstructions) FromModelsSPVWalletCustomInstructions(v ModelsSPVWalletCustomInstructions) error
FromModelsSPVWalletCustomInstructions overwrites any union data inside the ModelsCustomInstructions as the provided ModelsSPVWalletCustomInstructions
func (*ModelsCustomInstructions) FromModelsUserDefinedCustomInstructions ¶
func (t *ModelsCustomInstructions) FromModelsUserDefinedCustomInstructions(v ModelsUserDefinedCustomInstructions) error
FromModelsUserDefinedCustomInstructions overwrites any union data inside the ModelsCustomInstructions as the provided ModelsUserDefinedCustomInstructions
func (ModelsCustomInstructions) MarshalJSON ¶
func (t ModelsCustomInstructions) MarshalJSON() ([]byte, error)
func (*ModelsCustomInstructions) MergeModelsSPVWalletCustomInstructions ¶
func (t *ModelsCustomInstructions) MergeModelsSPVWalletCustomInstructions(v ModelsSPVWalletCustomInstructions) error
MergeModelsSPVWalletCustomInstructions performs a merge with any union data inside the ModelsCustomInstructions, using the provided ModelsSPVWalletCustomInstructions
func (*ModelsCustomInstructions) MergeModelsUserDefinedCustomInstructions ¶
func (t *ModelsCustomInstructions) MergeModelsUserDefinedCustomInstructions(v ModelsUserDefinedCustomInstructions) error
MergeModelsUserDefinedCustomInstructions performs a merge with any union data inside the ModelsCustomInstructions, using the provided ModelsUserDefinedCustomInstructions
func (*ModelsCustomInstructions) UnmarshalJSON ¶
func (t *ModelsCustomInstructions) UnmarshalJSON(b []byte) error
type ModelsData ¶
type ModelsData struct {
// Blob Data blob
Blob string `json:"blob"`
// Id User ID
Id string `json:"id"`
}
ModelsData defines model for models_Data.
type ModelsDataAnnotation ¶
type ModelsDataAnnotation struct {
Bucket ModelsDataAnnotationBucket `json:"bucket"`
}
ModelsDataAnnotation defines model for models_DataAnnotation.
type ModelsDataAnnotationBucket ¶
type ModelsDataAnnotationBucket string
ModelsDataAnnotationBucket defines model for ModelsDataAnnotation.Bucket.
const (
Data ModelsDataAnnotationBucket = "data"
)
Defines values for ModelsDataAnnotationBucket.
type ModelsExclusiveStartKeySearchPage ¶
type ModelsExclusiveStartKeySearchPage struct {
// LastEvaluatedKey Last evaluated key
LastEvaluatedKey string `json:"lastEvaluatedKey"`
// Size Number of items in returned data
Size int `json:"size"`
// TotalElements Total number of items
TotalElements int `json:"totalElements"`
}
ModelsExclusiveStartKeySearchPage defines model for models_ExclusiveStartKeySearchPage.
type ModelsGetMerkleRootResult ¶
type ModelsGetMerkleRootResult struct {
Content []ModelsMerkleRoot `json:"content"`
Page ModelsExclusiveStartKeySearchPage `json:"page"`
}
ModelsGetMerkleRootResult defines model for models_GetMerkleRootResult.
type ModelsInputAnnotation ¶
type ModelsInputAnnotation struct {
CustomInstructions ModelsCustomInstructions `json:"customInstructions"`
}
ModelsInputAnnotation defines model for models_InputAnnotation.
type ModelsInputsAnnotations ¶
type ModelsInputsAnnotations struct {
// Inputs Map of input annotations
Inputs map[string]ModelsInputAnnotation `json:"inputs"`
}
ModelsInputsAnnotations defines model for models_InputsAnnotations.
type ModelsMerkleRoot ¶
type ModelsMerkleRoot struct {
// BlockHeight Block height
BlockHeight int `json:"blockHeight"`
// MerkleRoot Transaction ID
MerkleRoot string `json:"merkleRoot"`
}
ModelsMerkleRoot defines model for models_MerkleRoot.
type ModelsModel ¶
type ModelsModel struct {
CreatedAt time.Time `json:"createdAt"`
DeletedAt *time.Time `json:"deletedAt,omitempty"`
UpdatedAt time.Time `json:"updatedAt"`
}
ModelsModel defines model for models_Model.
type ModelsOperation ¶
type ModelsOperation struct {
// BlockHash Block hash of underlying transaction
BlockHash *string `json:"blockHash,omitempty"`
// BlockHeight Block height of underlying transaction
BlockHeight *int64 `json:"blockHeight,omitempty"`
// Counterparty Counterparty of operation
Counterparty string `json:"counterparty"`
// CreatedAt Creation date of operation
CreatedAt time.Time `json:"createdAt"`
// TxID Transaction ID
TxID string `json:"txID"`
// TxStatus Status of transaction
TxStatus ModelsOperationTxStatus `json:"txStatus"`
// Type Type of operation
Type ModelsOperationType `json:"type"`
// Value Value of operation
Value int64 `json:"value"`
}
ModelsOperation defines model for models_Operation.
type ModelsOperationTxStatus ¶
type ModelsOperationTxStatus string
ModelsOperationTxStatus Status of transaction
const ( BROADCASTED ModelsOperationTxStatus = "BROADCASTED" CREATED ModelsOperationTxStatus = "CREATED" MINED ModelsOperationTxStatus = "MINED" PROBLEMATIC ModelsOperationTxStatus = "PROBLEMATIC" REVERTED ModelsOperationTxStatus = "REVERTED" )
Defines values for ModelsOperationTxStatus.
type ModelsOperationType ¶
type ModelsOperationType string
ModelsOperationType Type of operation
const ( Incoming ModelsOperationType = "incoming" Outgoing ModelsOperationType = "outgoing" )
Defines values for ModelsOperationType.
type ModelsOperationsSearchResult ¶
type ModelsOperationsSearchResult struct {
Content []ModelsOperation `json:"content"`
Page ModelsSearchPage `json:"page"`
}
ModelsOperationsSearchResult defines model for models_OperationsSearchResult.
type ModelsOutlineAnnotations ¶
type ModelsOutlineAnnotations struct {
// Inputs Map of input annotations
Inputs map[string]ModelsInputAnnotation `json:"inputs"`
// Outputs Map of output annotations
Outputs map[string]ModelsOutputAnnotation `json:"outputs"`
}
ModelsOutlineAnnotations defines model for models_OutlineAnnotations.
type ModelsOutputAnnotation ¶
type ModelsOutputAnnotation struct {
Bucket ModelsOutputAnnotationBucket `json:"bucket"`
CustomInstructions *ModelsSPVWalletCustomInstructions `json:"customInstructions,omitempty"`
Paymail *ModelsPaymailAnnotationDetails `json:"paymail,omitempty"`
}
ModelsOutputAnnotation defines model for models_OutputAnnotation.
type ModelsOutputAnnotationBucket ¶
type ModelsOutputAnnotationBucket string
ModelsOutputAnnotationBucket defines model for ModelsOutputAnnotation.Bucket.
const (
ModelsOutputAnnotationBucketBsv ModelsOutputAnnotationBucket = "bsv"
)
Defines values for ModelsOutputAnnotationBucket.
type ModelsOutputsAnnotations ¶
type ModelsOutputsAnnotations struct {
// Outputs Map of output annotations
Outputs map[string]ModelsOutputAnnotation `json:"outputs"`
}
ModelsOutputsAnnotations defines model for models_OutputsAnnotations.
type ModelsPaymail ¶
type ModelsPaymail struct {
Alias string `json:"alias"`
Avatar string `json:"avatar"`
Domain string `json:"domain"`
Id uint `json:"id"`
Paymail string `json:"paymail"`
PublicName string `json:"publicName"`
}
ModelsPaymail defines model for models_Paymail.
type ModelsPaymailAnnotation ¶
type ModelsPaymailAnnotation struct {
Bucket *ModelsPaymailAnnotationBucket `json:"bucket,omitempty"`
Paymail *ModelsPaymailAnnotationDetails `json:"paymail,omitempty"`
}
ModelsPaymailAnnotation defines model for models_PaymailAnnotation.
type ModelsPaymailAnnotationBucket ¶
type ModelsPaymailAnnotationBucket string
ModelsPaymailAnnotationBucket defines model for ModelsPaymailAnnotation.Bucket.
const (
ModelsPaymailAnnotationBucketBsv ModelsPaymailAnnotationBucket = "bsv"
)
Defines values for ModelsPaymailAnnotationBucket.
type ModelsPaymailAnnotationDetails ¶
type ModelsPaymailAnnotationDetails struct {
// Receiver Paymail address of the receiver
Receiver string `json:"receiver"`
// Reference Reference number used for paymail transaction
Reference string `json:"reference"`
// Sender Paymail address of the sender
Sender string `json:"sender"`
}
ModelsPaymailAnnotationDetails defines model for models_PaymailAnnotationDetails.
type ModelsRecordedOutline ¶
type ModelsRecordedOutline struct {
// TxID ID of the transaction
TxID string `json:"txID"`
}
ModelsRecordedOutline defines model for models_RecordedOutline.
type ModelsSPVWalletCustomInstruction ¶
type ModelsSPVWalletCustomInstruction struct {
// Instruction Custom instruction
Instruction string `json:"instruction"`
// Type Type of custom instructions
Type string `json:"type"`
}
ModelsSPVWalletCustomInstruction defines model for models_SPVWalletCustomInstruction.
type ModelsSPVWalletCustomInstructions ¶
type ModelsSPVWalletCustomInstructions = []ModelsSPVWalletCustomInstruction
ModelsSPVWalletCustomInstructions defines model for models_SPVWalletCustomInstructions.
type ModelsSearchPage ¶
type ModelsSearchPage struct {
// Number Page number for pagination
Number int `json:"number"`
// Size Number of items per page
Size int `json:"size"`
// TotalElements Total number of items
TotalElements int `json:"totalElements"`
// TotalPages Total number of pages
TotalPages int `json:"totalPages"`
}
ModelsSearchPage defines model for models_SearchPage.
type ModelsTransactionHex ¶
type ModelsTransactionHex struct {
// Format Transaction format
Format ModelsTransactionHexFormat `json:"format"`
// Hex Transaction hex
Hex string `json:"hex"`
}
ModelsTransactionHex defines model for models_TransactionHex.
type ModelsTransactionHexFormat ¶
type ModelsTransactionHexFormat string
ModelsTransactionHexFormat Transaction format
const ( ModelsTransactionHexFormatBEEF ModelsTransactionHexFormat = "BEEF" ModelsTransactionHexFormatRAW ModelsTransactionHexFormat = "RAW" )
Defines values for ModelsTransactionHexFormat.
type ModelsUser ¶
type ModelsUser struct {
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
Paymails []ModelsPaymail `json:"paymails"`
PublicKey string `json:"publicKey"`
UpdatedAt time.Time `json:"updatedAt"`
}
ModelsUser defines model for models_User.
type ModelsUserDefinedCustomInstructions ¶
type ModelsUserDefinedCustomInstructions = string
ModelsUserDefinedCustomInstructions Instructions about how to unlock this input.
type ModelsUserInfo ¶
type ModelsUserInfo struct {
// CurrentBalance Current balance of user
CurrentBalance uint64 `json:"currentBalance"`
}
ModelsUserInfo defines model for models_UserInfo.
type ModelsWebhook ¶
ModelsWebhook defines model for models_Webhook.
type ModelsWebhooks ¶
type ModelsWebhooks = []ModelsWebhook
ModelsWebhooks defines model for models_Webhooks.
type RecordTransactionOutlineForUserJSONRequestBody ¶
type RecordTransactionOutlineForUserJSONRequestBody = RequestsRecordTransactionOutlineForUser
RecordTransactionOutlineForUserJSONRequestBody defines body for RecordTransactionOutlineForUser for application/json ContentType.
type RecordTransactionOutlineJSONRequestBody ¶
type RecordTransactionOutlineJSONRequestBody = RequestsTransactionOutline
RecordTransactionOutlineJSONRequestBody defines body for RecordTransactionOutline for application/json ContentType.
type RequestsAddPaymail ¶
type RequestsAddPaymail struct {
Address string `json:"address"`
Alias string `json:"alias"`
AvatarURL *string `json:"avatarURL,omitempty"`
Domain string `json:"domain"`
// PublicName If not provided will default to the same value as alias
PublicName *string `json:"publicName,omitempty"`
}
RequestsAddPaymail defines model for requests_AddPaymail.
type RequestsAdminConfirmContact ¶
type RequestsAdminConfirmContact struct {
PaymailA string `json:"paymailA"`
PaymailB string `json:"paymailB"`
}
RequestsAdminConfirmContact defines model for requests_AdminConfirmContact.
type RequestsAdminCreateContact ¶
type RequestsAdminCreateContact struct {
CreatorPaymail string `json:"creatorPaymail"`
FullName string `json:"fullName"`
}
RequestsAdminCreateContact defines model for requests_AdminCreateContact.
type RequestsCreatePaymailAddress ¶
type RequestsCreatePaymailAddress struct {
Paymail RequestsAddPaymail `json:"paymail"`
}
RequestsCreatePaymailAddress defines model for requests_CreatePaymailAddress.
type RequestsCreateUser ¶
type RequestsCreateUser struct {
Paymail *RequestsAddPaymail `json:"paymail,omitempty"`
PublicKey string `json:"publicKey"`
}
RequestsCreateUser defines model for requests_CreateUser.
type RequestsOpReturnHexesOutput ¶
type RequestsOpReturnHexesOutput = []string
RequestsOpReturnHexesOutput defines model for requests_OpReturnHexesOutput.
type RequestsOpReturnOutputSpecification ¶
type RequestsOpReturnOutputSpecification struct {
Data RequestsOpReturnOutputSpecification_Data `json:"data"`
DataType *RequestsOpReturnOutputSpecificationDataType `json:"dataType,omitempty"`
Type RequestsOpReturnOutputSpecificationType `json:"type"`
}
RequestsOpReturnOutputSpecification defines model for requests_OpReturnOutputSpecification.
type RequestsOpReturnOutputSpecificationDataType ¶
type RequestsOpReturnOutputSpecificationDataType string
RequestsOpReturnOutputSpecificationDataType defines model for RequestsOpReturnOutputSpecification.DataType.
const ( Hexes RequestsOpReturnOutputSpecificationDataType = "hexes" Strings RequestsOpReturnOutputSpecificationDataType = "strings" )
Defines values for RequestsOpReturnOutputSpecificationDataType.
type RequestsOpReturnOutputSpecificationType ¶
type RequestsOpReturnOutputSpecificationType string
RequestsOpReturnOutputSpecificationType defines model for RequestsOpReturnOutputSpecification.Type.
const (
OpReturn RequestsOpReturnOutputSpecificationType = "op_return"
)
Defines values for RequestsOpReturnOutputSpecificationType.
type RequestsOpReturnOutputSpecification_Data ¶
type RequestsOpReturnOutputSpecification_Data struct {
// contains filtered or unexported fields
}
RequestsOpReturnOutputSpecification_Data defines model for RequestsOpReturnOutputSpecification.Data.
func (RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnHexesOutput ¶
func (t RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnHexesOutput() (RequestsOpReturnHexesOutput, error)
AsRequestsOpReturnHexesOutput returns the union data inside the RequestsOpReturnOutputSpecification_Data as a RequestsOpReturnHexesOutput
func (RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnStringsOutput ¶
func (t RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnStringsOutput() (RequestsOpReturnStringsOutput, error)
AsRequestsOpReturnStringsOutput returns the union data inside the RequestsOpReturnOutputSpecification_Data as a RequestsOpReturnStringsOutput
func (*RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnHexesOutput ¶
func (t *RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnHexesOutput(v RequestsOpReturnHexesOutput) error
FromRequestsOpReturnHexesOutput overwrites any union data inside the RequestsOpReturnOutputSpecification_Data as the provided RequestsOpReturnHexesOutput
func (*RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnStringsOutput ¶
func (t *RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnStringsOutput(v RequestsOpReturnStringsOutput) error
FromRequestsOpReturnStringsOutput overwrites any union data inside the RequestsOpReturnOutputSpecification_Data as the provided RequestsOpReturnStringsOutput
func (RequestsOpReturnOutputSpecification_Data) MarshalJSON ¶
func (t RequestsOpReturnOutputSpecification_Data) MarshalJSON() ([]byte, error)
func (*RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnHexesOutput ¶
func (t *RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnHexesOutput(v RequestsOpReturnHexesOutput) error
MergeRequestsOpReturnHexesOutput performs a merge with any union data inside the RequestsOpReturnOutputSpecification_Data, using the provided RequestsOpReturnHexesOutput
func (*RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnStringsOutput ¶
func (t *RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnStringsOutput(v RequestsOpReturnStringsOutput) error
MergeRequestsOpReturnStringsOutput performs a merge with any union data inside the RequestsOpReturnOutputSpecification_Data, using the provided RequestsOpReturnStringsOutput
func (*RequestsOpReturnOutputSpecification_Data) UnmarshalJSON ¶
func (t *RequestsOpReturnOutputSpecification_Data) UnmarshalJSON(b []byte) error
type RequestsOpReturnStringsOutput ¶
type RequestsOpReturnStringsOutput = []string
RequestsOpReturnStringsOutput defines model for requests_OpReturnStringsOutput.
type RequestsPageNumber ¶
type RequestsPageNumber = int
RequestsPageNumber defines model for requests_PageNumber.
type RequestsPageSize ¶
type RequestsPageSize = int
RequestsPageSize defines model for requests_PageSize.
type RequestsPaymailOutputSpecification ¶
type RequestsPaymailOutputSpecification struct {
From *string `json:"from"`
Satoshis uint64 `json:"satoshis"`
// Splits The number of outputs to be created from the satoshis. <br>
// Warning: The satoshis must be evenly divisible by the number of splits. <br>
// Warning: If the recipient responds with more than one output, the number of splits must be 1.
Splits *uint64 `json:"splits,omitempty"`
To string `json:"to"`
Type RequestsPaymailOutputSpecificationType `json:"type"`
}
RequestsPaymailOutputSpecification defines model for requests_PaymailOutputSpecification.
type RequestsPaymailOutputSpecificationType ¶
type RequestsPaymailOutputSpecificationType string
RequestsPaymailOutputSpecificationType defines model for RequestsPaymailOutputSpecification.Type.
const (
Paymail RequestsPaymailOutputSpecificationType = "paymail"
)
Defines values for RequestsPaymailOutputSpecificationType.
type RequestsRecordTransactionOutlineForUser ¶
type RequestsRecordTransactionOutlineForUser struct {
Annotations *ModelsOutputsAnnotations `json:"annotations,omitempty"`
// Format Transaction format
Format RequestsRecordTransactionOutlineForUserFormat `json:"format"`
// Hex Transaction hex
Hex string `json:"hex"`
// UserID User ID for which admin records transaction outline
UserID string `json:"userID"`
}
RequestsRecordTransactionOutlineForUser defines model for requests_RecordTransactionOutlineForUser.
type RequestsRecordTransactionOutlineForUserFormat ¶
type RequestsRecordTransactionOutlineForUserFormat string
RequestsRecordTransactionOutlineForUserFormat Transaction format
const ( RequestsRecordTransactionOutlineForUserFormatBEEF RequestsRecordTransactionOutlineForUserFormat = "BEEF" RequestsRecordTransactionOutlineForUserFormatRAW RequestsRecordTransactionOutlineForUserFormat = "RAW" )
Defines values for RequestsRecordTransactionOutlineForUserFormat.
type RequestsSortBy ¶
type RequestsSortBy = string
RequestsSortBy defines model for requests_SortBy.
type RequestsSubscribeWebhook ¶
type RequestsSubscribeWebhook struct {
TokenHeader string `json:"tokenHeader"`
TokenValue string `json:"tokenValue"`
Url string `json:"url"`
}
RequestsSubscribeWebhook defines model for requests_SubscribeWebhook.
type RequestsTransactionOutline ¶
type RequestsTransactionOutline struct {
Annotations *ModelsOutputsAnnotations `json:"annotations,omitempty"`
// Format Transaction format
Format RequestsTransactionOutlineFormat `json:"format"`
// Hex Transaction hex
Hex string `json:"hex"`
}
RequestsTransactionOutline defines model for requests_TransactionOutline.
type RequestsTransactionOutlineFormat ¶
type RequestsTransactionOutlineFormat string
RequestsTransactionOutlineFormat Transaction format
const ( RequestsTransactionOutlineFormatBEEF RequestsTransactionOutlineFormat = "BEEF" RequestsTransactionOutlineFormatRAW RequestsTransactionOutlineFormat = "RAW" )
Defines values for RequestsTransactionOutlineFormat.
type RequestsTransactionOutlineOutputSpecification ¶
type RequestsTransactionOutlineOutputSpecification struct {
// contains filtered or unexported fields
}
RequestsTransactionOutlineOutputSpecification defines model for requests_TransactionOutlineOutputSpecification.
func (RequestsTransactionOutlineOutputSpecification) AsRequestsOpReturnOutputSpecification ¶
func (t RequestsTransactionOutlineOutputSpecification) AsRequestsOpReturnOutputSpecification() (RequestsOpReturnOutputSpecification, error)
AsRequestsOpReturnOutputSpecification returns the union data inside the RequestsTransactionOutlineOutputSpecification as a RequestsOpReturnOutputSpecification
func (RequestsTransactionOutlineOutputSpecification) AsRequestsPaymailOutputSpecification ¶
func (t RequestsTransactionOutlineOutputSpecification) AsRequestsPaymailOutputSpecification() (RequestsPaymailOutputSpecification, error)
AsRequestsPaymailOutputSpecification returns the union data inside the RequestsTransactionOutlineOutputSpecification as a RequestsPaymailOutputSpecification
func (RequestsTransactionOutlineOutputSpecification) Discriminator ¶
func (t RequestsTransactionOutlineOutputSpecification) Discriminator() (string, error)
func (*RequestsTransactionOutlineOutputSpecification) FromRequestsOpReturnOutputSpecification ¶
func (t *RequestsTransactionOutlineOutputSpecification) FromRequestsOpReturnOutputSpecification(v RequestsOpReturnOutputSpecification) error
FromRequestsOpReturnOutputSpecification overwrites any union data inside the RequestsTransactionOutlineOutputSpecification as the provided RequestsOpReturnOutputSpecification
func (*RequestsTransactionOutlineOutputSpecification) FromRequestsPaymailOutputSpecification ¶
func (t *RequestsTransactionOutlineOutputSpecification) FromRequestsPaymailOutputSpecification(v RequestsPaymailOutputSpecification) error
FromRequestsPaymailOutputSpecification overwrites any union data inside the RequestsTransactionOutlineOutputSpecification as the provided RequestsPaymailOutputSpecification
func (RequestsTransactionOutlineOutputSpecification) MarshalJSON ¶
func (t RequestsTransactionOutlineOutputSpecification) MarshalJSON() ([]byte, error)
func (*RequestsTransactionOutlineOutputSpecification) MergeRequestsOpReturnOutputSpecification ¶
func (t *RequestsTransactionOutlineOutputSpecification) MergeRequestsOpReturnOutputSpecification(v RequestsOpReturnOutputSpecification) error
MergeRequestsOpReturnOutputSpecification performs a merge with any union data inside the RequestsTransactionOutlineOutputSpecification, using the provided RequestsOpReturnOutputSpecification
func (*RequestsTransactionOutlineOutputSpecification) MergeRequestsPaymailOutputSpecification ¶
func (t *RequestsTransactionOutlineOutputSpecification) MergeRequestsPaymailOutputSpecification(v RequestsPaymailOutputSpecification) error
MergeRequestsPaymailOutputSpecification performs a merge with any union data inside the RequestsTransactionOutlineOutputSpecification, using the provided RequestsPaymailOutputSpecification
func (*RequestsTransactionOutlineOutputSpecification) UnmarshalJSON ¶
func (t *RequestsTransactionOutlineOutputSpecification) UnmarshalJSON(b []byte) error
func (RequestsTransactionOutlineOutputSpecification) ValueByDiscriminator ¶
func (t RequestsTransactionOutlineOutputSpecification) ValueByDiscriminator() (interface{}, error)
type RequestsTransactionSpecification ¶
type RequestsTransactionSpecification struct {
Outputs []RequestsTransactionOutlineOutputSpecification `json:"outputs"`
}
RequestsTransactionSpecification defines model for requests_TransactionSpecification.
type RequestsUnsubscribeWebhook ¶
type RequestsUnsubscribeWebhook struct {
Url string `json:"url"`
}
RequestsUnsubscribeWebhook defines model for requests_UnsubscribeWebhook.
type RequestsUpdateContact ¶
type RequestsUpdateContact struct {
FullName string `json:"fullName"`
}
RequestsUpdateContact defines model for requests_UpdateContact.
type RequestsUpsertContact ¶
type RequestsUpsertContact struct {
FullName string `json:"fullName"`
RequesterPaymail string `json:"requesterPaymail"`
}
RequestsUpsertContact defines model for requests_UpsertContact.
type ResponsesAdminAddPaymailSuccess ¶
type ResponsesAdminAddPaymailSuccess = ModelsPaymail
ResponsesAdminAddPaymailSuccess defines model for responses_AdminAddPaymailSuccess.
type ResponsesAdminCreateUserSuccess ¶
type ResponsesAdminCreateUserSuccess = ModelsUser
ResponsesAdminCreateUserSuccess defines model for responses_AdminCreateUserSuccess.
type ResponsesAdminGetUser ¶
type ResponsesAdminGetUser = ModelsUser
ResponsesAdminGetUser defines model for responses_AdminGetUser.
type ResponsesAdminRecordTransactionOutlineForUserSuccess ¶
type ResponsesAdminRecordTransactionOutlineForUserSuccess = ModelsRecordedOutline
ResponsesAdminRecordTransactionOutlineForUserSuccess defines model for responses_AdminRecordTransactionOutlineForUserSuccess.
type ResponsesContactNotFound ¶
type ResponsesContactNotFound = ErrorsContactNotFound
ResponsesContactNotFound defines model for responses_ContactNotFound.
type ResponsesContactSuccess ¶
type ResponsesContactSuccess = ModelsContact
ResponsesContactSuccess defines model for responses_ContactSuccess.
type ResponsesContactUpsertInternalServerError ¶
type ResponsesContactUpsertInternalServerError struct {
// contains filtered or unexported fields
}
ResponsesContactUpsertInternalServerError defines model for responses_ContactUpsertInternalServerError.
func (ResponsesContactUpsertInternalServerError) AsErrorsContactFailedToUpdate ¶
func (t ResponsesContactUpsertInternalServerError) AsErrorsContactFailedToUpdate() (ErrorsContactFailedToUpdate, error)
AsErrorsContactFailedToUpdate returns the union data inside the ResponsesContactUpsertInternalServerError as a ErrorsContactFailedToUpdate
func (ResponsesContactUpsertInternalServerError) AsErrorsGetContact ¶
func (t ResponsesContactUpsertInternalServerError) AsErrorsGetContact() (ErrorsGetContact, error)
AsErrorsGetContact returns the union data inside the ResponsesContactUpsertInternalServerError as a ErrorsGetContact
func (ResponsesContactUpsertInternalServerError) AsErrorsInternal ¶
func (t ResponsesContactUpsertInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
AsErrorsInternal returns the union data inside the ResponsesContactUpsertInternalServerError as a ErrorsInternal
func (*ResponsesContactUpsertInternalServerError) FromErrorsContactFailedToUpdate ¶
func (t *ResponsesContactUpsertInternalServerError) FromErrorsContactFailedToUpdate(v ErrorsContactFailedToUpdate) error
FromErrorsContactFailedToUpdate overwrites any union data inside the ResponsesContactUpsertInternalServerError as the provided ErrorsContactFailedToUpdate
func (*ResponsesContactUpsertInternalServerError) FromErrorsGetContact ¶
func (t *ResponsesContactUpsertInternalServerError) FromErrorsGetContact(v ErrorsGetContact) error
FromErrorsGetContact overwrites any union data inside the ResponsesContactUpsertInternalServerError as the provided ErrorsGetContact
func (*ResponsesContactUpsertInternalServerError) FromErrorsInternal ¶
func (t *ResponsesContactUpsertInternalServerError) FromErrorsInternal(v ErrorsInternal) error
FromErrorsInternal overwrites any union data inside the ResponsesContactUpsertInternalServerError as the provided ErrorsInternal
func (ResponsesContactUpsertInternalServerError) MarshalJSON ¶
func (t ResponsesContactUpsertInternalServerError) MarshalJSON() ([]byte, error)
func (*ResponsesContactUpsertInternalServerError) MergeErrorsContactFailedToUpdate ¶
func (t *ResponsesContactUpsertInternalServerError) MergeErrorsContactFailedToUpdate(v ErrorsContactFailedToUpdate) error
MergeErrorsContactFailedToUpdate performs a merge with any union data inside the ResponsesContactUpsertInternalServerError, using the provided ErrorsContactFailedToUpdate
func (*ResponsesContactUpsertInternalServerError) MergeErrorsGetContact ¶
func (t *ResponsesContactUpsertInternalServerError) MergeErrorsGetContact(v ErrorsGetContact) error
MergeErrorsGetContact performs a merge with any union data inside the ResponsesContactUpsertInternalServerError, using the provided ErrorsGetContact
func (*ResponsesContactUpsertInternalServerError) MergeErrorsInternal ¶
func (t *ResponsesContactUpsertInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
MergeErrorsInternal performs a merge with any union data inside the ResponsesContactUpsertInternalServerError, using the provided ErrorsInternal
func (*ResponsesContactUpsertInternalServerError) UnmarshalJSON ¶
func (t *ResponsesContactUpsertInternalServerError) UnmarshalJSON(b []byte) error
type ResponsesCreateTransactionOutlineBadRequest ¶
type ResponsesCreateTransactionOutlineBadRequest struct {
// contains filtered or unexported fields
}
ResponsesCreateTransactionOutlineBadRequest defines model for responses_CreateTransactionOutlineBadRequest.
func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecFailedToDecodeHex ¶
func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecFailedToDecodeHex() (ErrorsTxSpecFailedToDecodeHex, error)
AsErrorsTxSpecFailedToDecodeHex returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecFailedToDecodeHex
func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailReceiver ¶
func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailReceiver() (ErrorsTxSpecInvalidPaymailReceiver, error)
AsErrorsTxSpecInvalidPaymailReceiver returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecInvalidPaymailReceiver
func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailSender ¶
func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailSender() (ErrorsTxSpecInvalidPaymailSender, error)
AsErrorsTxSpecInvalidPaymailSender returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecInvalidPaymailSender
func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecNoDefaultPaymailAddress ¶
func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecNoDefaultPaymailAddress() (ErrorsTxSpecNoDefaultPaymailAddress, error)
AsErrorsTxSpecNoDefaultPaymailAddress returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecNoDefaultPaymailAddress
func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOpReturnDataRequired ¶
func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOpReturnDataRequired() (ErrorsTxSpecOpReturnDataRequired, error)
AsErrorsTxSpecOpReturnDataRequired returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecOpReturnDataRequired
func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOutputsRequired ¶
func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOutputsRequired() (ErrorsTxSpecOutputsRequired, error)
AsErrorsTxSpecOutputsRequired returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecOutputsRequired
func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecFailedToDecodeHex ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecFailedToDecodeHex(v ErrorsTxSpecFailedToDecodeHex) error
FromErrorsTxSpecFailedToDecodeHex overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecFailedToDecodeHex
func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailReceiver ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailReceiver(v ErrorsTxSpecInvalidPaymailReceiver) error
FromErrorsTxSpecInvalidPaymailReceiver overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecInvalidPaymailReceiver
func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailSender ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailSender(v ErrorsTxSpecInvalidPaymailSender) error
FromErrorsTxSpecInvalidPaymailSender overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecInvalidPaymailSender
func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecNoDefaultPaymailAddress ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecNoDefaultPaymailAddress(v ErrorsTxSpecNoDefaultPaymailAddress) error
FromErrorsTxSpecNoDefaultPaymailAddress overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecNoDefaultPaymailAddress
func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOpReturnDataRequired ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOpReturnDataRequired(v ErrorsTxSpecOpReturnDataRequired) error
FromErrorsTxSpecOpReturnDataRequired overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecOpReturnDataRequired
func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOutputsRequired ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOutputsRequired(v ErrorsTxSpecOutputsRequired) error
FromErrorsTxSpecOutputsRequired overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecOutputsRequired
func (ResponsesCreateTransactionOutlineBadRequest) MarshalJSON ¶
func (t ResponsesCreateTransactionOutlineBadRequest) MarshalJSON() ([]byte, error)
func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecFailedToDecodeHex ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecFailedToDecodeHex(v ErrorsTxSpecFailedToDecodeHex) error
MergeErrorsTxSpecFailedToDecodeHex performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecFailedToDecodeHex
func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailReceiver ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailReceiver(v ErrorsTxSpecInvalidPaymailReceiver) error
MergeErrorsTxSpecInvalidPaymailReceiver performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecInvalidPaymailReceiver
func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailSender ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailSender(v ErrorsTxSpecInvalidPaymailSender) error
MergeErrorsTxSpecInvalidPaymailSender performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecInvalidPaymailSender
func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecNoDefaultPaymailAddress ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecNoDefaultPaymailAddress(v ErrorsTxSpecNoDefaultPaymailAddress) error
MergeErrorsTxSpecNoDefaultPaymailAddress performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecNoDefaultPaymailAddress
func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOpReturnDataRequired ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOpReturnDataRequired(v ErrorsTxSpecOpReturnDataRequired) error
MergeErrorsTxSpecOpReturnDataRequired performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecOpReturnDataRequired
func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOutputsRequired ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOutputsRequired(v ErrorsTxSpecOutputsRequired) error
MergeErrorsTxSpecOutputsRequired performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecOutputsRequired
func (*ResponsesCreateTransactionOutlineBadRequest) UnmarshalJSON ¶
func (t *ResponsesCreateTransactionOutlineBadRequest) UnmarshalJSON(b []byte) error
type ResponsesCreateTransactionOutlineSuccess ¶
type ResponsesCreateTransactionOutlineSuccess = ModelsAnnotatedTransactionOutline
ResponsesCreateTransactionOutlineSuccess defines model for responses_CreateTransactionOutlineSuccess.
type ResponsesCreateTransactionOutlineUnprocessable ¶
type ResponsesCreateTransactionOutlineUnprocessable struct {
// contains filtered or unexported fields
}
ResponsesCreateTransactionOutlineUnprocessable defines model for responses_CreateTransactionOutlineUnprocessable.
func (ResponsesCreateTransactionOutlineUnprocessable) AsErrorsTxOutlineUserHasNotEnoughFunds ¶
func (t ResponsesCreateTransactionOutlineUnprocessable) AsErrorsTxOutlineUserHasNotEnoughFunds() (ErrorsTxOutlineUserHasNotEnoughFunds, error)
AsErrorsTxOutlineUserHasNotEnoughFunds returns the union data inside the ResponsesCreateTransactionOutlineUnprocessable as a ErrorsTxOutlineUserHasNotEnoughFunds
func (*ResponsesCreateTransactionOutlineUnprocessable) FromErrorsTxOutlineUserHasNotEnoughFunds ¶
func (t *ResponsesCreateTransactionOutlineUnprocessable) FromErrorsTxOutlineUserHasNotEnoughFunds(v ErrorsTxOutlineUserHasNotEnoughFunds) error
FromErrorsTxOutlineUserHasNotEnoughFunds overwrites any union data inside the ResponsesCreateTransactionOutlineUnprocessable as the provided ErrorsTxOutlineUserHasNotEnoughFunds
func (ResponsesCreateTransactionOutlineUnprocessable) MarshalJSON ¶
func (t ResponsesCreateTransactionOutlineUnprocessable) MarshalJSON() ([]byte, error)
func (*ResponsesCreateTransactionOutlineUnprocessable) MergeErrorsTxOutlineUserHasNotEnoughFunds ¶
func (t *ResponsesCreateTransactionOutlineUnprocessable) MergeErrorsTxOutlineUserHasNotEnoughFunds(v ErrorsTxOutlineUserHasNotEnoughFunds) error
MergeErrorsTxOutlineUserHasNotEnoughFunds performs a merge with any union data inside the ResponsesCreateTransactionOutlineUnprocessable, using the provided ErrorsTxOutlineUserHasNotEnoughFunds
func (*ResponsesCreateTransactionOutlineUnprocessable) UnmarshalJSON ¶
func (t *ResponsesCreateTransactionOutlineUnprocessable) UnmarshalJSON(b []byte) error
type ResponsesDeleteContactInternalServerError ¶
type ResponsesDeleteContactInternalServerError struct {
// contains filtered or unexported fields
}
ResponsesDeleteContactInternalServerError defines model for responses_DeleteContactInternalServerError.
func (ResponsesDeleteContactInternalServerError) AsErrorsDeleteContact ¶
func (t ResponsesDeleteContactInternalServerError) AsErrorsDeleteContact() (ErrorsDeleteContact, error)
AsErrorsDeleteContact returns the union data inside the ResponsesDeleteContactInternalServerError as a ErrorsDeleteContact
func (ResponsesDeleteContactInternalServerError) AsErrorsInternal ¶
func (t ResponsesDeleteContactInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
AsErrorsInternal returns the union data inside the ResponsesDeleteContactInternalServerError as a ErrorsInternal
func (*ResponsesDeleteContactInternalServerError) FromErrorsDeleteContact ¶
func (t *ResponsesDeleteContactInternalServerError) FromErrorsDeleteContact(v ErrorsDeleteContact) error
FromErrorsDeleteContact overwrites any union data inside the ResponsesDeleteContactInternalServerError as the provided ErrorsDeleteContact
func (*ResponsesDeleteContactInternalServerError) FromErrorsInternal ¶
func (t *ResponsesDeleteContactInternalServerError) FromErrorsInternal(v ErrorsInternal) error
FromErrorsInternal overwrites any union data inside the ResponsesDeleteContactInternalServerError as the provided ErrorsInternal
func (ResponsesDeleteContactInternalServerError) MarshalJSON ¶
func (t ResponsesDeleteContactInternalServerError) MarshalJSON() ([]byte, error)
func (*ResponsesDeleteContactInternalServerError) MergeErrorsDeleteContact ¶
func (t *ResponsesDeleteContactInternalServerError) MergeErrorsDeleteContact(v ErrorsDeleteContact) error
MergeErrorsDeleteContact performs a merge with any union data inside the ResponsesDeleteContactInternalServerError, using the provided ErrorsDeleteContact
func (*ResponsesDeleteContactInternalServerError) MergeErrorsInternal ¶
func (t *ResponsesDeleteContactInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
MergeErrorsInternal performs a merge with any union data inside the ResponsesDeleteContactInternalServerError, using the provided ErrorsInternal
func (*ResponsesDeleteContactInternalServerError) UnmarshalJSON ¶
func (t *ResponsesDeleteContactInternalServerError) UnmarshalJSON(b []byte) error
type ResponsesGetContactInternalServerError ¶
type ResponsesGetContactInternalServerError struct {
// contains filtered or unexported fields
}
ResponsesGetContactInternalServerError defines model for responses_GetContactInternalServerError.
func (ResponsesGetContactInternalServerError) AsErrorsGetContact ¶
func (t ResponsesGetContactInternalServerError) AsErrorsGetContact() (ErrorsGetContact, error)
AsErrorsGetContact returns the union data inside the ResponsesGetContactInternalServerError as a ErrorsGetContact
func (ResponsesGetContactInternalServerError) AsErrorsInternal ¶
func (t ResponsesGetContactInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
AsErrorsInternal returns the union data inside the ResponsesGetContactInternalServerError as a ErrorsInternal
func (*ResponsesGetContactInternalServerError) FromErrorsGetContact ¶
func (t *ResponsesGetContactInternalServerError) FromErrorsGetContact(v ErrorsGetContact) error
FromErrorsGetContact overwrites any union data inside the ResponsesGetContactInternalServerError as the provided ErrorsGetContact
func (*ResponsesGetContactInternalServerError) FromErrorsInternal ¶
func (t *ResponsesGetContactInternalServerError) FromErrorsInternal(v ErrorsInternal) error
FromErrorsInternal overwrites any union data inside the ResponsesGetContactInternalServerError as the provided ErrorsInternal
func (ResponsesGetContactInternalServerError) MarshalJSON ¶
func (t ResponsesGetContactInternalServerError) MarshalJSON() ([]byte, error)
func (*ResponsesGetContactInternalServerError) MergeErrorsGetContact ¶
func (t *ResponsesGetContactInternalServerError) MergeErrorsGetContact(v ErrorsGetContact) error
MergeErrorsGetContact performs a merge with any union data inside the ResponsesGetContactInternalServerError, using the provided ErrorsGetContact
func (*ResponsesGetContactInternalServerError) MergeErrorsInternal ¶
func (t *ResponsesGetContactInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
MergeErrorsInternal performs a merge with any union data inside the ResponsesGetContactInternalServerError, using the provided ErrorsInternal
func (*ResponsesGetContactInternalServerError) UnmarshalJSON ¶
func (t *ResponsesGetContactInternalServerError) UnmarshalJSON(b []byte) error
type ResponsesGetCurrentUserSuccess ¶
type ResponsesGetCurrentUserSuccess = ModelsUserInfo
ResponsesGetCurrentUserSuccess defines model for responses_GetCurrentUserSuccess.
type ResponsesGetDataNotFound ¶
type ResponsesGetDataNotFound struct {
// contains filtered or unexported fields
}
ResponsesGetDataNotFound defines model for responses_GetDataNotFound.
func (ResponsesGetDataNotFound) AsErrorsDataNotFound ¶
func (t ResponsesGetDataNotFound) AsErrorsDataNotFound() (ErrorsDataNotFound, error)
AsErrorsDataNotFound returns the union data inside the ResponsesGetDataNotFound as a ErrorsDataNotFound
func (*ResponsesGetDataNotFound) FromErrorsDataNotFound ¶
func (t *ResponsesGetDataNotFound) FromErrorsDataNotFound(v ErrorsDataNotFound) error
FromErrorsDataNotFound overwrites any union data inside the ResponsesGetDataNotFound as the provided ErrorsDataNotFound
func (ResponsesGetDataNotFound) MarshalJSON ¶
func (t ResponsesGetDataNotFound) MarshalJSON() ([]byte, error)
func (*ResponsesGetDataNotFound) MergeErrorsDataNotFound ¶
func (t *ResponsesGetDataNotFound) MergeErrorsDataNotFound(v ErrorsDataNotFound) error
MergeErrorsDataNotFound performs a merge with any union data inside the ResponsesGetDataNotFound, using the provided ErrorsDataNotFound
func (*ResponsesGetDataNotFound) UnmarshalJSON ¶
func (t *ResponsesGetDataNotFound) UnmarshalJSON(b []byte) error
type ResponsesGetDataSuccess ¶
type ResponsesGetDataSuccess = ModelsData
ResponsesGetDataSuccess defines model for responses_GetDataSuccess.
type ResponsesGetMerklerootsBadRequest ¶
type ResponsesGetMerklerootsBadRequest = ErrorsInvalidBatchSize
ResponsesGetMerklerootsBadRequest defines model for responses_GetMerklerootsBadRequest.
type ResponsesGetMerklerootsConflict ¶
type ResponsesGetMerklerootsConflict = ErrorsMerkleRootNotInLongestChain
ResponsesGetMerklerootsConflict defines model for responses_GetMerklerootsConflict.
type ResponsesGetMerklerootsInternalServerError ¶
type ResponsesGetMerklerootsInternalServerError struct {
// contains filtered or unexported fields
}
ResponsesGetMerklerootsInternalServerError defines model for responses_GetMerklerootsInternalServerError.
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadRequest ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadRequest() (ErrorsBHSBadRequest, error)
AsErrorsBHSBadRequest returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSBadRequest
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadURL ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadURL() (ErrorsBHSBadURL, error)
AsErrorsBHSBadURL returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSBadURL
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSNoSuccessResponse ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSNoSuccessResponse() (ErrorsBHSNoSuccessResponse, error)
AsErrorsBHSNoSuccessResponse returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSNoSuccessResponse
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSParsingResponse ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSParsingResponse() (ErrorsBHSParsingResponse, error)
AsErrorsBHSParsingResponse returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSParsingResponse
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnauthorized ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnauthorized() (ErrorsBHSUnauthorized, error)
AsErrorsBHSUnauthorized returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSUnauthorized
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnhealthy ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnhealthy() (ErrorsBHSUnhealthy, error)
AsErrorsBHSUnhealthy returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSUnhealthy
func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnreachable ¶
func (t ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnreachable() (ErrorsBHSUnreachable, error)
AsErrorsBHSUnreachable returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSUnreachable
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadRequest ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadRequest(v ErrorsBHSBadRequest) error
FromErrorsBHSBadRequest overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSBadRequest
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadURL ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadURL(v ErrorsBHSBadURL) error
FromErrorsBHSBadURL overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSBadURL
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSNoSuccessResponse ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSNoSuccessResponse(v ErrorsBHSNoSuccessResponse) error
FromErrorsBHSNoSuccessResponse overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSNoSuccessResponse
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSParsingResponse ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSParsingResponse(v ErrorsBHSParsingResponse) error
FromErrorsBHSParsingResponse overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSParsingResponse
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnauthorized ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnauthorized(v ErrorsBHSUnauthorized) error
FromErrorsBHSUnauthorized overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSUnauthorized
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnhealthy ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnhealthy(v ErrorsBHSUnhealthy) error
FromErrorsBHSUnhealthy overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSUnhealthy
func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnreachable ¶
func (t *ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnreachable(v ErrorsBHSUnreachable) error
FromErrorsBHSUnreachable overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSUnreachable
func (ResponsesGetMerklerootsInternalServerError) MarshalJSON ¶
func (t ResponsesGetMerklerootsInternalServerError) MarshalJSON() ([]byte, error)
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadRequest ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadRequest(v ErrorsBHSBadRequest) error
MergeErrorsBHSBadRequest performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSBadRequest
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadURL ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadURL(v ErrorsBHSBadURL) error
MergeErrorsBHSBadURL performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSBadURL
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSNoSuccessResponse ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSNoSuccessResponse(v ErrorsBHSNoSuccessResponse) error
MergeErrorsBHSNoSuccessResponse performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSNoSuccessResponse
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSParsingResponse ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSParsingResponse(v ErrorsBHSParsingResponse) error
MergeErrorsBHSParsingResponse performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSParsingResponse
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnauthorized ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnauthorized(v ErrorsBHSUnauthorized) error
MergeErrorsBHSUnauthorized performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSUnauthorized
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnhealthy ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnhealthy(v ErrorsBHSUnhealthy) error
MergeErrorsBHSUnhealthy performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSUnhealthy
func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnreachable ¶
func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnreachable(v ErrorsBHSUnreachable) error
MergeErrorsBHSUnreachable performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSUnreachable
func (*ResponsesGetMerklerootsInternalServerError) UnmarshalJSON ¶
func (t *ResponsesGetMerklerootsInternalServerError) UnmarshalJSON(b []byte) error
type ResponsesGetMerklerootsNotFound ¶
type ResponsesGetMerklerootsNotFound = ErrorsMerkleRootNotFound
ResponsesGetMerklerootsNotFound defines model for responses_GetMerklerootsNotFound.
type ResponsesGetMerklerootsSuccess ¶
type ResponsesGetMerklerootsSuccess = ModelsGetMerkleRootResult
ResponsesGetMerklerootsSuccess defines model for responses_GetMerklerootsSuccess.
type ResponsesGetWebhooksInternalServerError ¶
type ResponsesGetWebhooksInternalServerError = ErrorsInternal
ResponsesGetWebhooksInternalServerError defines model for responses_GetWebhooksInternalServerError.
type ResponsesGetWebhooksSuccess ¶
type ResponsesGetWebhooksSuccess = ModelsWebhooks
ResponsesGetWebhooksSuccess defines model for responses_GetWebhooksSuccess.
type ResponsesInternalServerError ¶
type ResponsesInternalServerError = ErrorsInternal
ResponsesInternalServerError defines model for responses_InternalServerError.
type ResponsesNotAuthorized ¶
type ResponsesNotAuthorized = ErrorsAnyAuthorization
ResponsesNotAuthorized defines model for responses_NotAuthorized.
type ResponsesNotAuthorizedToAdminEndpoint ¶
type ResponsesNotAuthorizedToAdminEndpoint = ErrorsAdminAuthorization
ResponsesNotAuthorizedToAdminEndpoint defines model for responses_NotAuthorizedToAdminEndpoint.
type ResponsesNotificationsDisabled ¶
type ResponsesNotificationsDisabled = ErrorsNotificationsDisabled
ResponsesNotificationsDisabled defines model for responses_NotificationsDisabled.
type ResponsesPaymailAddress ¶
type ResponsesPaymailAddress = ModelsPaymail
ResponsesPaymailAddress defines model for responses_PaymailAddress.
type ResponsesProblemDetails ¶
type ResponsesProblemDetails = ErrorsProblemDetails
ResponsesProblemDetails defines model for responses_ProblemDetails.
type ResponsesRecordTransactionBadRequest ¶
type ResponsesRecordTransactionBadRequest struct {
// contains filtered or unexported fields
}
ResponsesRecordTransactionBadRequest defines model for responses_RecordTransactionBadRequest.
func (ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexConversion ¶
func (t ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexConversion() (ErrorsAnnotationIndexConversion, error)
AsErrorsAnnotationIndexConversion returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsAnnotationIndexConversion
func (ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexOutOfRange ¶
func (t ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexOutOfRange() (ErrorsAnnotationIndexOutOfRange, error)
AsErrorsAnnotationIndexOutOfRange returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsAnnotationIndexOutOfRange
func (ResponsesRecordTransactionBadRequest) AsErrorsInvalidDataID ¶
func (t ResponsesRecordTransactionBadRequest) AsErrorsInvalidDataID() (ErrorsInvalidDataID, error)
AsErrorsInvalidDataID returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsInvalidDataID
func (ResponsesRecordTransactionBadRequest) AsErrorsNoOperations ¶
func (t ResponsesRecordTransactionBadRequest) AsErrorsNoOperations() (ErrorsNoOperations, error)
AsErrorsNoOperations returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsNoOperations
func (ResponsesRecordTransactionBadRequest) AsErrorsUTXOSpent ¶
func (t ResponsesRecordTransactionBadRequest) AsErrorsUTXOSpent() (ErrorsUTXOSpent, error)
AsErrorsUTXOSpent returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsUTXOSpent
func (*ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexConversion ¶
func (t *ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexConversion(v ErrorsAnnotationIndexConversion) error
FromErrorsAnnotationIndexConversion overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsAnnotationIndexConversion
func (*ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexOutOfRange ¶
func (t *ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexOutOfRange(v ErrorsAnnotationIndexOutOfRange) error
FromErrorsAnnotationIndexOutOfRange overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsAnnotationIndexOutOfRange
func (*ResponsesRecordTransactionBadRequest) FromErrorsInvalidDataID ¶
func (t *ResponsesRecordTransactionBadRequest) FromErrorsInvalidDataID(v ErrorsInvalidDataID) error
FromErrorsInvalidDataID overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsInvalidDataID
func (*ResponsesRecordTransactionBadRequest) FromErrorsNoOperations ¶
func (t *ResponsesRecordTransactionBadRequest) FromErrorsNoOperations(v ErrorsNoOperations) error
FromErrorsNoOperations overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsNoOperations
func (*ResponsesRecordTransactionBadRequest) FromErrorsUTXOSpent ¶
func (t *ResponsesRecordTransactionBadRequest) FromErrorsUTXOSpent(v ErrorsUTXOSpent) error
FromErrorsUTXOSpent overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsUTXOSpent
func (ResponsesRecordTransactionBadRequest) MarshalJSON ¶
func (t ResponsesRecordTransactionBadRequest) MarshalJSON() ([]byte, error)
func (*ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexConversion ¶
func (t *ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexConversion(v ErrorsAnnotationIndexConversion) error
MergeErrorsAnnotationIndexConversion performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsAnnotationIndexConversion
func (*ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexOutOfRange ¶
func (t *ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexOutOfRange(v ErrorsAnnotationIndexOutOfRange) error
MergeErrorsAnnotationIndexOutOfRange performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsAnnotationIndexOutOfRange
func (*ResponsesRecordTransactionBadRequest) MergeErrorsInvalidDataID ¶
func (t *ResponsesRecordTransactionBadRequest) MergeErrorsInvalidDataID(v ErrorsInvalidDataID) error
MergeErrorsInvalidDataID performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsInvalidDataID
func (*ResponsesRecordTransactionBadRequest) MergeErrorsNoOperations ¶
func (t *ResponsesRecordTransactionBadRequest) MergeErrorsNoOperations(v ErrorsNoOperations) error
MergeErrorsNoOperations performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsNoOperations
func (*ResponsesRecordTransactionBadRequest) MergeErrorsUTXOSpent ¶
func (t *ResponsesRecordTransactionBadRequest) MergeErrorsUTXOSpent(v ErrorsUTXOSpent) error
MergeErrorsUTXOSpent performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsUTXOSpent
func (*ResponsesRecordTransactionBadRequest) UnmarshalJSON ¶
func (t *ResponsesRecordTransactionBadRequest) UnmarshalJSON(b []byte) error
type ResponsesRecordTransactionInternalServerError ¶
type ResponsesRecordTransactionInternalServerError struct {
// contains filtered or unexported fields
}
ResponsesRecordTransactionInternalServerError defines model for responses_RecordTransactionInternalServerError.
func (ResponsesRecordTransactionInternalServerError) AsErrorsGettingOutputs ¶
func (t ResponsesRecordTransactionInternalServerError) AsErrorsGettingOutputs() (ErrorsGettingOutputs, error)
AsErrorsGettingOutputs returns the union data inside the ResponsesRecordTransactionInternalServerError as a ErrorsGettingOutputs
func (ResponsesRecordTransactionInternalServerError) AsErrorsInternal ¶
func (t ResponsesRecordTransactionInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
AsErrorsInternal returns the union data inside the ResponsesRecordTransactionInternalServerError as a ErrorsInternal
func (ResponsesRecordTransactionInternalServerError) AsErrorsTxBroadcast ¶
func (t ResponsesRecordTransactionInternalServerError) AsErrorsTxBroadcast() (ErrorsTxBroadcast, error)
AsErrorsTxBroadcast returns the union data inside the ResponsesRecordTransactionInternalServerError as a ErrorsTxBroadcast
func (*ResponsesRecordTransactionInternalServerError) FromErrorsGettingOutputs ¶
func (t *ResponsesRecordTransactionInternalServerError) FromErrorsGettingOutputs(v ErrorsGettingOutputs) error
FromErrorsGettingOutputs overwrites any union data inside the ResponsesRecordTransactionInternalServerError as the provided ErrorsGettingOutputs
func (*ResponsesRecordTransactionInternalServerError) FromErrorsInternal ¶
func (t *ResponsesRecordTransactionInternalServerError) FromErrorsInternal(v ErrorsInternal) error
FromErrorsInternal overwrites any union data inside the ResponsesRecordTransactionInternalServerError as the provided ErrorsInternal
func (*ResponsesRecordTransactionInternalServerError) FromErrorsTxBroadcast ¶
func (t *ResponsesRecordTransactionInternalServerError) FromErrorsTxBroadcast(v ErrorsTxBroadcast) error
FromErrorsTxBroadcast overwrites any union data inside the ResponsesRecordTransactionInternalServerError as the provided ErrorsTxBroadcast
func (ResponsesRecordTransactionInternalServerError) MarshalJSON ¶
func (t ResponsesRecordTransactionInternalServerError) MarshalJSON() ([]byte, error)
func (*ResponsesRecordTransactionInternalServerError) MergeErrorsGettingOutputs ¶
func (t *ResponsesRecordTransactionInternalServerError) MergeErrorsGettingOutputs(v ErrorsGettingOutputs) error
MergeErrorsGettingOutputs performs a merge with any union data inside the ResponsesRecordTransactionInternalServerError, using the provided ErrorsGettingOutputs
func (*ResponsesRecordTransactionInternalServerError) MergeErrorsInternal ¶
func (t *ResponsesRecordTransactionInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
MergeErrorsInternal performs a merge with any union data inside the ResponsesRecordTransactionInternalServerError, using the provided ErrorsInternal
func (*ResponsesRecordTransactionInternalServerError) MergeErrorsTxBroadcast ¶
func (t *ResponsesRecordTransactionInternalServerError) MergeErrorsTxBroadcast(v ErrorsTxBroadcast) error
MergeErrorsTxBroadcast performs a merge with any union data inside the ResponsesRecordTransactionInternalServerError, using the provided ErrorsTxBroadcast
func (*ResponsesRecordTransactionInternalServerError) UnmarshalJSON ¶
func (t *ResponsesRecordTransactionInternalServerError) UnmarshalJSON(b []byte) error
type ResponsesRecordTransactionSuccess ¶
type ResponsesRecordTransactionSuccess = ModelsRecordedOutline
ResponsesRecordTransactionSuccess defines model for responses_RecordTransactionSuccess.
type ResponsesSearchBadRequest ¶
type ResponsesSearchBadRequest = ErrorsInvalidDataID
ResponsesSearchBadRequest defines model for responses_SearchBadRequest.
type ResponsesSearchOperationsSuccess ¶
type ResponsesSearchOperationsSuccess = ModelsOperationsSearchResult
ResponsesSearchOperationsSuccess defines model for responses_SearchOperationsSuccess.
type ResponsesSharedConfig ¶
type ResponsesSharedConfig = ModelsSharedConfig
ResponsesSharedConfig Shared config
type ResponsesSubscribeToWebhookBadRequest ¶
type ResponsesSubscribeToWebhookBadRequest struct {
// contains filtered or unexported fields
}
ResponsesSubscribeToWebhookBadRequest defines model for responses_SubscribeToWebhookBadRequest.
func (ResponsesSubscribeToWebhookBadRequest) AsErrorsCannotBindRequest ¶
func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsCannotBindRequest() (ErrorsCannotBindRequest, error)
AsErrorsCannotBindRequest returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsCannotBindRequest
func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenHeaderRequired ¶
func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenHeaderRequired() (ErrorsWebhookTokenHeaderRequired, error)
AsErrorsWebhookTokenHeaderRequired returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookTokenHeaderRequired
func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenValueRequired ¶
func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenValueRequired() (ErrorsWebhookTokenValueRequired, error)
AsErrorsWebhookTokenValueRequired returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookTokenValueRequired
func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlInvalid ¶
func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlInvalid() (ErrorsWebhookUrlInvalid, error)
AsErrorsWebhookUrlInvalid returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookUrlInvalid
func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlRequired ¶
func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlRequired() (ErrorsWebhookUrlRequired, error)
AsErrorsWebhookUrlRequired returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookUrlRequired
func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsCannotBindRequest ¶
func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
FromErrorsCannotBindRequest overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsCannotBindRequest
func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenHeaderRequired ¶
func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenHeaderRequired(v ErrorsWebhookTokenHeaderRequired) error
FromErrorsWebhookTokenHeaderRequired overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookTokenHeaderRequired
func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenValueRequired ¶
func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenValueRequired(v ErrorsWebhookTokenValueRequired) error
FromErrorsWebhookTokenValueRequired overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookTokenValueRequired
func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlInvalid ¶
func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlInvalid(v ErrorsWebhookUrlInvalid) error
FromErrorsWebhookUrlInvalid overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookUrlInvalid
func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlRequired ¶
func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlRequired(v ErrorsWebhookUrlRequired) error
FromErrorsWebhookUrlRequired overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookUrlRequired
func (ResponsesSubscribeToWebhookBadRequest) MarshalJSON ¶
func (t ResponsesSubscribeToWebhookBadRequest) MarshalJSON() ([]byte, error)
func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsCannotBindRequest ¶
func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
MergeErrorsCannotBindRequest performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsCannotBindRequest
func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenHeaderRequired ¶
func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenHeaderRequired(v ErrorsWebhookTokenHeaderRequired) error
MergeErrorsWebhookTokenHeaderRequired performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookTokenHeaderRequired
func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenValueRequired ¶
func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenValueRequired(v ErrorsWebhookTokenValueRequired) error
MergeErrorsWebhookTokenValueRequired performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookTokenValueRequired
func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlInvalid ¶
func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlInvalid(v ErrorsWebhookUrlInvalid) error
MergeErrorsWebhookUrlInvalid performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookUrlInvalid
func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlRequired ¶
func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlRequired(v ErrorsWebhookUrlRequired) error
MergeErrorsWebhookUrlRequired performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookUrlRequired
func (*ResponsesSubscribeToWebhookBadRequest) UnmarshalJSON ¶
func (t *ResponsesSubscribeToWebhookBadRequest) UnmarshalJSON(b []byte) error
type ResponsesSubscribeToWebhookInternalServerError ¶
type ResponsesSubscribeToWebhookInternalServerError = ErrorsCannotBindRequest
ResponsesSubscribeToWebhookInternalServerError defines model for responses_SubscribeToWebhookInternalServerError.
type ResponsesUnsubscribeToWebhookInternalServerError ¶
type ResponsesUnsubscribeToWebhookInternalServerError = ErrorsCannotBindRequest
ResponsesUnsubscribeToWebhookInternalServerError defines model for responses_UnsubscribeToWebhookInternalServerError.
type ResponsesUpdateContactBadRequest ¶
type ResponsesUpdateContactBadRequest struct {
// contains filtered or unexported fields
}
ResponsesUpdateContactBadRequest defines model for responses_UpdateContactBadRequest.
func (ResponsesUpdateContactBadRequest) AsErrorsContactInWrongStatus ¶
func (t ResponsesUpdateContactBadRequest) AsErrorsContactInWrongStatus() (ErrorsContactInWrongStatus, error)
AsErrorsContactInWrongStatus returns the union data inside the ResponsesUpdateContactBadRequest as a ErrorsContactInWrongStatus
func (*ResponsesUpdateContactBadRequest) FromErrorsContactInWrongStatus ¶
func (t *ResponsesUpdateContactBadRequest) FromErrorsContactInWrongStatus(v ErrorsContactInWrongStatus) error
FromErrorsContactInWrongStatus overwrites any union data inside the ResponsesUpdateContactBadRequest as the provided ErrorsContactInWrongStatus
func (ResponsesUpdateContactBadRequest) MarshalJSON ¶
func (t ResponsesUpdateContactBadRequest) MarshalJSON() ([]byte, error)
func (*ResponsesUpdateContactBadRequest) MergeErrorsContactInWrongStatus ¶
func (t *ResponsesUpdateContactBadRequest) MergeErrorsContactInWrongStatus(v ErrorsContactInWrongStatus) error
MergeErrorsContactInWrongStatus performs a merge with any union data inside the ResponsesUpdateContactBadRequest, using the provided ErrorsContactInWrongStatus
func (*ResponsesUpdateContactBadRequest) UnmarshalJSON ¶
func (t *ResponsesUpdateContactBadRequest) UnmarshalJSON(b []byte) error
type ResponsesUpdateContactInternalServerError ¶
type ResponsesUpdateContactInternalServerError struct {
// contains filtered or unexported fields
}
ResponsesUpdateContactInternalServerError defines model for responses_UpdateContactInternalServerError.
func (ResponsesUpdateContactInternalServerError) AsErrorsInternal ¶
func (t ResponsesUpdateContactInternalServerError) AsErrorsInternal() (ErrorsInternal, error)
AsErrorsInternal returns the union data inside the ResponsesUpdateContactInternalServerError as a ErrorsInternal
func (ResponsesUpdateContactInternalServerError) AsErrorsUpdateContactStatus ¶
func (t ResponsesUpdateContactInternalServerError) AsErrorsUpdateContactStatus() (ErrorsUpdateContactStatus, error)
AsErrorsUpdateContactStatus returns the union data inside the ResponsesUpdateContactInternalServerError as a ErrorsUpdateContactStatus
func (*ResponsesUpdateContactInternalServerError) FromErrorsInternal ¶
func (t *ResponsesUpdateContactInternalServerError) FromErrorsInternal(v ErrorsInternal) error
FromErrorsInternal overwrites any union data inside the ResponsesUpdateContactInternalServerError as the provided ErrorsInternal
func (*ResponsesUpdateContactInternalServerError) FromErrorsUpdateContactStatus ¶
func (t *ResponsesUpdateContactInternalServerError) FromErrorsUpdateContactStatus(v ErrorsUpdateContactStatus) error
FromErrorsUpdateContactStatus overwrites any union data inside the ResponsesUpdateContactInternalServerError as the provided ErrorsUpdateContactStatus
func (ResponsesUpdateContactInternalServerError) MarshalJSON ¶
func (t ResponsesUpdateContactInternalServerError) MarshalJSON() ([]byte, error)
func (*ResponsesUpdateContactInternalServerError) MergeErrorsInternal ¶
func (t *ResponsesUpdateContactInternalServerError) MergeErrorsInternal(v ErrorsInternal) error
MergeErrorsInternal performs a merge with any union data inside the ResponsesUpdateContactInternalServerError, using the provided ErrorsInternal
func (*ResponsesUpdateContactInternalServerError) MergeErrorsUpdateContactStatus ¶
func (t *ResponsesUpdateContactInternalServerError) MergeErrorsUpdateContactStatus(v ErrorsUpdateContactStatus) error
MergeErrorsUpdateContactStatus performs a merge with any union data inside the ResponsesUpdateContactInternalServerError, using the provided ErrorsUpdateContactStatus
func (*ResponsesUpdateContactInternalServerError) UnmarshalJSON ¶
func (t *ResponsesUpdateContactInternalServerError) UnmarshalJSON(b []byte) error
type ResponsesUpsertContactBadRequest ¶
type ResponsesUpsertContactBadRequest struct {
// contains filtered or unexported fields
}
ResponsesUpsertContactBadRequest defines model for responses_UpsertContactBadRequest.
func (ResponsesUpsertContactBadRequest) AsErrorsCannotBindRequest ¶
func (t ResponsesUpsertContactBadRequest) AsErrorsCannotBindRequest() (ErrorsCannotBindRequest, error)
AsErrorsCannotBindRequest returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsCannotBindRequest
func (ResponsesUpsertContactBadRequest) AsErrorsContactFullNameRequired ¶
func (t ResponsesUpsertContactBadRequest) AsErrorsContactFullNameRequired() (ErrorsContactFullNameRequired, error)
AsErrorsContactFullNameRequired returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsContactFullNameRequired
func (ResponsesUpsertContactBadRequest) AsErrorsContactInvalidPaymail ¶
func (t ResponsesUpsertContactBadRequest) AsErrorsContactInvalidPaymail() (ErrorsContactInvalidPaymail, error)
AsErrorsContactInvalidPaymail returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsContactInvalidPaymail
func (ResponsesUpsertContactBadRequest) AsErrorsGettingPKIFailed ¶
func (t ResponsesUpsertContactBadRequest) AsErrorsGettingPKIFailed() (ErrorsGettingPKIFailed, error)
AsErrorsGettingPKIFailed returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsGettingPKIFailed
func (ResponsesUpsertContactBadRequest) AsErrorsSaveContact ¶
func (t ResponsesUpsertContactBadRequest) AsErrorsSaveContact() (ErrorsSaveContact, error)
AsErrorsSaveContact returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsSaveContact
func (ResponsesUpsertContactBadRequest) AsErrorsUserDoNotOwnPaymail ¶
func (t ResponsesUpsertContactBadRequest) AsErrorsUserDoNotOwnPaymail() (ErrorsUserDoNotOwnPaymail, error)
AsErrorsUserDoNotOwnPaymail returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsUserDoNotOwnPaymail
func (*ResponsesUpsertContactBadRequest) FromErrorsCannotBindRequest ¶
func (t *ResponsesUpsertContactBadRequest) FromErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
FromErrorsCannotBindRequest overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsCannotBindRequest
func (*ResponsesUpsertContactBadRequest) FromErrorsContactFullNameRequired ¶
func (t *ResponsesUpsertContactBadRequest) FromErrorsContactFullNameRequired(v ErrorsContactFullNameRequired) error
FromErrorsContactFullNameRequired overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsContactFullNameRequired
func (*ResponsesUpsertContactBadRequest) FromErrorsContactInvalidPaymail ¶
func (t *ResponsesUpsertContactBadRequest) FromErrorsContactInvalidPaymail(v ErrorsContactInvalidPaymail) error
FromErrorsContactInvalidPaymail overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsContactInvalidPaymail
func (*ResponsesUpsertContactBadRequest) FromErrorsGettingPKIFailed ¶
func (t *ResponsesUpsertContactBadRequest) FromErrorsGettingPKIFailed(v ErrorsGettingPKIFailed) error
FromErrorsGettingPKIFailed overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsGettingPKIFailed
func (*ResponsesUpsertContactBadRequest) FromErrorsSaveContact ¶
func (t *ResponsesUpsertContactBadRequest) FromErrorsSaveContact(v ErrorsSaveContact) error
FromErrorsSaveContact overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsSaveContact
func (*ResponsesUpsertContactBadRequest) FromErrorsUserDoNotOwnPaymail ¶
func (t *ResponsesUpsertContactBadRequest) FromErrorsUserDoNotOwnPaymail(v ErrorsUserDoNotOwnPaymail) error
FromErrorsUserDoNotOwnPaymail overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsUserDoNotOwnPaymail
func (ResponsesUpsertContactBadRequest) MarshalJSON ¶
func (t ResponsesUpsertContactBadRequest) MarshalJSON() ([]byte, error)
func (*ResponsesUpsertContactBadRequest) MergeErrorsCannotBindRequest ¶
func (t *ResponsesUpsertContactBadRequest) MergeErrorsCannotBindRequest(v ErrorsCannotBindRequest) error
MergeErrorsCannotBindRequest performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsCannotBindRequest
func (*ResponsesUpsertContactBadRequest) MergeErrorsContactFullNameRequired ¶
func (t *ResponsesUpsertContactBadRequest) MergeErrorsContactFullNameRequired(v ErrorsContactFullNameRequired) error
MergeErrorsContactFullNameRequired performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsContactFullNameRequired
func (*ResponsesUpsertContactBadRequest) MergeErrorsContactInvalidPaymail ¶
func (t *ResponsesUpsertContactBadRequest) MergeErrorsContactInvalidPaymail(v ErrorsContactInvalidPaymail) error
MergeErrorsContactInvalidPaymail performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsContactInvalidPaymail
func (*ResponsesUpsertContactBadRequest) MergeErrorsGettingPKIFailed ¶
func (t *ResponsesUpsertContactBadRequest) MergeErrorsGettingPKIFailed(v ErrorsGettingPKIFailed) error
MergeErrorsGettingPKIFailed performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsGettingPKIFailed
func (*ResponsesUpsertContactBadRequest) MergeErrorsSaveContact ¶
func (t *ResponsesUpsertContactBadRequest) MergeErrorsSaveContact(v ErrorsSaveContact) error
MergeErrorsSaveContact performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsSaveContact
func (*ResponsesUpsertContactBadRequest) MergeErrorsUserDoNotOwnPaymail ¶
func (t *ResponsesUpsertContactBadRequest) MergeErrorsUserDoNotOwnPaymail(v ErrorsUserDoNotOwnPaymail) error
MergeErrorsUserDoNotOwnPaymail performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsUserDoNotOwnPaymail
func (*ResponsesUpsertContactBadRequest) UnmarshalJSON ¶
func (t *ResponsesUpsertContactBadRequest) UnmarshalJSON(b []byte) error
type ResponsesUpsertContactNotFound ¶
type ResponsesUpsertContactNotFound struct {
// contains filtered or unexported fields
}
ResponsesUpsertContactNotFound defines model for responses_UpsertContactNotFound.
func (ResponsesUpsertContactNotFound) AsErrorsCouldNotFindPaymail ¶
func (t ResponsesUpsertContactNotFound) AsErrorsCouldNotFindPaymail() (ErrorsCouldNotFindPaymail, error)
AsErrorsCouldNotFindPaymail returns the union data inside the ResponsesUpsertContactNotFound as a ErrorsCouldNotFindPaymail
func (*ResponsesUpsertContactNotFound) FromErrorsCouldNotFindPaymail ¶
func (t *ResponsesUpsertContactNotFound) FromErrorsCouldNotFindPaymail(v ErrorsCouldNotFindPaymail) error
FromErrorsCouldNotFindPaymail overwrites any union data inside the ResponsesUpsertContactNotFound as the provided ErrorsCouldNotFindPaymail
func (ResponsesUpsertContactNotFound) MarshalJSON ¶
func (t ResponsesUpsertContactNotFound) MarshalJSON() ([]byte, error)
func (*ResponsesUpsertContactNotFound) MergeErrorsCouldNotFindPaymail ¶
func (t *ResponsesUpsertContactNotFound) MergeErrorsCouldNotFindPaymail(v ErrorsCouldNotFindPaymail) error
MergeErrorsCouldNotFindPaymail performs a merge with any union data inside the ResponsesUpsertContactNotFound, using the provided ErrorsCouldNotFindPaymail
func (*ResponsesUpsertContactNotFound) UnmarshalJSON ¶
func (t *ResponsesUpsertContactNotFound) UnmarshalJSON(b []byte) error
type ResponsesUserBadRequest ¶
type ResponsesUserBadRequest = ErrorsInvalidDataID
ResponsesUserBadRequest defines model for responses_UserBadRequest.
type ResponsesUserNotAuthorized ¶
type ResponsesUserNotAuthorized = ErrorsUserAuthorization
ResponsesUserNotAuthorized defines model for responses_UserNotAuthorized.
type SearchOperationsParams ¶
type SearchOperationsParams struct {
// Page Page number for pagination
Page *RequestsPageNumber `form:"page,omitempty" json:"page,omitempty"`
// Size Number of items per page
Size *RequestsPageSize `form:"size,omitempty" json:"size,omitempty"`
// Sort Sorting order (asc or desc)
Sort *RequestsSort `form:"sort,omitempty" json:"sort,omitempty"`
// SortBy Field to sort by
SortBy *RequestsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
}
SearchOperationsParams defines parameters for SearchOperations.
type ServerInterface ¶
type ServerInterface interface {
// Confirm contact
// (POST /api/v2/admin/contacts/confirmations)
AdminConfirmContact(c *gin.Context)
// Delete contact
// (DELETE /api/v2/admin/contacts/{id})
AdminDeleteContact(c *gin.Context, id uint)
// Update contact
// (PUT /api/v2/admin/contacts/{id})
AdminUpdateContact(c *gin.Context, id uint)
// Create contact
// (POST /api/v2/admin/contacts/{paymail})
AdminCreateContact(c *gin.Context, paymail string)
// Reject invitation
// (DELETE /api/v2/admin/invitations/{id})
AdminRejectInvitation(c *gin.Context, id uint)
// Accept invitation
// (POST /api/v2/admin/invitations/{id})
AdminAcceptInvitation(c *gin.Context, id uint)
// Get admin status
// (GET /api/v2/admin/status)
AdminStatus(c *gin.Context)
// Record transaction outline for user
// (POST /api/v2/admin/transactions/record)
RecordTransactionOutlineForUser(c *gin.Context)
// Create user
// (POST /api/v2/admin/users)
CreateUser(c *gin.Context)
// Get user by id
// (GET /api/v2/admin/users/{id})
UserById(c *gin.Context, id string)
// Add paymails to user
// (POST /api/v2/admin/users/{id}/paymails)
AddPaymailToUser(c *gin.Context, id string)
// Delete webhooks
// (DELETE /api/v2/admin/webhooks)
UnsubscribeWebhook(c *gin.Context)
// Get webhooks
// (GET /api/v2/admin/webhooks)
Webhooks(c *gin.Context)
// Create webhook
// (POST /api/v2/admin/webhooks)
SubscribeWebhook(c *gin.Context)
// (GET /api/v2/configs/shared)
SharedConfig(c *gin.Context)
// Remove contact
// (DELETE /api/v2/contacts/{paymail})
RemoveContact(c *gin.Context, paymail string)
// Get contact
// (GET /api/v2/contacts/{paymail})
GetContact(c *gin.Context, paymail string)
// Add contact
// (PUT /api/v2/contacts/{paymail})
UpsertContact(c *gin.Context, paymail string)
// Unconfirm contact
// (DELETE /api/v2/contacts/{paymail}/confirmation)
UnconfirmContact(c *gin.Context, paymail string)
// Confirm contact
// (POST /api/v2/contacts/{paymail}/confirmation)
ConfirmContact(c *gin.Context, paymail string)
// Get data for user
// (GET /api/v2/data/{id})
DataById(c *gin.Context, id string)
// Reject invitation
// (DELETE /api/v2/invitations/{paymail})
RejectInvitation(c *gin.Context, paymail string)
// Accept invitation
// (POST /api/v2/invitations/{paymail}/contacts)
AcceptInvitation(c *gin.Context, paymail string)
// Get Merkleroots
// (GET /api/v2/merkleroots)
MerkleRoots(c *gin.Context, params MerkleRootsParams)
// Get operations for user
// (GET /api/v2/operations/search)
SearchOperations(c *gin.Context, params SearchOperationsParams)
// Record transaction outline
// (POST /api/v2/transactions)
RecordTransactionOutline(c *gin.Context)
// Create transaction outline
// (POST /api/v2/transactions/outlines)
CreateTransactionOutline(c *gin.Context, params CreateTransactionOutlineParams)
// Create Paymail Address
// (POST /api/v2/users/address)
CreateAddress(c *gin.Context)
// Delete current user
// (DELETE /api/v2/users/current)
DeleteCurrentUser(c *gin.Context)
// Get current user
// (GET /api/v2/users/current)
CurrentUser(c *gin.Context)
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AcceptInvitation ¶
func (siw *ServerInterfaceWrapper) AcceptInvitation(c *gin.Context)
AcceptInvitation operation middleware
func (*ServerInterfaceWrapper) AddPaymailToUser ¶
func (siw *ServerInterfaceWrapper) AddPaymailToUser(c *gin.Context)
AddPaymailToUser operation middleware
func (*ServerInterfaceWrapper) AdminAcceptInvitation ¶
func (siw *ServerInterfaceWrapper) AdminAcceptInvitation(c *gin.Context)
AdminAcceptInvitation operation middleware
func (*ServerInterfaceWrapper) AdminConfirmContact ¶
func (siw *ServerInterfaceWrapper) AdminConfirmContact(c *gin.Context)
AdminConfirmContact operation middleware
func (*ServerInterfaceWrapper) AdminCreateContact ¶
func (siw *ServerInterfaceWrapper) AdminCreateContact(c *gin.Context)
AdminCreateContact operation middleware
func (*ServerInterfaceWrapper) AdminDeleteContact ¶
func (siw *ServerInterfaceWrapper) AdminDeleteContact(c *gin.Context)
AdminDeleteContact operation middleware
func (*ServerInterfaceWrapper) AdminRejectInvitation ¶
func (siw *ServerInterfaceWrapper) AdminRejectInvitation(c *gin.Context)
AdminRejectInvitation operation middleware
func (*ServerInterfaceWrapper) AdminStatus ¶
func (siw *ServerInterfaceWrapper) AdminStatus(c *gin.Context)
AdminStatus operation middleware
func (*ServerInterfaceWrapper) AdminUpdateContact ¶
func (siw *ServerInterfaceWrapper) AdminUpdateContact(c *gin.Context)
AdminUpdateContact operation middleware
func (*ServerInterfaceWrapper) ConfirmContact ¶
func (siw *ServerInterfaceWrapper) ConfirmContact(c *gin.Context)
ConfirmContact operation middleware
func (*ServerInterfaceWrapper) CreateAddress ¶
func (siw *ServerInterfaceWrapper) CreateAddress(c *gin.Context)
CreateAddress operation middleware
func (*ServerInterfaceWrapper) CreateTransactionOutline ¶
func (siw *ServerInterfaceWrapper) CreateTransactionOutline(c *gin.Context)
CreateTransactionOutline operation middleware
func (*ServerInterfaceWrapper) CreateUser ¶
func (siw *ServerInterfaceWrapper) CreateUser(c *gin.Context)
CreateUser operation middleware
func (*ServerInterfaceWrapper) CurrentUser ¶
func (siw *ServerInterfaceWrapper) CurrentUser(c *gin.Context)
CurrentUser operation middleware
func (*ServerInterfaceWrapper) DataById ¶
func (siw *ServerInterfaceWrapper) DataById(c *gin.Context)
DataById operation middleware
func (*ServerInterfaceWrapper) DeleteCurrentUser ¶
func (siw *ServerInterfaceWrapper) DeleteCurrentUser(c *gin.Context)
DeleteCurrentUser operation middleware
func (*ServerInterfaceWrapper) GetContact ¶
func (siw *ServerInterfaceWrapper) GetContact(c *gin.Context)
GetContact operation middleware
func (*ServerInterfaceWrapper) MerkleRoots ¶
func (siw *ServerInterfaceWrapper) MerkleRoots(c *gin.Context)
MerkleRoots operation middleware
func (*ServerInterfaceWrapper) RecordTransactionOutline ¶
func (siw *ServerInterfaceWrapper) RecordTransactionOutline(c *gin.Context)
RecordTransactionOutline operation middleware
func (*ServerInterfaceWrapper) RecordTransactionOutlineForUser ¶
func (siw *ServerInterfaceWrapper) RecordTransactionOutlineForUser(c *gin.Context)
RecordTransactionOutlineForUser operation middleware
func (*ServerInterfaceWrapper) RejectInvitation ¶
func (siw *ServerInterfaceWrapper) RejectInvitation(c *gin.Context)
RejectInvitation operation middleware
func (*ServerInterfaceWrapper) RemoveContact ¶
func (siw *ServerInterfaceWrapper) RemoveContact(c *gin.Context)
RemoveContact operation middleware
func (*ServerInterfaceWrapper) SearchOperations ¶
func (siw *ServerInterfaceWrapper) SearchOperations(c *gin.Context)
SearchOperations operation middleware
func (*ServerInterfaceWrapper) SharedConfig ¶
func (siw *ServerInterfaceWrapper) SharedConfig(c *gin.Context)
SharedConfig operation middleware
func (*ServerInterfaceWrapper) SubscribeWebhook ¶
func (siw *ServerInterfaceWrapper) SubscribeWebhook(c *gin.Context)
SubscribeWebhook operation middleware
func (*ServerInterfaceWrapper) UnconfirmContact ¶
func (siw *ServerInterfaceWrapper) UnconfirmContact(c *gin.Context)
UnconfirmContact operation middleware
func (*ServerInterfaceWrapper) UnsubscribeWebhook ¶
func (siw *ServerInterfaceWrapper) UnsubscribeWebhook(c *gin.Context)
UnsubscribeWebhook operation middleware
func (*ServerInterfaceWrapper) UpsertContact ¶
func (siw *ServerInterfaceWrapper) UpsertContact(c *gin.Context)
UpsertContact operation middleware
func (*ServerInterfaceWrapper) UserById ¶
func (siw *ServerInterfaceWrapper) UserById(c *gin.Context)
UserById operation middleware
func (*ServerInterfaceWrapper) Webhooks ¶
func (siw *ServerInterfaceWrapper) Webhooks(c *gin.Context)
Webhooks operation middleware
type SubscribeWebhookJSONRequestBody ¶
type SubscribeWebhookJSONRequestBody = RequestsSubscribeWebhook
SubscribeWebhookJSONRequestBody defines body for SubscribeWebhook for application/json ContentType.
type UnsubscribeWebhookJSONRequestBody ¶
type UnsubscribeWebhookJSONRequestBody = RequestsUnsubscribeWebhook
UnsubscribeWebhookJSONRequestBody defines body for UnsubscribeWebhook for application/json ContentType.
type UpsertContactJSONRequestBody ¶
type UpsertContactJSONRequestBody = RequestsUpsertContact
UpsertContactJSONRequestBody defines body for UpsertContact for application/json ContentType.