Documentation
¶
Overview ¶
Package daRegistry provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewGetAllInstrumentConfigurationsRequest(server string) (*http.Request, error)
- func NewGetAllPackagesRequest(server string) (*http.Request, error)
- func NewGetBurnMintFactoryRequest(server string, body GetBurnMintFactoryJSONRequestBody) (*http.Request, error)
- func NewGetBurnMintFactoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetBurnOfferAcceptContextRequest(server string, burnOfferId string) (*http.Request, error)
- func NewGetBurnOfferCancelContextRequest(server string, burnOfferId string) (*http.Request, error)
- func NewGetBurnOfferCreateContextRequest(server string, body GetBurnOfferCreateContextJSONRequestBody) (*http.Request, error)
- func NewGetBurnOfferCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetBurnOfferRejectContextRequest(server string, burnOfferId string) (*http.Request, error)
- func NewGetBurnRequestAcceptContextRequest(server string, burnRequestId string) (*http.Request, error)
- func NewGetBurnRequestCancelContextRequest(server string, burnRequestId string) (*http.Request, error)
- func NewGetBurnRequestCreateContextRequest(server string, body GetBurnRequestCreateContextJSONRequestBody) (*http.Request, error)
- func NewGetBurnRequestCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetBurnRequestRejectContextRequest(server string, burnRequestId string) (*http.Request, error)
- func NewGetInstrumentConfigurationRequest(server string, body GetInstrumentConfigurationJSONRequestBody) (*http.Request, error)
- func NewGetInstrumentConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetMintOfferAcceptContextRequest(server string, mintOfferId string) (*http.Request, error)
- func NewGetMintOfferCancelContextRequest(server string, mintOfferId string) (*http.Request, error)
- func NewGetMintOfferCreateContextRequest(server string, body GetMintOfferCreateContextJSONRequestBody) (*http.Request, error)
- func NewGetMintOfferCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetMintOfferRejectContextRequest(server string, mintOfferId string) (*http.Request, error)
- func NewGetMintRequestAcceptContextRequest(server string, mintRequestId string) (*http.Request, error)
- func NewGetMintRequestCancelContextRequest(server string, mintRequestId string) (*http.Request, error)
- func NewGetMintRequestCreateContextRequest(server string, body GetMintRequestCreateContextJSONRequestBody) (*http.Request, error)
- func NewGetMintRequestCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetMintRequestRejectContextRequest(server string, mintRequestId string) (*http.Request, error)
- func NewGetOpenApiSpecRequest(server string) (*http.Request, error)
- func NewGetOperatorRequest(server string) (*http.Request, error)
- func NewIsLiveRequest(server string) (*http.Request, error)
- func NewIsReadyRequest(server string) (*http.Request, error)
- func NewRootRequest(server string) (*http.Request, error)
- func NewVerifyTransferProofRequest(server string, body VerifyTransferProofJSONRequestBody) (*http.Request, error)
- func NewVerifyTransferProofRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func RegisterHandlers(router gin.IRouter, si ServerInterface)
- func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
- type ChoiceContext
- type Client
- func (c *Client) GetAllInstrumentConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllPackages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBurnMintFactory(ctx context.Context, body GetBurnMintFactoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetBurnMintFactoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetBurnOfferAcceptContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBurnOfferCancelContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBurnOfferCreateContext(ctx context.Context, body GetBurnOfferCreateContextJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetBurnOfferCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetBurnOfferRejectContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBurnRequestAcceptContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBurnRequestCancelContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBurnRequestCreateContext(ctx context.Context, body GetBurnRequestCreateContextJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetBurnRequestCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetBurnRequestRejectContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstrumentConfiguration(ctx context.Context, body GetInstrumentConfigurationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetInstrumentConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetMintOfferAcceptContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMintOfferCancelContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMintOfferCreateContext(ctx context.Context, body GetMintOfferCreateContextJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetMintOfferCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetMintOfferRejectContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMintRequestAcceptContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMintRequestCancelContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMintRequestCreateContext(ctx context.Context, body GetMintRequestCreateContextJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetMintRequestCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetMintRequestRejectContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOpenApiSpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOperator(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsLive(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsReady(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Root(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VerifyTransferProof(ctx context.Context, body VerifyTransferProofJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VerifyTransferProofWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GetAllInstrumentConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllInstrumentConfigurationsResp, error)
- func (c *ClientWithResponses) GetAllPackagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllPackagesResp, error)
- func (c *ClientWithResponses) GetBurnMintFactoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetBurnMintFactoryResp, error)
- func (c *ClientWithResponses) GetBurnMintFactoryWithResponse(ctx context.Context, body GetBurnMintFactoryJSONRequestBody, ...) (*GetBurnMintFactoryResp, error)
- func (c *ClientWithResponses) GetBurnOfferAcceptContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferAcceptContextResp, error)
- func (c *ClientWithResponses) GetBurnOfferCancelContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferCancelContextResp, error)
- func (c *ClientWithResponses) GetBurnOfferCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetBurnOfferCreateContextResp, error)
- func (c *ClientWithResponses) GetBurnOfferCreateContextWithResponse(ctx context.Context, body GetBurnOfferCreateContextJSONRequestBody, ...) (*GetBurnOfferCreateContextResp, error)
- func (c *ClientWithResponses) GetBurnOfferRejectContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferRejectContextResp, error)
- func (c *ClientWithResponses) GetBurnRequestAcceptContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestAcceptContextResp, error)
- func (c *ClientWithResponses) GetBurnRequestCancelContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestCancelContextResp, error)
- func (c *ClientWithResponses) GetBurnRequestCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetBurnRequestCreateContextResp, error)
- func (c *ClientWithResponses) GetBurnRequestCreateContextWithResponse(ctx context.Context, body GetBurnRequestCreateContextJSONRequestBody, ...) (*GetBurnRequestCreateContextResp, error)
- func (c *ClientWithResponses) GetBurnRequestRejectContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestRejectContextResp, error)
- func (c *ClientWithResponses) GetInstrumentConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetInstrumentConfigurationResp, error)
- func (c *ClientWithResponses) GetInstrumentConfigurationWithResponse(ctx context.Context, body GetInstrumentConfigurationJSONRequestBody, ...) (*GetInstrumentConfigurationResp, error)
- func (c *ClientWithResponses) GetMintOfferAcceptContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferAcceptContextResp, error)
- func (c *ClientWithResponses) GetMintOfferCancelContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferCancelContextResp, error)
- func (c *ClientWithResponses) GetMintOfferCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetMintOfferCreateContextResp, error)
- func (c *ClientWithResponses) GetMintOfferCreateContextWithResponse(ctx context.Context, body GetMintOfferCreateContextJSONRequestBody, ...) (*GetMintOfferCreateContextResp, error)
- func (c *ClientWithResponses) GetMintOfferRejectContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferRejectContextResp, error)
- func (c *ClientWithResponses) GetMintRequestAcceptContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestAcceptContextResp, error)
- func (c *ClientWithResponses) GetMintRequestCancelContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestCancelContextResp, error)
- func (c *ClientWithResponses) GetMintRequestCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetMintRequestCreateContextResp, error)
- func (c *ClientWithResponses) GetMintRequestCreateContextWithResponse(ctx context.Context, body GetMintRequestCreateContextJSONRequestBody, ...) (*GetMintRequestCreateContextResp, error)
- func (c *ClientWithResponses) GetMintRequestRejectContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestRejectContextResp, error)
- func (c *ClientWithResponses) GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResp, error)
- func (c *ClientWithResponses) GetOperatorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOperatorResp, error)
- func (c *ClientWithResponses) IsLiveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsLiveResp, error)
- func (c *ClientWithResponses) IsReadyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsReadyResp, error)
- func (c *ClientWithResponses) RootWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RootResp, error)
- func (c *ClientWithResponses) VerifyTransferProofWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*VerifyTransferProofResp, error)
- func (c *ClientWithResponses) VerifyTransferProofWithResponse(ctx context.Context, body VerifyTransferProofJSONRequestBody, ...) (*VerifyTransferProofResp, error)
- type ClientWithResponsesInterface
- type ContractMeta
- type CredentialClaim
- type DisclosedContract
- type Error
- type FactoryWithChoiceContext
- type GetAllInstrumentConfigurationsResp
- func (r GetAllInstrumentConfigurationsResp) ContentType() string
- func (r GetAllInstrumentConfigurationsResp) GetBody() []byte
- func (r GetAllInstrumentConfigurationsResp) GetJSON200() *GetAllInstrumentConfigurationsResponse
- func (r GetAllInstrumentConfigurationsResp) GetJSON500() *Error
- func (r GetAllInstrumentConfigurationsResp) Status() string
- func (r GetAllInstrumentConfigurationsResp) StatusCode() int
- type GetAllInstrumentConfigurationsResponse
- type GetAllPackagesResp
- type GetAllPackagesResponse
- type GetBurnMintFactoryJSONRequestBody
- type GetBurnMintFactoryRequest
- type GetBurnMintFactoryResp
- func (r GetBurnMintFactoryResp) ContentType() string
- func (r GetBurnMintFactoryResp) GetBody() []byte
- func (r GetBurnMintFactoryResp) GetJSON200() *FactoryWithChoiceContext
- func (r GetBurnMintFactoryResp) GetJSON400() *N400
- func (r GetBurnMintFactoryResp) GetJSON404() *N404
- func (r GetBurnMintFactoryResp) GetJSON500() *N500
- func (r GetBurnMintFactoryResp) Status() string
- func (r GetBurnMintFactoryResp) StatusCode() int
- type GetBurnOfferAcceptContextResp
- func (r GetBurnOfferAcceptContextResp) ContentType() string
- func (r GetBurnOfferAcceptContextResp) GetBody() []byte
- func (r GetBurnOfferAcceptContextResp) GetJSON200() *ChoiceContext
- func (r GetBurnOfferAcceptContextResp) GetJSON400() *N400
- func (r GetBurnOfferAcceptContextResp) GetJSON404() *N404
- func (r GetBurnOfferAcceptContextResp) GetJSON500() *N500
- func (r GetBurnOfferAcceptContextResp) Status() string
- func (r GetBurnOfferAcceptContextResp) StatusCode() int
- type GetBurnOfferCancelContextResp
- func (r GetBurnOfferCancelContextResp) ContentType() string
- func (r GetBurnOfferCancelContextResp) GetBody() []byte
- func (r GetBurnOfferCancelContextResp) GetJSON200() *ChoiceContext
- func (r GetBurnOfferCancelContextResp) GetJSON400() *N400
- func (r GetBurnOfferCancelContextResp) GetJSON404() *N404
- func (r GetBurnOfferCancelContextResp) GetJSON500() *N500
- func (r GetBurnOfferCancelContextResp) Status() string
- func (r GetBurnOfferCancelContextResp) StatusCode() int
- type GetBurnOfferCreateContextJSONRequestBody
- type GetBurnOfferCreateContextResp
- func (r GetBurnOfferCreateContextResp) ContentType() string
- func (r GetBurnOfferCreateContextResp) GetBody() []byte
- func (r GetBurnOfferCreateContextResp) GetJSON200() *FactoryWithChoiceContext
- func (r GetBurnOfferCreateContextResp) GetJSON400() *N400
- func (r GetBurnOfferCreateContextResp) GetJSON404() *N404
- func (r GetBurnOfferCreateContextResp) GetJSON500() *N500
- func (r GetBurnOfferCreateContextResp) Status() string
- func (r GetBurnOfferCreateContextResp) StatusCode() int
- type GetBurnOfferRejectContextResp
- func (r GetBurnOfferRejectContextResp) ContentType() string
- func (r GetBurnOfferRejectContextResp) GetBody() []byte
- func (r GetBurnOfferRejectContextResp) GetJSON200() *ChoiceContext
- func (r GetBurnOfferRejectContextResp) GetJSON400() *N400
- func (r GetBurnOfferRejectContextResp) GetJSON404() *N404
- func (r GetBurnOfferRejectContextResp) GetJSON500() *N500
- func (r GetBurnOfferRejectContextResp) Status() string
- func (r GetBurnOfferRejectContextResp) StatusCode() int
- type GetBurnRequestAcceptContextResp
- func (r GetBurnRequestAcceptContextResp) ContentType() string
- func (r GetBurnRequestAcceptContextResp) GetBody() []byte
- func (r GetBurnRequestAcceptContextResp) GetJSON200() *ChoiceContext
- func (r GetBurnRequestAcceptContextResp) GetJSON400() *N400
- func (r GetBurnRequestAcceptContextResp) GetJSON404() *N404
- func (r GetBurnRequestAcceptContextResp) GetJSON500() *N500
- func (r GetBurnRequestAcceptContextResp) Status() string
- func (r GetBurnRequestAcceptContextResp) StatusCode() int
- type GetBurnRequestCancelContextResp
- func (r GetBurnRequestCancelContextResp) ContentType() string
- func (r GetBurnRequestCancelContextResp) GetBody() []byte
- func (r GetBurnRequestCancelContextResp) GetJSON200() *ChoiceContext
- func (r GetBurnRequestCancelContextResp) GetJSON400() *N400
- func (r GetBurnRequestCancelContextResp) GetJSON404() *N404
- func (r GetBurnRequestCancelContextResp) GetJSON500() *N500
- func (r GetBurnRequestCancelContextResp) Status() string
- func (r GetBurnRequestCancelContextResp) StatusCode() int
- type GetBurnRequestCreateContextJSONRequestBody
- type GetBurnRequestCreateContextResp
- func (r GetBurnRequestCreateContextResp) ContentType() string
- func (r GetBurnRequestCreateContextResp) GetBody() []byte
- func (r GetBurnRequestCreateContextResp) GetJSON200() *FactoryWithChoiceContext
- func (r GetBurnRequestCreateContextResp) GetJSON400() *N400
- func (r GetBurnRequestCreateContextResp) GetJSON404() *N404
- func (r GetBurnRequestCreateContextResp) GetJSON500() *N500
- func (r GetBurnRequestCreateContextResp) Status() string
- func (r GetBurnRequestCreateContextResp) StatusCode() int
- type GetBurnRequestRejectContextResp
- func (r GetBurnRequestRejectContextResp) ContentType() string
- func (r GetBurnRequestRejectContextResp) GetBody() []byte
- func (r GetBurnRequestRejectContextResp) GetJSON200() *ChoiceContext
- func (r GetBurnRequestRejectContextResp) GetJSON400() *N400
- func (r GetBurnRequestRejectContextResp) GetJSON404() *N404
- func (r GetBurnRequestRejectContextResp) GetJSON500() *N500
- func (r GetBurnRequestRejectContextResp) Status() string
- func (r GetBurnRequestRejectContextResp) StatusCode() int
- type GetInstrumentConfigurationJSONRequestBody
- type GetInstrumentConfigurationRequest
- type GetInstrumentConfigurationResp
- func (r GetInstrumentConfigurationResp) ContentType() string
- func (r GetInstrumentConfigurationResp) GetBody() []byte
- func (r GetInstrumentConfigurationResp) GetJSON200() *GetInstrumentConfigurationResponse
- func (r GetInstrumentConfigurationResp) GetJSON404() *Error
- func (r GetInstrumentConfigurationResp) GetJSON500() *Error
- func (r GetInstrumentConfigurationResp) Status() string
- func (r GetInstrumentConfigurationResp) StatusCode() int
- type GetInstrumentConfigurationResponse
- type GetMintOfferAcceptContextResp
- func (r GetMintOfferAcceptContextResp) ContentType() string
- func (r GetMintOfferAcceptContextResp) GetBody() []byte
- func (r GetMintOfferAcceptContextResp) GetJSON200() *ChoiceContext
- func (r GetMintOfferAcceptContextResp) GetJSON400() *N400
- func (r GetMintOfferAcceptContextResp) GetJSON404() *N404
- func (r GetMintOfferAcceptContextResp) GetJSON500() *N500
- func (r GetMintOfferAcceptContextResp) Status() string
- func (r GetMintOfferAcceptContextResp) StatusCode() int
- type GetMintOfferCancelContextResp
- func (r GetMintOfferCancelContextResp) ContentType() string
- func (r GetMintOfferCancelContextResp) GetBody() []byte
- func (r GetMintOfferCancelContextResp) GetJSON200() *ChoiceContext
- func (r GetMintOfferCancelContextResp) GetJSON400() *N400
- func (r GetMintOfferCancelContextResp) GetJSON404() *N404
- func (r GetMintOfferCancelContextResp) GetJSON500() *N500
- func (r GetMintOfferCancelContextResp) Status() string
- func (r GetMintOfferCancelContextResp) StatusCode() int
- type GetMintOfferCreateContextJSONRequestBody
- type GetMintOfferCreateContextResp
- func (r GetMintOfferCreateContextResp) ContentType() string
- func (r GetMintOfferCreateContextResp) GetBody() []byte
- func (r GetMintOfferCreateContextResp) GetJSON200() *FactoryWithChoiceContext
- func (r GetMintOfferCreateContextResp) GetJSON400() *N400
- func (r GetMintOfferCreateContextResp) GetJSON404() *N404
- func (r GetMintOfferCreateContextResp) GetJSON500() *N500
- func (r GetMintOfferCreateContextResp) Status() string
- func (r GetMintOfferCreateContextResp) StatusCode() int
- type GetMintOfferRejectContextResp
- func (r GetMintOfferRejectContextResp) ContentType() string
- func (r GetMintOfferRejectContextResp) GetBody() []byte
- func (r GetMintOfferRejectContextResp) GetJSON200() *ChoiceContext
- func (r GetMintOfferRejectContextResp) GetJSON400() *N400
- func (r GetMintOfferRejectContextResp) GetJSON404() *N404
- func (r GetMintOfferRejectContextResp) GetJSON500() *N500
- func (r GetMintOfferRejectContextResp) Status() string
- func (r GetMintOfferRejectContextResp) StatusCode() int
- type GetMintRequestAcceptContextResp
- func (r GetMintRequestAcceptContextResp) ContentType() string
- func (r GetMintRequestAcceptContextResp) GetBody() []byte
- func (r GetMintRequestAcceptContextResp) GetJSON200() *ChoiceContext
- func (r GetMintRequestAcceptContextResp) GetJSON400() *N400
- func (r GetMintRequestAcceptContextResp) GetJSON404() *N404
- func (r GetMintRequestAcceptContextResp) GetJSON500() *N500
- func (r GetMintRequestAcceptContextResp) Status() string
- func (r GetMintRequestAcceptContextResp) StatusCode() int
- type GetMintRequestCancelContextResp
- func (r GetMintRequestCancelContextResp) ContentType() string
- func (r GetMintRequestCancelContextResp) GetBody() []byte
- func (r GetMintRequestCancelContextResp) GetJSON200() *ChoiceContext
- func (r GetMintRequestCancelContextResp) GetJSON400() *N400
- func (r GetMintRequestCancelContextResp) GetJSON404() *N404
- func (r GetMintRequestCancelContextResp) GetJSON500() *N500
- func (r GetMintRequestCancelContextResp) Status() string
- func (r GetMintRequestCancelContextResp) StatusCode() int
- type GetMintRequestCreateContextJSONRequestBody
- type GetMintRequestCreateContextResp
- func (r GetMintRequestCreateContextResp) ContentType() string
- func (r GetMintRequestCreateContextResp) GetBody() []byte
- func (r GetMintRequestCreateContextResp) GetJSON200() *FactoryWithChoiceContext
- func (r GetMintRequestCreateContextResp) GetJSON400() *N400
- func (r GetMintRequestCreateContextResp) GetJSON404() *N404
- func (r GetMintRequestCreateContextResp) GetJSON500() *N500
- func (r GetMintRequestCreateContextResp) Status() string
- func (r GetMintRequestCreateContextResp) StatusCode() int
- type GetMintRequestRejectContextResp
- func (r GetMintRequestRejectContextResp) ContentType() string
- func (r GetMintRequestRejectContextResp) GetBody() []byte
- func (r GetMintRequestRejectContextResp) GetJSON200() *ChoiceContext
- func (r GetMintRequestRejectContextResp) GetJSON400() *N400
- func (r GetMintRequestRejectContextResp) GetJSON404() *N404
- func (r GetMintRequestRejectContextResp) GetJSON500() *N500
- func (r GetMintRequestRejectContextResp) Status() string
- func (r GetMintRequestRejectContextResp) StatusCode() int
- type GetOpenApiSpecResp
- type GetOperatorResp
- type GetOperatorResponse
- type GinServerOptions
- type HttpRequestDoer
- type InstrumentConfiguration
- type InstrumentConfigurationPayload
- type InstrumentId
- type InstrumentIdentifier
- type IsLiveResp
- type IsReadyResp
- type MiddlewareFunc
- type MintOutput
- type N400
- type N404
- type N500
- type OfferBurnRequest
- type OfferMintRequest
- type PackageDescriptor
- type PartyCredentialRequirement
- type RequestBurnRequest
- type RequestEditorFn
- type RequestMintRequest
- type RootResp
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) GetAllInstrumentConfigurations(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetAllPackages(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnMintFactory(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnOfferAcceptContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnOfferCancelContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnOfferCreateContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnOfferRejectContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnRequestAcceptContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnRequestCancelContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnRequestCreateContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetBurnRequestRejectContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetInstrumentConfiguration(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintOfferAcceptContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintOfferCancelContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintOfferCreateContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintOfferRejectContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintRequestAcceptContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintRequestCancelContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintRequestCreateContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetMintRequestRejectContext(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetOpenApiSpec(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetOperator(c *gin.Context)
- func (siw *ServerInterfaceWrapper) IsLive(c *gin.Context)
- func (siw *ServerInterfaceWrapper) IsReady(c *gin.Context)
- func (siw *ServerInterfaceWrapper) Root(c *gin.Context)
- func (siw *ServerInterfaceWrapper) VerifyTransferProof(c *gin.Context)
- type TransferMeta
- type TransferObject
- type TransferProofStatus
- type VerifyTransferProofJSONRequestBody
- type VerifyTransferProofRequest
- type VerifyTransferProofResp
- func (r VerifyTransferProofResp) ContentType() string
- func (r VerifyTransferProofResp) GetBody() []byte
- func (r VerifyTransferProofResp) GetJSON200() *VerifyTransferProofResponse
- func (r VerifyTransferProofResp) GetJSON400() *N400
- func (r VerifyTransferProofResp) GetJSON500() *N500
- func (r VerifyTransferProofResp) Status() string
- func (r VerifyTransferProofResp) StatusCode() int
- type VerifyTransferProofResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetAllInstrumentConfigurationsRequest ¶
NewGetAllInstrumentConfigurationsRequest constructs an http.Request for the GetAllInstrumentConfigurations method
func NewGetAllPackagesRequest ¶
NewGetAllPackagesRequest constructs an http.Request for the GetAllPackages method
func NewGetBurnMintFactoryRequest ¶
func NewGetBurnMintFactoryRequest(server string, body GetBurnMintFactoryJSONRequestBody) (*http.Request, error)
NewGetBurnMintFactoryRequest calls the generic GetBurnMintFactory builder with application/json body
func NewGetBurnMintFactoryRequestWithBody ¶
func NewGetBurnMintFactoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetBurnMintFactoryRequestWithBody constructs an http.Request for the GetBurnMintFactory method, with any body, and a specified content type
func NewGetBurnOfferAcceptContextRequest ¶
NewGetBurnOfferAcceptContextRequest constructs an http.Request for the GetBurnOfferAcceptContext method
func NewGetBurnOfferCancelContextRequest ¶
NewGetBurnOfferCancelContextRequest constructs an http.Request for the GetBurnOfferCancelContext method
func NewGetBurnOfferCreateContextRequest ¶
func NewGetBurnOfferCreateContextRequest(server string, body GetBurnOfferCreateContextJSONRequestBody) (*http.Request, error)
NewGetBurnOfferCreateContextRequest calls the generic GetBurnOfferCreateContext builder with application/json body
func NewGetBurnOfferCreateContextRequestWithBody ¶
func NewGetBurnOfferCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetBurnOfferCreateContextRequestWithBody constructs an http.Request for the GetBurnOfferCreateContext method, with any body, and a specified content type
func NewGetBurnOfferRejectContextRequest ¶
NewGetBurnOfferRejectContextRequest constructs an http.Request for the GetBurnOfferRejectContext method
func NewGetBurnRequestAcceptContextRequest ¶
func NewGetBurnRequestAcceptContextRequest(server string, burnRequestId string) (*http.Request, error)
NewGetBurnRequestAcceptContextRequest constructs an http.Request for the GetBurnRequestAcceptContext method
func NewGetBurnRequestCancelContextRequest ¶
func NewGetBurnRequestCancelContextRequest(server string, burnRequestId string) (*http.Request, error)
NewGetBurnRequestCancelContextRequest constructs an http.Request for the GetBurnRequestCancelContext method
func NewGetBurnRequestCreateContextRequest ¶
func NewGetBurnRequestCreateContextRequest(server string, body GetBurnRequestCreateContextJSONRequestBody) (*http.Request, error)
NewGetBurnRequestCreateContextRequest calls the generic GetBurnRequestCreateContext builder with application/json body
func NewGetBurnRequestCreateContextRequestWithBody ¶
func NewGetBurnRequestCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetBurnRequestCreateContextRequestWithBody constructs an http.Request for the GetBurnRequestCreateContext method, with any body, and a specified content type
func NewGetBurnRequestRejectContextRequest ¶
func NewGetBurnRequestRejectContextRequest(server string, burnRequestId string) (*http.Request, error)
NewGetBurnRequestRejectContextRequest constructs an http.Request for the GetBurnRequestRejectContext method
func NewGetInstrumentConfigurationRequest ¶
func NewGetInstrumentConfigurationRequest(server string, body GetInstrumentConfigurationJSONRequestBody) (*http.Request, error)
NewGetInstrumentConfigurationRequest calls the generic GetInstrumentConfiguration builder with application/json body
func NewGetInstrumentConfigurationRequestWithBody ¶
func NewGetInstrumentConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetInstrumentConfigurationRequestWithBody constructs an http.Request for the GetInstrumentConfiguration method, with any body, and a specified content type
func NewGetMintOfferAcceptContextRequest ¶
NewGetMintOfferAcceptContextRequest constructs an http.Request for the GetMintOfferAcceptContext method
func NewGetMintOfferCancelContextRequest ¶
NewGetMintOfferCancelContextRequest constructs an http.Request for the GetMintOfferCancelContext method
func NewGetMintOfferCreateContextRequest ¶
func NewGetMintOfferCreateContextRequest(server string, body GetMintOfferCreateContextJSONRequestBody) (*http.Request, error)
NewGetMintOfferCreateContextRequest calls the generic GetMintOfferCreateContext builder with application/json body
func NewGetMintOfferCreateContextRequestWithBody ¶
func NewGetMintOfferCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetMintOfferCreateContextRequestWithBody constructs an http.Request for the GetMintOfferCreateContext method, with any body, and a specified content type
func NewGetMintOfferRejectContextRequest ¶
NewGetMintOfferRejectContextRequest constructs an http.Request for the GetMintOfferRejectContext method
func NewGetMintRequestAcceptContextRequest ¶
func NewGetMintRequestAcceptContextRequest(server string, mintRequestId string) (*http.Request, error)
NewGetMintRequestAcceptContextRequest constructs an http.Request for the GetMintRequestAcceptContext method
func NewGetMintRequestCancelContextRequest ¶
func NewGetMintRequestCancelContextRequest(server string, mintRequestId string) (*http.Request, error)
NewGetMintRequestCancelContextRequest constructs an http.Request for the GetMintRequestCancelContext method
func NewGetMintRequestCreateContextRequest ¶
func NewGetMintRequestCreateContextRequest(server string, body GetMintRequestCreateContextJSONRequestBody) (*http.Request, error)
NewGetMintRequestCreateContextRequest calls the generic GetMintRequestCreateContext builder with application/json body
func NewGetMintRequestCreateContextRequestWithBody ¶
func NewGetMintRequestCreateContextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetMintRequestCreateContextRequestWithBody constructs an http.Request for the GetMintRequestCreateContext method, with any body, and a specified content type
func NewGetMintRequestRejectContextRequest ¶
func NewGetMintRequestRejectContextRequest(server string, mintRequestId string) (*http.Request, error)
NewGetMintRequestRejectContextRequest constructs an http.Request for the GetMintRequestRejectContext method
func NewGetOpenApiSpecRequest ¶
NewGetOpenApiSpecRequest constructs an http.Request for the GetOpenApiSpec method
func NewGetOperatorRequest ¶
NewGetOperatorRequest constructs an http.Request for the GetOperator method
func NewIsLiveRequest ¶
NewIsLiveRequest constructs an http.Request for the IsLive method
func NewIsReadyRequest ¶
NewIsReadyRequest constructs an http.Request for the IsReady method
func NewRootRequest ¶
NewRootRequest constructs an http.Request for the Root method
func NewVerifyTransferProofRequest ¶
func NewVerifyTransferProofRequest(server string, body VerifyTransferProofJSONRequestBody) (*http.Request, error)
NewVerifyTransferProofRequest calls the generic VerifyTransferProof builder with application/json body
func NewVerifyTransferProofRequestWithBody ¶
func NewVerifyTransferProofRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewVerifyTransferProofRequestWithBody constructs an http.Request for the VerifyTransferProof method, with any body, and a specified content type
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 ChoiceContext ¶
type ChoiceContext struct {
// ChoiceContextData The additional data to use when exercising the choice.
ChoiceContextData map[string]interface{} `json:"choiceContextData"`
// DisclosedContracts The contracts that are required to be disclosed to the participant node for exercising
// the choice.
DisclosedContracts []DisclosedContract `json:"disclosedContracts"`
}
ChoiceContext The context required to exercise a choice on a contract via an interface. Used to retrieve additional reference date that is passed in via disclosed contracts, which are in turn referred to via their contract ID in the `choiceContextData`.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) GetAllInstrumentConfigurations ¶
func (c *Client) GetAllInstrumentConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAllInstrumentConfigurations performs a GET /api/utilities/v0/contract/instrument-configuration/all (the `GetAllInstrumentConfigurations` operationId) request.
func (*Client) GetAllPackages ¶
func (c *Client) GetAllPackages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAllPackages performs a GET /api/utilities/v0/package/all (the `GetAllPackages` operationId) request.
func (*Client) GetBurnMintFactory ¶
func (c *Client) GetBurnMintFactory(ctx context.Context, body GetBurnMintFactoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnMintFactory performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request. Takes a body of the `application/json` content type.
Get the burn mint factory and choice context for burn and mint.
func (*Client) GetBurnMintFactoryWithBody ¶
func (c *Client) GetBurnMintFactoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnMintFactoryWithBody performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request, with any type of body and a specified content type.
Get the burn mint factory and choice context for burn and mint.
func (*Client) GetBurnOfferAcceptContext ¶
func (c *Client) GetBurnOfferAcceptContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnOfferAcceptContext performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/accept (the `GetBurnOfferAcceptContext` operationId) request.
Get the choice context to accept and execute a burn offer.
func (*Client) GetBurnOfferCancelContext ¶
func (c *Client) GetBurnOfferCancelContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnOfferCancelContext performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/cancel (the `GetBurnOfferCancelContext` operationId) request.
Get the choice context to cancel a burn offer.
func (*Client) GetBurnOfferCreateContext ¶
func (c *Client) GetBurnOfferCreateContext(ctx context.Context, body GetBurnOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnOfferCreateContext performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request. Takes a body of the `application/json` content type.
Get the factory and choice context for creating a burn offer.
func (*Client) GetBurnOfferCreateContextWithBody ¶
func (c *Client) GetBurnOfferCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnOfferCreateContextWithBody performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a burn offer.
func (*Client) GetBurnOfferRejectContext ¶
func (c *Client) GetBurnOfferRejectContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnOfferRejectContext performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/reject (the `GetBurnOfferRejectContext` operationId) request.
Get the choice context to reject a burn offer.
func (*Client) GetBurnRequestAcceptContext ¶
func (c *Client) GetBurnRequestAcceptContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnRequestAcceptContext performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/accept (the `GetBurnRequestAcceptContext` operationId) request.
Get the choice context to accept and execute a burn request.
func (*Client) GetBurnRequestCancelContext ¶
func (c *Client) GetBurnRequestCancelContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnRequestCancelContext performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/cancel (the `GetBurnRequestCancelContext` operationId) request.
Get the choice context to cancel a burn request.
func (*Client) GetBurnRequestCreateContext ¶
func (c *Client) GetBurnRequestCreateContext(ctx context.Context, body GetBurnRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnRequestCreateContext performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request. Takes a body of the `application/json` content type.
Get the factory and choice context for creating a burn request.
func (*Client) GetBurnRequestCreateContextWithBody ¶
func (c *Client) GetBurnRequestCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnRequestCreateContextWithBody performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a burn request.
func (*Client) GetBurnRequestRejectContext ¶
func (c *Client) GetBurnRequestRejectContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBurnRequestRejectContext performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/reject (the `GetBurnRequestRejectContext` operationId) request.
Get the choice context to reject a burn request.
func (*Client) GetInstrumentConfiguration ¶
func (c *Client) GetInstrumentConfiguration(ctx context.Context, body GetInstrumentConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetInstrumentConfiguration performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request. Takes a body of the `application/json` content type.
func (*Client) GetInstrumentConfigurationWithBody ¶
func (c *Client) GetInstrumentConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetInstrumentConfigurationWithBody performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request, with any type of body and a specified content type.
func (*Client) GetMintOfferAcceptContext ¶
func (c *Client) GetMintOfferAcceptContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintOfferAcceptContext performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/accept (the `GetMintOfferAcceptContext` operationId) request.
Get the choice context to accept and execute a mint offer.
func (*Client) GetMintOfferCancelContext ¶
func (c *Client) GetMintOfferCancelContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintOfferCancelContext performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/cancel (the `GetMintOfferCancelContext` operationId) request.
Get the choice context to cancel a mint offer.
func (*Client) GetMintOfferCreateContext ¶
func (c *Client) GetMintOfferCreateContext(ctx context.Context, body GetMintOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintOfferCreateContext performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request. Takes a body of the `application/json` content type.
Get the factory and choice context for creating a mint offer.
func (*Client) GetMintOfferCreateContextWithBody ¶
func (c *Client) GetMintOfferCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintOfferCreateContextWithBody performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a mint offer.
func (*Client) GetMintOfferRejectContext ¶
func (c *Client) GetMintOfferRejectContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintOfferRejectContext performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/reject (the `GetMintOfferRejectContext` operationId) request.
Get the choice context to reject a mint offer.
func (*Client) GetMintRequestAcceptContext ¶
func (c *Client) GetMintRequestAcceptContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintRequestAcceptContext performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/accept (the `GetMintRequestAcceptContext` operationId) request.
Get the choice context to accept and execute a mint request.
func (*Client) GetMintRequestCancelContext ¶
func (c *Client) GetMintRequestCancelContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintRequestCancelContext performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/cancel (the `GetMintRequestCancelContext` operationId) request.
Get the choice context to cancel a mint request.
func (*Client) GetMintRequestCreateContext ¶
func (c *Client) GetMintRequestCreateContext(ctx context.Context, body GetMintRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintRequestCreateContext performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request. Takes a body of the `application/json` content type.
Get the factory and choice context for creating a mint request.
func (*Client) GetMintRequestCreateContextWithBody ¶
func (c *Client) GetMintRequestCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintRequestCreateContextWithBody performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a mint request.
func (*Client) GetMintRequestRejectContext ¶
func (c *Client) GetMintRequestRejectContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMintRequestRejectContext performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/reject (the `GetMintRequestRejectContext` operationId) request.
Get the choice context to reject a mint request.
func (*Client) GetOpenApiSpec ¶
func (c *Client) GetOpenApiSpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOpenApiSpec performs a GET /api/utilities/v0/openapi (the `GetOpenApiSpec` operationId) request.
func (*Client) GetOperator ¶
func (c *Client) GetOperator(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOperator performs a GET /api/utilities/v0/operator (the `GetOperator` operationId) request.
func (*Client) IsReady ¶
func (c *Client) IsReady(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
IsReady performs a GET /readyz (the `IsReady` operationId) request.
func (*Client) VerifyTransferProof ¶
func (c *Client) VerifyTransferProof(ctx context.Context, body VerifyTransferProofJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyTransferProof performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request. Takes a body of the `application/json` content type.
Verify the outcome of a transfer of Registry Utility assets on Canton.
Given an UpdateID and a Transfer Object, the service looks up the corresponding ledger transaction and verifies the transfer details against the on-chain events.
The response status indicates the transfer outcome: - `Success`: The transfer was executed in the referenced transaction - `Pending`: The transfer instruction has been created but not yet settled - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
If none of the above conditions are met, if the provided transfer details do not match the on-chain data, or if the original TransferInstruction contract cannot be retrieved, a `400` is returned. No further diagnostic information is included in the error response to prevent unintended disclosure of sensitive ledger data.
func (*Client) VerifyTransferProofWithBody ¶
func (c *Client) VerifyTransferProofWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyTransferProofWithBody performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request, with any type of body and a specified content type.
Verify the outcome of a transfer of Registry Utility assets on Canton.
Given an UpdateID and a Transfer Object, the service looks up the corresponding ledger transaction and verifies the transfer details against the on-chain events.
The response status indicates the transfer outcome: - `Success`: The transfer was executed in the referenced transaction - `Pending`: The transfer instruction has been created but not yet settled - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
If none of the above conditions are met, if the provided transfer details do not match the on-chain data, or if the original TransferInstruction contract cannot be retrieved, a `400` is returned. No further diagnostic information is included in the error response to prevent unintended disclosure of sensitive ledger data.
type ClientInterface ¶
type ClientInterface interface {
// Root performs a GET / (the `Root` operationId) request.
Root(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInstrumentConfigurationWithBody performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request,
// with any type of body and a specified content type.
GetInstrumentConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInstrumentConfiguration performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request.
// Takes a body of the `application/json` content type.
GetInstrumentConfiguration(ctx context.Context, body GetInstrumentConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllInstrumentConfigurations performs a GET /api/utilities/v0/contract/instrument-configuration/all (the `GetAllInstrumentConfigurations` operationId) request.
GetAllInstrumentConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOpenApiSpec performs a GET /api/utilities/v0/openapi (the `GetOpenApiSpec` operationId) request.
GetOpenApiSpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOperator performs a GET /api/utilities/v0/operator (the `GetOperator` operationId) request.
GetOperator(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllPackages performs a GET /api/utilities/v0/package/all (the `GetAllPackages` operationId) request.
GetAllPackages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnMintFactoryWithBody performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request,
// with any type of body and a specified content type.
//
// Get the burn mint factory and choice context for burn and mint.
GetBurnMintFactoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnMintFactory performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get the burn mint factory and choice context for burn and mint.
GetBurnMintFactory(ctx context.Context, body GetBurnMintFactoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnOfferCreateContextWithBody performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a burn offer.
GetBurnOfferCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnOfferCreateContext performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get the factory and choice context for creating a burn offer.
GetBurnOfferCreateContext(ctx context.Context, body GetBurnOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnOfferAcceptContext performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/accept (the `GetBurnOfferAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a burn offer.
GetBurnOfferAcceptContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnOfferCancelContext performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/cancel (the `GetBurnOfferCancelContext` operationId) request.
//
// Get the choice context to cancel a burn offer.
GetBurnOfferCancelContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnOfferRejectContext performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/reject (the `GetBurnOfferRejectContext` operationId) request.
//
// Get the choice context to reject a burn offer.
GetBurnOfferRejectContext(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnRequestCreateContextWithBody performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a burn request.
GetBurnRequestCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnRequestCreateContext performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get the factory and choice context for creating a burn request.
GetBurnRequestCreateContext(ctx context.Context, body GetBurnRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnRequestAcceptContext performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/accept (the `GetBurnRequestAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a burn request.
GetBurnRequestAcceptContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnRequestCancelContext performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/cancel (the `GetBurnRequestCancelContext` operationId) request.
//
// Get the choice context to cancel a burn request.
GetBurnRequestCancelContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnRequestRejectContext performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/reject (the `GetBurnRequestRejectContext` operationId) request.
//
// Get the choice context to reject a burn request.
GetBurnRequestRejectContext(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintOfferCreateContextWithBody performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a mint offer.
GetMintOfferCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintOfferCreateContext performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get the factory and choice context for creating a mint offer.
GetMintOfferCreateContext(ctx context.Context, body GetMintOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintOfferAcceptContext performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/accept (the `GetMintOfferAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a mint offer.
GetMintOfferAcceptContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintOfferCancelContext performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/cancel (the `GetMintOfferCancelContext` operationId) request.
//
// Get the choice context to cancel a mint offer.
GetMintOfferCancelContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintOfferRejectContext performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/reject (the `GetMintOfferRejectContext` operationId) request.
//
// Get the choice context to reject a mint offer.
GetMintOfferRejectContext(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintRequestCreateContextWithBody performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a mint request.
GetMintRequestCreateContextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintRequestCreateContext performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get the factory and choice context for creating a mint request.
GetMintRequestCreateContext(ctx context.Context, body GetMintRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintRequestAcceptContext performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/accept (the `GetMintRequestAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a mint request.
GetMintRequestAcceptContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintRequestCancelContext performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/cancel (the `GetMintRequestCancelContext` operationId) request.
//
// Get the choice context to cancel a mint request.
GetMintRequestCancelContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMintRequestRejectContext performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/reject (the `GetMintRequestRejectContext` operationId) request.
//
// Get the choice context to reject a mint request.
GetMintRequestRejectContext(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyTransferProofWithBody performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request,
// with any type of body and a specified content type.
//
// Verify the outcome of a transfer of Registry Utility assets on Canton.
//
// Given an UpdateID and a Transfer Object, the service looks up the corresponding
// ledger transaction and verifies the transfer details against the on-chain events.
//
// The response status indicates the transfer outcome:
// - `Success`: The transfer was executed in the referenced transaction
// - `Pending`: The transfer instruction has been created but not yet settled
// - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
//
// If none of the above conditions are met, if the provided transfer details do not match
// the on-chain data, or if the original TransferInstruction contract cannot be retrieved,
// a `400` is returned. No further diagnostic information is included in
// the error response to prevent unintended disclosure of sensitive ledger data.
VerifyTransferProofWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyTransferProof performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request.
// Takes a body of the `application/json` content type.
//
// Verify the outcome of a transfer of Registry Utility assets on Canton.
//
// Given an UpdateID and a Transfer Object, the service looks up the corresponding
// ledger transaction and verifies the transfer details against the on-chain events.
//
// The response status indicates the transfer outcome:
// - `Success`: The transfer was executed in the referenced transaction
// - `Pending`: The transfer instruction has been created but not yet settled
// - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
//
// If none of the above conditions are met, if the provided transfer details do not match
// the on-chain data, or if the original TransferInstruction contract cannot be retrieved,
// a `400` is returned. No further diagnostic information is included in
// the error response to prevent unintended disclosure of sensitive ledger data.
VerifyTransferProof(ctx context.Context, body VerifyTransferProofJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsLive performs a GET /livez (the `IsLive` operationId) request.
IsLive(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsReady performs a GET /readyz (the `IsReady` operationId) request.
IsReady(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) GetAllInstrumentConfigurationsWithResponse ¶
func (c *ClientWithResponses) GetAllInstrumentConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllInstrumentConfigurationsResp, error)
GetAllInstrumentConfigurationsWithResponse performs a GET /api/utilities/v0/contract/instrument-configuration/all (the `GetAllInstrumentConfigurations` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetAllPackagesWithResponse ¶
func (c *ClientWithResponses) GetAllPackagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllPackagesResp, error)
GetAllPackagesWithResponse performs a GET /api/utilities/v0/package/all (the `GetAllPackages` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnMintFactoryWithBodyWithResponse ¶
func (c *ClientWithResponses) GetBurnMintFactoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBurnMintFactoryResp, error)
GetBurnMintFactoryWithBodyWithResponse performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request, with any type of body and a specified content type.
Get the burn mint factory and choice context for burn and mint.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnMintFactoryWithResponse ¶
func (c *ClientWithResponses) GetBurnMintFactoryWithResponse(ctx context.Context, body GetBurnMintFactoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBurnMintFactoryResp, error)
GetBurnMintFactoryWithResponse performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get the burn mint factory and choice context for burn and mint.
func (*ClientWithResponses) GetBurnOfferAcceptContextWithResponse ¶
func (c *ClientWithResponses) GetBurnOfferAcceptContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferAcceptContextResp, error)
GetBurnOfferAcceptContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/accept (the `GetBurnOfferAcceptContext` operationId) request.
Get the choice context to accept and execute a burn offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnOfferCancelContextWithResponse ¶
func (c *ClientWithResponses) GetBurnOfferCancelContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferCancelContextResp, error)
GetBurnOfferCancelContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/cancel (the `GetBurnOfferCancelContext` operationId) request.
Get the choice context to cancel a burn offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnOfferCreateContextWithBodyWithResponse ¶
func (c *ClientWithResponses) GetBurnOfferCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBurnOfferCreateContextResp, error)
GetBurnOfferCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a burn offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnOfferCreateContextWithResponse ¶
func (c *ClientWithResponses) GetBurnOfferCreateContextWithResponse(ctx context.Context, body GetBurnOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBurnOfferCreateContextResp, error)
GetBurnOfferCreateContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get the factory and choice context for creating a burn offer.
func (*ClientWithResponses) GetBurnOfferRejectContextWithResponse ¶
func (c *ClientWithResponses) GetBurnOfferRejectContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferRejectContextResp, error)
GetBurnOfferRejectContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/reject (the `GetBurnOfferRejectContext` operationId) request.
Get the choice context to reject a burn offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnRequestAcceptContextWithResponse ¶
func (c *ClientWithResponses) GetBurnRequestAcceptContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestAcceptContextResp, error)
GetBurnRequestAcceptContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/accept (the `GetBurnRequestAcceptContext` operationId) request.
Get the choice context to accept and execute a burn request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnRequestCancelContextWithResponse ¶
func (c *ClientWithResponses) GetBurnRequestCancelContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestCancelContextResp, error)
GetBurnRequestCancelContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/cancel (the `GetBurnRequestCancelContext` operationId) request.
Get the choice context to cancel a burn request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnRequestCreateContextWithBodyWithResponse ¶
func (c *ClientWithResponses) GetBurnRequestCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBurnRequestCreateContextResp, error)
GetBurnRequestCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a burn request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBurnRequestCreateContextWithResponse ¶
func (c *ClientWithResponses) GetBurnRequestCreateContextWithResponse(ctx context.Context, body GetBurnRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBurnRequestCreateContextResp, error)
GetBurnRequestCreateContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get the factory and choice context for creating a burn request.
func (*ClientWithResponses) GetBurnRequestRejectContextWithResponse ¶
func (c *ClientWithResponses) GetBurnRequestRejectContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestRejectContextResp, error)
GetBurnRequestRejectContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/reject (the `GetBurnRequestRejectContext` operationId) request.
Get the choice context to reject a burn request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetInstrumentConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) GetInstrumentConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetInstrumentConfigurationResp, error)
GetInstrumentConfigurationWithBodyWithResponse performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetInstrumentConfigurationWithResponse ¶
func (c *ClientWithResponses) GetInstrumentConfigurationWithResponse(ctx context.Context, body GetInstrumentConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*GetInstrumentConfigurationResp, error)
GetInstrumentConfigurationWithResponse performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintOfferAcceptContextWithResponse ¶
func (c *ClientWithResponses) GetMintOfferAcceptContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferAcceptContextResp, error)
GetMintOfferAcceptContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/accept (the `GetMintOfferAcceptContext` operationId) request.
Get the choice context to accept and execute a mint offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintOfferCancelContextWithResponse ¶
func (c *ClientWithResponses) GetMintOfferCancelContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferCancelContextResp, error)
GetMintOfferCancelContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/cancel (the `GetMintOfferCancelContext` operationId) request.
Get the choice context to cancel a mint offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintOfferCreateContextWithBodyWithResponse ¶
func (c *ClientWithResponses) GetMintOfferCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMintOfferCreateContextResp, error)
GetMintOfferCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a mint offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintOfferCreateContextWithResponse ¶
func (c *ClientWithResponses) GetMintOfferCreateContextWithResponse(ctx context.Context, body GetMintOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMintOfferCreateContextResp, error)
GetMintOfferCreateContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get the factory and choice context for creating a mint offer.
func (*ClientWithResponses) GetMintOfferRejectContextWithResponse ¶
func (c *ClientWithResponses) GetMintOfferRejectContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferRejectContextResp, error)
GetMintOfferRejectContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/reject (the `GetMintOfferRejectContext` operationId) request.
Get the choice context to reject a mint offer.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintRequestAcceptContextWithResponse ¶
func (c *ClientWithResponses) GetMintRequestAcceptContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestAcceptContextResp, error)
GetMintRequestAcceptContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/accept (the `GetMintRequestAcceptContext` operationId) request.
Get the choice context to accept and execute a mint request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintRequestCancelContextWithResponse ¶
func (c *ClientWithResponses) GetMintRequestCancelContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestCancelContextResp, error)
GetMintRequestCancelContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/cancel (the `GetMintRequestCancelContext` operationId) request.
Get the choice context to cancel a mint request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintRequestCreateContextWithBodyWithResponse ¶
func (c *ClientWithResponses) GetMintRequestCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMintRequestCreateContextResp, error)
GetMintRequestCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request, with any type of body and a specified content type.
Get the factory and choice context for creating a mint request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMintRequestCreateContextWithResponse ¶
func (c *ClientWithResponses) GetMintRequestCreateContextWithResponse(ctx context.Context, body GetMintRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMintRequestCreateContextResp, error)
GetMintRequestCreateContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get the factory and choice context for creating a mint request.
func (*ClientWithResponses) GetMintRequestRejectContextWithResponse ¶
func (c *ClientWithResponses) GetMintRequestRejectContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestRejectContextResp, error)
GetMintRequestRejectContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/reject (the `GetMintRequestRejectContext` operationId) request.
Get the choice context to reject a mint request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetOpenApiSpecWithResponse ¶
func (c *ClientWithResponses) GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResp, error)
GetOpenApiSpecWithResponse performs a GET /api/utilities/v0/openapi (the `GetOpenApiSpec` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetOperatorWithResponse ¶
func (c *ClientWithResponses) GetOperatorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOperatorResp, error)
GetOperatorWithResponse performs a GET /api/utilities/v0/operator (the `GetOperator` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) IsLiveWithResponse ¶
func (c *ClientWithResponses) IsLiveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsLiveResp, error)
IsLiveWithResponse performs a GET /livez (the `IsLive` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) IsReadyWithResponse ¶
func (c *ClientWithResponses) IsReadyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsReadyResp, error)
IsReadyWithResponse performs a GET /readyz (the `IsReady` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RootWithResponse ¶
func (c *ClientWithResponses) RootWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RootResp, error)
RootWithResponse performs a GET / (the `Root` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) VerifyTransferProofWithBodyWithResponse ¶
func (c *ClientWithResponses) VerifyTransferProofWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyTransferProofResp, error)
VerifyTransferProofWithBodyWithResponse performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request, with any type of body and a specified content type.
Verify the outcome of a transfer of Registry Utility assets on Canton.
Given an UpdateID and a Transfer Object, the service looks up the corresponding ledger transaction and verifies the transfer details against the on-chain events.
The response status indicates the transfer outcome: - `Success`: The transfer was executed in the referenced transaction - `Pending`: The transfer instruction has been created but not yet settled - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
If none of the above conditions are met, if the provided transfer details do not match the on-chain data, or if the original TransferInstruction contract cannot be retrieved, a `400` is returned. No further diagnostic information is included in the error response to prevent unintended disclosure of sensitive ledger data.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) VerifyTransferProofWithResponse ¶
func (c *ClientWithResponses) VerifyTransferProofWithResponse(ctx context.Context, body VerifyTransferProofJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyTransferProofResp, error)
VerifyTransferProofWithResponse performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Verify the outcome of a transfer of Registry Utility assets on Canton.
Given an UpdateID and a Transfer Object, the service looks up the corresponding ledger transaction and verifies the transfer details against the on-chain events.
The response status indicates the transfer outcome: - `Success`: The transfer was executed in the referenced transaction - `Pending`: The transfer instruction has been created but not yet settled - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
If none of the above conditions are met, if the provided transfer details do not match the on-chain data, or if the original TransferInstruction contract cannot be retrieved, a `400` is returned. No further diagnostic information is included in the error response to prevent unintended disclosure of sensitive ledger data.
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// RootWithResponse performs a GET / (the `Root` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
RootWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RootResp, error)
// GetInstrumentConfigurationWithBodyWithResponse performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
GetInstrumentConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetInstrumentConfigurationResp, error)
// GetInstrumentConfigurationWithResponse performs a POST /api/utilities/v0/contract/instrument-configuration (the `GetInstrumentConfiguration` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
GetInstrumentConfigurationWithResponse(ctx context.Context, body GetInstrumentConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*GetInstrumentConfigurationResp, error)
// GetAllInstrumentConfigurationsWithResponse performs a GET /api/utilities/v0/contract/instrument-configuration/all (the `GetAllInstrumentConfigurations` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetAllInstrumentConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllInstrumentConfigurationsResp, error)
// GetOpenApiSpecWithResponse performs a GET /api/utilities/v0/openapi (the `GetOpenApiSpec` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResp, error)
// GetOperatorWithResponse performs a GET /api/utilities/v0/operator (the `GetOperator` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetOperatorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOperatorResp, error)
// GetAllPackagesWithResponse performs a GET /api/utilities/v0/package/all (the `GetAllPackages` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetAllPackagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllPackagesResp, error)
// GetBurnMintFactoryWithBodyWithResponse performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request,
// with any type of body and a specified content type.
//
// Get the burn mint factory and choice context for burn and mint.
//
// Returns a wrapper object for the known response body format(s).
GetBurnMintFactoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBurnMintFactoryResp, error)
// GetBurnMintFactoryWithResponse performs a POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory (the `GetBurnMintFactory` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get the burn mint factory and choice context for burn and mint.
GetBurnMintFactoryWithResponse(ctx context.Context, body GetBurnMintFactoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBurnMintFactoryResp, error)
// GetBurnOfferCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a burn offer.
//
// Returns a wrapper object for the known response body format(s).
GetBurnOfferCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBurnOfferCreateContextResp, error)
// GetBurnOfferCreateContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer (the `GetBurnOfferCreateContext` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get the factory and choice context for creating a burn offer.
GetBurnOfferCreateContextWithResponse(ctx context.Context, body GetBurnOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBurnOfferCreateContextResp, error)
// GetBurnOfferAcceptContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/accept (the `GetBurnOfferAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a burn offer.
//
// Returns a wrapper object for the known response body format(s).
GetBurnOfferAcceptContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferAcceptContextResp, error)
// GetBurnOfferCancelContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/cancel (the `GetBurnOfferCancelContext` operationId) request.
//
// Get the choice context to cancel a burn offer.
//
// Returns a wrapper object for the known response body format(s).
GetBurnOfferCancelContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferCancelContextResp, error)
// GetBurnOfferRejectContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/reject (the `GetBurnOfferRejectContext` operationId) request.
//
// Get the choice context to reject a burn offer.
//
// Returns a wrapper object for the known response body format(s).
GetBurnOfferRejectContextWithResponse(ctx context.Context, burnOfferId string, reqEditors ...RequestEditorFn) (*GetBurnOfferRejectContextResp, error)
// GetBurnRequestCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a burn request.
//
// Returns a wrapper object for the known response body format(s).
GetBurnRequestCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBurnRequestCreateContextResp, error)
// GetBurnRequestCreateContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request (the `GetBurnRequestCreateContext` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get the factory and choice context for creating a burn request.
GetBurnRequestCreateContextWithResponse(ctx context.Context, body GetBurnRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBurnRequestCreateContextResp, error)
// GetBurnRequestAcceptContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/accept (the `GetBurnRequestAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a burn request.
//
// Returns a wrapper object for the known response body format(s).
GetBurnRequestAcceptContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestAcceptContextResp, error)
// GetBurnRequestCancelContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/cancel (the `GetBurnRequestCancelContext` operationId) request.
//
// Get the choice context to cancel a burn request.
//
// Returns a wrapper object for the known response body format(s).
GetBurnRequestCancelContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestCancelContextResp, error)
// GetBurnRequestRejectContextWithResponse performs a POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/reject (the `GetBurnRequestRejectContext` operationId) request.
//
// Get the choice context to reject a burn request.
//
// Returns a wrapper object for the known response body format(s).
GetBurnRequestRejectContextWithResponse(ctx context.Context, burnRequestId string, reqEditors ...RequestEditorFn) (*GetBurnRequestRejectContextResp, error)
// GetMintOfferCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a mint offer.
//
// Returns a wrapper object for the known response body format(s).
GetMintOfferCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMintOfferCreateContextResp, error)
// GetMintOfferCreateContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer (the `GetMintOfferCreateContext` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get the factory and choice context for creating a mint offer.
GetMintOfferCreateContextWithResponse(ctx context.Context, body GetMintOfferCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMintOfferCreateContextResp, error)
// GetMintOfferAcceptContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/accept (the `GetMintOfferAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a mint offer.
//
// Returns a wrapper object for the known response body format(s).
GetMintOfferAcceptContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferAcceptContextResp, error)
// GetMintOfferCancelContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/cancel (the `GetMintOfferCancelContext` operationId) request.
//
// Get the choice context to cancel a mint offer.
//
// Returns a wrapper object for the known response body format(s).
GetMintOfferCancelContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferCancelContextResp, error)
// GetMintOfferRejectContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/reject (the `GetMintOfferRejectContext` operationId) request.
//
// Get the choice context to reject a mint offer.
//
// Returns a wrapper object for the known response body format(s).
GetMintOfferRejectContextWithResponse(ctx context.Context, mintOfferId string, reqEditors ...RequestEditorFn) (*GetMintOfferRejectContextResp, error)
// GetMintRequestCreateContextWithBodyWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request,
// with any type of body and a specified content type.
//
// Get the factory and choice context for creating a mint request.
//
// Returns a wrapper object for the known response body format(s).
GetMintRequestCreateContextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMintRequestCreateContextResp, error)
// GetMintRequestCreateContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request (the `GetMintRequestCreateContext` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get the factory and choice context for creating a mint request.
GetMintRequestCreateContextWithResponse(ctx context.Context, body GetMintRequestCreateContextJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMintRequestCreateContextResp, error)
// GetMintRequestAcceptContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/accept (the `GetMintRequestAcceptContext` operationId) request.
//
// Get the choice context to accept and execute a mint request.
//
// Returns a wrapper object for the known response body format(s).
GetMintRequestAcceptContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestAcceptContextResp, error)
// GetMintRequestCancelContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/cancel (the `GetMintRequestCancelContext` operationId) request.
//
// Get the choice context to cancel a mint request.
//
// Returns a wrapper object for the known response body format(s).
GetMintRequestCancelContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestCancelContextResp, error)
// GetMintRequestRejectContextWithResponse performs a POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/reject (the `GetMintRequestRejectContext` operationId) request.
//
// Get the choice context to reject a mint request.
//
// Returns a wrapper object for the known response body format(s).
GetMintRequestRejectContextWithResponse(ctx context.Context, mintRequestId string, reqEditors ...RequestEditorFn) (*GetMintRequestRejectContextResp, error)
// VerifyTransferProofWithBodyWithResponse performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request,
// with any type of body and a specified content type.
//
// Verify the outcome of a transfer of Registry Utility assets on Canton.
//
// Given an UpdateID and a Transfer Object, the service looks up the corresponding
// ledger transaction and verifies the transfer details against the on-chain events.
//
// The response status indicates the transfer outcome:
// - `Success`: The transfer was executed in the referenced transaction
// - `Pending`: The transfer instruction has been created but not yet settled
// - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
//
// If none of the above conditions are met, if the provided transfer details do not match
// the on-chain data, or if the original TransferInstruction contract cannot be retrieved,
// a `400` is returned. No further diagnostic information is included in
// the error response to prevent unintended disclosure of sensitive ledger data.
//
// Returns a wrapper object for the known response body format(s).
VerifyTransferProofWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyTransferProofResp, error)
// VerifyTransferProofWithResponse performs a POST /api/utilities/v0/registry/transfer/v0/proof (the `VerifyTransferProof` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Verify the outcome of a transfer of Registry Utility assets on Canton.
//
// Given an UpdateID and a Transfer Object, the service looks up the corresponding
// ledger transaction and verifies the transfer details against the on-chain events.
//
// The response status indicates the transfer outcome:
// - `Success`: The transfer was executed in the referenced transaction
// - `Pending`: The transfer instruction has been created but not yet settled
// - `Failure`: The transfer instruction was rejected or withdrawn by one of the parties
//
// If none of the above conditions are met, if the provided transfer details do not match
// the on-chain data, or if the original TransferInstruction contract cannot be retrieved,
// a `400` is returned. No further diagnostic information is included in
// the error response to prevent unintended disclosure of sensitive ledger data.
VerifyTransferProofWithResponse(ctx context.Context, body VerifyTransferProofJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyTransferProofResp, error)
// IsLiveWithResponse performs a GET /livez (the `IsLive` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
IsLiveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsLiveResp, error)
// IsReadyWithResponse performs a GET /readyz (the `IsReady` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
IsReadyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsReadyResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ContractMeta ¶
type ContractMeta struct {
ContractId string `json:"contractId"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// DomainId Deprecated alias of synchronizerId kept for backward compatibility.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DomainId *string `json:"domainId,omitempty"`
// SynchronizerId Preferred synchronizer identifier for disclosed contracts and contract metadata.
SynchronizerId *string `json:"synchronizerId,omitempty"`
TemplateId string `json:"templateId"`
}
ContractMeta defines model for ContractMeta.
type CredentialClaim ¶
type CredentialClaim struct {
// Property The property of the claim
Property string `json:"property"`
// Value The value of the claim
Value string `json:"value"`
}
CredentialClaim defines model for CredentialClaim.
type DisclosedContract ¶
type DisclosedContract struct {
ContractId string `json:"contractId"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// CreatedEventBlob The base64 encoded created event blob
CreatedEventBlob string `json:"createdEventBlob"`
// DomainId Deprecated alias of synchronizerId kept for backward compatibility.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DomainId *string `json:"domainId,omitempty"`
// SynchronizerId Preferred synchronizer identifier for disclosed contracts and contract metadata.
SynchronizerId *string `json:"synchronizerId,omitempty"`
TemplateId string `json:"templateId"`
}
DisclosedContract defines model for DisclosedContract.
type Error ¶
type Error struct {
// Error An error code, e.g. invalid_token
Error string `json:"error"`
// ErrorDescription A description of the error
ErrorDescription string `json:"error_description"`
}
Error A problem occurred with processing the request. For instance: syntactically invalid JSON body, missing required fields, etc.
type FactoryWithChoiceContext ¶
type FactoryWithChoiceContext struct {
// ChoiceContext The context required to exercise a choice on a contract via an interface.
// Used to retrieve additional reference date that is passed in via disclosed contracts,
// which are in turn referred to via their contract ID in the `choiceContextData`.
ChoiceContext ChoiceContext `json:"choiceContext"`
// FactoryId The contract ID of the contract of the factory which can be used to create instruction.
FactoryId string `json:"factoryId"`
}
FactoryWithChoiceContext A factory contract together with the choice context required to exercise the choice provided by the factory. Typically used to implement the generic initiation of on-ledger workflows via a Daml interface.
Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices, as the choice context MAY be specific to the choice being exercised.
type GetAllInstrumentConfigurationsResp ¶
type GetAllInstrumentConfigurationsResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetAllInstrumentConfigurationsResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseGetAllInstrumentConfigurationsResp ¶
func ParseGetAllInstrumentConfigurationsResp(rsp *http.Response) (*GetAllInstrumentConfigurationsResp, error)
ParseGetAllInstrumentConfigurationsResp parses an HTTP response from a GetAllInstrumentConfigurationsWithResponse call
func (GetAllInstrumentConfigurationsResp) ContentType ¶
func (r GetAllInstrumentConfigurationsResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllInstrumentConfigurationsResp) GetBody ¶
func (r GetAllInstrumentConfigurationsResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAllInstrumentConfigurationsResp) GetJSON200 ¶
func (r GetAllInstrumentConfigurationsResp) GetJSON200() *GetAllInstrumentConfigurationsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAllInstrumentConfigurationsResp) GetJSON500 ¶
func (r GetAllInstrumentConfigurationsResp) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAllInstrumentConfigurationsResp) Status ¶
func (r GetAllInstrumentConfigurationsResp) Status() string
Status returns HTTPResponse.Status
func (GetAllInstrumentConfigurationsResp) StatusCode ¶
func (r GetAllInstrumentConfigurationsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllInstrumentConfigurationsResponse ¶
type GetAllInstrumentConfigurationsResponse struct {
// InstrumentConfigurations All instrument configurations
InstrumentConfigurations []InstrumentConfiguration `json:"instrumentConfigurations"`
}
GetAllInstrumentConfigurationsResponse defines model for GetAllInstrumentConfigurationsResponse.
type GetAllPackagesResp ¶
type GetAllPackagesResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetAllPackagesResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseGetAllPackagesResp ¶
func ParseGetAllPackagesResp(rsp *http.Response) (*GetAllPackagesResp, error)
ParseGetAllPackagesResp parses an HTTP response from a GetAllPackagesWithResponse call
func (GetAllPackagesResp) ContentType ¶
func (r GetAllPackagesResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllPackagesResp) GetBody ¶
func (r GetAllPackagesResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAllPackagesResp) GetJSON200 ¶
func (r GetAllPackagesResp) GetJSON200() *GetAllPackagesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAllPackagesResp) GetJSON500 ¶
func (r GetAllPackagesResp) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAllPackagesResp) Status ¶
func (r GetAllPackagesResp) Status() string
Status returns HTTPResponse.Status
func (GetAllPackagesResp) StatusCode ¶
func (r GetAllPackagesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllPackagesResponse ¶
type GetAllPackagesResponse struct {
Packages []PackageDescriptor `json:"packages"`
}
GetAllPackagesResponse defines model for GetAllPackagesResponse.
type GetBurnMintFactoryJSONRequestBody ¶
type GetBurnMintFactoryJSONRequestBody = GetBurnMintFactoryRequest
GetBurnMintFactoryJSONRequestBody defines body for GetBurnMintFactory for application/json ContentType.
type GetBurnMintFactoryRequest ¶
type GetBurnMintFactoryRequest struct {
// InputHoldingCids Contract ids of Holdings to be used for the burn.
InputHoldingCids []string `json:"inputHoldingCids"`
// InstrumentId The identifier of the instrument.
InstrumentId InstrumentId `json:"instrumentId"`
// Outputs The list of specification of a holding to be minted.
Outputs []MintOutput `json:"outputs"`
}
GetBurnMintFactoryRequest The request to get the factory and choice context for burn and mint.
type GetBurnMintFactoryResp ¶
type GetBurnMintFactoryResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FactoryWithChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnMintFactoryResp ¶
func ParseGetBurnMintFactoryResp(rsp *http.Response) (*GetBurnMintFactoryResp, error)
ParseGetBurnMintFactoryResp parses an HTTP response from a GetBurnMintFactoryWithResponse call
func (GetBurnMintFactoryResp) ContentType ¶
func (r GetBurnMintFactoryResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnMintFactoryResp) GetBody ¶
func (r GetBurnMintFactoryResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnMintFactoryResp) GetJSON200 ¶
func (r GetBurnMintFactoryResp) GetJSON200() *FactoryWithChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnMintFactoryResp) GetJSON400 ¶
func (r GetBurnMintFactoryResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnMintFactoryResp) GetJSON404 ¶
func (r GetBurnMintFactoryResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnMintFactoryResp) GetJSON500 ¶
func (r GetBurnMintFactoryResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnMintFactoryResp) Status ¶
func (r GetBurnMintFactoryResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnMintFactoryResp) StatusCode ¶
func (r GetBurnMintFactoryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnOfferAcceptContextResp ¶
type GetBurnOfferAcceptContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnOfferAcceptContextResp ¶
func ParseGetBurnOfferAcceptContextResp(rsp *http.Response) (*GetBurnOfferAcceptContextResp, error)
ParseGetBurnOfferAcceptContextResp parses an HTTP response from a GetBurnOfferAcceptContextWithResponse call
func (GetBurnOfferAcceptContextResp) ContentType ¶
func (r GetBurnOfferAcceptContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnOfferAcceptContextResp) GetBody ¶
func (r GetBurnOfferAcceptContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnOfferAcceptContextResp) GetJSON200 ¶
func (r GetBurnOfferAcceptContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnOfferAcceptContextResp) GetJSON400 ¶
func (r GetBurnOfferAcceptContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnOfferAcceptContextResp) GetJSON404 ¶
func (r GetBurnOfferAcceptContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnOfferAcceptContextResp) GetJSON500 ¶
func (r GetBurnOfferAcceptContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnOfferAcceptContextResp) Status ¶
func (r GetBurnOfferAcceptContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnOfferAcceptContextResp) StatusCode ¶
func (r GetBurnOfferAcceptContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnOfferCancelContextResp ¶
type GetBurnOfferCancelContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnOfferCancelContextResp ¶
func ParseGetBurnOfferCancelContextResp(rsp *http.Response) (*GetBurnOfferCancelContextResp, error)
ParseGetBurnOfferCancelContextResp parses an HTTP response from a GetBurnOfferCancelContextWithResponse call
func (GetBurnOfferCancelContextResp) ContentType ¶
func (r GetBurnOfferCancelContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnOfferCancelContextResp) GetBody ¶
func (r GetBurnOfferCancelContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnOfferCancelContextResp) GetJSON200 ¶
func (r GetBurnOfferCancelContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnOfferCancelContextResp) GetJSON400 ¶
func (r GetBurnOfferCancelContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnOfferCancelContextResp) GetJSON404 ¶
func (r GetBurnOfferCancelContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnOfferCancelContextResp) GetJSON500 ¶
func (r GetBurnOfferCancelContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnOfferCancelContextResp) Status ¶
func (r GetBurnOfferCancelContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnOfferCancelContextResp) StatusCode ¶
func (r GetBurnOfferCancelContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnOfferCreateContextJSONRequestBody ¶
type GetBurnOfferCreateContextJSONRequestBody = OfferBurnRequest
GetBurnOfferCreateContextJSONRequestBody defines body for GetBurnOfferCreateContext for application/json ContentType.
type GetBurnOfferCreateContextResp ¶
type GetBurnOfferCreateContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FactoryWithChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnOfferCreateContextResp ¶
func ParseGetBurnOfferCreateContextResp(rsp *http.Response) (*GetBurnOfferCreateContextResp, error)
ParseGetBurnOfferCreateContextResp parses an HTTP response from a GetBurnOfferCreateContextWithResponse call
func (GetBurnOfferCreateContextResp) ContentType ¶
func (r GetBurnOfferCreateContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnOfferCreateContextResp) GetBody ¶
func (r GetBurnOfferCreateContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnOfferCreateContextResp) GetJSON200 ¶
func (r GetBurnOfferCreateContextResp) GetJSON200() *FactoryWithChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnOfferCreateContextResp) GetJSON400 ¶
func (r GetBurnOfferCreateContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnOfferCreateContextResp) GetJSON404 ¶
func (r GetBurnOfferCreateContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnOfferCreateContextResp) GetJSON500 ¶
func (r GetBurnOfferCreateContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnOfferCreateContextResp) Status ¶
func (r GetBurnOfferCreateContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnOfferCreateContextResp) StatusCode ¶
func (r GetBurnOfferCreateContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnOfferRejectContextResp ¶
type GetBurnOfferRejectContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnOfferRejectContextResp ¶
func ParseGetBurnOfferRejectContextResp(rsp *http.Response) (*GetBurnOfferRejectContextResp, error)
ParseGetBurnOfferRejectContextResp parses an HTTP response from a GetBurnOfferRejectContextWithResponse call
func (GetBurnOfferRejectContextResp) ContentType ¶
func (r GetBurnOfferRejectContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnOfferRejectContextResp) GetBody ¶
func (r GetBurnOfferRejectContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnOfferRejectContextResp) GetJSON200 ¶
func (r GetBurnOfferRejectContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnOfferRejectContextResp) GetJSON400 ¶
func (r GetBurnOfferRejectContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnOfferRejectContextResp) GetJSON404 ¶
func (r GetBurnOfferRejectContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnOfferRejectContextResp) GetJSON500 ¶
func (r GetBurnOfferRejectContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnOfferRejectContextResp) Status ¶
func (r GetBurnOfferRejectContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnOfferRejectContextResp) StatusCode ¶
func (r GetBurnOfferRejectContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnRequestAcceptContextResp ¶
type GetBurnRequestAcceptContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnRequestAcceptContextResp ¶
func ParseGetBurnRequestAcceptContextResp(rsp *http.Response) (*GetBurnRequestAcceptContextResp, error)
ParseGetBurnRequestAcceptContextResp parses an HTTP response from a GetBurnRequestAcceptContextWithResponse call
func (GetBurnRequestAcceptContextResp) ContentType ¶
func (r GetBurnRequestAcceptContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnRequestAcceptContextResp) GetBody ¶
func (r GetBurnRequestAcceptContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnRequestAcceptContextResp) GetJSON200 ¶
func (r GetBurnRequestAcceptContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnRequestAcceptContextResp) GetJSON400 ¶
func (r GetBurnRequestAcceptContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnRequestAcceptContextResp) GetJSON404 ¶
func (r GetBurnRequestAcceptContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnRequestAcceptContextResp) GetJSON500 ¶
func (r GetBurnRequestAcceptContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnRequestAcceptContextResp) Status ¶
func (r GetBurnRequestAcceptContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnRequestAcceptContextResp) StatusCode ¶
func (r GetBurnRequestAcceptContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnRequestCancelContextResp ¶
type GetBurnRequestCancelContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnRequestCancelContextResp ¶
func ParseGetBurnRequestCancelContextResp(rsp *http.Response) (*GetBurnRequestCancelContextResp, error)
ParseGetBurnRequestCancelContextResp parses an HTTP response from a GetBurnRequestCancelContextWithResponse call
func (GetBurnRequestCancelContextResp) ContentType ¶
func (r GetBurnRequestCancelContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnRequestCancelContextResp) GetBody ¶
func (r GetBurnRequestCancelContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnRequestCancelContextResp) GetJSON200 ¶
func (r GetBurnRequestCancelContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnRequestCancelContextResp) GetJSON400 ¶
func (r GetBurnRequestCancelContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnRequestCancelContextResp) GetJSON404 ¶
func (r GetBurnRequestCancelContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnRequestCancelContextResp) GetJSON500 ¶
func (r GetBurnRequestCancelContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnRequestCancelContextResp) Status ¶
func (r GetBurnRequestCancelContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnRequestCancelContextResp) StatusCode ¶
func (r GetBurnRequestCancelContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnRequestCreateContextJSONRequestBody ¶
type GetBurnRequestCreateContextJSONRequestBody = RequestBurnRequest
GetBurnRequestCreateContextJSONRequestBody defines body for GetBurnRequestCreateContext for application/json ContentType.
type GetBurnRequestCreateContextResp ¶
type GetBurnRequestCreateContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FactoryWithChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnRequestCreateContextResp ¶
func ParseGetBurnRequestCreateContextResp(rsp *http.Response) (*GetBurnRequestCreateContextResp, error)
ParseGetBurnRequestCreateContextResp parses an HTTP response from a GetBurnRequestCreateContextWithResponse call
func (GetBurnRequestCreateContextResp) ContentType ¶
func (r GetBurnRequestCreateContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnRequestCreateContextResp) GetBody ¶
func (r GetBurnRequestCreateContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnRequestCreateContextResp) GetJSON200 ¶
func (r GetBurnRequestCreateContextResp) GetJSON200() *FactoryWithChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnRequestCreateContextResp) GetJSON400 ¶
func (r GetBurnRequestCreateContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnRequestCreateContextResp) GetJSON404 ¶
func (r GetBurnRequestCreateContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnRequestCreateContextResp) GetJSON500 ¶
func (r GetBurnRequestCreateContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnRequestCreateContextResp) Status ¶
func (r GetBurnRequestCreateContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnRequestCreateContextResp) StatusCode ¶
func (r GetBurnRequestCreateContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBurnRequestRejectContextResp ¶
type GetBurnRequestRejectContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetBurnRequestRejectContextResp ¶
func ParseGetBurnRequestRejectContextResp(rsp *http.Response) (*GetBurnRequestRejectContextResp, error)
ParseGetBurnRequestRejectContextResp parses an HTTP response from a GetBurnRequestRejectContextWithResponse call
func (GetBurnRequestRejectContextResp) ContentType ¶
func (r GetBurnRequestRejectContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBurnRequestRejectContextResp) GetBody ¶
func (r GetBurnRequestRejectContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBurnRequestRejectContextResp) GetJSON200 ¶
func (r GetBurnRequestRejectContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBurnRequestRejectContextResp) GetJSON400 ¶
func (r GetBurnRequestRejectContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBurnRequestRejectContextResp) GetJSON404 ¶
func (r GetBurnRequestRejectContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBurnRequestRejectContextResp) GetJSON500 ¶
func (r GetBurnRequestRejectContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBurnRequestRejectContextResp) Status ¶
func (r GetBurnRequestRejectContextResp) Status() string
Status returns HTTPResponse.Status
func (GetBurnRequestRejectContextResp) StatusCode ¶
func (r GetBurnRequestRejectContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstrumentConfigurationJSONRequestBody ¶
type GetInstrumentConfigurationJSONRequestBody = GetInstrumentConfigurationRequest
GetInstrumentConfigurationJSONRequestBody defines body for GetInstrumentConfiguration for application/json ContentType.
type GetInstrumentConfigurationRequest ¶
type GetInstrumentConfigurationRequest struct {
InstrumentIdentifier InstrumentIdentifier `json:"instrumentIdentifier"`
// Registrar The registrar party id
Registrar string `json:"registrar"`
}
GetInstrumentConfigurationRequest defines model for GetInstrumentConfigurationRequest.
type GetInstrumentConfigurationResp ¶
type GetInstrumentConfigurationResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetInstrumentConfigurationResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *Error
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseGetInstrumentConfigurationResp ¶
func ParseGetInstrumentConfigurationResp(rsp *http.Response) (*GetInstrumentConfigurationResp, error)
ParseGetInstrumentConfigurationResp parses an HTTP response from a GetInstrumentConfigurationWithResponse call
func (GetInstrumentConfigurationResp) ContentType ¶
func (r GetInstrumentConfigurationResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetInstrumentConfigurationResp) GetBody ¶
func (r GetInstrumentConfigurationResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetInstrumentConfigurationResp) GetJSON200 ¶
func (r GetInstrumentConfigurationResp) GetJSON200() *GetInstrumentConfigurationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInstrumentConfigurationResp) GetJSON404 ¶
func (r GetInstrumentConfigurationResp) GetJSON404() *Error
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetInstrumentConfigurationResp) GetJSON500 ¶
func (r GetInstrumentConfigurationResp) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetInstrumentConfigurationResp) Status ¶
func (r GetInstrumentConfigurationResp) Status() string
Status returns HTTPResponse.Status
func (GetInstrumentConfigurationResp) StatusCode ¶
func (r GetInstrumentConfigurationResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstrumentConfigurationResponse ¶
type GetInstrumentConfigurationResponse = InstrumentConfiguration
GetInstrumentConfigurationResponse defines model for GetInstrumentConfigurationResponse.
type GetMintOfferAcceptContextResp ¶
type GetMintOfferAcceptContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintOfferAcceptContextResp ¶
func ParseGetMintOfferAcceptContextResp(rsp *http.Response) (*GetMintOfferAcceptContextResp, error)
ParseGetMintOfferAcceptContextResp parses an HTTP response from a GetMintOfferAcceptContextWithResponse call
func (GetMintOfferAcceptContextResp) ContentType ¶
func (r GetMintOfferAcceptContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintOfferAcceptContextResp) GetBody ¶
func (r GetMintOfferAcceptContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintOfferAcceptContextResp) GetJSON200 ¶
func (r GetMintOfferAcceptContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintOfferAcceptContextResp) GetJSON400 ¶
func (r GetMintOfferAcceptContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintOfferAcceptContextResp) GetJSON404 ¶
func (r GetMintOfferAcceptContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintOfferAcceptContextResp) GetJSON500 ¶
func (r GetMintOfferAcceptContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintOfferAcceptContextResp) Status ¶
func (r GetMintOfferAcceptContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintOfferAcceptContextResp) StatusCode ¶
func (r GetMintOfferAcceptContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintOfferCancelContextResp ¶
type GetMintOfferCancelContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintOfferCancelContextResp ¶
func ParseGetMintOfferCancelContextResp(rsp *http.Response) (*GetMintOfferCancelContextResp, error)
ParseGetMintOfferCancelContextResp parses an HTTP response from a GetMintOfferCancelContextWithResponse call
func (GetMintOfferCancelContextResp) ContentType ¶
func (r GetMintOfferCancelContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintOfferCancelContextResp) GetBody ¶
func (r GetMintOfferCancelContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintOfferCancelContextResp) GetJSON200 ¶
func (r GetMintOfferCancelContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintOfferCancelContextResp) GetJSON400 ¶
func (r GetMintOfferCancelContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintOfferCancelContextResp) GetJSON404 ¶
func (r GetMintOfferCancelContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintOfferCancelContextResp) GetJSON500 ¶
func (r GetMintOfferCancelContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintOfferCancelContextResp) Status ¶
func (r GetMintOfferCancelContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintOfferCancelContextResp) StatusCode ¶
func (r GetMintOfferCancelContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintOfferCreateContextJSONRequestBody ¶
type GetMintOfferCreateContextJSONRequestBody = OfferMintRequest
GetMintOfferCreateContextJSONRequestBody defines body for GetMintOfferCreateContext for application/json ContentType.
type GetMintOfferCreateContextResp ¶
type GetMintOfferCreateContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FactoryWithChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintOfferCreateContextResp ¶
func ParseGetMintOfferCreateContextResp(rsp *http.Response) (*GetMintOfferCreateContextResp, error)
ParseGetMintOfferCreateContextResp parses an HTTP response from a GetMintOfferCreateContextWithResponse call
func (GetMintOfferCreateContextResp) ContentType ¶
func (r GetMintOfferCreateContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintOfferCreateContextResp) GetBody ¶
func (r GetMintOfferCreateContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintOfferCreateContextResp) GetJSON200 ¶
func (r GetMintOfferCreateContextResp) GetJSON200() *FactoryWithChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintOfferCreateContextResp) GetJSON400 ¶
func (r GetMintOfferCreateContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintOfferCreateContextResp) GetJSON404 ¶
func (r GetMintOfferCreateContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintOfferCreateContextResp) GetJSON500 ¶
func (r GetMintOfferCreateContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintOfferCreateContextResp) Status ¶
func (r GetMintOfferCreateContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintOfferCreateContextResp) StatusCode ¶
func (r GetMintOfferCreateContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintOfferRejectContextResp ¶
type GetMintOfferRejectContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintOfferRejectContextResp ¶
func ParseGetMintOfferRejectContextResp(rsp *http.Response) (*GetMintOfferRejectContextResp, error)
ParseGetMintOfferRejectContextResp parses an HTTP response from a GetMintOfferRejectContextWithResponse call
func (GetMintOfferRejectContextResp) ContentType ¶
func (r GetMintOfferRejectContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintOfferRejectContextResp) GetBody ¶
func (r GetMintOfferRejectContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintOfferRejectContextResp) GetJSON200 ¶
func (r GetMintOfferRejectContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintOfferRejectContextResp) GetJSON400 ¶
func (r GetMintOfferRejectContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintOfferRejectContextResp) GetJSON404 ¶
func (r GetMintOfferRejectContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintOfferRejectContextResp) GetJSON500 ¶
func (r GetMintOfferRejectContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintOfferRejectContextResp) Status ¶
func (r GetMintOfferRejectContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintOfferRejectContextResp) StatusCode ¶
func (r GetMintOfferRejectContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintRequestAcceptContextResp ¶
type GetMintRequestAcceptContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintRequestAcceptContextResp ¶
func ParseGetMintRequestAcceptContextResp(rsp *http.Response) (*GetMintRequestAcceptContextResp, error)
ParseGetMintRequestAcceptContextResp parses an HTTP response from a GetMintRequestAcceptContextWithResponse call
func (GetMintRequestAcceptContextResp) ContentType ¶
func (r GetMintRequestAcceptContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintRequestAcceptContextResp) GetBody ¶
func (r GetMintRequestAcceptContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintRequestAcceptContextResp) GetJSON200 ¶
func (r GetMintRequestAcceptContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintRequestAcceptContextResp) GetJSON400 ¶
func (r GetMintRequestAcceptContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintRequestAcceptContextResp) GetJSON404 ¶
func (r GetMintRequestAcceptContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintRequestAcceptContextResp) GetJSON500 ¶
func (r GetMintRequestAcceptContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintRequestAcceptContextResp) Status ¶
func (r GetMintRequestAcceptContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintRequestAcceptContextResp) StatusCode ¶
func (r GetMintRequestAcceptContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintRequestCancelContextResp ¶
type GetMintRequestCancelContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintRequestCancelContextResp ¶
func ParseGetMintRequestCancelContextResp(rsp *http.Response) (*GetMintRequestCancelContextResp, error)
ParseGetMintRequestCancelContextResp parses an HTTP response from a GetMintRequestCancelContextWithResponse call
func (GetMintRequestCancelContextResp) ContentType ¶
func (r GetMintRequestCancelContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintRequestCancelContextResp) GetBody ¶
func (r GetMintRequestCancelContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintRequestCancelContextResp) GetJSON200 ¶
func (r GetMintRequestCancelContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintRequestCancelContextResp) GetJSON400 ¶
func (r GetMintRequestCancelContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintRequestCancelContextResp) GetJSON404 ¶
func (r GetMintRequestCancelContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintRequestCancelContextResp) GetJSON500 ¶
func (r GetMintRequestCancelContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintRequestCancelContextResp) Status ¶
func (r GetMintRequestCancelContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintRequestCancelContextResp) StatusCode ¶
func (r GetMintRequestCancelContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintRequestCreateContextJSONRequestBody ¶
type GetMintRequestCreateContextJSONRequestBody = RequestMintRequest
GetMintRequestCreateContextJSONRequestBody defines body for GetMintRequestCreateContext for application/json ContentType.
type GetMintRequestCreateContextResp ¶
type GetMintRequestCreateContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FactoryWithChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintRequestCreateContextResp ¶
func ParseGetMintRequestCreateContextResp(rsp *http.Response) (*GetMintRequestCreateContextResp, error)
ParseGetMintRequestCreateContextResp parses an HTTP response from a GetMintRequestCreateContextWithResponse call
func (GetMintRequestCreateContextResp) ContentType ¶
func (r GetMintRequestCreateContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintRequestCreateContextResp) GetBody ¶
func (r GetMintRequestCreateContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintRequestCreateContextResp) GetJSON200 ¶
func (r GetMintRequestCreateContextResp) GetJSON200() *FactoryWithChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintRequestCreateContextResp) GetJSON400 ¶
func (r GetMintRequestCreateContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintRequestCreateContextResp) GetJSON404 ¶
func (r GetMintRequestCreateContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintRequestCreateContextResp) GetJSON500 ¶
func (r GetMintRequestCreateContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintRequestCreateContextResp) Status ¶
func (r GetMintRequestCreateContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintRequestCreateContextResp) StatusCode ¶
func (r GetMintRequestCreateContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMintRequestRejectContextResp ¶
type GetMintRequestRejectContextResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChoiceContext
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *N404
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseGetMintRequestRejectContextResp ¶
func ParseGetMintRequestRejectContextResp(rsp *http.Response) (*GetMintRequestRejectContextResp, error)
ParseGetMintRequestRejectContextResp parses an HTTP response from a GetMintRequestRejectContextWithResponse call
func (GetMintRequestRejectContextResp) ContentType ¶
func (r GetMintRequestRejectContextResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMintRequestRejectContextResp) GetBody ¶
func (r GetMintRequestRejectContextResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMintRequestRejectContextResp) GetJSON200 ¶
func (r GetMintRequestRejectContextResp) GetJSON200() *ChoiceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMintRequestRejectContextResp) GetJSON400 ¶
func (r GetMintRequestRejectContextResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMintRequestRejectContextResp) GetJSON404 ¶
func (r GetMintRequestRejectContextResp) GetJSON404() *N404
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMintRequestRejectContextResp) GetJSON500 ¶
func (r GetMintRequestRejectContextResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMintRequestRejectContextResp) Status ¶
func (r GetMintRequestRejectContextResp) Status() string
Status returns HTTPResponse.Status
func (GetMintRequestRejectContextResp) StatusCode ¶
func (r GetMintRequestRejectContextResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOpenApiSpecResp ¶
type GetOpenApiSpecResp struct {
Body []byte
HTTPResponse *http.Response
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseGetOpenApiSpecResp ¶
func ParseGetOpenApiSpecResp(rsp *http.Response) (*GetOpenApiSpecResp, error)
ParseGetOpenApiSpecResp parses an HTTP response from a GetOpenApiSpecWithResponse call
func (GetOpenApiSpecResp) ContentType ¶
func (r GetOpenApiSpecResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOpenApiSpecResp) GetBody ¶
func (r GetOpenApiSpecResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOpenApiSpecResp) GetJSON500 ¶
func (r GetOpenApiSpecResp) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetOpenApiSpecResp) Status ¶
func (r GetOpenApiSpecResp) Status() string
Status returns HTTPResponse.Status
func (GetOpenApiSpecResp) StatusCode ¶
func (r GetOpenApiSpecResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperatorResp ¶
type GetOperatorResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetOperatorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseGetOperatorResp ¶
func ParseGetOperatorResp(rsp *http.Response) (*GetOperatorResp, error)
ParseGetOperatorResp parses an HTTP response from a GetOperatorWithResponse call
func (GetOperatorResp) ContentType ¶
func (r GetOperatorResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOperatorResp) GetBody ¶
func (r GetOperatorResp) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOperatorResp) GetJSON200 ¶
func (r GetOperatorResp) GetJSON200() *GetOperatorResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOperatorResp) GetJSON500 ¶
func (r GetOperatorResp) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetOperatorResp) Status ¶
func (r GetOperatorResp) Status() string
Status returns HTTPResponse.Status
func (GetOperatorResp) StatusCode ¶
func (r GetOperatorResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperatorResponse ¶
type GetOperatorResponse struct {
// PartyId The operator party id
PartyId string `json:"partyId"`
}
GetOperatorResponse defines model for GetOperatorResponse.
type GinServerOptions ¶
type GinServerOptions struct {
BaseURL string
Middlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
GinServerOptions provides options for the Gin server.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InstrumentConfiguration ¶
type InstrumentConfiguration struct {
Contract ContractMeta `json:"contract"`
Payload InstrumentConfigurationPayload `json:"payload"`
}
InstrumentConfiguration defines model for InstrumentConfiguration.
type InstrumentConfigurationPayload ¶
type InstrumentConfigurationPayload struct {
// AdditionalIdentifiers Additional instrument identifiers
AdditionalIdentifiers []InstrumentIdentifier `json:"additionalIdentifiers"`
DefaultIdentifier InstrumentIdentifier `json:"defaultIdentifier"`
// HolderRequirements Credential requirements to transfer/lock/unlock a given asset
HolderRequirements []PartyCredentialRequirement `json:"holderRequirements"`
// IssuerRequirements Credential requirements to mint/burn a given asset
IssuerRequirements []PartyCredentialRequirement `json:"issuerRequirements"`
// Operator The operator party id
Operator string `json:"operator"`
// Provider The provider party id
Provider string `json:"provider"`
// Registrar The registrar party id
Registrar string `json:"registrar"`
}
InstrumentConfigurationPayload defines model for InstrumentConfigurationPayload.
type InstrumentId ¶
type InstrumentId struct {
// Admin The party administering the instrument.
Admin string `json:"admin"`
// Id The unique identifier of the instrument.
Id string `json:"id"`
}
InstrumentId The identifier of the instrument.
type InstrumentIdentifier ¶
type InstrumentIdentifier struct {
// Id The identifier for the instrument
Id string `json:"id"`
// Scheme The scheme or standard used for the identifier.
Scheme string `json:"scheme"`
// Source The entity that originally created or issued the identifier.
Source string `json:"source"`
}
InstrumentIdentifier defines model for InstrumentIdentifier.
type IsLiveResp ¶
func ParseIsLiveResp ¶
func ParseIsLiveResp(rsp *http.Response) (*IsLiveResp, error)
ParseIsLiveResp parses an HTTP response from a IsLiveWithResponse call
func (IsLiveResp) ContentType ¶
func (r IsLiveResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IsLiveResp) GetBody ¶
func (r IsLiveResp) GetBody() []byte
GetBody returns the raw response body bytes
func (IsLiveResp) StatusCode ¶
func (r IsLiveResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IsReadyResp ¶
func ParseIsReadyResp ¶
func ParseIsReadyResp(rsp *http.Response) (*IsReadyResp, error)
ParseIsReadyResp parses an HTTP response from a IsReadyWithResponse call
func (IsReadyResp) ContentType ¶
func (r IsReadyResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IsReadyResp) GetBody ¶
func (r IsReadyResp) GetBody() []byte
GetBody returns the raw response body bytes
func (IsReadyResp) StatusCode ¶
func (r IsReadyResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MiddlewareFunc ¶
type MintOutput ¶
type MintOutput struct {
// Amount The amount to be minted.
Amount string `json:"amount"`
// Owner The party for whom the holding will be minted.
Owner string `json:"owner"`
}
MintOutput The output to be minted.
type N400 ¶
type N400 = Error
N400 A problem occurred with processing the request. For instance: syntactically invalid JSON body, missing required fields, etc.
type N404 ¶
type N404 = Error
N404 A problem occurred with processing the request. For instance: syntactically invalid JSON body, missing required fields, etc.
type N500 ¶
type N500 = Error
N500 A problem occurred with processing the request. For instance: syntactically invalid JSON body, missing required fields, etc.
type OfferBurnRequest ¶
type OfferBurnRequest struct {
// Holder The party whose holding will be burned.
Holder string `json:"holder"`
// InstrumentId The identifier of the instrument.
InstrumentId InstrumentId `json:"instrumentId"`
}
OfferBurnRequest The request to get the factory and choice context for creating a burn offer.
type OfferMintRequest ¶
type OfferMintRequest struct {
// Holder The party for whom the holding will be minted.
Holder string `json:"holder"`
// InstrumentId The identifier of the instrument.
InstrumentId InstrumentId `json:"instrumentId"`
}
OfferMintRequest The request to get the factory and choice context for creating a mint offer.
type PackageDescriptor ¶
type PackageDescriptor struct {
// Id Package ID
Id string `json:"id"`
// Name Name of the package
Name string `json:"name"`
}
PackageDescriptor Contains the package ids for a given package name
type PartyCredentialRequirement ¶
type PartyCredentialRequirement struct {
// Issuer Required issuer of the credential
Issuer string `json:"issuer"`
// RequiredClaims Required (property, value) pairs that the holder has to have claims for as a subject
RequiredClaims string `json:"requiredClaims"`
}
PartyCredentialRequirement defines model for PartyCredentialRequirement.
type RequestBurnRequest ¶
type RequestBurnRequest struct {
// Holder The party whose holding will be burned.
Holder string `json:"holder"`
// HoldingContractIds Contract ids of Holdings to be used for the burn.
HoldingContractIds []string `json:"holdingContractIds"`
// InstrumentId The identifier of the instrument.
InstrumentId InstrumentId `json:"instrumentId"`
}
RequestBurnRequest The request to get the factory and choice context for creating a burn request.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestMintRequest ¶
type RequestMintRequest struct {
// Holder The party for whom the holding will be minted.
Holder string `json:"holder"`
// InstrumentId The identifier of the instrument.
InstrumentId InstrumentId `json:"instrumentId"`
}
RequestMintRequest The request to get the factory and choice context for creating a mint request.
type RootResp ¶
func ParseRootResp ¶
ParseRootResp parses an HTTP response from a RootWithResponse call
func (RootResp) ContentType ¶
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RootResp) StatusCode ¶
StatusCode returns HTTPResponse.StatusCode
type ServerInterface ¶
type ServerInterface interface {
// (GET /)
Root(c *gin.Context)
// (POST /api/utilities/v0/contract/instrument-configuration)
GetInstrumentConfiguration(c *gin.Context)
// (GET /api/utilities/v0/contract/instrument-configuration/all)
GetAllInstrumentConfigurations(c *gin.Context)
// (GET /api/utilities/v0/openapi)
GetOpenApiSpec(c *gin.Context)
// (GET /api/utilities/v0/operator)
GetOperator(c *gin.Context)
// (GET /api/utilities/v0/package/all)
GetAllPackages(c *gin.Context)
// (POST /api/utilities/v0/registry/burn-mint-instruction/v0/burn-mint-factory)
GetBurnMintFactory(c *gin.Context)
// (POST /api/utilities/v0/registry/burn/v0/offer)
GetBurnOfferCreateContext(c *gin.Context)
// (POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/accept)
GetBurnOfferAcceptContext(c *gin.Context, burnOfferId string)
// (POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/cancel)
GetBurnOfferCancelContext(c *gin.Context, burnOfferId string)
// (POST /api/utilities/v0/registry/burn/v0/offer/{burnOfferId}/choice-contexts/reject)
GetBurnOfferRejectContext(c *gin.Context, burnOfferId string)
// (POST /api/utilities/v0/registry/burn/v0/request)
GetBurnRequestCreateContext(c *gin.Context)
// (POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/accept)
GetBurnRequestAcceptContext(c *gin.Context, burnRequestId string)
// (POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/cancel)
GetBurnRequestCancelContext(c *gin.Context, burnRequestId string)
// (POST /api/utilities/v0/registry/burn/v0/request/{burnRequestId}/choice-contexts/reject)
GetBurnRequestRejectContext(c *gin.Context, burnRequestId string)
// (POST /api/utilities/v0/registry/mint/v0/offer)
GetMintOfferCreateContext(c *gin.Context)
// (POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/accept)
GetMintOfferAcceptContext(c *gin.Context, mintOfferId string)
// (POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/cancel)
GetMintOfferCancelContext(c *gin.Context, mintOfferId string)
// (POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/reject)
GetMintOfferRejectContext(c *gin.Context, mintOfferId string)
// (POST /api/utilities/v0/registry/mint/v0/request)
GetMintRequestCreateContext(c *gin.Context)
// (POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/accept)
GetMintRequestAcceptContext(c *gin.Context, mintRequestId string)
// (POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/cancel)
GetMintRequestCancelContext(c *gin.Context, mintRequestId string)
// (POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/reject)
GetMintRequestRejectContext(c *gin.Context, mintRequestId string)
// (POST /api/utilities/v0/registry/transfer/v0/proof)
VerifyTransferProof(c *gin.Context)
// (GET /livez)
IsLive(c *gin.Context)
// (GET /readyz)
IsReady(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) GetAllInstrumentConfigurations ¶
func (siw *ServerInterfaceWrapper) GetAllInstrumentConfigurations(c *gin.Context)
GetAllInstrumentConfigurations operation middleware
func (*ServerInterfaceWrapper) GetAllPackages ¶
func (siw *ServerInterfaceWrapper) GetAllPackages(c *gin.Context)
GetAllPackages operation middleware
func (*ServerInterfaceWrapper) GetBurnMintFactory ¶
func (siw *ServerInterfaceWrapper) GetBurnMintFactory(c *gin.Context)
GetBurnMintFactory operation middleware
func (*ServerInterfaceWrapper) GetBurnOfferAcceptContext ¶
func (siw *ServerInterfaceWrapper) GetBurnOfferAcceptContext(c *gin.Context)
GetBurnOfferAcceptContext operation middleware
func (*ServerInterfaceWrapper) GetBurnOfferCancelContext ¶
func (siw *ServerInterfaceWrapper) GetBurnOfferCancelContext(c *gin.Context)
GetBurnOfferCancelContext operation middleware
func (*ServerInterfaceWrapper) GetBurnOfferCreateContext ¶
func (siw *ServerInterfaceWrapper) GetBurnOfferCreateContext(c *gin.Context)
GetBurnOfferCreateContext operation middleware
func (*ServerInterfaceWrapper) GetBurnOfferRejectContext ¶
func (siw *ServerInterfaceWrapper) GetBurnOfferRejectContext(c *gin.Context)
GetBurnOfferRejectContext operation middleware
func (*ServerInterfaceWrapper) GetBurnRequestAcceptContext ¶
func (siw *ServerInterfaceWrapper) GetBurnRequestAcceptContext(c *gin.Context)
GetBurnRequestAcceptContext operation middleware
func (*ServerInterfaceWrapper) GetBurnRequestCancelContext ¶
func (siw *ServerInterfaceWrapper) GetBurnRequestCancelContext(c *gin.Context)
GetBurnRequestCancelContext operation middleware
func (*ServerInterfaceWrapper) GetBurnRequestCreateContext ¶
func (siw *ServerInterfaceWrapper) GetBurnRequestCreateContext(c *gin.Context)
GetBurnRequestCreateContext operation middleware
func (*ServerInterfaceWrapper) GetBurnRequestRejectContext ¶
func (siw *ServerInterfaceWrapper) GetBurnRequestRejectContext(c *gin.Context)
GetBurnRequestRejectContext operation middleware
func (*ServerInterfaceWrapper) GetInstrumentConfiguration ¶
func (siw *ServerInterfaceWrapper) GetInstrumentConfiguration(c *gin.Context)
GetInstrumentConfiguration operation middleware
func (*ServerInterfaceWrapper) GetMintOfferAcceptContext ¶
func (siw *ServerInterfaceWrapper) GetMintOfferAcceptContext(c *gin.Context)
GetMintOfferAcceptContext operation middleware
func (*ServerInterfaceWrapper) GetMintOfferCancelContext ¶
func (siw *ServerInterfaceWrapper) GetMintOfferCancelContext(c *gin.Context)
GetMintOfferCancelContext operation middleware
func (*ServerInterfaceWrapper) GetMintOfferCreateContext ¶
func (siw *ServerInterfaceWrapper) GetMintOfferCreateContext(c *gin.Context)
GetMintOfferCreateContext operation middleware
func (*ServerInterfaceWrapper) GetMintOfferRejectContext ¶
func (siw *ServerInterfaceWrapper) GetMintOfferRejectContext(c *gin.Context)
GetMintOfferRejectContext operation middleware
func (*ServerInterfaceWrapper) GetMintRequestAcceptContext ¶
func (siw *ServerInterfaceWrapper) GetMintRequestAcceptContext(c *gin.Context)
GetMintRequestAcceptContext operation middleware
func (*ServerInterfaceWrapper) GetMintRequestCancelContext ¶
func (siw *ServerInterfaceWrapper) GetMintRequestCancelContext(c *gin.Context)
GetMintRequestCancelContext operation middleware
func (*ServerInterfaceWrapper) GetMintRequestCreateContext ¶
func (siw *ServerInterfaceWrapper) GetMintRequestCreateContext(c *gin.Context)
GetMintRequestCreateContext operation middleware
func (*ServerInterfaceWrapper) GetMintRequestRejectContext ¶
func (siw *ServerInterfaceWrapper) GetMintRequestRejectContext(c *gin.Context)
GetMintRequestRejectContext operation middleware
func (*ServerInterfaceWrapper) GetOpenApiSpec ¶
func (siw *ServerInterfaceWrapper) GetOpenApiSpec(c *gin.Context)
GetOpenApiSpec operation middleware
func (*ServerInterfaceWrapper) GetOperator ¶
func (siw *ServerInterfaceWrapper) GetOperator(c *gin.Context)
GetOperator operation middleware
func (*ServerInterfaceWrapper) IsLive ¶
func (siw *ServerInterfaceWrapper) IsLive(c *gin.Context)
IsLive operation middleware
func (*ServerInterfaceWrapper) IsReady ¶
func (siw *ServerInterfaceWrapper) IsReady(c *gin.Context)
IsReady operation middleware
func (*ServerInterfaceWrapper) Root ¶
func (siw *ServerInterfaceWrapper) Root(c *gin.Context)
Root operation middleware
func (*ServerInterfaceWrapper) VerifyTransferProof ¶
func (siw *ServerInterfaceWrapper) VerifyTransferProof(c *gin.Context)
VerifyTransferProof operation middleware
type TransferMeta ¶
type TransferMeta struct {
// Values Arbitrary key-value metadata attached to the transfer.
Values map[string]string `json:"values"`
}
TransferMeta Additional metadata associated with the transfer.
type TransferObject ¶
type TransferObject struct {
// Amount The transfer amount as a decimal string.
//
// Example: 1.0000000000
Amount string `json:"amount"`
// ExecuteBefore The deadline by which the transfer must be executed.
ExecuteBefore time.Time `json:"executeBefore"`
// InputHoldingCids Contract IDs of the holdings used as inputs for the transfer.
InputHoldingCids []string `json:"inputHoldingCids"`
// InstrumentId The identifier of the instrument.
InstrumentId InstrumentId `json:"instrumentId"`
// Meta Additional metadata associated with the transfer.
Meta TransferMeta `json:"meta"`
// Receiver The party ID of the transfer receiver.
Receiver string `json:"receiver"`
// RequestedAt The timestamp when the transfer was requested.
RequestedAt time.Time `json:"requestedAt"`
// Sender The party ID of the transfer sender.
Sender string `json:"sender"`
}
TransferObject The transfer payload containing transaction details known only to the sender and receiver.
type TransferProofStatus ¶
type TransferProofStatus string
TransferProofStatus The status of the transfer proof verification: - `Success`: The proof is verified and the transfer was successfully concluded - `Failure`: The proof is verified, but the transfer did not successfully conclude. - `Pending`: The transaction is still in progress (e.g., a transfer offer has been sent but not yet accepted in a two-step flow).
const ( Failure TransferProofStatus = "Failure" Pending TransferProofStatus = "Pending" Success TransferProofStatus = "Success" )
Defines values for TransferProofStatus.
func (TransferProofStatus) Valid ¶
func (e TransferProofStatus) Valid() bool
Valid indicates whether the value is a known member of the TransferProofStatus enum.
type VerifyTransferProofJSONRequestBody ¶
type VerifyTransferProofJSONRequestBody = VerifyTransferProofRequest
VerifyTransferProofJSONRequestBody defines body for VerifyTransferProof for application/json ContentType.
type VerifyTransferProofRequest ¶
type VerifyTransferProofRequest struct {
// Transfer The transfer payload containing transaction details known only to the sender and receiver.
Transfer TransferObject `json:"transfer"`
// UpdateId For the two-step transfer workflow, specifies the most recent UpdateId.
// If the transfer has completed its second step (accept, reject, or withdraw),
// use the UpdateId associated with that action. Otherwise, use the UpdateId from the initial transfer offer.
UpdateId string `json:"updateId"`
}
VerifyTransferProofRequest Request to verify the outcome of a transfer of Registry Utility assets on Canton.
type VerifyTransferProofResp ¶
type VerifyTransferProofResp struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VerifyTransferProofResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *N400
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *N500
}
func ParseVerifyTransferProofResp ¶
func ParseVerifyTransferProofResp(rsp *http.Response) (*VerifyTransferProofResp, error)
ParseVerifyTransferProofResp parses an HTTP response from a VerifyTransferProofWithResponse call
func (VerifyTransferProofResp) ContentType ¶
func (r VerifyTransferProofResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyTransferProofResp) GetBody ¶
func (r VerifyTransferProofResp) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyTransferProofResp) GetJSON200 ¶
func (r VerifyTransferProofResp) GetJSON200() *VerifyTransferProofResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VerifyTransferProofResp) GetJSON400 ¶
func (r VerifyTransferProofResp) GetJSON400() *N400
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (VerifyTransferProofResp) GetJSON500 ¶
func (r VerifyTransferProofResp) GetJSON500() *N500
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (VerifyTransferProofResp) Status ¶
func (r VerifyTransferProofResp) Status() string
Status returns HTTPResponse.Status
func (VerifyTransferProofResp) StatusCode ¶
func (r VerifyTransferProofResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyTransferProofResponse ¶
type VerifyTransferProofResponse struct {
// Status The status of the transfer proof verification:
// - `Success`: The proof is verified and the transfer was successfully concluded
// - `Failure`: The proof is verified, but the transfer did not successfully conclude.
// - `Pending`: The transaction is still in progress (e.g., a transfer offer has been sent but not yet accepted in a two-step flow).
Status TransferProofStatus `json:"status"`
}
VerifyTransferProofResponse The outcome of verifying a transfer proof.