client

package module
v0.0.0-...-211371e Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

README

Canton Ledger API Go Client

This repository contains a Go client for the Canton Ledger API, generated from the OpenAPI specification using oapi-codegen.

Features

  • Auto-generated Go client from OpenAPI 3.0.3 specification
  • Type-safe API calls with proper error handling
  • Support for both synchronous and asynchronous command submission
  • Authentication support (HTTP Basic Auth and API Key)
  • Comprehensive model definitions

Quick Start

Prerequisites
  • Go 1.24.5 or later
Generating the Client

You have two options to generate the Go client:

go generate

Documentation

Overview

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "apiKeyAuth.Scopes"
	HttpAuthScopes   = "httpAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewDeleteV2IdpsIdpIdRequest

func NewDeleteV2IdpsIdpIdRequest(server string, idpId string) (*http.Request, error)

NewDeleteV2IdpsIdpIdRequest generates requests for DeleteV2IdpsIdpId

func NewDeleteV2UsersUserIdRequest

func NewDeleteV2UsersUserIdRequest(server string, userId string) (*http.Request, error)

NewDeleteV2UsersUserIdRequest generates requests for DeleteV2UsersUserId

func NewGetV2IdpsIdpIdRequest

func NewGetV2IdpsIdpIdRequest(server string, idpId string) (*http.Request, error)

NewGetV2IdpsIdpIdRequest generates requests for GetV2IdpsIdpId

func NewGetV2IdpsRequest

func NewGetV2IdpsRequest(server string) (*http.Request, error)

NewGetV2IdpsRequest generates requests for GetV2Idps

func NewGetV2InteractiveSubmissionPreferredPackageVersionRequest

func NewGetV2InteractiveSubmissionPreferredPackageVersionRequest(server string, params *GetV2InteractiveSubmissionPreferredPackageVersionParams) (*http.Request, error)

NewGetV2InteractiveSubmissionPreferredPackageVersionRequest generates requests for GetV2InteractiveSubmissionPreferredPackageVersion

func NewGetV2PackagesPackageIdRequest

func NewGetV2PackagesPackageIdRequest(server string, packageId string) (*http.Request, error)

NewGetV2PackagesPackageIdRequest generates requests for GetV2PackagesPackageId

func NewGetV2PackagesPackageIdStatusRequest

func NewGetV2PackagesPackageIdStatusRequest(server string, packageId string) (*http.Request, error)

NewGetV2PackagesPackageIdStatusRequest generates requests for GetV2PackagesPackageIdStatus

func NewGetV2PackagesRequest

func NewGetV2PackagesRequest(server string) (*http.Request, error)

NewGetV2PackagesRequest generates requests for GetV2Packages

func NewGetV2PartiesParticipantIdRequest

func NewGetV2PartiesParticipantIdRequest(server string) (*http.Request, error)

NewGetV2PartiesParticipantIdRequest generates requests for GetV2PartiesParticipantId

func NewGetV2PartiesPartyRequest

func NewGetV2PartiesPartyRequest(server string, party string, params *GetV2PartiesPartyParams) (*http.Request, error)

NewGetV2PartiesPartyRequest generates requests for GetV2PartiesParty

func NewGetV2PartiesRequest

func NewGetV2PartiesRequest(server string, params *GetV2PartiesParams) (*http.Request, error)

NewGetV2PartiesRequest generates requests for GetV2Parties

func NewGetV2StateConnectedSynchronizersRequest

func NewGetV2StateConnectedSynchronizersRequest(server string, params *GetV2StateConnectedSynchronizersParams) (*http.Request, error)

NewGetV2StateConnectedSynchronizersRequest generates requests for GetV2StateConnectedSynchronizers

func NewGetV2StateLatestPrunedOffsetsRequest

func NewGetV2StateLatestPrunedOffsetsRequest(server string) (*http.Request, error)

NewGetV2StateLatestPrunedOffsetsRequest generates requests for GetV2StateLatestPrunedOffsets

func NewGetV2StateLedgerEndRequest

func NewGetV2StateLedgerEndRequest(server string) (*http.Request, error)

NewGetV2StateLedgerEndRequest generates requests for GetV2StateLedgerEnd

func NewGetV2UpdatesTransactionTreeByIdUpdateIdRequest

func NewGetV2UpdatesTransactionTreeByIdUpdateIdRequest(server string, updateId string, params *GetV2UpdatesTransactionTreeByIdUpdateIdParams) (*http.Request, error)

NewGetV2UpdatesTransactionTreeByIdUpdateIdRequest generates requests for GetV2UpdatesTransactionTreeByIdUpdateId

func NewGetV2UpdatesTransactionTreeByOffsetOffsetRequest

func NewGetV2UpdatesTransactionTreeByOffsetOffsetRequest(server string, offset int64, params *GetV2UpdatesTransactionTreeByOffsetOffsetParams) (*http.Request, error)

NewGetV2UpdatesTransactionTreeByOffsetOffsetRequest generates requests for GetV2UpdatesTransactionTreeByOffsetOffset

func NewGetV2UsersRequest

func NewGetV2UsersRequest(server string, params *GetV2UsersParams) (*http.Request, error)

NewGetV2UsersRequest generates requests for GetV2Users

func NewGetV2UsersUserIdRequest

func NewGetV2UsersUserIdRequest(server string, userId string) (*http.Request, error)

NewGetV2UsersUserIdRequest generates requests for GetV2UsersUserId

func NewGetV2UsersUserIdRightsRequest

func NewGetV2UsersUserIdRightsRequest(server string, userId string) (*http.Request, error)

NewGetV2UsersUserIdRightsRequest generates requests for GetV2UsersUserIdRights

func NewGetV2VersionRequest

func NewGetV2VersionRequest(server string) (*http.Request, error)

NewGetV2VersionRequest generates requests for GetV2Version

func NewPatchV2IdpsIdpIdRequest

func NewPatchV2IdpsIdpIdRequest(server string, idpId string, body PatchV2IdpsIdpIdJSONRequestBody) (*http.Request, error)

NewPatchV2IdpsIdpIdRequest calls the generic PatchV2IdpsIdpId builder with application/json body

func NewPatchV2IdpsIdpIdRequestWithBody

func NewPatchV2IdpsIdpIdRequestWithBody(server string, idpId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV2IdpsIdpIdRequestWithBody generates requests for PatchV2IdpsIdpId with any type of body

func NewPatchV2PartiesPartyRequest

func NewPatchV2PartiesPartyRequest(server string, party string, body PatchV2PartiesPartyJSONRequestBody) (*http.Request, error)

NewPatchV2PartiesPartyRequest calls the generic PatchV2PartiesParty builder with application/json body

func NewPatchV2PartiesPartyRequestWithBody

func NewPatchV2PartiesPartyRequestWithBody(server string, party string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV2PartiesPartyRequestWithBody generates requests for PatchV2PartiesParty with any type of body

func NewPatchV2UsersUserIdIdentityProviderIdRequest

func NewPatchV2UsersUserIdIdentityProviderIdRequest(server string, userId string, body PatchV2UsersUserIdIdentityProviderIdJSONRequestBody) (*http.Request, error)

NewPatchV2UsersUserIdIdentityProviderIdRequest calls the generic PatchV2UsersUserIdIdentityProviderId builder with application/json body

func NewPatchV2UsersUserIdIdentityProviderIdRequestWithBody

func NewPatchV2UsersUserIdIdentityProviderIdRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV2UsersUserIdIdentityProviderIdRequestWithBody generates requests for PatchV2UsersUserIdIdentityProviderId with any type of body

func NewPatchV2UsersUserIdRequest

func NewPatchV2UsersUserIdRequest(server string, userId string, body PatchV2UsersUserIdJSONRequestBody) (*http.Request, error)

NewPatchV2UsersUserIdRequest calls the generic PatchV2UsersUserId builder with application/json body

func NewPatchV2UsersUserIdRequestWithBody

func NewPatchV2UsersUserIdRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV2UsersUserIdRequestWithBody generates requests for PatchV2UsersUserId with any type of body

func NewPatchV2UsersUserIdRightsRequest

func NewPatchV2UsersUserIdRightsRequest(server string, userId string, body PatchV2UsersUserIdRightsJSONRequestBody) (*http.Request, error)

NewPatchV2UsersUserIdRightsRequest calls the generic PatchV2UsersUserIdRights builder with application/json body

func NewPatchV2UsersUserIdRightsRequestWithBody

func NewPatchV2UsersUserIdRightsRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV2UsersUserIdRightsRequestWithBody generates requests for PatchV2UsersUserIdRights with any type of body

func NewPostV2CommandsAsyncSubmitReassignmentRequest

func NewPostV2CommandsAsyncSubmitReassignmentRequest(server string, body PostV2CommandsAsyncSubmitReassignmentJSONRequestBody) (*http.Request, error)

NewPostV2CommandsAsyncSubmitReassignmentRequest calls the generic PostV2CommandsAsyncSubmitReassignment builder with application/json body

func NewPostV2CommandsAsyncSubmitReassignmentRequestWithBody

func NewPostV2CommandsAsyncSubmitReassignmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsAsyncSubmitReassignmentRequestWithBody generates requests for PostV2CommandsAsyncSubmitReassignment with any type of body

func NewPostV2CommandsAsyncSubmitRequest

func NewPostV2CommandsAsyncSubmitRequest(server string, body PostV2CommandsAsyncSubmitJSONRequestBody) (*http.Request, error)

NewPostV2CommandsAsyncSubmitRequest calls the generic PostV2CommandsAsyncSubmit builder with application/json body

func NewPostV2CommandsAsyncSubmitRequestWithBody

func NewPostV2CommandsAsyncSubmitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsAsyncSubmitRequestWithBody generates requests for PostV2CommandsAsyncSubmit with any type of body

func NewPostV2CommandsCompletionsRequest

func NewPostV2CommandsCompletionsRequest(server string, params *PostV2CommandsCompletionsParams, body PostV2CommandsCompletionsJSONRequestBody) (*http.Request, error)

NewPostV2CommandsCompletionsRequest calls the generic PostV2CommandsCompletions builder with application/json body

func NewPostV2CommandsCompletionsRequestWithBody

func NewPostV2CommandsCompletionsRequestWithBody(server string, params *PostV2CommandsCompletionsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsCompletionsRequestWithBody generates requests for PostV2CommandsCompletions with any type of body

func NewPostV2CommandsSubmitAndWaitForReassignmentRequest

func NewPostV2CommandsSubmitAndWaitForReassignmentRequest(server string, body PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitForReassignmentRequest calls the generic PostV2CommandsSubmitAndWaitForReassignment builder with application/json body

func NewPostV2CommandsSubmitAndWaitForReassignmentRequestWithBody

func NewPostV2CommandsSubmitAndWaitForReassignmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitForReassignmentRequestWithBody generates requests for PostV2CommandsSubmitAndWaitForReassignment with any type of body

func NewPostV2CommandsSubmitAndWaitForTransactionRequest

func NewPostV2CommandsSubmitAndWaitForTransactionRequest(server string, body PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitForTransactionRequest calls the generic PostV2CommandsSubmitAndWaitForTransaction builder with application/json body

func NewPostV2CommandsSubmitAndWaitForTransactionRequestWithBody

func NewPostV2CommandsSubmitAndWaitForTransactionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitForTransactionRequestWithBody generates requests for PostV2CommandsSubmitAndWaitForTransaction with any type of body

func NewPostV2CommandsSubmitAndWaitForTransactionTreeRequest

func NewPostV2CommandsSubmitAndWaitForTransactionTreeRequest(server string, body PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitForTransactionTreeRequest calls the generic PostV2CommandsSubmitAndWaitForTransactionTree builder with application/json body

func NewPostV2CommandsSubmitAndWaitForTransactionTreeRequestWithBody

func NewPostV2CommandsSubmitAndWaitForTransactionTreeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitForTransactionTreeRequestWithBody generates requests for PostV2CommandsSubmitAndWaitForTransactionTree with any type of body

func NewPostV2CommandsSubmitAndWaitRequest

func NewPostV2CommandsSubmitAndWaitRequest(server string, body PostV2CommandsSubmitAndWaitJSONRequestBody) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitRequest calls the generic PostV2CommandsSubmitAndWait builder with application/json body

func NewPostV2CommandsSubmitAndWaitRequestWithBody

func NewPostV2CommandsSubmitAndWaitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2CommandsSubmitAndWaitRequestWithBody generates requests for PostV2CommandsSubmitAndWait with any type of body

func NewPostV2EventsEventsByContractIdRequest

func NewPostV2EventsEventsByContractIdRequest(server string, body PostV2EventsEventsByContractIdJSONRequestBody) (*http.Request, error)

NewPostV2EventsEventsByContractIdRequest calls the generic PostV2EventsEventsByContractId builder with application/json body

func NewPostV2EventsEventsByContractIdRequestWithBody

func NewPostV2EventsEventsByContractIdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2EventsEventsByContractIdRequestWithBody generates requests for PostV2EventsEventsByContractId with any type of body

func NewPostV2IdpsRequest

func NewPostV2IdpsRequest(server string, body PostV2IdpsJSONRequestBody) (*http.Request, error)

NewPostV2IdpsRequest calls the generic PostV2Idps builder with application/json body

func NewPostV2IdpsRequestWithBody

func NewPostV2IdpsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2IdpsRequestWithBody generates requests for PostV2Idps with any type of body

func NewPostV2InteractiveSubmissionExecuteRequest

func NewPostV2InteractiveSubmissionExecuteRequest(server string, body PostV2InteractiveSubmissionExecuteJSONRequestBody) (*http.Request, error)

NewPostV2InteractiveSubmissionExecuteRequest calls the generic PostV2InteractiveSubmissionExecute builder with application/json body

func NewPostV2InteractiveSubmissionExecuteRequestWithBody

func NewPostV2InteractiveSubmissionExecuteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2InteractiveSubmissionExecuteRequestWithBody generates requests for PostV2InteractiveSubmissionExecute with any type of body

func NewPostV2InteractiveSubmissionPrepareRequest

func NewPostV2InteractiveSubmissionPrepareRequest(server string, body PostV2InteractiveSubmissionPrepareJSONRequestBody) (*http.Request, error)

NewPostV2InteractiveSubmissionPrepareRequest calls the generic PostV2InteractiveSubmissionPrepare builder with application/json body

func NewPostV2InteractiveSubmissionPrepareRequestWithBody

func NewPostV2InteractiveSubmissionPrepareRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2InteractiveSubmissionPrepareRequestWithBody generates requests for PostV2InteractiveSubmissionPrepare with any type of body

func NewPostV2PackagesRequestWithBody

func NewPostV2PackagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2PackagesRequestWithBody generates requests for PostV2Packages with any type of body

func NewPostV2PartiesRequest

func NewPostV2PartiesRequest(server string, body PostV2PartiesJSONRequestBody) (*http.Request, error)

NewPostV2PartiesRequest calls the generic PostV2Parties builder with application/json body

func NewPostV2PartiesRequestWithBody

func NewPostV2PartiesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2PartiesRequestWithBody generates requests for PostV2Parties with any type of body

func NewPostV2StateActiveContractsRequest

func NewPostV2StateActiveContractsRequest(server string, params *PostV2StateActiveContractsParams, body PostV2StateActiveContractsJSONRequestBody) (*http.Request, error)

NewPostV2StateActiveContractsRequest calls the generic PostV2StateActiveContracts builder with application/json body

func NewPostV2StateActiveContractsRequestWithBody

func NewPostV2StateActiveContractsRequestWithBody(server string, params *PostV2StateActiveContractsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV2StateActiveContractsRequestWithBody generates requests for PostV2StateActiveContracts with any type of body

func NewPostV2UpdatesFlatsRequest

func NewPostV2UpdatesFlatsRequest(server string, params *PostV2UpdatesFlatsParams, body PostV2UpdatesFlatsJSONRequestBody) (*http.Request, error)

NewPostV2UpdatesFlatsRequest calls the generic PostV2UpdatesFlats builder with application/json body

func NewPostV2UpdatesFlatsRequestWithBody

func NewPostV2UpdatesFlatsRequestWithBody(server string, params *PostV2UpdatesFlatsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UpdatesFlatsRequestWithBody generates requests for PostV2UpdatesFlats with any type of body

func NewPostV2UpdatesTransactionByIdRequest

func NewPostV2UpdatesTransactionByIdRequest(server string, body PostV2UpdatesTransactionByIdJSONRequestBody) (*http.Request, error)

NewPostV2UpdatesTransactionByIdRequest calls the generic PostV2UpdatesTransactionById builder with application/json body

func NewPostV2UpdatesTransactionByIdRequestWithBody

func NewPostV2UpdatesTransactionByIdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UpdatesTransactionByIdRequestWithBody generates requests for PostV2UpdatesTransactionById with any type of body

func NewPostV2UpdatesTransactionByOffsetRequest

func NewPostV2UpdatesTransactionByOffsetRequest(server string, body PostV2UpdatesTransactionByOffsetJSONRequestBody) (*http.Request, error)

NewPostV2UpdatesTransactionByOffsetRequest calls the generic PostV2UpdatesTransactionByOffset builder with application/json body

func NewPostV2UpdatesTransactionByOffsetRequestWithBody

func NewPostV2UpdatesTransactionByOffsetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UpdatesTransactionByOffsetRequestWithBody generates requests for PostV2UpdatesTransactionByOffset with any type of body

func NewPostV2UpdatesTreesRequest

func NewPostV2UpdatesTreesRequest(server string, params *PostV2UpdatesTreesParams, body PostV2UpdatesTreesJSONRequestBody) (*http.Request, error)

NewPostV2UpdatesTreesRequest calls the generic PostV2UpdatesTrees builder with application/json body

func NewPostV2UpdatesTreesRequestWithBody

func NewPostV2UpdatesTreesRequestWithBody(server string, params *PostV2UpdatesTreesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UpdatesTreesRequestWithBody generates requests for PostV2UpdatesTrees with any type of body

func NewPostV2UpdatesUpdateByIdRequest

func NewPostV2UpdatesUpdateByIdRequest(server string, body PostV2UpdatesUpdateByIdJSONRequestBody) (*http.Request, error)

NewPostV2UpdatesUpdateByIdRequest calls the generic PostV2UpdatesUpdateById builder with application/json body

func NewPostV2UpdatesUpdateByIdRequestWithBody

func NewPostV2UpdatesUpdateByIdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UpdatesUpdateByIdRequestWithBody generates requests for PostV2UpdatesUpdateById with any type of body

func NewPostV2UpdatesUpdateByOffsetRequest

func NewPostV2UpdatesUpdateByOffsetRequest(server string, body PostV2UpdatesUpdateByOffsetJSONRequestBody) (*http.Request, error)

NewPostV2UpdatesUpdateByOffsetRequest calls the generic PostV2UpdatesUpdateByOffset builder with application/json body

func NewPostV2UpdatesUpdateByOffsetRequestWithBody

func NewPostV2UpdatesUpdateByOffsetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UpdatesUpdateByOffsetRequestWithBody generates requests for PostV2UpdatesUpdateByOffset with any type of body

func NewPostV2UsersRequest

func NewPostV2UsersRequest(server string, body PostV2UsersJSONRequestBody) (*http.Request, error)

NewPostV2UsersRequest calls the generic PostV2Users builder with application/json body

func NewPostV2UsersRequestWithBody

func NewPostV2UsersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UsersRequestWithBody generates requests for PostV2Users with any type of body

func NewPostV2UsersUserIdRightsRequest

func NewPostV2UsersUserIdRightsRequest(server string, userId string, body PostV2UsersUserIdRightsJSONRequestBody) (*http.Request, error)

NewPostV2UsersUserIdRightsRequest calls the generic PostV2UsersUserIdRights builder with application/json body

func NewPostV2UsersUserIdRightsRequestWithBody

func NewPostV2UsersUserIdRightsRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewPostV2UsersUserIdRightsRequestWithBody generates requests for PostV2UsersUserIdRights with any type of body

Types

type AllocatePartyRequest

type AllocatePartyRequest struct {
	// IdentityProviderId The id of the “Identity Provider“
	// Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
	IdentityProviderId string `json:"identityProviderId"`

	// LocalMetadata Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).
	//
	// Based on “ObjectMeta“ meta used in Kubernetes API.
	// See https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto#L640
	LocalMetadata *ObjectMeta `json:"localMetadata,omitempty"`

	// PartyIdHint A hint to the participant which party ID to allocate. It can be
	// ignored.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Optional
	PartyIdHint string `json:"partyIdHint"`
}

AllocatePartyRequest Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“

type AllocatePartyResponse

type AllocatePartyResponse struct {
	PartyDetails *PartyDetails `json:"partyDetails,omitempty"`
}

AllocatePartyResponse defines model for AllocatePartyResponse.

type Any

type Any struct {
	TypeUrl       string `json:"typeUrl"`
	UnknownFields string `json:"unknownFields"`
	Value         string `json:"value"`
}

Any defines model for Any.

type ArchivedEvent

type ArchivedEvent struct {
	// ContractId The ID of the archived contract.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	ContractId string `json:"contractId"`

	// ImplementedInterfaces The interfaces implemented by the target template that have been
	// matched from the interface filter query.
	// Populated only in case interface filters with include_interface_view set.
	//
	// If defined, the identifier uses the package-id reference format.
	//
	// Optional
	ImplementedInterfaces *[]string `json:"implementedInterfaces,omitempty"`

	// NodeId The position of this event in the originating transaction or reassignment.
	// Node IDs are not necessarily equal across participants,
	// as these may see different projections/parts of transactions.
	// Required, must be valid node ID (non-negative integer)
	NodeId int32 `json:"nodeId"`

	// Offset The offset of origin.
	// Offsets are managed by the participant nodes.
	// Transactions can thus NOT be assumed to have the same offsets on different participant nodes.
	// Required, it is a valid absolute offset (positive integer)
	Offset int64 `json:"offset"`

	// PackageName The package name of the contract.
	// Required
	PackageName string `json:"packageName"`

	// TemplateId The template of the archived contract.
	// The identifier uses the package-id reference format.
	//
	// Required
	TemplateId string `json:"templateId"`

	// WitnessParties The parties that are notified of this event. For an “ArchivedEvent“,
	// these are the intersection of the stakeholders of the contract in
	// question and the parties specified in the “TransactionFilter“. The
	// stakeholders are the union of the signatories and the observers of
	// the contract.
	// Each one of its elements must be a valid PartyIdString (as described
	// in “value.proto“).
	// Required
	WitnessParties *[]string `json:"witnessParties,omitempty"`
}

ArchivedEvent Records that a contract has been archived, and choices may no longer be exercised on it.

type AssignCommand

type AssignCommand struct {
	// Value Assign a contract
	Value AssignCommand1 `json:"value"`
}

AssignCommand Assign a contract

type AssignCommand1

type AssignCommand1 struct {
	// Source The ID of the source synchronizer
	// Must be a valid synchronizer id
	// Required
	Source string `json:"source"`

	// Target The ID of the target synchronizer
	// Must be a valid synchronizer id
	// Required
	Target string `json:"target"`

	// UnassignId The ID from the unassigned event to be completed by this assignment.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UnassignId string `json:"unassignId"`
}

AssignCommand1 Assign a contract

type CanActAs

type CanActAs struct {
	Value CanActAs1 `json:"value"`
}

CanActAs defines model for CanActAs.

type CanActAs1

type CanActAs1 struct {
	Party string `json:"party"`
}

CanActAs1 defines model for CanActAs1.

type CanReadAs

type CanReadAs struct {
	Value CanReadAs1 `json:"value"`
}

CanReadAs defines model for CanReadAs.

type CanReadAs1

type CanReadAs1 struct {
	Party string `json:"party"`
}

CanReadAs1 defines model for CanReadAs1.

type CanReadAsAnyParty

type CanReadAsAnyParty struct {
	Value CanReadAsAnyParty1 `json:"value"`
}

CanReadAsAnyParty defines model for CanReadAsAnyParty.

type CanReadAsAnyParty1

type CanReadAsAnyParty1 = map[string]interface{}

CanReadAsAnyParty1 defines model for CanReadAsAnyParty1.

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

func (c *Client) DeleteV2IdpsIdpId(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV2UsersUserId

func (c *Client) DeleteV2UsersUserId(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2Idps

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

func (*Client) GetV2IdpsIdpId

func (c *Client) GetV2IdpsIdpId(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2InteractiveSubmissionPreferredPackageVersion

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

func (*Client) GetV2Packages

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

func (*Client) GetV2PackagesPackageId

func (c *Client) GetV2PackagesPackageId(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2PackagesPackageIdStatus

func (c *Client) GetV2PackagesPackageIdStatus(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2Parties

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

func (*Client) GetV2PartiesParticipantId

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

func (*Client) GetV2PartiesParty

func (c *Client) GetV2PartiesParty(ctx context.Context, party string, params *GetV2PartiesPartyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2StateConnectedSynchronizers

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

func (*Client) GetV2StateLatestPrunedOffsets

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

func (*Client) GetV2StateLedgerEnd

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

func (*Client) GetV2UpdatesTransactionTreeByIdUpdateId

func (c *Client) GetV2UpdatesTransactionTreeByIdUpdateId(ctx context.Context, updateId string, params *GetV2UpdatesTransactionTreeByIdUpdateIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2UpdatesTransactionTreeByOffsetOffset

func (c *Client) GetV2UpdatesTransactionTreeByOffsetOffset(ctx context.Context, offset int64, params *GetV2UpdatesTransactionTreeByOffsetOffsetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2Users

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

func (*Client) GetV2UsersUserId

func (c *Client) GetV2UsersUserId(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2UsersUserIdRights

func (c *Client) GetV2UsersUserIdRights(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2Version

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

func (*Client) PatchV2IdpsIdpId

func (c *Client) PatchV2IdpsIdpId(ctx context.Context, idpId string, body PatchV2IdpsIdpIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2IdpsIdpIdWithBody

func (c *Client) PatchV2IdpsIdpIdWithBody(ctx context.Context, idpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2PartiesParty

func (c *Client) PatchV2PartiesParty(ctx context.Context, party string, body PatchV2PartiesPartyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2PartiesPartyWithBody

func (c *Client) PatchV2PartiesPartyWithBody(ctx context.Context, party string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2UsersUserId

func (c *Client) PatchV2UsersUserId(ctx context.Context, userId string, body PatchV2UsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2UsersUserIdIdentityProviderId

func (c *Client) PatchV2UsersUserIdIdentityProviderId(ctx context.Context, userId string, body PatchV2UsersUserIdIdentityProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2UsersUserIdIdentityProviderIdWithBody

func (c *Client) PatchV2UsersUserIdIdentityProviderIdWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2UsersUserIdRights

func (c *Client) PatchV2UsersUserIdRights(ctx context.Context, userId string, body PatchV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2UsersUserIdRightsWithBody

func (c *Client) PatchV2UsersUserIdRightsWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV2UsersUserIdWithBody

func (c *Client) PatchV2UsersUserIdWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsAsyncSubmit

func (c *Client) PostV2CommandsAsyncSubmit(ctx context.Context, body PostV2CommandsAsyncSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsAsyncSubmitReassignment

func (c *Client) PostV2CommandsAsyncSubmitReassignment(ctx context.Context, body PostV2CommandsAsyncSubmitReassignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsAsyncSubmitReassignmentWithBody

func (c *Client) PostV2CommandsAsyncSubmitReassignmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsAsyncSubmitWithBody

func (c *Client) PostV2CommandsAsyncSubmitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsCompletions

func (c *Client) PostV2CommandsCompletions(ctx context.Context, params *PostV2CommandsCompletionsParams, body PostV2CommandsCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsCompletionsWithBody

func (c *Client) PostV2CommandsCompletionsWithBody(ctx context.Context, params *PostV2CommandsCompletionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWait

func (c *Client) PostV2CommandsSubmitAndWait(ctx context.Context, body PostV2CommandsSubmitAndWaitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitForReassignment

func (c *Client) PostV2CommandsSubmitAndWaitForReassignment(ctx context.Context, body PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitForReassignmentWithBody

func (c *Client) PostV2CommandsSubmitAndWaitForReassignmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitForTransaction

func (c *Client) PostV2CommandsSubmitAndWaitForTransaction(ctx context.Context, body PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitForTransactionTree

func (c *Client) PostV2CommandsSubmitAndWaitForTransactionTree(ctx context.Context, body PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitForTransactionTreeWithBody

func (c *Client) PostV2CommandsSubmitAndWaitForTransactionTreeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitForTransactionWithBody

func (c *Client) PostV2CommandsSubmitAndWaitForTransactionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2CommandsSubmitAndWaitWithBody

func (c *Client) PostV2CommandsSubmitAndWaitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2EventsEventsByContractId

func (c *Client) PostV2EventsEventsByContractId(ctx context.Context, body PostV2EventsEventsByContractIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2EventsEventsByContractIdWithBody

func (c *Client) PostV2EventsEventsByContractIdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2Idps

func (c *Client) PostV2Idps(ctx context.Context, body PostV2IdpsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2IdpsWithBody

func (c *Client) PostV2IdpsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2InteractiveSubmissionExecute

func (c *Client) PostV2InteractiveSubmissionExecute(ctx context.Context, body PostV2InteractiveSubmissionExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2InteractiveSubmissionExecuteWithBody

func (c *Client) PostV2InteractiveSubmissionExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2InteractiveSubmissionPrepare

func (c *Client) PostV2InteractiveSubmissionPrepare(ctx context.Context, body PostV2InteractiveSubmissionPrepareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2InteractiveSubmissionPrepareWithBody

func (c *Client) PostV2InteractiveSubmissionPrepareWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2PackagesWithBody

func (c *Client) PostV2PackagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2Parties

func (c *Client) PostV2Parties(ctx context.Context, body PostV2PartiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2PartiesWithBody

func (c *Client) PostV2PartiesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2StateActiveContracts

func (c *Client) PostV2StateActiveContracts(ctx context.Context, params *PostV2StateActiveContractsParams, body PostV2StateActiveContractsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2StateActiveContractsWithBody

func (c *Client) PostV2StateActiveContractsWithBody(ctx context.Context, params *PostV2StateActiveContractsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesFlats

func (c *Client) PostV2UpdatesFlats(ctx context.Context, params *PostV2UpdatesFlatsParams, body PostV2UpdatesFlatsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesFlatsWithBody

func (c *Client) PostV2UpdatesFlatsWithBody(ctx context.Context, params *PostV2UpdatesFlatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesTransactionById

func (c *Client) PostV2UpdatesTransactionById(ctx context.Context, body PostV2UpdatesTransactionByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesTransactionByIdWithBody

func (c *Client) PostV2UpdatesTransactionByIdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesTransactionByOffset

func (c *Client) PostV2UpdatesTransactionByOffset(ctx context.Context, body PostV2UpdatesTransactionByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesTransactionByOffsetWithBody

func (c *Client) PostV2UpdatesTransactionByOffsetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesTrees

func (c *Client) PostV2UpdatesTrees(ctx context.Context, params *PostV2UpdatesTreesParams, body PostV2UpdatesTreesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesTreesWithBody

func (c *Client) PostV2UpdatesTreesWithBody(ctx context.Context, params *PostV2UpdatesTreesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesUpdateById

func (c *Client) PostV2UpdatesUpdateById(ctx context.Context, body PostV2UpdatesUpdateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesUpdateByIdWithBody

func (c *Client) PostV2UpdatesUpdateByIdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesUpdateByOffset

func (c *Client) PostV2UpdatesUpdateByOffset(ctx context.Context, body PostV2UpdatesUpdateByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UpdatesUpdateByOffsetWithBody

func (c *Client) PostV2UpdatesUpdateByOffsetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2Users

func (c *Client) PostV2Users(ctx context.Context, body PostV2UsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UsersUserIdRights

func (c *Client) PostV2UsersUserIdRights(ctx context.Context, userId string, body PostV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UsersUserIdRightsWithBody

func (c *Client) PostV2UsersUserIdRightsWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV2UsersWithBody

func (c *Client) PostV2UsersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// PostV2CommandsAsyncSubmitWithBody request with any body
	PostV2CommandsAsyncSubmitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsAsyncSubmit(ctx context.Context, body PostV2CommandsAsyncSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2CommandsAsyncSubmitReassignmentWithBody request with any body
	PostV2CommandsAsyncSubmitReassignmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsAsyncSubmitReassignment(ctx context.Context, body PostV2CommandsAsyncSubmitReassignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2CommandsCompletionsWithBody request with any body
	PostV2CommandsCompletionsWithBody(ctx context.Context, params *PostV2CommandsCompletionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsCompletions(ctx context.Context, params *PostV2CommandsCompletionsParams, body PostV2CommandsCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2CommandsSubmitAndWaitWithBody request with any body
	PostV2CommandsSubmitAndWaitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsSubmitAndWait(ctx context.Context, body PostV2CommandsSubmitAndWaitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2CommandsSubmitAndWaitForReassignmentWithBody request with any body
	PostV2CommandsSubmitAndWaitForReassignmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsSubmitAndWaitForReassignment(ctx context.Context, body PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2CommandsSubmitAndWaitForTransactionWithBody request with any body
	PostV2CommandsSubmitAndWaitForTransactionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsSubmitAndWaitForTransaction(ctx context.Context, body PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2CommandsSubmitAndWaitForTransactionTreeWithBody request with any body
	PostV2CommandsSubmitAndWaitForTransactionTreeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2CommandsSubmitAndWaitForTransactionTree(ctx context.Context, body PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2EventsEventsByContractIdWithBody request with any body
	PostV2EventsEventsByContractIdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2EventsEventsByContractId(ctx context.Context, body PostV2EventsEventsByContractIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Idps request
	GetV2Idps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2IdpsWithBody request with any body
	PostV2IdpsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2Idps(ctx context.Context, body PostV2IdpsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV2IdpsIdpId request
	DeleteV2IdpsIdpId(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2IdpsIdpId request
	GetV2IdpsIdpId(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2IdpsIdpIdWithBody request with any body
	PatchV2IdpsIdpIdWithBody(ctx context.Context, idpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV2IdpsIdpId(ctx context.Context, idpId string, body PatchV2IdpsIdpIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2InteractiveSubmissionExecuteWithBody request with any body
	PostV2InteractiveSubmissionExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2InteractiveSubmissionExecute(ctx context.Context, body PostV2InteractiveSubmissionExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// PostV2InteractiveSubmissionPrepareWithBody request with any body
	PostV2InteractiveSubmissionPrepareWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2InteractiveSubmissionPrepare(ctx context.Context, body PostV2InteractiveSubmissionPrepareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Packages request
	GetV2Packages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2PackagesWithBody request with any body
	PostV2PackagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2PackagesPackageId request
	GetV2PackagesPackageId(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2PackagesPackageIdStatus request
	GetV2PackagesPackageIdStatus(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// PostV2PartiesWithBody request with any body
	PostV2PartiesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2Parties(ctx context.Context, body PostV2PartiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2PartiesParticipantId request
	GetV2PartiesParticipantId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2PartiesParty request
	GetV2PartiesParty(ctx context.Context, party string, params *GetV2PartiesPartyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2PartiesPartyWithBody request with any body
	PatchV2PartiesPartyWithBody(ctx context.Context, party string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV2PartiesParty(ctx context.Context, party string, body PatchV2PartiesPartyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2StateActiveContractsWithBody request with any body
	PostV2StateActiveContractsWithBody(ctx context.Context, params *PostV2StateActiveContractsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2StateActiveContracts(ctx context.Context, params *PostV2StateActiveContractsParams, body PostV2StateActiveContractsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetV2StateLatestPrunedOffsets request
	GetV2StateLatestPrunedOffsets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2StateLedgerEnd request
	GetV2StateLedgerEnd(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UpdatesFlatsWithBody request with any body
	PostV2UpdatesFlatsWithBody(ctx context.Context, params *PostV2UpdatesFlatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UpdatesFlats(ctx context.Context, params *PostV2UpdatesFlatsParams, body PostV2UpdatesFlatsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UpdatesTransactionByIdWithBody request with any body
	PostV2UpdatesTransactionByIdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UpdatesTransactionById(ctx context.Context, body PostV2UpdatesTransactionByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UpdatesTransactionByOffsetWithBody request with any body
	PostV2UpdatesTransactionByOffsetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UpdatesTransactionByOffset(ctx context.Context, body PostV2UpdatesTransactionByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2UpdatesTransactionTreeByIdUpdateId request
	GetV2UpdatesTransactionTreeByIdUpdateId(ctx context.Context, updateId string, params *GetV2UpdatesTransactionTreeByIdUpdateIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2UpdatesTransactionTreeByOffsetOffset request
	GetV2UpdatesTransactionTreeByOffsetOffset(ctx context.Context, offset int64, params *GetV2UpdatesTransactionTreeByOffsetOffsetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UpdatesTreesWithBody request with any body
	PostV2UpdatesTreesWithBody(ctx context.Context, params *PostV2UpdatesTreesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UpdatesTrees(ctx context.Context, params *PostV2UpdatesTreesParams, body PostV2UpdatesTreesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UpdatesUpdateByIdWithBody request with any body
	PostV2UpdatesUpdateByIdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UpdatesUpdateById(ctx context.Context, body PostV2UpdatesUpdateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UpdatesUpdateByOffsetWithBody request with any body
	PostV2UpdatesUpdateByOffsetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UpdatesUpdateByOffset(ctx context.Context, body PostV2UpdatesUpdateByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// PostV2UsersWithBody request with any body
	PostV2UsersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2Users(ctx context.Context, body PostV2UsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV2UsersUserId request
	DeleteV2UsersUserId(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2UsersUserId request
	GetV2UsersUserId(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2UsersUserIdWithBody request with any body
	PatchV2UsersUserIdWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV2UsersUserId(ctx context.Context, userId string, body PatchV2UsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2UsersUserIdIdentityProviderIdWithBody request with any body
	PatchV2UsersUserIdIdentityProviderIdWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV2UsersUserIdIdentityProviderId(ctx context.Context, userId string, body PatchV2UsersUserIdIdentityProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2UsersUserIdRights request
	GetV2UsersUserIdRights(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2UsersUserIdRightsWithBody request with any body
	PatchV2UsersUserIdRightsWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV2UsersUserIdRights(ctx context.Context, userId string, body PatchV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2UsersUserIdRightsWithBody request with any body
	PostV2UsersUserIdRightsWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV2UsersUserIdRights(ctx context.Context, userId string, body PostV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Version request
	GetV2Version(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) DeleteV2IdpsIdpIdWithResponse

func (c *ClientWithResponses) DeleteV2IdpsIdpIdWithResponse(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*DeleteV2IdpsIdpIdResponse, error)

DeleteV2IdpsIdpIdWithResponse request returning *DeleteV2IdpsIdpIdResponse

func (*ClientWithResponses) DeleteV2UsersUserIdWithResponse

func (c *ClientWithResponses) DeleteV2UsersUserIdWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteV2UsersUserIdResponse, error)

DeleteV2UsersUserIdWithResponse request returning *DeleteV2UsersUserIdResponse

func (*ClientWithResponses) GetV2IdpsIdpIdWithResponse

func (c *ClientWithResponses) GetV2IdpsIdpIdWithResponse(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*GetV2IdpsIdpIdResponse, error)

GetV2IdpsIdpIdWithResponse request returning *GetV2IdpsIdpIdResponse

func (*ClientWithResponses) GetV2IdpsWithResponse

func (c *ClientWithResponses) GetV2IdpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2IdpsResponse, error)

GetV2IdpsWithResponse request returning *GetV2IdpsResponse

func (*ClientWithResponses) GetV2InteractiveSubmissionPreferredPackageVersionWithResponse

func (c *ClientWithResponses) GetV2InteractiveSubmissionPreferredPackageVersionWithResponse(ctx context.Context, params *GetV2InteractiveSubmissionPreferredPackageVersionParams, reqEditors ...RequestEditorFn) (*GetV2InteractiveSubmissionPreferredPackageVersionResponse, error)

GetV2InteractiveSubmissionPreferredPackageVersionWithResponse request returning *GetV2InteractiveSubmissionPreferredPackageVersionResponse

func (*ClientWithResponses) GetV2PackagesPackageIdStatusWithResponse

func (c *ClientWithResponses) GetV2PackagesPackageIdStatusWithResponse(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*GetV2PackagesPackageIdStatusResponse, error)

GetV2PackagesPackageIdStatusWithResponse request returning *GetV2PackagesPackageIdStatusResponse

func (*ClientWithResponses) GetV2PackagesPackageIdWithResponse

func (c *ClientWithResponses) GetV2PackagesPackageIdWithResponse(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*GetV2PackagesPackageIdResponse, error)

GetV2PackagesPackageIdWithResponse request returning *GetV2PackagesPackageIdResponse

func (*ClientWithResponses) GetV2PackagesWithResponse

func (c *ClientWithResponses) GetV2PackagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2PackagesResponse, error)

GetV2PackagesWithResponse request returning *GetV2PackagesResponse

func (*ClientWithResponses) GetV2PartiesParticipantIdWithResponse

func (c *ClientWithResponses) GetV2PartiesParticipantIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2PartiesParticipantIdResponse, error)

GetV2PartiesParticipantIdWithResponse request returning *GetV2PartiesParticipantIdResponse

func (*ClientWithResponses) GetV2PartiesPartyWithResponse

func (c *ClientWithResponses) GetV2PartiesPartyWithResponse(ctx context.Context, party string, params *GetV2PartiesPartyParams, reqEditors ...RequestEditorFn) (*GetV2PartiesPartyResponse, error)

GetV2PartiesPartyWithResponse request returning *GetV2PartiesPartyResponse

func (*ClientWithResponses) GetV2PartiesWithResponse

func (c *ClientWithResponses) GetV2PartiesWithResponse(ctx context.Context, params *GetV2PartiesParams, reqEditors ...RequestEditorFn) (*GetV2PartiesResponse, error)

GetV2PartiesWithResponse request returning *GetV2PartiesResponse

func (*ClientWithResponses) GetV2StateConnectedSynchronizersWithResponse

func (c *ClientWithResponses) GetV2StateConnectedSynchronizersWithResponse(ctx context.Context, params *GetV2StateConnectedSynchronizersParams, reqEditors ...RequestEditorFn) (*GetV2StateConnectedSynchronizersResponse, error)

GetV2StateConnectedSynchronizersWithResponse request returning *GetV2StateConnectedSynchronizersResponse

func (*ClientWithResponses) GetV2StateLatestPrunedOffsetsWithResponse

func (c *ClientWithResponses) GetV2StateLatestPrunedOffsetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2StateLatestPrunedOffsetsResponse, error)

GetV2StateLatestPrunedOffsetsWithResponse request returning *GetV2StateLatestPrunedOffsetsResponse

func (*ClientWithResponses) GetV2StateLedgerEndWithResponse

func (c *ClientWithResponses) GetV2StateLedgerEndWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2StateLedgerEndResponse, error)

GetV2StateLedgerEndWithResponse request returning *GetV2StateLedgerEndResponse

func (*ClientWithResponses) GetV2UpdatesTransactionTreeByIdUpdateIdWithResponse

func (c *ClientWithResponses) GetV2UpdatesTransactionTreeByIdUpdateIdWithResponse(ctx context.Context, updateId string, params *GetV2UpdatesTransactionTreeByIdUpdateIdParams, reqEditors ...RequestEditorFn) (*GetV2UpdatesTransactionTreeByIdUpdateIdResponse, error)

GetV2UpdatesTransactionTreeByIdUpdateIdWithResponse request returning *GetV2UpdatesTransactionTreeByIdUpdateIdResponse

func (*ClientWithResponses) GetV2UpdatesTransactionTreeByOffsetOffsetWithResponse

func (c *ClientWithResponses) GetV2UpdatesTransactionTreeByOffsetOffsetWithResponse(ctx context.Context, offset int64, params *GetV2UpdatesTransactionTreeByOffsetOffsetParams, reqEditors ...RequestEditorFn) (*GetV2UpdatesTransactionTreeByOffsetOffsetResponse, error)

GetV2UpdatesTransactionTreeByOffsetOffsetWithResponse request returning *GetV2UpdatesTransactionTreeByOffsetOffsetResponse

func (*ClientWithResponses) GetV2UsersUserIdRightsWithResponse

func (c *ClientWithResponses) GetV2UsersUserIdRightsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetV2UsersUserIdRightsResponse, error)

GetV2UsersUserIdRightsWithResponse request returning *GetV2UsersUserIdRightsResponse

func (*ClientWithResponses) GetV2UsersUserIdWithResponse

func (c *ClientWithResponses) GetV2UsersUserIdWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetV2UsersUserIdResponse, error)

GetV2UsersUserIdWithResponse request returning *GetV2UsersUserIdResponse

func (*ClientWithResponses) GetV2UsersWithResponse

func (c *ClientWithResponses) GetV2UsersWithResponse(ctx context.Context, params *GetV2UsersParams, reqEditors ...RequestEditorFn) (*GetV2UsersResponse, error)

GetV2UsersWithResponse request returning *GetV2UsersResponse

func (*ClientWithResponses) GetV2VersionWithResponse

func (c *ClientWithResponses) GetV2VersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2VersionResponse, error)

GetV2VersionWithResponse request returning *GetV2VersionResponse

func (*ClientWithResponses) PatchV2IdpsIdpIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV2IdpsIdpIdWithBodyWithResponse(ctx context.Context, idpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2IdpsIdpIdResponse, error)

PatchV2IdpsIdpIdWithBodyWithResponse request with arbitrary body returning *PatchV2IdpsIdpIdResponse

func (*ClientWithResponses) PatchV2IdpsIdpIdWithResponse

func (c *ClientWithResponses) PatchV2IdpsIdpIdWithResponse(ctx context.Context, idpId string, body PatchV2IdpsIdpIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2IdpsIdpIdResponse, error)

func (*ClientWithResponses) PatchV2PartiesPartyWithBodyWithResponse

func (c *ClientWithResponses) PatchV2PartiesPartyWithBodyWithResponse(ctx context.Context, party string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2PartiesPartyResponse, error)

PatchV2PartiesPartyWithBodyWithResponse request with arbitrary body returning *PatchV2PartiesPartyResponse

func (*ClientWithResponses) PatchV2PartiesPartyWithResponse

func (c *ClientWithResponses) PatchV2PartiesPartyWithResponse(ctx context.Context, party string, body PatchV2PartiesPartyJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2PartiesPartyResponse, error)

func (*ClientWithResponses) PatchV2UsersUserIdIdentityProviderIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV2UsersUserIdIdentityProviderIdWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdIdentityProviderIdResponse, error)

PatchV2UsersUserIdIdentityProviderIdWithBodyWithResponse request with arbitrary body returning *PatchV2UsersUserIdIdentityProviderIdResponse

func (*ClientWithResponses) PatchV2UsersUserIdIdentityProviderIdWithResponse

func (c *ClientWithResponses) PatchV2UsersUserIdIdentityProviderIdWithResponse(ctx context.Context, userId string, body PatchV2UsersUserIdIdentityProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdIdentityProviderIdResponse, error)

func (*ClientWithResponses) PatchV2UsersUserIdRightsWithBodyWithResponse

func (c *ClientWithResponses) PatchV2UsersUserIdRightsWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdRightsResponse, error)

PatchV2UsersUserIdRightsWithBodyWithResponse request with arbitrary body returning *PatchV2UsersUserIdRightsResponse

func (*ClientWithResponses) PatchV2UsersUserIdRightsWithResponse

func (c *ClientWithResponses) PatchV2UsersUserIdRightsWithResponse(ctx context.Context, userId string, body PatchV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdRightsResponse, error)

func (*ClientWithResponses) PatchV2UsersUserIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV2UsersUserIdWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdResponse, error)

PatchV2UsersUserIdWithBodyWithResponse request with arbitrary body returning *PatchV2UsersUserIdResponse

func (*ClientWithResponses) PatchV2UsersUserIdWithResponse

func (c *ClientWithResponses) PatchV2UsersUserIdWithResponse(ctx context.Context, userId string, body PatchV2UsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdResponse, error)

func (*ClientWithResponses) PostV2CommandsAsyncSubmitReassignmentWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsAsyncSubmitReassignmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitReassignmentResponse, error)

PostV2CommandsAsyncSubmitReassignmentWithBodyWithResponse request with arbitrary body returning *PostV2CommandsAsyncSubmitReassignmentResponse

func (*ClientWithResponses) PostV2CommandsAsyncSubmitWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsAsyncSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitResponse, error)

PostV2CommandsAsyncSubmitWithBodyWithResponse request with arbitrary body returning *PostV2CommandsAsyncSubmitResponse

func (*ClientWithResponses) PostV2CommandsAsyncSubmitWithResponse

func (c *ClientWithResponses) PostV2CommandsAsyncSubmitWithResponse(ctx context.Context, body PostV2CommandsAsyncSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitResponse, error)

func (*ClientWithResponses) PostV2CommandsCompletionsWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsCompletionsWithBodyWithResponse(ctx context.Context, params *PostV2CommandsCompletionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsCompletionsResponse, error)

PostV2CommandsCompletionsWithBodyWithResponse request with arbitrary body returning *PostV2CommandsCompletionsResponse

func (*ClientWithResponses) PostV2CommandsSubmitAndWaitForReassignmentWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsSubmitAndWaitForReassignmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForReassignmentResponse, error)

PostV2CommandsSubmitAndWaitForReassignmentWithBodyWithResponse request with arbitrary body returning *PostV2CommandsSubmitAndWaitForReassignmentResponse

func (*ClientWithResponses) PostV2CommandsSubmitAndWaitForTransactionTreeWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsSubmitAndWaitForTransactionTreeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForTransactionTreeResponse, error)

PostV2CommandsSubmitAndWaitForTransactionTreeWithBodyWithResponse request with arbitrary body returning *PostV2CommandsSubmitAndWaitForTransactionTreeResponse

func (*ClientWithResponses) PostV2CommandsSubmitAndWaitForTransactionWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsSubmitAndWaitForTransactionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForTransactionResponse, error)

PostV2CommandsSubmitAndWaitForTransactionWithBodyWithResponse request with arbitrary body returning *PostV2CommandsSubmitAndWaitForTransactionResponse

func (*ClientWithResponses) PostV2CommandsSubmitAndWaitWithBodyWithResponse

func (c *ClientWithResponses) PostV2CommandsSubmitAndWaitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitResponse, error)

PostV2CommandsSubmitAndWaitWithBodyWithResponse request with arbitrary body returning *PostV2CommandsSubmitAndWaitResponse

func (*ClientWithResponses) PostV2CommandsSubmitAndWaitWithResponse

func (c *ClientWithResponses) PostV2CommandsSubmitAndWaitWithResponse(ctx context.Context, body PostV2CommandsSubmitAndWaitJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitResponse, error)

func (*ClientWithResponses) PostV2EventsEventsByContractIdWithBodyWithResponse

func (c *ClientWithResponses) PostV2EventsEventsByContractIdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2EventsEventsByContractIdResponse, error)

PostV2EventsEventsByContractIdWithBodyWithResponse request with arbitrary body returning *PostV2EventsEventsByContractIdResponse

func (*ClientWithResponses) PostV2EventsEventsByContractIdWithResponse

func (c *ClientWithResponses) PostV2EventsEventsByContractIdWithResponse(ctx context.Context, body PostV2EventsEventsByContractIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2EventsEventsByContractIdResponse, error)

func (*ClientWithResponses) PostV2IdpsWithBodyWithResponse

func (c *ClientWithResponses) PostV2IdpsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2IdpsResponse, error)

PostV2IdpsWithBodyWithResponse request with arbitrary body returning *PostV2IdpsResponse

func (*ClientWithResponses) PostV2IdpsWithResponse

func (c *ClientWithResponses) PostV2IdpsWithResponse(ctx context.Context, body PostV2IdpsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2IdpsResponse, error)

func (*ClientWithResponses) PostV2InteractiveSubmissionExecuteWithBodyWithResponse

func (c *ClientWithResponses) PostV2InteractiveSubmissionExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2InteractiveSubmissionExecuteResponse, error)

PostV2InteractiveSubmissionExecuteWithBodyWithResponse request with arbitrary body returning *PostV2InteractiveSubmissionExecuteResponse

func (*ClientWithResponses) PostV2InteractiveSubmissionPrepareWithBodyWithResponse

func (c *ClientWithResponses) PostV2InteractiveSubmissionPrepareWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2InteractiveSubmissionPrepareResponse, error)

PostV2InteractiveSubmissionPrepareWithBodyWithResponse request with arbitrary body returning *PostV2InteractiveSubmissionPrepareResponse

func (*ClientWithResponses) PostV2PackagesWithBodyWithResponse

func (c *ClientWithResponses) PostV2PackagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2PackagesResponse, error)

PostV2PackagesWithBodyWithResponse request with arbitrary body returning *PostV2PackagesResponse

func (*ClientWithResponses) PostV2PartiesWithBodyWithResponse

func (c *ClientWithResponses) PostV2PartiesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2PartiesResponse, error)

PostV2PartiesWithBodyWithResponse request with arbitrary body returning *PostV2PartiesResponse

func (*ClientWithResponses) PostV2PartiesWithResponse

func (c *ClientWithResponses) PostV2PartiesWithResponse(ctx context.Context, body PostV2PartiesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2PartiesResponse, error)

func (*ClientWithResponses) PostV2StateActiveContractsWithBodyWithResponse

func (c *ClientWithResponses) PostV2StateActiveContractsWithBodyWithResponse(ctx context.Context, params *PostV2StateActiveContractsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2StateActiveContractsResponse, error)

PostV2StateActiveContractsWithBodyWithResponse request with arbitrary body returning *PostV2StateActiveContractsResponse

func (*ClientWithResponses) PostV2UpdatesFlatsWithBodyWithResponse

func (c *ClientWithResponses) PostV2UpdatesFlatsWithBodyWithResponse(ctx context.Context, params *PostV2UpdatesFlatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesFlatsResponse, error)

PostV2UpdatesFlatsWithBodyWithResponse request with arbitrary body returning *PostV2UpdatesFlatsResponse

func (*ClientWithResponses) PostV2UpdatesFlatsWithResponse

func (*ClientWithResponses) PostV2UpdatesTransactionByIdWithBodyWithResponse

func (c *ClientWithResponses) PostV2UpdatesTransactionByIdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByIdResponse, error)

PostV2UpdatesTransactionByIdWithBodyWithResponse request with arbitrary body returning *PostV2UpdatesTransactionByIdResponse

func (*ClientWithResponses) PostV2UpdatesTransactionByIdWithResponse

func (c *ClientWithResponses) PostV2UpdatesTransactionByIdWithResponse(ctx context.Context, body PostV2UpdatesTransactionByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByIdResponse, error)

func (*ClientWithResponses) PostV2UpdatesTransactionByOffsetWithBodyWithResponse

func (c *ClientWithResponses) PostV2UpdatesTransactionByOffsetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByOffsetResponse, error)

PostV2UpdatesTransactionByOffsetWithBodyWithResponse request with arbitrary body returning *PostV2UpdatesTransactionByOffsetResponse

func (*ClientWithResponses) PostV2UpdatesTreesWithBodyWithResponse

func (c *ClientWithResponses) PostV2UpdatesTreesWithBodyWithResponse(ctx context.Context, params *PostV2UpdatesTreesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesTreesResponse, error)

PostV2UpdatesTreesWithBodyWithResponse request with arbitrary body returning *PostV2UpdatesTreesResponse

func (*ClientWithResponses) PostV2UpdatesTreesWithResponse

func (*ClientWithResponses) PostV2UpdatesUpdateByIdWithBodyWithResponse

func (c *ClientWithResponses) PostV2UpdatesUpdateByIdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByIdResponse, error)

PostV2UpdatesUpdateByIdWithBodyWithResponse request with arbitrary body returning *PostV2UpdatesUpdateByIdResponse

func (*ClientWithResponses) PostV2UpdatesUpdateByIdWithResponse

func (c *ClientWithResponses) PostV2UpdatesUpdateByIdWithResponse(ctx context.Context, body PostV2UpdatesUpdateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByIdResponse, error)

func (*ClientWithResponses) PostV2UpdatesUpdateByOffsetWithBodyWithResponse

func (c *ClientWithResponses) PostV2UpdatesUpdateByOffsetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByOffsetResponse, error)

PostV2UpdatesUpdateByOffsetWithBodyWithResponse request with arbitrary body returning *PostV2UpdatesUpdateByOffsetResponse

func (*ClientWithResponses) PostV2UpdatesUpdateByOffsetWithResponse

func (c *ClientWithResponses) PostV2UpdatesUpdateByOffsetWithResponse(ctx context.Context, body PostV2UpdatesUpdateByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByOffsetResponse, error)

func (*ClientWithResponses) PostV2UsersUserIdRightsWithBodyWithResponse

func (c *ClientWithResponses) PostV2UsersUserIdRightsWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UsersUserIdRightsResponse, error)

PostV2UsersUserIdRightsWithBodyWithResponse request with arbitrary body returning *PostV2UsersUserIdRightsResponse

func (*ClientWithResponses) PostV2UsersUserIdRightsWithResponse

func (c *ClientWithResponses) PostV2UsersUserIdRightsWithResponse(ctx context.Context, userId string, body PostV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UsersUserIdRightsResponse, error)

func (*ClientWithResponses) PostV2UsersWithBodyWithResponse

func (c *ClientWithResponses) PostV2UsersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UsersResponse, error)

PostV2UsersWithBodyWithResponse request with arbitrary body returning *PostV2UsersResponse

func (*ClientWithResponses) PostV2UsersWithResponse

func (c *ClientWithResponses) PostV2UsersWithResponse(ctx context.Context, body PostV2UsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UsersResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// PostV2CommandsAsyncSubmitWithBodyWithResponse request with any body
	PostV2CommandsAsyncSubmitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitResponse, error)

	PostV2CommandsAsyncSubmitWithResponse(ctx context.Context, body PostV2CommandsAsyncSubmitJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitResponse, error)

	// PostV2CommandsAsyncSubmitReassignmentWithBodyWithResponse request with any body
	PostV2CommandsAsyncSubmitReassignmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitReassignmentResponse, error)

	PostV2CommandsAsyncSubmitReassignmentWithResponse(ctx context.Context, body PostV2CommandsAsyncSubmitReassignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsAsyncSubmitReassignmentResponse, error)

	// PostV2CommandsCompletionsWithBodyWithResponse request with any body
	PostV2CommandsCompletionsWithBodyWithResponse(ctx context.Context, params *PostV2CommandsCompletionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsCompletionsResponse, error)

	PostV2CommandsCompletionsWithResponse(ctx context.Context, params *PostV2CommandsCompletionsParams, body PostV2CommandsCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsCompletionsResponse, error)

	// PostV2CommandsSubmitAndWaitWithBodyWithResponse request with any body
	PostV2CommandsSubmitAndWaitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitResponse, error)

	PostV2CommandsSubmitAndWaitWithResponse(ctx context.Context, body PostV2CommandsSubmitAndWaitJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitResponse, error)

	// PostV2CommandsSubmitAndWaitForReassignmentWithBodyWithResponse request with any body
	PostV2CommandsSubmitAndWaitForReassignmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForReassignmentResponse, error)

	PostV2CommandsSubmitAndWaitForReassignmentWithResponse(ctx context.Context, body PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForReassignmentResponse, error)

	// PostV2CommandsSubmitAndWaitForTransactionWithBodyWithResponse request with any body
	PostV2CommandsSubmitAndWaitForTransactionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForTransactionResponse, error)

	PostV2CommandsSubmitAndWaitForTransactionWithResponse(ctx context.Context, body PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForTransactionResponse, error)

	// PostV2CommandsSubmitAndWaitForTransactionTreeWithBodyWithResponse request with any body
	PostV2CommandsSubmitAndWaitForTransactionTreeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForTransactionTreeResponse, error)

	PostV2CommandsSubmitAndWaitForTransactionTreeWithResponse(ctx context.Context, body PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2CommandsSubmitAndWaitForTransactionTreeResponse, error)

	// PostV2EventsEventsByContractIdWithBodyWithResponse request with any body
	PostV2EventsEventsByContractIdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2EventsEventsByContractIdResponse, error)

	PostV2EventsEventsByContractIdWithResponse(ctx context.Context, body PostV2EventsEventsByContractIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2EventsEventsByContractIdResponse, error)

	// GetV2IdpsWithResponse request
	GetV2IdpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2IdpsResponse, error)

	// PostV2IdpsWithBodyWithResponse request with any body
	PostV2IdpsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2IdpsResponse, error)

	PostV2IdpsWithResponse(ctx context.Context, body PostV2IdpsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2IdpsResponse, error)

	// DeleteV2IdpsIdpIdWithResponse request
	DeleteV2IdpsIdpIdWithResponse(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*DeleteV2IdpsIdpIdResponse, error)

	// GetV2IdpsIdpIdWithResponse request
	GetV2IdpsIdpIdWithResponse(ctx context.Context, idpId string, reqEditors ...RequestEditorFn) (*GetV2IdpsIdpIdResponse, error)

	// PatchV2IdpsIdpIdWithBodyWithResponse request with any body
	PatchV2IdpsIdpIdWithBodyWithResponse(ctx context.Context, idpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2IdpsIdpIdResponse, error)

	PatchV2IdpsIdpIdWithResponse(ctx context.Context, idpId string, body PatchV2IdpsIdpIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2IdpsIdpIdResponse, error)

	// PostV2InteractiveSubmissionExecuteWithBodyWithResponse request with any body
	PostV2InteractiveSubmissionExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2InteractiveSubmissionExecuteResponse, error)

	PostV2InteractiveSubmissionExecuteWithResponse(ctx context.Context, body PostV2InteractiveSubmissionExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2InteractiveSubmissionExecuteResponse, error)

	// GetV2InteractiveSubmissionPreferredPackageVersionWithResponse request
	GetV2InteractiveSubmissionPreferredPackageVersionWithResponse(ctx context.Context, params *GetV2InteractiveSubmissionPreferredPackageVersionParams, reqEditors ...RequestEditorFn) (*GetV2InteractiveSubmissionPreferredPackageVersionResponse, error)

	// PostV2InteractiveSubmissionPrepareWithBodyWithResponse request with any body
	PostV2InteractiveSubmissionPrepareWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2InteractiveSubmissionPrepareResponse, error)

	PostV2InteractiveSubmissionPrepareWithResponse(ctx context.Context, body PostV2InteractiveSubmissionPrepareJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2InteractiveSubmissionPrepareResponse, error)

	// GetV2PackagesWithResponse request
	GetV2PackagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2PackagesResponse, error)

	// PostV2PackagesWithBodyWithResponse request with any body
	PostV2PackagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2PackagesResponse, error)

	// GetV2PackagesPackageIdWithResponse request
	GetV2PackagesPackageIdWithResponse(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*GetV2PackagesPackageIdResponse, error)

	// GetV2PackagesPackageIdStatusWithResponse request
	GetV2PackagesPackageIdStatusWithResponse(ctx context.Context, packageId string, reqEditors ...RequestEditorFn) (*GetV2PackagesPackageIdStatusResponse, error)

	// GetV2PartiesWithResponse request
	GetV2PartiesWithResponse(ctx context.Context, params *GetV2PartiesParams, reqEditors ...RequestEditorFn) (*GetV2PartiesResponse, error)

	// PostV2PartiesWithBodyWithResponse request with any body
	PostV2PartiesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2PartiesResponse, error)

	PostV2PartiesWithResponse(ctx context.Context, body PostV2PartiesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2PartiesResponse, error)

	// GetV2PartiesParticipantIdWithResponse request
	GetV2PartiesParticipantIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2PartiesParticipantIdResponse, error)

	// GetV2PartiesPartyWithResponse request
	GetV2PartiesPartyWithResponse(ctx context.Context, party string, params *GetV2PartiesPartyParams, reqEditors ...RequestEditorFn) (*GetV2PartiesPartyResponse, error)

	// PatchV2PartiesPartyWithBodyWithResponse request with any body
	PatchV2PartiesPartyWithBodyWithResponse(ctx context.Context, party string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2PartiesPartyResponse, error)

	PatchV2PartiesPartyWithResponse(ctx context.Context, party string, body PatchV2PartiesPartyJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2PartiesPartyResponse, error)

	// PostV2StateActiveContractsWithBodyWithResponse request with any body
	PostV2StateActiveContractsWithBodyWithResponse(ctx context.Context, params *PostV2StateActiveContractsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2StateActiveContractsResponse, error)

	PostV2StateActiveContractsWithResponse(ctx context.Context, params *PostV2StateActiveContractsParams, body PostV2StateActiveContractsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2StateActiveContractsResponse, error)

	// GetV2StateConnectedSynchronizersWithResponse request
	GetV2StateConnectedSynchronizersWithResponse(ctx context.Context, params *GetV2StateConnectedSynchronizersParams, reqEditors ...RequestEditorFn) (*GetV2StateConnectedSynchronizersResponse, error)

	// GetV2StateLatestPrunedOffsetsWithResponse request
	GetV2StateLatestPrunedOffsetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2StateLatestPrunedOffsetsResponse, error)

	// GetV2StateLedgerEndWithResponse request
	GetV2StateLedgerEndWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2StateLedgerEndResponse, error)

	// PostV2UpdatesFlatsWithBodyWithResponse request with any body
	PostV2UpdatesFlatsWithBodyWithResponse(ctx context.Context, params *PostV2UpdatesFlatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesFlatsResponse, error)

	PostV2UpdatesFlatsWithResponse(ctx context.Context, params *PostV2UpdatesFlatsParams, body PostV2UpdatesFlatsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesFlatsResponse, error)

	// PostV2UpdatesTransactionByIdWithBodyWithResponse request with any body
	PostV2UpdatesTransactionByIdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByIdResponse, error)

	PostV2UpdatesTransactionByIdWithResponse(ctx context.Context, body PostV2UpdatesTransactionByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByIdResponse, error)

	// PostV2UpdatesTransactionByOffsetWithBodyWithResponse request with any body
	PostV2UpdatesTransactionByOffsetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByOffsetResponse, error)

	PostV2UpdatesTransactionByOffsetWithResponse(ctx context.Context, body PostV2UpdatesTransactionByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesTransactionByOffsetResponse, error)

	// GetV2UpdatesTransactionTreeByIdUpdateIdWithResponse request
	GetV2UpdatesTransactionTreeByIdUpdateIdWithResponse(ctx context.Context, updateId string, params *GetV2UpdatesTransactionTreeByIdUpdateIdParams, reqEditors ...RequestEditorFn) (*GetV2UpdatesTransactionTreeByIdUpdateIdResponse, error)

	// GetV2UpdatesTransactionTreeByOffsetOffsetWithResponse request
	GetV2UpdatesTransactionTreeByOffsetOffsetWithResponse(ctx context.Context, offset int64, params *GetV2UpdatesTransactionTreeByOffsetOffsetParams, reqEditors ...RequestEditorFn) (*GetV2UpdatesTransactionTreeByOffsetOffsetResponse, error)

	// PostV2UpdatesTreesWithBodyWithResponse request with any body
	PostV2UpdatesTreesWithBodyWithResponse(ctx context.Context, params *PostV2UpdatesTreesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesTreesResponse, error)

	PostV2UpdatesTreesWithResponse(ctx context.Context, params *PostV2UpdatesTreesParams, body PostV2UpdatesTreesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesTreesResponse, error)

	// PostV2UpdatesUpdateByIdWithBodyWithResponse request with any body
	PostV2UpdatesUpdateByIdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByIdResponse, error)

	PostV2UpdatesUpdateByIdWithResponse(ctx context.Context, body PostV2UpdatesUpdateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByIdResponse, error)

	// PostV2UpdatesUpdateByOffsetWithBodyWithResponse request with any body
	PostV2UpdatesUpdateByOffsetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByOffsetResponse, error)

	PostV2UpdatesUpdateByOffsetWithResponse(ctx context.Context, body PostV2UpdatesUpdateByOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UpdatesUpdateByOffsetResponse, error)

	// GetV2UsersWithResponse request
	GetV2UsersWithResponse(ctx context.Context, params *GetV2UsersParams, reqEditors ...RequestEditorFn) (*GetV2UsersResponse, error)

	// PostV2UsersWithBodyWithResponse request with any body
	PostV2UsersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UsersResponse, error)

	PostV2UsersWithResponse(ctx context.Context, body PostV2UsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UsersResponse, error)

	// DeleteV2UsersUserIdWithResponse request
	DeleteV2UsersUserIdWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteV2UsersUserIdResponse, error)

	// GetV2UsersUserIdWithResponse request
	GetV2UsersUserIdWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetV2UsersUserIdResponse, error)

	// PatchV2UsersUserIdWithBodyWithResponse request with any body
	PatchV2UsersUserIdWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdResponse, error)

	PatchV2UsersUserIdWithResponse(ctx context.Context, userId string, body PatchV2UsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdResponse, error)

	// PatchV2UsersUserIdIdentityProviderIdWithBodyWithResponse request with any body
	PatchV2UsersUserIdIdentityProviderIdWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdIdentityProviderIdResponse, error)

	PatchV2UsersUserIdIdentityProviderIdWithResponse(ctx context.Context, userId string, body PatchV2UsersUserIdIdentityProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdIdentityProviderIdResponse, error)

	// GetV2UsersUserIdRightsWithResponse request
	GetV2UsersUserIdRightsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetV2UsersUserIdRightsResponse, error)

	// PatchV2UsersUserIdRightsWithBodyWithResponse request with any body
	PatchV2UsersUserIdRightsWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdRightsResponse, error)

	PatchV2UsersUserIdRightsWithResponse(ctx context.Context, userId string, body PatchV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2UsersUserIdRightsResponse, error)

	// PostV2UsersUserIdRightsWithBodyWithResponse request with any body
	PostV2UsersUserIdRightsWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2UsersUserIdRightsResponse, error)

	PostV2UsersUserIdRightsWithResponse(ctx context.Context, userId string, body PostV2UsersUserIdRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2UsersUserIdRightsResponse, error)

	// GetV2VersionWithResponse request
	GetV2VersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2VersionResponse, error)
}

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

type Command

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

Command A command can either create a new contract or exercise a choice on an existing contract.

func (Command) AsCommand0

func (t Command) AsCommand0() (Command0, error)

AsCommand0 returns the union data inside the Command as a Command0

func (Command) AsCommand1

func (t Command) AsCommand1() (Command1, error)

AsCommand1 returns the union data inside the Command as a Command1

func (Command) AsCommand2

func (t Command) AsCommand2() (Command2, error)

AsCommand2 returns the union data inside the Command as a Command2

func (Command) AsCommand3

func (t Command) AsCommand3() (Command3, error)

AsCommand3 returns the union data inside the Command as a Command3

func (*Command) FromCommand0

func (t *Command) FromCommand0(v Command0) error

FromCommand0 overwrites any union data inside the Command as the provided Command0

func (*Command) FromCommand1

func (t *Command) FromCommand1(v Command1) error

FromCommand1 overwrites any union data inside the Command as the provided Command1

func (*Command) FromCommand2

func (t *Command) FromCommand2(v Command2) error

FromCommand2 overwrites any union data inside the Command as the provided Command2

func (*Command) FromCommand3

func (t *Command) FromCommand3(v Command3) error

FromCommand3 overwrites any union data inside the Command as the provided Command3

func (Command) MarshalJSON

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

func (*Command) MergeCommand0

func (t *Command) MergeCommand0(v Command0) error

MergeCommand0 performs a merge with any union data inside the Command, using the provided Command0

func (*Command) MergeCommand1

func (t *Command) MergeCommand1(v Command1) error

MergeCommand1 performs a merge with any union data inside the Command, using the provided Command1

func (*Command) MergeCommand2

func (t *Command) MergeCommand2(v Command2) error

MergeCommand2 performs a merge with any union data inside the Command, using the provided Command2

func (*Command) MergeCommand3

func (t *Command) MergeCommand3(v Command3) error

MergeCommand3 performs a merge with any union data inside the Command, using the provided Command3

func (*Command) UnmarshalJSON

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

type Command0

type Command0 struct {
	// CreateAndExerciseCommand Create a contract and exercise a choice on it in the same transaction.
	CreateAndExerciseCommand CreateAndExerciseCommand `json:"CreateAndExerciseCommand"`
}

Command0 defines model for .

type Command1

type Command1 struct {
	// CreateCommand Create a new contract instance based on a template.
	CreateCommand CreateCommand `json:"CreateCommand"`
}

Command1 defines model for .

type Command10

type Command10 struct {
	// AssignCommand Assign a contract
	AssignCommand AssignCommand `json:"AssignCommand"`
}

Command10 defines model for .

type Command11

type Command11 struct {
	Empty Empty2 `json:"Empty"`
}

Command11 defines model for .

type Command12

type Command12 struct {
	// UnassignCommand Unassign a contract
	UnassignCommand UnassignCommand `json:"UnassignCommand"`
}

Command12 defines model for .

type Command2

type Command2 struct {
	// ExerciseByKeyCommand Exercise a choice on an existing contract specified by its key.
	ExerciseByKeyCommand ExerciseByKeyCommand `json:"ExerciseByKeyCommand"`
}

Command2 defines model for .

type Command3

type Command3 struct {
	// ExerciseCommand Exercise a choice on an existing contract.
	ExerciseCommand ExerciseCommand `json:"ExerciseCommand"`
}

Command3 defines model for .

type Completion

type Completion struct {
	// Value A completion represents the status of a submitted command on the ledger: it can be successful or failed.
	Value Completion1 `json:"value"`
}

Completion A completion represents the status of a submitted command on the ledger: it can be successful or failed.

type Completion1

type Completion1 struct {
	// ActAs The set of parties on whose behalf the commands were executed.
	// Contains the “act_as“ parties from “commands.proto“
	// filtered to the requesting parties in CompletionStreamRequest.
	// The order of the parties need not be the same as in the submission.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Optional for historic completions where this data is not available.
	ActAs *[]string `json:"actAs,omitempty"`

	// CommandId The ID of the succeeded or failed command.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	CommandId string `json:"commandId"`

	// CompletionDeduplicationPeriod Specifies the deduplication period for the change ID.
	// If omitted, the participant will assume the configured maximum deduplication time.
	CompletionDeduplicationPeriod CompletionDeduplicationPeriod `json:"deduplicationPeriod"`

	// Offset May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
	// Required, must be a valid absolute offset (positive integer).
	Offset int64   `json:"offset"`
	Status *Status `json:"status,omitempty"`

	// SubmissionId The submission ID this completion refers to, as described in “commands.proto“.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	SubmissionId     string            `json:"submissionId"`
	SynchronizerTime *SynchronizerTime `json:"synchronizerTime,omitempty"`
	TraceContext     *TraceContext     `json:"traceContext,omitempty"`

	// UpdateId The update_id of the transaction or reassignment that resulted from the command with command_id.
	// Only set for successfully executed commands.
	// Must be a valid LedgerString (as described in “value.proto“).
	UpdateId string `json:"updateId"`

	// UserId The user-id that was used for the submission, as described in “commands.proto“.
	// Must be a valid UserIdString (as described in “value.proto“).
	// Optional for historic completions where this data is not available.
	UserId string `json:"userId"`
}

Completion1 A completion represents the status of a submitted command on the ledger: it can be successful or failed.

type CompletionDeduplicationPeriod

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

CompletionDeduplicationPeriod Specifies the deduplication period for the change ID. If omitted, the participant will assume the configured maximum deduplication time.

func (CompletionDeduplicationPeriod) AsDeduplicationPeriod10

func (t CompletionDeduplicationPeriod) AsDeduplicationPeriod10() (DeduplicationPeriod10, error)

AsDeduplicationPeriod10 returns the union data inside the CompletionDeduplicationPeriod as a DeduplicationPeriod10

func (CompletionDeduplicationPeriod) AsDeduplicationPeriod11

func (t CompletionDeduplicationPeriod) AsDeduplicationPeriod11() (DeduplicationPeriod11, error)

AsDeduplicationPeriod11 returns the union data inside the CompletionDeduplicationPeriod as a DeduplicationPeriod11

func (CompletionDeduplicationPeriod) AsDeduplicationPeriod12

func (t CompletionDeduplicationPeriod) AsDeduplicationPeriod12() (DeduplicationPeriod12, error)

AsDeduplicationPeriod12 returns the union data inside the CompletionDeduplicationPeriod as a DeduplicationPeriod12

func (*CompletionDeduplicationPeriod) FromDeduplicationPeriod10

func (t *CompletionDeduplicationPeriod) FromDeduplicationPeriod10(v DeduplicationPeriod10) error

FromDeduplicationPeriod10 overwrites any union data inside the CompletionDeduplicationPeriod as the provided DeduplicationPeriod10

func (*CompletionDeduplicationPeriod) FromDeduplicationPeriod11

func (t *CompletionDeduplicationPeriod) FromDeduplicationPeriod11(v DeduplicationPeriod11) error

FromDeduplicationPeriod11 overwrites any union data inside the CompletionDeduplicationPeriod as the provided DeduplicationPeriod11

func (*CompletionDeduplicationPeriod) FromDeduplicationPeriod12

func (t *CompletionDeduplicationPeriod) FromDeduplicationPeriod12(v DeduplicationPeriod12) error

FromDeduplicationPeriod12 overwrites any union data inside the CompletionDeduplicationPeriod as the provided DeduplicationPeriod12

func (CompletionDeduplicationPeriod) MarshalJSON

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

func (*CompletionDeduplicationPeriod) MergeDeduplicationPeriod10

func (t *CompletionDeduplicationPeriod) MergeDeduplicationPeriod10(v DeduplicationPeriod10) error

MergeDeduplicationPeriod10 performs a merge with any union data inside the CompletionDeduplicationPeriod, using the provided DeduplicationPeriod10

func (*CompletionDeduplicationPeriod) MergeDeduplicationPeriod11

func (t *CompletionDeduplicationPeriod) MergeDeduplicationPeriod11(v DeduplicationPeriod11) error

MergeDeduplicationPeriod11 performs a merge with any union data inside the CompletionDeduplicationPeriod, using the provided DeduplicationPeriod11

func (*CompletionDeduplicationPeriod) MergeDeduplicationPeriod12

func (t *CompletionDeduplicationPeriod) MergeDeduplicationPeriod12(v DeduplicationPeriod12) error

MergeDeduplicationPeriod12 performs a merge with any union data inside the CompletionDeduplicationPeriod, using the provided DeduplicationPeriod12

func (*CompletionDeduplicationPeriod) UnmarshalJSON

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

type CompletionResponse

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

CompletionResponse defines model for CompletionResponse.

func (CompletionResponse) AsCompletionResponse0

func (t CompletionResponse) AsCompletionResponse0() (CompletionResponse0, error)

AsCompletionResponse0 returns the union data inside the CompletionResponse as a CompletionResponse0

func (CompletionResponse) AsCompletionResponse1

func (t CompletionResponse) AsCompletionResponse1() (CompletionResponse1, error)

AsCompletionResponse1 returns the union data inside the CompletionResponse as a CompletionResponse1

func (CompletionResponse) AsCompletionResponse2

func (t CompletionResponse) AsCompletionResponse2() (CompletionResponse2, error)

AsCompletionResponse2 returns the union data inside the CompletionResponse as a CompletionResponse2

func (*CompletionResponse) FromCompletionResponse0

func (t *CompletionResponse) FromCompletionResponse0(v CompletionResponse0) error

FromCompletionResponse0 overwrites any union data inside the CompletionResponse as the provided CompletionResponse0

func (*CompletionResponse) FromCompletionResponse1

func (t *CompletionResponse) FromCompletionResponse1(v CompletionResponse1) error

FromCompletionResponse1 overwrites any union data inside the CompletionResponse as the provided CompletionResponse1

func (*CompletionResponse) FromCompletionResponse2

func (t *CompletionResponse) FromCompletionResponse2(v CompletionResponse2) error

FromCompletionResponse2 overwrites any union data inside the CompletionResponse as the provided CompletionResponse2

func (CompletionResponse) MarshalJSON

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

func (*CompletionResponse) MergeCompletionResponse0

func (t *CompletionResponse) MergeCompletionResponse0(v CompletionResponse0) error

MergeCompletionResponse0 performs a merge with any union data inside the CompletionResponse, using the provided CompletionResponse0

func (*CompletionResponse) MergeCompletionResponse1

func (t *CompletionResponse) MergeCompletionResponse1(v CompletionResponse1) error

MergeCompletionResponse1 performs a merge with any union data inside the CompletionResponse, using the provided CompletionResponse1

func (*CompletionResponse) MergeCompletionResponse2

func (t *CompletionResponse) MergeCompletionResponse2(v CompletionResponse2) error

MergeCompletionResponse2 performs a merge with any union data inside the CompletionResponse, using the provided CompletionResponse2

func (*CompletionResponse) UnmarshalJSON

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

type CompletionResponse0

type CompletionResponse0 struct {
	// Completion A completion represents the status of a submitted command on the ledger: it can be successful or failed.
	Completion Completion `json:"Completion"`
}

CompletionResponse0 defines model for .

type CompletionResponse1

type CompletionResponse1 struct {
	Empty Empty4 `json:"Empty"`
}

CompletionResponse1 defines model for .

type CompletionResponse2

type CompletionResponse2 struct {
	// OffsetCheckpoint OffsetCheckpoints may be used to:
	//
	// - detect time out of commands.
	// - provide an offset which can be used to restart consumption.
	OffsetCheckpoint OffsetCheckpoint `json:"OffsetCheckpoint"`
}

CompletionResponse2 defines model for .

type CompletionStreamRequest

type CompletionStreamRequest struct {
	// BeginExclusive This optional field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
	// If not set the ledger uses the ledger begin offset instead.
	// If specified, it must be a valid absolute offset (positive integer) or zero (ledger begin offset).
	// If the ledger has been pruned, this parameter must be specified and greater than the pruning offset.
	BeginExclusive int64 `json:"beginExclusive"`

	// Parties Non-empty list of parties whose data should be included.
	// The stream shows only completions of commands for which at least one of the “act_as“ parties is in the given set of parties.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Required
	Parties *[]string `json:"parties,omitempty"`

	// UserId Only completions of commands submitted with the same user_id will be visible in the stream.
	// Must be a valid UserIdString (as described in “value.proto“).
	// Required unless authentication is used with a user token.
	// In that case, the token's user-id will be used for the request's user_id.
	UserId string `json:"userId"`
}

CompletionStreamRequest defines model for CompletionStreamRequest.

type CompletionStreamResponse

type CompletionStreamResponse struct {
	CompletionResponse CompletionResponse `json:"completionResponse"`
}

CompletionStreamResponse defines model for CompletionStreamResponse.

type ConnectedSynchronizer

type ConnectedSynchronizer struct {
	Permission        ParticipantPermission `json:"permission"`
	SynchronizerAlias string                `json:"synchronizerAlias"`
	SynchronizerId    string                `json:"synchronizerId"`
}

ConnectedSynchronizer defines model for ConnectedSynchronizer.

type CreateAndExerciseCommand

type CreateAndExerciseCommand struct {
	// Choice The name of the choice the client wants to exercise.
	// Must be a valid NameString (as described in “value.proto“).
	// Required
	Choice string `json:"choice"`

	// ChoiceArgument The argument for this choice.
	// Required
	ChoiceArgument interface{} `json:"choiceArgument"`

	// CreateArguments The arguments required for creating a contract from this template.
	// Required
	CreateArguments interface{} `json:"createArguments"`

	// TemplateId The template of the contract the client wants to create.
	// Both package-name and package-id reference identifier formats for the template-id are supported.
	// Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
	//
	// Required
	TemplateId string `json:"templateId"`
}

CreateAndExerciseCommand Create a contract and exercise a choice on it in the same transaction.

type CreateCommand

type CreateCommand struct {
	// CreateArguments The arguments required for creating a contract from this template.
	// Required
	CreateArguments interface{} `json:"createArguments"`

	// TemplateId The template of contract the client wants to create.
	// Both package-name and package-id reference identifier formats for the template-id are supported.
	// Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
	//
	// Required
	TemplateId string `json:"templateId"`
}

CreateCommand Create a new contract instance based on a template.

type CreateIdentityProviderConfigRequest

type CreateIdentityProviderConfigRequest struct {
	IdentityProviderConfig *IdentityProviderConfig `json:"identityProviderConfig,omitempty"`
}

CreateIdentityProviderConfigRequest defines model for CreateIdentityProviderConfigRequest.

type CreateIdentityProviderConfigResponse

type CreateIdentityProviderConfigResponse struct {
	IdentityProviderConfig *IdentityProviderConfig `json:"identityProviderConfig,omitempty"`
}

CreateIdentityProviderConfigResponse defines model for CreateIdentityProviderConfigResponse.

type CreateUserRequest

type CreateUserRequest struct {
	// Rights The rights to be assigned to the user upon creation,
	// which SHOULD include appropriate rights for the “user.primary_party“.
	// Optional
	Rights *[]Right `json:"rights,omitempty"`

	// User  Users and rights
	// /////////////////
	//  Users are used to dynamically manage the rights given to Daml applications.
	//  They are stored and managed per participant node.
	User *User `json:"user,omitempty"`
}

CreateUserRequest RPC requests and responses ///////////////////////////

Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(user.identity_provider_id)``

type CreateUserResponse

type CreateUserResponse struct {
	// User  Users and rights
	// /////////////////
	//  Users are used to dynamically manage the rights given to Daml applications.
	//  They are stored and managed per participant node.
	User *User `json:"user,omitempty"`
}

CreateUserResponse defines model for CreateUserResponse.

type CreatedEvent

type CreatedEvent struct {
	// ContractId The ID of the created contract.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	ContractId string `json:"contractId"`

	// ContractKey The key of the created contract.
	// This will be set if and only if “create_arguments“ is set and “template_id“ defines a contract key.
	// Optional
	ContractKey    interface{} `json:"contractKey,omitempty"`
	CreateArgument interface{} `json:"createArgument,omitempty"`

	// CreatedAt Ledger effective time of the transaction that created the contract.
	// Required
	CreatedAt string `json:"createdAt"`

	// CreatedEventBlob Opaque representation of contract create event payload intended for forwarding
	// to an API server as a contract disclosed as part of a command
	// submission.
	// Optional
	CreatedEventBlob string `json:"createdEventBlob"`

	// InterfaceViews Interface views specified in the transaction filter.
	// Includes an “InterfaceView“ for each interface for which there is a “InterfaceFilter“ with
	//
	// - its party in the “witness_parties“ of this event,
	// - and which is implemented by the template of this event,
	// - and which has “include_interface_view“ set.
	//
	// Optional
	InterfaceViews *[]JsInterfaceView `json:"interfaceViews,omitempty"`

	// NodeId The position of this event in the originating transaction or reassignment.
	// The origin has contextual meaning, please see description at messages that include a CreatedEvent.
	// Node IDs are not necessarily equal across participants,
	// as these may see different projections/parts of transactions.
	// Required, must be valid node ID (non-negative integer)
	NodeId int32 `json:"nodeId"`

	// Observers The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
	// This field never contains parties that are signatories.
	// Required
	Observers *[]string `json:"observers,omitempty"`

	// Offset The offset of origin, which has contextual meaning, please see description at messages that include a CreatedEvent.
	// Offsets are managed by the participant nodes.
	// Transactions can thus NOT be assumed to have the same offsets on different participant nodes.
	// Required, it is a valid absolute offset (positive integer)
	Offset int64 `json:"offset"`

	// PackageName The package name of the created contract.
	// Required
	PackageName string `json:"packageName"`

	// Signatories The signatories for this contract as specified by the template.
	// Required
	Signatories *[]string `json:"signatories,omitempty"`

	// TemplateId The template of the created contract.
	// The identifier uses the package-id reference format.
	//
	// Required
	TemplateId string `json:"templateId"`

	// WitnessParties The parties that are notified of this event. When a “CreatedEvent“
	// is returned as part of a transaction tree or ledger-effects transaction, this will include all
	// the parties specified in the “TransactionFilter“ that are informees
	// of the event. If served as part of a ACS delta transaction those will
	// be limited to all parties specified in the “TransactionFilter“ that
	// are stakeholders of the contract (i.e. either signatories or observers).
	// If the “CreatedEvent“ is returned as part of an AssignedEvent,
	// ActiveContract or IncompleteUnassigned (so the event is related to
	// an assignment or unassignment): this will include all parties of the
	// “TransactionFilter“ that are stakeholders of the contract.
	//
	// The behavior of reading create events visible to parties not hosted
	// on the participant node serving the Ledger API is undefined. Concretely,
	// there is neither a guarantee that the participant node will serve all their
	// create events on the ACS stream, nor is there a guarantee that matching archive
	// events are delivered for such create events.
	//
	// For most clients this is not a problem, as they only read events for parties
	// that are hosted on the participant node. If you need to read events
	// for parties that may not be hosted at all times on the participant node,
	// subscribe to the “TopologyEvent“s for that party by setting a corresponding
	// “UpdateFormat“.  Using these events, query the ACS as-of an offset where the
	// party is hosted on the participant node, and ignore create events at offsets
	// where the party is not hosted on the participant node.
	// Required
	WitnessParties *[]string `json:"witnessParties,omitempty"`
}

CreatedEvent Records that a contract has been created, and choices may now be exercised on it.

type CreatedTreeEvent

type CreatedTreeEvent struct {
	// Value Records that a contract has been created, and choices may now be exercised on it.
	Value CreatedEvent `json:"value"`
}

CreatedTreeEvent defines model for CreatedTreeEvent.

type CumulativeFilter

type CumulativeFilter struct {
	IdentifierFilter IdentifierFilter `json:"identifierFilter"`
}

CumulativeFilter A filter that matches all contracts that are either an instance of one of the “template_filters“ or that match one of the “interface_filters“.

type DeduplicationDuration

type DeduplicationDuration struct {
	Value Duration `json:"value"`
}

DeduplicationDuration defines model for DeduplicationDuration.

type DeduplicationDuration1

type DeduplicationDuration1 struct {
	Value Duration `json:"value"`
}

DeduplicationDuration1 defines model for DeduplicationDuration1.

type DeduplicationDuration2

type DeduplicationDuration2 struct {
	Value Duration `json:"value"`
}

DeduplicationDuration2 defines model for DeduplicationDuration2.

type DeduplicationOffset

type DeduplicationOffset struct {
	Value int64 `json:"value"`
}

DeduplicationOffset defines model for DeduplicationOffset.

type DeduplicationOffset1

type DeduplicationOffset1 struct {
	Value int64 `json:"value"`
}

DeduplicationOffset1 defines model for DeduplicationOffset1.

type DeduplicationOffset2

type DeduplicationOffset2 struct {
	Value int64 `json:"value"`
}

DeduplicationOffset2 defines model for DeduplicationOffset2.

type DeduplicationPeriod

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

DeduplicationPeriod Specifies the deduplication period for the change ID. If omitted, the participant will assume the configured maximum deduplication time.

func (DeduplicationPeriod) AsDeduplicationPeriod0

func (t DeduplicationPeriod) AsDeduplicationPeriod0() (DeduplicationPeriod0, error)

AsDeduplicationPeriod0 returns the union data inside the DeduplicationPeriod as a DeduplicationPeriod0

func (DeduplicationPeriod) AsDeduplicationPeriod1

func (t DeduplicationPeriod) AsDeduplicationPeriod1() (DeduplicationPeriod1, error)

AsDeduplicationPeriod1 returns the union data inside the DeduplicationPeriod as a DeduplicationPeriod1

func (DeduplicationPeriod) AsDeduplicationPeriod2

func (t DeduplicationPeriod) AsDeduplicationPeriod2() (DeduplicationPeriod2, error)

AsDeduplicationPeriod2 returns the union data inside the DeduplicationPeriod as a DeduplicationPeriod2

func (*DeduplicationPeriod) FromDeduplicationPeriod0

func (t *DeduplicationPeriod) FromDeduplicationPeriod0(v DeduplicationPeriod0) error

FromDeduplicationPeriod0 overwrites any union data inside the DeduplicationPeriod as the provided DeduplicationPeriod0

func (*DeduplicationPeriod) FromDeduplicationPeriod1

func (t *DeduplicationPeriod) FromDeduplicationPeriod1(v DeduplicationPeriod1) error

FromDeduplicationPeriod1 overwrites any union data inside the DeduplicationPeriod as the provided DeduplicationPeriod1

func (*DeduplicationPeriod) FromDeduplicationPeriod2

func (t *DeduplicationPeriod) FromDeduplicationPeriod2(v DeduplicationPeriod2) error

FromDeduplicationPeriod2 overwrites any union data inside the DeduplicationPeriod as the provided DeduplicationPeriod2

func (DeduplicationPeriod) MarshalJSON

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

func (*DeduplicationPeriod) MergeDeduplicationPeriod0

func (t *DeduplicationPeriod) MergeDeduplicationPeriod0(v DeduplicationPeriod0) error

MergeDeduplicationPeriod0 performs a merge with any union data inside the DeduplicationPeriod, using the provided DeduplicationPeriod0

func (*DeduplicationPeriod) MergeDeduplicationPeriod1

func (t *DeduplicationPeriod) MergeDeduplicationPeriod1(v DeduplicationPeriod1) error

MergeDeduplicationPeriod1 performs a merge with any union data inside the DeduplicationPeriod, using the provided DeduplicationPeriod1

func (*DeduplicationPeriod) MergeDeduplicationPeriod2

func (t *DeduplicationPeriod) MergeDeduplicationPeriod2(v DeduplicationPeriod2) error

MergeDeduplicationPeriod2 performs a merge with any union data inside the DeduplicationPeriod, using the provided DeduplicationPeriod2

func (*DeduplicationPeriod) UnmarshalJSON

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

type DeduplicationPeriod0

type DeduplicationPeriod0 struct {
	DeduplicationDuration DeduplicationDuration `json:"DeduplicationDuration"`
}

DeduplicationPeriod0 defines model for .

type DeduplicationPeriod1

type DeduplicationPeriod1 struct {
	DeduplicationOffset DeduplicationOffset `json:"DeduplicationOffset"`
}

DeduplicationPeriod1 defines model for .

type DeduplicationPeriod10

type DeduplicationPeriod10 struct {
	DeduplicationDuration DeduplicationDuration1 `json:"DeduplicationDuration"`
}

DeduplicationPeriod10 defines model for .

type DeduplicationPeriod11

type DeduplicationPeriod11 struct {
	DeduplicationOffset DeduplicationOffset1 `json:"DeduplicationOffset"`
}

DeduplicationPeriod11 defines model for .

type DeduplicationPeriod12

type DeduplicationPeriod12 struct {
	Empty Empty3 `json:"Empty"`
}

DeduplicationPeriod12 defines model for .

type DeduplicationPeriod2

type DeduplicationPeriod2 struct {
	Empty Empty `json:"Empty"`
}

DeduplicationPeriod2 defines model for .

type DeduplicationPeriod20

type DeduplicationPeriod20 struct {
	DeduplicationDuration DeduplicationDuration2 `json:"DeduplicationDuration"`
}

DeduplicationPeriod20 defines model for .

type DeduplicationPeriod21

type DeduplicationPeriod21 struct {
	DeduplicationOffset DeduplicationOffset2 `json:"DeduplicationOffset"`
}

DeduplicationPeriod21 defines model for .

type DeduplicationPeriod22

type DeduplicationPeriod22 struct {
	Empty Empty7 `json:"Empty"`
}

DeduplicationPeriod22 defines model for .

type DeleteIdentityProviderConfigResponse

type DeleteIdentityProviderConfigResponse = map[string]interface{}

DeleteIdentityProviderConfigResponse Does not (yet) contain any data.

type DeleteV2IdpsIdpIdResponse

type DeleteV2IdpsIdpIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteIdentityProviderConfigResponse
	JSONDefault  *JsCantonError
}

func ParseDeleteV2IdpsIdpIdResponse

func ParseDeleteV2IdpsIdpIdResponse(rsp *http.Response) (*DeleteV2IdpsIdpIdResponse, error)

ParseDeleteV2IdpsIdpIdResponse parses an HTTP response from a DeleteV2IdpsIdpIdWithResponse call

func (DeleteV2IdpsIdpIdResponse) Status

func (r DeleteV2IdpsIdpIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteV2IdpsIdpIdResponse) StatusCode

func (r DeleteV2IdpsIdpIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV2UsersUserIdResponse

type DeleteV2UsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSONDefault  *JsCantonError
}

func ParseDeleteV2UsersUserIdResponse

func ParseDeleteV2UsersUserIdResponse(rsp *http.Response) (*DeleteV2UsersUserIdResponse, error)

ParseDeleteV2UsersUserIdResponse parses an HTTP response from a DeleteV2UsersUserIdWithResponse call

func (DeleteV2UsersUserIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV2UsersUserIdResponse) StatusCode

func (r DeleteV2UsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DisclosedContract

type DisclosedContract struct {
	// ContractId The contract id
	// Required
	ContractId string `json:"contractId"`

	// CreatedEventBlob Opaque byte string containing the complete payload required by the Daml engine
	// to reconstruct a contract not known to the receiving participant.
	// Required
	CreatedEventBlob string `json:"createdEventBlob"`

	// SynchronizerId The ID of the synchronizer where the contract is currently assigned
	// Optional
	SynchronizerId string `json:"synchronizerId"`

	// TemplateId The template id of the contract.
	// The identifier uses the package-id reference format.
	//
	// Required
	TemplateId *string `json:"templateId,omitempty"`
}

DisclosedContract An additional contract that is used to resolve contract & contract key lookups.

type Duration

type Duration struct {
	Nanos   int32 `json:"nanos"`
	Seconds int64 `json:"seconds"`

	// UnknownFields This field is automatically added as part of protobuf to json mapping
	UnknownFields *string `json:"unknownFields,omitempty"`
}

Duration defines model for Duration.

type Empty

type Empty = map[string]interface{}

Empty defines model for Empty.

type Empty1

type Empty1 = map[string]interface{}

Empty1 defines model for Empty1.

type Empty2

type Empty2 = map[string]interface{}

Empty2 defines model for Empty2.

type Empty3

type Empty3 = map[string]interface{}

Empty3 defines model for Empty3.

type Empty4

type Empty4 = map[string]interface{}

Empty4 defines model for Empty4.

type Empty5

type Empty5 = map[string]interface{}

Empty5 defines model for Empty5.

type Empty6

type Empty6 = map[string]interface{}

Empty6 defines model for Empty6.

type Empty7

type Empty7 = map[string]interface{}

Empty7 defines model for Empty7.

type Event

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

Event Events in transactions can have two primary shapes:

- ACS delta: events can be CreatedEvent or ArchivedEvent - ledger effects: events can be CreatedEvent or ExercisedEvent

In the update service the events are restricted to the events visible for the parties specified in the transaction filter. Each event message type below contains a “witness_parties“ field which indicates the subset of the requested parties that can see the event in question.

func (Event) AsEvent0

func (t Event) AsEvent0() (Event0, error)

AsEvent0 returns the union data inside the Event as a Event0

func (Event) AsEvent1

func (t Event) AsEvent1() (Event1, error)

AsEvent1 returns the union data inside the Event as a Event1

func (Event) AsEvent2

func (t Event) AsEvent2() (Event2, error)

AsEvent2 returns the union data inside the Event as a Event2

func (*Event) FromEvent0

func (t *Event) FromEvent0(v Event0) error

FromEvent0 overwrites any union data inside the Event as the provided Event0

func (*Event) FromEvent1

func (t *Event) FromEvent1(v Event1) error

FromEvent1 overwrites any union data inside the Event as the provided Event1

func (*Event) FromEvent2

func (t *Event) FromEvent2(v Event2) error

FromEvent2 overwrites any union data inside the Event as the provided Event2

func (Event) MarshalJSON

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

func (*Event) MergeEvent0

func (t *Event) MergeEvent0(v Event0) error

MergeEvent0 performs a merge with any union data inside the Event, using the provided Event0

func (*Event) MergeEvent1

func (t *Event) MergeEvent1(v Event1) error

MergeEvent1 performs a merge with any union data inside the Event, using the provided Event1

func (*Event) MergeEvent2

func (t *Event) MergeEvent2(v Event2) error

MergeEvent2 performs a merge with any union data inside the Event, using the provided Event2

func (*Event) UnmarshalJSON

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

type Event0

type Event0 struct {
	// ArchivedEvent Records that a contract has been archived, and choices may no longer be exercised on it.
	ArchivedEvent ArchivedEvent `json:"ArchivedEvent"`
}

Event0 defines model for .

type Event1

type Event1 struct {
	// CreatedEvent Records that a contract has been created, and choices may now be exercised on it.
	CreatedEvent CreatedEvent `json:"CreatedEvent"`
}

Event1 defines model for .

type Event2

type Event2 struct {
	// ExercisedEvent Records that a choice has been exercised on a target contract.
	ExercisedEvent ExercisedEvent `json:"ExercisedEvent"`
}

Event2 defines model for .

type EventFormat

type EventFormat struct {
	FiltersByParty MapKV `json:"filtersByParty"`

	// FiltersForAnyParty The union of a set of template filters, interface filters, or a wildcard.
	FiltersForAnyParty *Filters `json:"filtersForAnyParty,omitempty"`

	// Verbose If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
	// In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
	// Optional
	Verbose bool `json:"verbose"`
}

EventFormat A format for events which defines both which events should be included and what data should be computed and included for them.

Note that some of the filtering behavior depends on the `TransactionShape`, which is expected to be specified alongside usages of `EventFormat`.

type ExecuteSubmissionResponse

type ExecuteSubmissionResponse = map[string]interface{}

ExecuteSubmissionResponse defines model for ExecuteSubmissionResponse.

type ExerciseByKeyCommand

type ExerciseByKeyCommand struct {
	// Choice The name of the choice the client wants to exercise.
	// Must be a valid NameString (as described in “value.proto“)
	// Required
	Choice string `json:"choice"`

	// ChoiceArgument The argument for this choice.
	// Required
	ChoiceArgument interface{} `json:"choiceArgument"`

	// ContractKey The key of the contract the client wants to exercise upon.
	// Required
	ContractKey interface{} `json:"contractKey"`

	// TemplateId The template of contract the client wants to exercise.
	// Both package-name and package-id reference identifier formats for the template-id are supported.
	// Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
	//
	// Required
	TemplateId string `json:"templateId"`
}

ExerciseByKeyCommand Exercise a choice on an existing contract specified by its key.

type ExerciseCommand

type ExerciseCommand struct {
	// Choice The name of the choice the client wants to exercise.
	// Must be a valid NameString (as described in “value.proto“)
	// Required
	Choice string `json:"choice"`

	// ChoiceArgument The argument for this choice.
	// Required
	ChoiceArgument interface{} `json:"choiceArgument"`

	// ContractId The ID of the contract the client wants to exercise upon.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	ContractId string `json:"contractId"`

	// TemplateId The template of contract the client wants to exercise.
	// Both package-name and package-id reference identifier formats for the template-id are supported.
	// Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
	//
	// Required
	TemplateId string `json:"templateId"`
}

ExerciseCommand Exercise a choice on an existing contract.

type ExercisedEvent

type ExercisedEvent struct {
	// ActingParties The parties that exercised the choice.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Required
	ActingParties *[]string `json:"actingParties,omitempty"`

	// Choice The choice that was exercised on the target contract.
	// Must be a valid NameString (as described in “value.proto“).
	// Required
	Choice string `json:"choice"`

	// ChoiceArgument The argument of the exercised choice.
	// Required
	ChoiceArgument interface{} `json:"choiceArgument"`

	// Consuming If true, the target contract may no longer be exercised.
	// Required
	Consuming bool `json:"consuming"`

	// ContractId The ID of the target contract.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	ContractId string `json:"contractId"`

	// ExerciseResult The result of exercising the choice.
	// Required
	ExerciseResult interface{} `json:"exerciseResult"`

	// ImplementedInterfaces If the event is consuming, the interfaces implemented by the target template that have been
	// matched from the interface filter query.
	// Populated only in case interface filters with include_interface_view set.
	//
	// The identifier uses the package-id reference format.
	//
	// Optional
	ImplementedInterfaces *[]string `json:"implementedInterfaces,omitempty"`

	// InterfaceId The interface where the choice is defined, if inherited.
	// If defined, the identifier uses the package-id reference format.
	//
	// Optional
	InterfaceId *string `json:"interfaceId,omitempty"`

	// LastDescendantNodeId Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of
	// this “ExercisedEvent“. This allows unambiguous identification of all the members of the subtree rooted at this
	// node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily
	// filtered, it is only possible to determine if a node is in a consequent subtree or not.
	// Required
	LastDescendantNodeId int32 `json:"lastDescendantNodeId"`

	// NodeId The position of this event in the originating transaction or reassignment.
	// Node IDs are not necessarily equal across participants,
	// as these may see different projections/parts of transactions.
	// Required, must be valid node ID (non-negative integer)
	NodeId int32 `json:"nodeId"`

	// Offset The offset of origin.
	// Offsets are managed by the participant nodes.
	// Transactions can thus NOT be assumed to have the same offsets on different participant nodes.
	// Required, it is a valid absolute offset (positive integer)
	Offset int64 `json:"offset"`

	// PackageName The package name of the contract.
	// Required
	PackageName string `json:"packageName"`

	// TemplateId The template of the target contract.
	// The identifier uses the package-id reference format.
	//
	// Required
	TemplateId string `json:"templateId"`

	// WitnessParties The parties that are notified of this event. The witnesses of an exercise
	// node will depend on whether the exercise was consuming or not.
	// If consuming, the witnesses are the union of the stakeholders and
	// the actors.
	// If not consuming, the witnesses are the union of the signatories and
	// the actors. Note that the actors might not necessarily be observers
	// and thus signatories. This is the case when the controllers of a
	// choice are specified using "flexible controllers", using the
	// “choice ... controller“ syntax, and said controllers are not
	// explicitly marked as observers.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Required
	WitnessParties *[]string `json:"witnessParties,omitempty"`
}

ExercisedEvent Records that a choice has been exercised on a target contract.

type ExercisedTreeEvent

type ExercisedTreeEvent struct {
	// Value Records that a choice has been exercised on a target contract.
	Value ExercisedEvent `json:"value"`
}

ExercisedTreeEvent defines model for ExercisedTreeEvent.

type ExperimentalCommandInspectionService

type ExperimentalCommandInspectionService struct {
	Supported bool `json:"supported"`
}

ExperimentalCommandInspectionService Whether the Ledger API supports command inspection service

type ExperimentalFeatures

type ExperimentalFeatures struct {
	// CommandInspectionService Whether the Ledger API supports command inspection service
	CommandInspectionService *ExperimentalCommandInspectionService `json:"commandInspectionService,omitempty"`

	// StaticTime Ledger is in the static time mode and exposes a time service.
	StaticTime *ExperimentalStaticTime `json:"staticTime,omitempty"`
}

ExperimentalFeatures See the feature message definitions for descriptions.

type ExperimentalStaticTime

type ExperimentalStaticTime struct {
	Supported bool `json:"supported"`
}

ExperimentalStaticTime Ledger is in the static time mode and exposes a time service.

type FeaturesDescriptor

type FeaturesDescriptor struct {
	// Experimental See the feature message definitions for descriptions.
	Experimental     *ExperimentalFeatures    `json:"experimental,omitempty"`
	OffsetCheckpoint *OffsetCheckpointFeature `json:"offsetCheckpoint,omitempty"`
	PartyManagement  *PartyManagementFeature  `json:"partyManagement,omitempty"`
	UserManagement   *UserManagementFeature   `json:"userManagement,omitempty"`
}

FeaturesDescriptor defines model for FeaturesDescriptor.

type FieldMask

type FieldMask struct {
	Paths         *[]string `json:"paths,omitempty"`
	UnknownFields string    `json:"unknownFields"`
}

FieldMask defines model for FieldMask.

type Filters

type Filters struct {
	// Cumulative Every filter in the cumulative list expands the scope of the resulting stream. Each interface,
	// template or wildcard filter means additional events that will match the query.
	// The impact of include_interface_view and include_created_event_blob fields in the filters will
	// also be accumulated.
	// At least one cumulative filter MUST be specified.
	// A template or an interface SHOULD NOT appear twice in the accumulative field.
	// A wildcard filter SHOULD NOT be defined more than once in the accumulative field.
	// Optional
	Cumulative *[]CumulativeFilter `json:"cumulative,omitempty"`
}

Filters The union of a set of template filters, interface filters, or a wildcard.

type GetActiveContractsRequest

type GetActiveContractsRequest struct {
	// ActiveAtOffset The offset at which the snapshot of the active contracts will be computed.
	// Must be no greater than the current ledger end offset.
	// Must be greater than or equal to the last pruning offset.
	// Required, must be a valid absolute offset (positive integer) or ledger begin offset (zero).
	// If zero, the empty set will be returned.
	ActiveAtOffset int64 `json:"activeAtOffset"`

	// EventFormat A format for events which defines both which events should be included
	// and what data should be computed and included for them.
	//
	// Note that some of the filtering behavior depends on the `TransactionShape`,
	// which is expected to be specified alongside usages of `EventFormat`.
	EventFormat *EventFormat `json:"eventFormat,omitempty"`

	// Filter Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// Used both for filtering create and archive events as well as for filtering transaction trees.
	Filter *TransactionFilter `json:"filter,omitempty"`

	// Verbose Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
	// In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
	// Optional, if specified event_format must be unset.
	Verbose bool `json:"verbose"`
}

GetActiveContractsRequest If the given offset is different than the ledger end, and there are (un)assignments in-flight at the given offset, the snapshot may fail with "FAILED_PRECONDITION/PARTICIPANT_PRUNED_DATA_ACCESSED". Note that it is ok to request acs snapshots for party migration with offsets other than ledger end, because party migration is not concerned with incomplete (un)assignments.

type GetConnectedSynchronizersResponse

type GetConnectedSynchronizersResponse struct {
	ConnectedSynchronizers *[]ConnectedSynchronizer `json:"connectedSynchronizers,omitempty"`
}

GetConnectedSynchronizersResponse defines model for GetConnectedSynchronizersResponse.

type GetEventsByContractIdRequest

type GetEventsByContractIdRequest struct {
	// ContractId The contract id being queried.
	// Required
	ContractId string `json:"contractId"`

	// EventFormat A format for events which defines both which events should be included
	// and what data should be computed and included for them.
	//
	// Note that some of the filtering behavior depends on the `TransactionShape`,
	// which is expected to be specified alongside usages of `EventFormat`.
	EventFormat *EventFormat `json:"eventFormat,omitempty"`

	// RequestingParties Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// The parties whose events the client expects to see.
	// The events associated with the contract id will only be returned if the requesting parties includes
	// at least one party that is a stakeholder of the event. For a definition of stakeholders see
	// https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders
	// Optional, if some parties specified, event_format needs to be unset.
	RequestingParties *[]string `json:"requestingParties,omitempty"`
}

GetEventsByContractIdRequest defines model for GetEventsByContractIdRequest.

type GetIdentityProviderConfigResponse

type GetIdentityProviderConfigResponse struct {
	IdentityProviderConfig *IdentityProviderConfig `json:"identityProviderConfig,omitempty"`
}

GetIdentityProviderConfigResponse defines model for GetIdentityProviderConfigResponse.

type GetLatestPrunedOffsetsResponse

type GetLatestPrunedOffsetsResponse struct {
	// AllDivulgedContractsPrunedUpToInclusive It will always be a non-negative integer.
	// If positive, the absolute offset up to which all divulged events have been pruned on the ledger.
	// It can be at or before the “participant_pruned_up_to_inclusive“ offset.
	// For more details about all divulged events pruning,
	// see “PruneRequest.prune_all_divulged_contracts“ in “participant_pruning_service.proto“.
	// If zero, the divulged events have not been pruned yet.
	AllDivulgedContractsPrunedUpToInclusive int64 `json:"allDivulgedContractsPrunedUpToInclusive"`

	// ParticipantPrunedUpToInclusive It will always be a non-negative integer.
	// If positive, the absolute offset up to which the ledger has been pruned,
	// disregarding the state of all divulged contracts pruning.
	// If zero, the ledger has not been pruned yet.
	ParticipantPrunedUpToInclusive int64 `json:"participantPrunedUpToInclusive"`
}

GetLatestPrunedOffsetsResponse defines model for GetLatestPrunedOffsetsResponse.

type GetLedgerApiVersionResponse

type GetLedgerApiVersionResponse struct {
	Features *FeaturesDescriptor `json:"features,omitempty"`

	// Version The version of the ledger API.
	Version string `json:"version"`
}

GetLedgerApiVersionResponse defines model for GetLedgerApiVersionResponse.

type GetLedgerEndResponse

type GetLedgerEndResponse struct {
	// Offset It will always be a non-negative integer.
	// If zero, the participant view of the ledger is empty.
	// If positive, the absolute offset of the ledger as viewed by the participant.
	Offset int64 `json:"offset"`
}

GetLedgerEndResponse defines model for GetLedgerEndResponse.

type GetPackageStatusResponse

type GetPackageStatusResponse struct {
	PackageStatus PackageStatus `json:"packageStatus"`
}

GetPackageStatusResponse defines model for GetPackageStatusResponse.

type GetParticipantIdResponse

type GetParticipantIdResponse struct {
	// ParticipantId Identifier of the participant, which SHOULD be globally unique.
	// Must be a valid LedgerString (as describe in “value.proto“).
	ParticipantId string `json:"participantId"`
}

GetParticipantIdResponse defines model for GetParticipantIdResponse.

type GetPartiesResponse

type GetPartiesResponse struct {
	// PartyDetails The details of the requested Daml parties by the participant, if known.
	// The party details may not be in the same order as requested.
	// Required
	PartyDetails *[]PartyDetails `json:"partyDetails,omitempty"`
}

GetPartiesResponse defines model for GetPartiesResponse.

type GetPreferredPackageVersionResponse

type GetPreferredPackageVersionResponse struct {
	PackagePreference *PackagePreference `json:"packagePreference,omitempty"`
}

GetPreferredPackageVersionResponse defines model for GetPreferredPackageVersionResponse.

type GetTransactionByIdRequest

type GetTransactionByIdRequest struct {
	// RequestingParties Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// The parties whose events the client expects to see.
	// Events that are not visible for the parties in this collection will not be present in the response.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Must be set for GetTransactionTreeById request.
	// Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
	// unset (falling back to defaults).
	RequestingParties *[]string `json:"requestingParties,omitempty"`

	// TransactionFormat A format that specifies what events to include in Daml transactions
	// and what data to compute and include for them.
	TransactionFormat *TransactionFormat `json:"transactionFormat,omitempty"`

	// UpdateId The ID of a particular transaction.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`
}

GetTransactionByIdRequest Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.

type GetTransactionByOffsetRequest

type GetTransactionByOffsetRequest struct {
	// Offset The offset of the transaction being looked up.
	// Must be a valid absolute offset (positive integer).
	// Required
	Offset int64 `json:"offset"`

	// RequestingParties Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// The parties whose events the client expects to see.
	// Events that are not visible for the parties in this collection will not be present in the response.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Must be set for GetTransactionTreeByOffset request.
	// Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be
	// unset (falling back to defaults).
	RequestingParties *[]string `json:"requestingParties,omitempty"`

	// TransactionFormat A format that specifies what events to include in Daml transactions
	// and what data to compute and include for them.
	TransactionFormat *TransactionFormat `json:"transactionFormat,omitempty"`
}

GetTransactionByOffsetRequest Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.

type GetUpdateByIdRequest

type GetUpdateByIdRequest struct {
	// UpdateFormat A format specifying what updates to include and how to render them.
	UpdateFormat *UpdateFormat `json:"updateFormat,omitempty"`

	// UpdateId The ID of a particular update.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`
}

GetUpdateByIdRequest defines model for GetUpdateByIdRequest.

type GetUpdateByOffsetRequest

type GetUpdateByOffsetRequest struct {
	// Offset The offset of the update being looked up.
	// Must be a valid absolute offset (positive integer).
	// Required
	Offset int64 `json:"offset"`

	// UpdateFormat A format specifying what updates to include and how to render them.
	UpdateFormat *UpdateFormat `json:"updateFormat,omitempty"`
}

GetUpdateByOffsetRequest defines model for GetUpdateByOffsetRequest.

type GetUpdatesRequest

type GetUpdatesRequest struct {
	// BeginExclusive Beginning of the requested ledger section (non-negative integer).
	// The response will only contain transactions whose offset is strictly greater than this.
	// If zero, the stream will start from the beginning of the ledger.
	// If positive, the streaming will start after this absolute offset.
	// If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
	BeginExclusive int64 `json:"beginExclusive"`

	// EndInclusive End of the requested ledger section.
	// The response will only contain transactions whose offset is less than or equal to this.
	// Optional, if empty, the stream will not terminate.
	// If specified, the stream will terminate after this absolute offset (positive integer) is reached.
	EndInclusive *int64 `json:"endInclusive,omitempty"`

	// Filter Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// Used both for filtering create and archive events as well as for filtering transaction trees.
	Filter *TransactionFilter `json:"filter,omitempty"`

	// UpdateFormat A format specifying what updates to include and how to render them.
	UpdateFormat *UpdateFormat `json:"updateFormat,omitempty"`

	// Verbose Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
	// In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids
	// for record fields.
	// Optional for backwards compatibility, if defined update_format must be unset
	Verbose bool `json:"verbose"`
}

GetUpdatesRequest defines model for GetUpdatesRequest.

type GetUserResponse

type GetUserResponse struct {
	// User  Users and rights
	// /////////////////
	//  Users are used to dynamically manage the rights given to Daml applications.
	//  They are stored and managed per participant node.
	User *User `json:"user,omitempty"`
}

GetUserResponse defines model for GetUserResponse.

type GetV2IdpsIdpIdResponse

type GetV2IdpsIdpIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetIdentityProviderConfigResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2IdpsIdpIdResponse

func ParseGetV2IdpsIdpIdResponse(rsp *http.Response) (*GetV2IdpsIdpIdResponse, error)

ParseGetV2IdpsIdpIdResponse parses an HTTP response from a GetV2IdpsIdpIdWithResponse call

func (GetV2IdpsIdpIdResponse) Status

func (r GetV2IdpsIdpIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2IdpsIdpIdResponse) StatusCode

func (r GetV2IdpsIdpIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2IdpsResponse

type GetV2IdpsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListIdentityProviderConfigsResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2IdpsResponse

func ParseGetV2IdpsResponse(rsp *http.Response) (*GetV2IdpsResponse, error)

ParseGetV2IdpsResponse parses an HTTP response from a GetV2IdpsWithResponse call

func (GetV2IdpsResponse) Status

func (r GetV2IdpsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2IdpsResponse) StatusCode

func (r GetV2IdpsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2InteractiveSubmissionPreferredPackageVersionParams

type GetV2InteractiveSubmissionPreferredPackageVersionParams struct {
	Parties        *[]string  `form:"parties,omitempty" json:"parties,omitempty"`
	PackageName    string     `form:"package-name" json:"package-name"`
	VettingValidAt *time.Time `form:"vetting_valid_at,omitempty" json:"vetting_valid_at,omitempty"`
	SynchronizerId *string    `form:"synchronizer-id,omitempty" json:"synchronizer-id,omitempty"`
}

GetV2InteractiveSubmissionPreferredPackageVersionParams defines parameters for GetV2InteractiveSubmissionPreferredPackageVersion.

type GetV2InteractiveSubmissionPreferredPackageVersionResponse

type GetV2InteractiveSubmissionPreferredPackageVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetPreferredPackageVersionResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2InteractiveSubmissionPreferredPackageVersionResponse

func ParseGetV2InteractiveSubmissionPreferredPackageVersionResponse(rsp *http.Response) (*GetV2InteractiveSubmissionPreferredPackageVersionResponse, error)

ParseGetV2InteractiveSubmissionPreferredPackageVersionResponse parses an HTTP response from a GetV2InteractiveSubmissionPreferredPackageVersionWithResponse call

func (GetV2InteractiveSubmissionPreferredPackageVersionResponse) Status

Status returns HTTPResponse.Status

func (GetV2InteractiveSubmissionPreferredPackageVersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2PackagesPackageIdResponse

type GetV2PackagesPackageIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSONDefault  *JsCantonError
}

func ParseGetV2PackagesPackageIdResponse

func ParseGetV2PackagesPackageIdResponse(rsp *http.Response) (*GetV2PackagesPackageIdResponse, error)

ParseGetV2PackagesPackageIdResponse parses an HTTP response from a GetV2PackagesPackageIdWithResponse call

func (GetV2PackagesPackageIdResponse) Status

Status returns HTTPResponse.Status

func (GetV2PackagesPackageIdResponse) StatusCode

func (r GetV2PackagesPackageIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2PackagesPackageIdStatusResponse

type GetV2PackagesPackageIdStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetPackageStatusResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2PackagesPackageIdStatusResponse

func ParseGetV2PackagesPackageIdStatusResponse(rsp *http.Response) (*GetV2PackagesPackageIdStatusResponse, error)

ParseGetV2PackagesPackageIdStatusResponse parses an HTTP response from a GetV2PackagesPackageIdStatusWithResponse call

func (GetV2PackagesPackageIdStatusResponse) Status

Status returns HTTPResponse.Status

func (GetV2PackagesPackageIdStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2PackagesResponse

type GetV2PackagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPackagesResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2PackagesResponse

func ParseGetV2PackagesResponse(rsp *http.Response) (*GetV2PackagesResponse, error)

ParseGetV2PackagesResponse parses an HTTP response from a GetV2PackagesWithResponse call

func (GetV2PackagesResponse) Status

func (r GetV2PackagesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2PackagesResponse) StatusCode

func (r GetV2PackagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2PartiesParams

type GetV2PartiesParams struct {
	// PageSize maximum number of elements in a returned page
	PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken token - to continue results from a given page, leave empty to start from the beginning of the list, obtain token from the result of previous page
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

GetV2PartiesParams defines parameters for GetV2Parties.

type GetV2PartiesParticipantIdResponse

type GetV2PartiesParticipantIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetParticipantIdResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2PartiesParticipantIdResponse

func ParseGetV2PartiesParticipantIdResponse(rsp *http.Response) (*GetV2PartiesParticipantIdResponse, error)

ParseGetV2PartiesParticipantIdResponse parses an HTTP response from a GetV2PartiesParticipantIdWithResponse call

func (GetV2PartiesParticipantIdResponse) Status

Status returns HTTPResponse.Status

func (GetV2PartiesParticipantIdResponse) StatusCode

func (r GetV2PartiesParticipantIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2PartiesPartyParams

type GetV2PartiesPartyParams struct {
	IdentityProviderId *string   `form:"identity-provider-id,omitempty" json:"identity-provider-id,omitempty"`
	Parties            *[]string `form:"parties,omitempty" json:"parties,omitempty"`
}

GetV2PartiesPartyParams defines parameters for GetV2PartiesParty.

type GetV2PartiesPartyResponse

type GetV2PartiesPartyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetPartiesResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2PartiesPartyResponse

func ParseGetV2PartiesPartyResponse(rsp *http.Response) (*GetV2PartiesPartyResponse, error)

ParseGetV2PartiesPartyResponse parses an HTTP response from a GetV2PartiesPartyWithResponse call

func (GetV2PartiesPartyResponse) Status

func (r GetV2PartiesPartyResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2PartiesPartyResponse) StatusCode

func (r GetV2PartiesPartyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2PartiesResponse

type GetV2PartiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListKnownPartiesResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2PartiesResponse

func ParseGetV2PartiesResponse(rsp *http.Response) (*GetV2PartiesResponse, error)

ParseGetV2PartiesResponse parses an HTTP response from a GetV2PartiesWithResponse call

func (GetV2PartiesResponse) Status

func (r GetV2PartiesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2PartiesResponse) StatusCode

func (r GetV2PartiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2StateConnectedSynchronizersParams

type GetV2StateConnectedSynchronizersParams struct {
	Party         string  `form:"party" json:"party"`
	ParticipantId *string `form:"participantId,omitempty" json:"participantId,omitempty"`
}

GetV2StateConnectedSynchronizersParams defines parameters for GetV2StateConnectedSynchronizers.

type GetV2StateConnectedSynchronizersResponse

type GetV2StateConnectedSynchronizersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetConnectedSynchronizersResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2StateConnectedSynchronizersResponse

func ParseGetV2StateConnectedSynchronizersResponse(rsp *http.Response) (*GetV2StateConnectedSynchronizersResponse, error)

ParseGetV2StateConnectedSynchronizersResponse parses an HTTP response from a GetV2StateConnectedSynchronizersWithResponse call

func (GetV2StateConnectedSynchronizersResponse) Status

Status returns HTTPResponse.Status

func (GetV2StateConnectedSynchronizersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2StateLatestPrunedOffsetsResponse

type GetV2StateLatestPrunedOffsetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetLatestPrunedOffsetsResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2StateLatestPrunedOffsetsResponse

func ParseGetV2StateLatestPrunedOffsetsResponse(rsp *http.Response) (*GetV2StateLatestPrunedOffsetsResponse, error)

ParseGetV2StateLatestPrunedOffsetsResponse parses an HTTP response from a GetV2StateLatestPrunedOffsetsWithResponse call

func (GetV2StateLatestPrunedOffsetsResponse) Status

Status returns HTTPResponse.Status

func (GetV2StateLatestPrunedOffsetsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2StateLedgerEndResponse

type GetV2StateLedgerEndResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetLedgerEndResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2StateLedgerEndResponse

func ParseGetV2StateLedgerEndResponse(rsp *http.Response) (*GetV2StateLedgerEndResponse, error)

ParseGetV2StateLedgerEndResponse parses an HTTP response from a GetV2StateLedgerEndWithResponse call

func (GetV2StateLedgerEndResponse) Status

Status returns HTTPResponse.Status

func (GetV2StateLedgerEndResponse) StatusCode

func (r GetV2StateLedgerEndResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2UpdatesTransactionTreeByIdUpdateIdParams

type GetV2UpdatesTransactionTreeByIdUpdateIdParams struct {
	Parties *[]string `form:"parties,omitempty" json:"parties,omitempty"`
}

GetV2UpdatesTransactionTreeByIdUpdateIdParams defines parameters for GetV2UpdatesTransactionTreeByIdUpdateId.

type GetV2UpdatesTransactionTreeByIdUpdateIdResponse

type GetV2UpdatesTransactionTreeByIdUpdateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetTransactionTreeResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2UpdatesTransactionTreeByIdUpdateIdResponse

func ParseGetV2UpdatesTransactionTreeByIdUpdateIdResponse(rsp *http.Response) (*GetV2UpdatesTransactionTreeByIdUpdateIdResponse, error)

ParseGetV2UpdatesTransactionTreeByIdUpdateIdResponse parses an HTTP response from a GetV2UpdatesTransactionTreeByIdUpdateIdWithResponse call

func (GetV2UpdatesTransactionTreeByIdUpdateIdResponse) Status

Status returns HTTPResponse.Status

func (GetV2UpdatesTransactionTreeByIdUpdateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2UpdatesTransactionTreeByOffsetOffsetParams

type GetV2UpdatesTransactionTreeByOffsetOffsetParams struct {
	Parties *[]string `form:"parties,omitempty" json:"parties,omitempty"`
}

GetV2UpdatesTransactionTreeByOffsetOffsetParams defines parameters for GetV2UpdatesTransactionTreeByOffsetOffset.

type GetV2UpdatesTransactionTreeByOffsetOffsetResponse

type GetV2UpdatesTransactionTreeByOffsetOffsetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetTransactionTreeResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2UpdatesTransactionTreeByOffsetOffsetResponse

func ParseGetV2UpdatesTransactionTreeByOffsetOffsetResponse(rsp *http.Response) (*GetV2UpdatesTransactionTreeByOffsetOffsetResponse, error)

ParseGetV2UpdatesTransactionTreeByOffsetOffsetResponse parses an HTTP response from a GetV2UpdatesTransactionTreeByOffsetOffsetWithResponse call

func (GetV2UpdatesTransactionTreeByOffsetOffsetResponse) Status

Status returns HTTPResponse.Status

func (GetV2UpdatesTransactionTreeByOffsetOffsetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2UsersParams

type GetV2UsersParams struct {
	// PageSize maximum number of elements in a returned page
	PageSize *int32 `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken token - to continue results from a given page, leave empty to start from the beginning of the list, obtain token from the result of previous page
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

GetV2UsersParams defines parameters for GetV2Users.

type GetV2UsersResponse

type GetV2UsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListUsersResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2UsersResponse

func ParseGetV2UsersResponse(rsp *http.Response) (*GetV2UsersResponse, error)

ParseGetV2UsersResponse parses an HTTP response from a GetV2UsersWithResponse call

func (GetV2UsersResponse) Status

func (r GetV2UsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2UsersResponse) StatusCode

func (r GetV2UsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2UsersUserIdResponse

type GetV2UsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetUserResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2UsersUserIdResponse

func ParseGetV2UsersUserIdResponse(rsp *http.Response) (*GetV2UsersUserIdResponse, error)

ParseGetV2UsersUserIdResponse parses an HTTP response from a GetV2UsersUserIdWithResponse call

func (GetV2UsersUserIdResponse) Status

func (r GetV2UsersUserIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2UsersUserIdResponse) StatusCode

func (r GetV2UsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2UsersUserIdRightsResponse

type GetV2UsersUserIdRightsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListUserRightsResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2UsersUserIdRightsResponse

func ParseGetV2UsersUserIdRightsResponse(rsp *http.Response) (*GetV2UsersUserIdRightsResponse, error)

ParseGetV2UsersUserIdRightsResponse parses an HTTP response from a GetV2UsersUserIdRightsWithResponse call

func (GetV2UsersUserIdRightsResponse) Status

Status returns HTTPResponse.Status

func (GetV2UsersUserIdRightsResponse) StatusCode

func (r GetV2UsersUserIdRightsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2VersionResponse

type GetV2VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetLedgerApiVersionResponse
	JSONDefault  *JsCantonError
}

func ParseGetV2VersionResponse

func ParseGetV2VersionResponse(rsp *http.Response) (*GetV2VersionResponse, error)

ParseGetV2VersionResponse parses an HTTP response from a GetV2VersionWithResponse call

func (GetV2VersionResponse) Status

func (r GetV2VersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2VersionResponse) StatusCode

func (r GetV2VersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GrantUserRightsRequest

type GrantUserRightsRequest struct {
	// IdentityProviderId The id of the “Identity Provider“
	// Optional, if not set, assume the user is managed by the default identity provider.
	IdentityProviderId string `json:"identityProviderId"`

	// Rights The rights to grant.
	// Optional
	Rights *[]Right `json:"rights,omitempty"`

	// UserId The user to whom to grant rights.
	// Required
	UserId string `json:"userId"`
}

GrantUserRightsRequest Add the rights to the set of rights granted to the user.

Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“

type GrantUserRightsResponse

type GrantUserRightsResponse struct {
	// NewlyGrantedRights The rights that were newly granted by the request.
	NewlyGrantedRights *[]Right `json:"newlyGrantedRights,omitempty"`
}

GrantUserRightsResponse defines model for GrantUserRightsResponse.

type HASHINGSCHEMEVERSIONUNSPECIFIED

type HASHINGSCHEMEVERSIONUNSPECIFIED = map[string]interface{}

HASHINGSCHEMEVERSIONUNSPECIFIED defines model for HASHING_SCHEME_VERSION_UNSPECIFIED.

type HASHINGSCHEMEVERSIONV2

type HASHINGSCHEMEVERSIONV2 = map[string]interface{}

HASHINGSCHEMEVERSIONV2 defines model for HASHING_SCHEME_VERSION_V2.

type HashingSchemeVersion

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

HashingSchemeVersion defines model for HashingSchemeVersion.

func (HashingSchemeVersion) AsHashingSchemeVersion0

func (t HashingSchemeVersion) AsHashingSchemeVersion0() (HashingSchemeVersion0, error)

AsHashingSchemeVersion0 returns the union data inside the HashingSchemeVersion as a HashingSchemeVersion0

func (HashingSchemeVersion) AsHashingSchemeVersion1

func (t HashingSchemeVersion) AsHashingSchemeVersion1() (HashingSchemeVersion1, error)

AsHashingSchemeVersion1 returns the union data inside the HashingSchemeVersion as a HashingSchemeVersion1

func (HashingSchemeVersion) AsHashingSchemeVersion2

func (t HashingSchemeVersion) AsHashingSchemeVersion2() (HashingSchemeVersion2, error)

AsHashingSchemeVersion2 returns the union data inside the HashingSchemeVersion as a HashingSchemeVersion2

func (HashingSchemeVersion) AsHashingSchemeVersion3

func (t HashingSchemeVersion) AsHashingSchemeVersion3() (HashingSchemeVersion3, error)

AsHashingSchemeVersion3 returns the union data inside the HashingSchemeVersion as a HashingSchemeVersion3

func (*HashingSchemeVersion) FromHashingSchemeVersion0

func (t *HashingSchemeVersion) FromHashingSchemeVersion0(v HashingSchemeVersion0) error

FromHashingSchemeVersion0 overwrites any union data inside the HashingSchemeVersion as the provided HashingSchemeVersion0

func (*HashingSchemeVersion) FromHashingSchemeVersion1

func (t *HashingSchemeVersion) FromHashingSchemeVersion1(v HashingSchemeVersion1) error

FromHashingSchemeVersion1 overwrites any union data inside the HashingSchemeVersion as the provided HashingSchemeVersion1

func (*HashingSchemeVersion) FromHashingSchemeVersion2

func (t *HashingSchemeVersion) FromHashingSchemeVersion2(v HashingSchemeVersion2) error

FromHashingSchemeVersion2 overwrites any union data inside the HashingSchemeVersion as the provided HashingSchemeVersion2

func (*HashingSchemeVersion) FromHashingSchemeVersion3

func (t *HashingSchemeVersion) FromHashingSchemeVersion3(v HashingSchemeVersion3) error

FromHashingSchemeVersion3 overwrites any union data inside the HashingSchemeVersion as the provided HashingSchemeVersion3

func (HashingSchemeVersion) MarshalJSON

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

func (*HashingSchemeVersion) MergeHashingSchemeVersion0

func (t *HashingSchemeVersion) MergeHashingSchemeVersion0(v HashingSchemeVersion0) error

MergeHashingSchemeVersion0 performs a merge with any union data inside the HashingSchemeVersion, using the provided HashingSchemeVersion0

func (*HashingSchemeVersion) MergeHashingSchemeVersion1

func (t *HashingSchemeVersion) MergeHashingSchemeVersion1(v HashingSchemeVersion1) error

MergeHashingSchemeVersion1 performs a merge with any union data inside the HashingSchemeVersion, using the provided HashingSchemeVersion1

func (*HashingSchemeVersion) MergeHashingSchemeVersion2

func (t *HashingSchemeVersion) MergeHashingSchemeVersion2(v HashingSchemeVersion2) error

MergeHashingSchemeVersion2 performs a merge with any union data inside the HashingSchemeVersion, using the provided HashingSchemeVersion2

func (*HashingSchemeVersion) MergeHashingSchemeVersion3

func (t *HashingSchemeVersion) MergeHashingSchemeVersion3(v HashingSchemeVersion3) error

MergeHashingSchemeVersion3 performs a merge with any union data inside the HashingSchemeVersion, using the provided HashingSchemeVersion3

func (*HashingSchemeVersion) UnmarshalJSON

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

type HashingSchemeVersion0

type HashingSchemeVersion0 struct {
	HASHINGSCHEMEVERSIONUNSPECIFIED HASHINGSCHEMEVERSIONUNSPECIFIED `json:"HASHING_SCHEME_VERSION_UNSPECIFIED"`
}

HashingSchemeVersion0 defines model for .

type HashingSchemeVersion1

type HashingSchemeVersion1 struct {
	HASHINGSCHEMEVERSIONV2 HASHINGSCHEMEVERSIONV2 `json:"HASHING_SCHEME_VERSION_V2"`
}

HashingSchemeVersion1 defines model for .

type HashingSchemeVersion2

type HashingSchemeVersion2 struct {
	Recognized Recognized2 `json:"Recognized"`
}

HashingSchemeVersion2 defines model for .

type HashingSchemeVersion3

type HashingSchemeVersion3 struct {
	Unrecognized Unrecognized3 `json:"Unrecognized"`
}

HashingSchemeVersion3 defines model for .

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Identifier

type Identifier struct {
	EntityName string `json:"entityName"`
	ModuleName string `json:"moduleName"`
	PackageId  string `json:"packageId"`
}

Identifier defines model for Identifier.

type IdentifierFilter

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

IdentifierFilter defines model for IdentifierFilter.

func (IdentifierFilter) AsIdentifierFilter0

func (t IdentifierFilter) AsIdentifierFilter0() (IdentifierFilter0, error)

AsIdentifierFilter0 returns the union data inside the IdentifierFilter as a IdentifierFilter0

func (IdentifierFilter) AsIdentifierFilter1

func (t IdentifierFilter) AsIdentifierFilter1() (IdentifierFilter1, error)

AsIdentifierFilter1 returns the union data inside the IdentifierFilter as a IdentifierFilter1

func (IdentifierFilter) AsIdentifierFilter2

func (t IdentifierFilter) AsIdentifierFilter2() (IdentifierFilter2, error)

AsIdentifierFilter2 returns the union data inside the IdentifierFilter as a IdentifierFilter2

func (IdentifierFilter) AsIdentifierFilter3

func (t IdentifierFilter) AsIdentifierFilter3() (IdentifierFilter3, error)

AsIdentifierFilter3 returns the union data inside the IdentifierFilter as a IdentifierFilter3

func (*IdentifierFilter) FromIdentifierFilter0

func (t *IdentifierFilter) FromIdentifierFilter0(v IdentifierFilter0) error

FromIdentifierFilter0 overwrites any union data inside the IdentifierFilter as the provided IdentifierFilter0

func (*IdentifierFilter) FromIdentifierFilter1

func (t *IdentifierFilter) FromIdentifierFilter1(v IdentifierFilter1) error

FromIdentifierFilter1 overwrites any union data inside the IdentifierFilter as the provided IdentifierFilter1

func (*IdentifierFilter) FromIdentifierFilter2

func (t *IdentifierFilter) FromIdentifierFilter2(v IdentifierFilter2) error

FromIdentifierFilter2 overwrites any union data inside the IdentifierFilter as the provided IdentifierFilter2

func (*IdentifierFilter) FromIdentifierFilter3

func (t *IdentifierFilter) FromIdentifierFilter3(v IdentifierFilter3) error

FromIdentifierFilter3 overwrites any union data inside the IdentifierFilter as the provided IdentifierFilter3

func (IdentifierFilter) MarshalJSON

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

func (*IdentifierFilter) MergeIdentifierFilter0

func (t *IdentifierFilter) MergeIdentifierFilter0(v IdentifierFilter0) error

MergeIdentifierFilter0 performs a merge with any union data inside the IdentifierFilter, using the provided IdentifierFilter0

func (*IdentifierFilter) MergeIdentifierFilter1

func (t *IdentifierFilter) MergeIdentifierFilter1(v IdentifierFilter1) error

MergeIdentifierFilter1 performs a merge with any union data inside the IdentifierFilter, using the provided IdentifierFilter1

func (*IdentifierFilter) MergeIdentifierFilter2

func (t *IdentifierFilter) MergeIdentifierFilter2(v IdentifierFilter2) error

MergeIdentifierFilter2 performs a merge with any union data inside the IdentifierFilter, using the provided IdentifierFilter2

func (*IdentifierFilter) MergeIdentifierFilter3

func (t *IdentifierFilter) MergeIdentifierFilter3(v IdentifierFilter3) error

MergeIdentifierFilter3 performs a merge with any union data inside the IdentifierFilter, using the provided IdentifierFilter3

func (*IdentifierFilter) UnmarshalJSON

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

type IdentifierFilter0

type IdentifierFilter0 struct {
	Empty Empty1 `json:"Empty"`
}

IdentifierFilter0 defines model for .

type IdentifierFilter1

type IdentifierFilter1 struct {
	// InterfaceFilter This filter matches contracts that implement a specific interface.
	InterfaceFilter InterfaceFilter `json:"InterfaceFilter"`
}

IdentifierFilter1 defines model for .

type IdentifierFilter2

type IdentifierFilter2 struct {
	// TemplateFilter This filter matches contracts of a specific template.
	TemplateFilter TemplateFilter `json:"TemplateFilter"`
}

IdentifierFilter2 defines model for .

type IdentifierFilter3

type IdentifierFilter3 struct {
	// WildcardFilter This filter matches all templates.
	WildcardFilter WildcardFilter `json:"WildcardFilter"`
}

IdentifierFilter3 defines model for .

type IdentityProviderAdmin

type IdentityProviderAdmin struct {
	Value IdentityProviderAdmin1 `json:"value"`
}

IdentityProviderAdmin defines model for IdentityProviderAdmin.

type IdentityProviderAdmin1

type IdentityProviderAdmin1 = map[string]interface{}

IdentityProviderAdmin1 defines model for IdentityProviderAdmin1.

type IdentityProviderConfig

type IdentityProviderConfig struct {
	// Audience Specifies the audience of the JWT token.
	// When set, the callers using JWT tokens issued by this identity provider are allowed to get an access
	// only if the "aud" claim includes the string specified here
	// Optional,
	// Modifiable
	Audience string `json:"audience"`

	// IdentityProviderId The identity provider identifier
	// Must be a valid LedgerString (as describe in “value.proto“).
	// Required
	IdentityProviderId string `json:"identityProviderId"`

	// IsDeactivated When set, the callers using JWT tokens issued by this identity provider are denied all access
	// to the Ledger API.
	// Optional,
	// Modifiable
	IsDeactivated bool `json:"isDeactivated"`

	// Issuer Specifies the issuer of the JWT token.
	// The issuer value is a case sensitive URL using the https scheme that contains scheme, host,
	// and optionally, port number and path components and no query or fragment components.
	// Required
	// Modifiable
	Issuer string `json:"issuer"`

	// JwksUrl The JWKS (JSON Web Key Set) URL.
	// The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been
	// signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported.
	// Required
	// Modifiable
	JwksUrl string `json:"jwksUrl"`
}

IdentityProviderConfig defines model for IdentityProviderConfig.

type InterfaceFilter

type InterfaceFilter struct {
	// Value This filter matches contracts that implement a specific interface.
	Value InterfaceFilter1 `json:"value"`
}

InterfaceFilter This filter matches contracts that implement a specific interface.

type InterfaceFilter1

type InterfaceFilter1 struct {
	// IncludeCreatedEventBlob Whether to include a “created_event_blob“ in the returned “CreatedEvent“.
	// Use this to access the contract create event payload in your API client
	// for submitting it as a disclosed contract with future commands.
	// Optional
	IncludeCreatedEventBlob bool `json:"includeCreatedEventBlob"`

	// IncludeInterfaceView Whether to include the interface view on the contract in the returned “CreatedEvent“.
	// Use this to access contract data in a uniform manner in your API client.
	// Optional
	IncludeInterfaceView bool `json:"includeInterfaceView"`

	// InterfaceId The interface that a matching contract must implement.
	// The “interface_id“ needs to be valid: corresponding interface should be defined in
	// one of the available packages at the time of the query.
	// Both package-name and package-id reference formats for the identifier are supported.
	// Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
	//
	// Required
	InterfaceId *string `json:"interfaceId,omitempty"`
}

InterfaceFilter1 This filter matches contracts that implement a specific interface.

type JsActiveContract

type JsActiveContract struct {
	// CreatedEvent Records that a contract has been created, and choices may now be exercised on it.
	CreatedEvent CreatedEvent `json:"createdEvent"`

	// ReassignmentCounter Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
	// with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
	// equals zero.
	// This field will be the reassignment_counter of the latest observable activation event on this synchronizer, which is
	// before the active_at_offset.
	// Required
	ReassignmentCounter int64 `json:"reassignmentCounter"`

	// SynchronizerId A valid synchronizer id
	// Required
	SynchronizerId string `json:"synchronizerId"`
}

JsActiveContract defines model for JsActiveContract.

type JsArchived

type JsArchived struct {
	// ArchivedEvent Records that a contract has been archived, and choices may no longer be exercised on it.
	ArchivedEvent ArchivedEvent `json:"archivedEvent"`

	// SynchronizerId Required
	// The synchronizer which sequenced the archival of the contract
	SynchronizerId string `json:"synchronizerId"`
}

JsArchived defines model for JsArchived.

type JsAssignedEvent

type JsAssignedEvent struct {
	// CreatedEvent Records that a contract has been created, and choices may now be exercised on it.
	CreatedEvent CreatedEvent `json:"createdEvent"`

	// ReassignmentCounter Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
	// with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
	// equals zero.
	// Required
	ReassignmentCounter int64 `json:"reassignmentCounter"`

	// Source The ID of the source synchronizer.
	// Must be a valid synchronizer id.
	// Required
	Source string `json:"source"`

	// Submitter Party on whose behalf the assign command was executed.
	// Empty if the assignment happened offline via the repair service.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Optional
	Submitter string `json:"submitter"`

	// Target The ID of the target synchronizer.
	// Must be a valid synchronizer id.
	// Required
	Target string `json:"target"`

	// UnassignId The ID from the unassigned event.
	// For correlation capabilities.
	// For one contract the (unassign_id, source synchronizer) pair is unique.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UnassignId string `json:"unassignId"`
}

JsAssignedEvent Records that a contract has been assigned, and it can be used on the target synchronizer.

type JsAssignmentEvent

type JsAssignmentEvent struct {
	// CreatedEvent Records that a contract has been created, and choices may now be exercised on it.
	CreatedEvent        CreatedEvent `json:"createdEvent"`
	ReassignmentCounter int64        `json:"reassignmentCounter"`
	Source              string       `json:"source"`
	Submitter           string       `json:"submitter"`
	Target              string       `json:"target"`
	UnassignId          string       `json:"unassignId"`
}

JsAssignmentEvent defines model for JsAssignmentEvent.

type JsCantonError

type JsCantonError struct {
	Cause          string                `json:"cause"`
	Code           string                `json:"code"`
	Context        MapString             `json:"context"`
	CorrelationId  *string               `json:"correlationId,omitempty"`
	DefiniteAnswer *bool                 `json:"definiteAnswer,omitempty"`
	ErrorCategory  int32                 `json:"errorCategory"`
	GrpcCodeValue  *int32                `json:"grpcCodeValue,omitempty"`
	Resources      *[]Tuple2StringString `json:"resources,omitempty"`
	RetryInfo      *string               `json:"retryInfo,omitempty"`
	TraceId        *string               `json:"traceId,omitempty"`
}

JsCantonError defines model for JsCantonError.

type JsCommands

type JsCommands struct {
	// ActAs Set of parties on whose behalf the command should be executed.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to act on behalf of each of the given parties.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Required, must be non-empty.
	ActAs *[]string `json:"actAs,omitempty"`

	// CommandId Uniquely identifies the command.
	// The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
	// where act_as is interpreted as a set of party names.
	// The change ID can be used for matching the intended ledger changes with all their completions.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	CommandId string `json:"commandId"`

	// Commands Individual elements of this atomic command. Must be non-empty.
	// Required
	Commands *[]Command `json:"commands,omitempty"`

	// DeduplicationPeriod Specifies the deduplication period for the change ID.
	// If omitted, the participant will assume the configured maximum deduplication time.
	DeduplicationPeriod *DeduplicationPeriod `json:"deduplicationPeriod,omitempty"`

	// DisclosedContracts Additional contracts used to resolve contract & contract key lookups.
	// Optional
	DisclosedContracts *[]DisclosedContract `json:"disclosedContracts,omitempty"`

	// MinLedgerTimeAbs Lower bound for the ledger time assigned to the resulting transaction.
	// Note: The ledger time of a transaction is assigned as part of command interpretation.
	// Use this property if you expect that command interpretation will take a considerate amount of time, such that by
	// the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
	// Must not be set at the same time as min_ledger_time_rel.
	// Optional
	MinLedgerTimeAbs *string   `json:"minLedgerTimeAbs,omitempty"`
	MinLedgerTimeRel *Duration `json:"minLedgerTimeRel,omitempty"`

	// PackageIdSelectionPreference The package-id selection preference of the client for resolving
	// package names and interface instances in command submission and interpretation
	PackageIdSelectionPreference *[]string `json:"packageIdSelectionPreference,omitempty"`

	// ReadAs Set of parties on whose behalf (in addition to all parties listed in “act_as“) contracts can be retrieved.
	// This affects Daml operations such as “fetch“, “fetchByKey“, “lookupByKey“, “exercise“, and “exerciseByKey“.
	// Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant
	// node is only visible to a subset of these parties. A command can only use contracts that are visible to at least
	// one of the parties in “act_as“ or “read_as“. This visibility check is independent from the Daml authorization
	// rules for fetch operations.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to read contract data on behalf of each of the given parties.
	// Optional
	ReadAs *[]string `json:"readAs,omitempty"`

	// SubmissionId A unique identifier to distinguish completions for different submissions with the same change ID.
	// Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
	// with the same change ID.
	// Must be a valid LedgerString (as described in “value.proto“).
	//
	// If omitted, the participant or the committer may set a value of their choice.
	// Optional
	SubmissionId *string `json:"submissionId,omitempty"`

	// SynchronizerId Must be a valid synchronizer id
	// Optional
	SynchronizerId *string `json:"synchronizerId,omitempty"`

	// UserId Uniquely identifies the participant user that issued the command.
	// Must be a valid UserIdString (as described in “value.proto“).
	// Required unless authentication is used with a user token.
	// In that case, the token's user-id will be used for the request's user_id.
	UserId *string `json:"userId,omitempty"`

	// WorkflowId Identifier of the on-ledger workflow that this command is a part of.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId *string `json:"workflowId,omitempty"`
}

JsCommands A composite command that groups multiple commands together.

type JsContractEntry

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

JsContractEntry For a contract there could be multiple contract_entry-s in the entire snapshot. These together define the state of one contract in the snapshot. A contract_entry is included in the result, if and only if there is at least one stakeholder party of the contract that is hosted on the synchronizer at the time of the event and the party satisfies the “TransactionFilter“ in the query.

func (JsContractEntry) AsJsContractEntry0

func (t JsContractEntry) AsJsContractEntry0() (JsContractEntry0, error)

AsJsContractEntry0 returns the union data inside the JsContractEntry as a JsContractEntry0

func (JsContractEntry) AsJsContractEntry1

func (t JsContractEntry) AsJsContractEntry1() (JsContractEntry1, error)

AsJsContractEntry1 returns the union data inside the JsContractEntry as a JsContractEntry1

func (JsContractEntry) AsJsContractEntry2

func (t JsContractEntry) AsJsContractEntry2() (JsContractEntry2, error)

AsJsContractEntry2 returns the union data inside the JsContractEntry as a JsContractEntry2

func (JsContractEntry) AsJsContractEntry3

func (t JsContractEntry) AsJsContractEntry3() (JsContractEntry3, error)

AsJsContractEntry3 returns the union data inside the JsContractEntry as a JsContractEntry3

func (*JsContractEntry) FromJsContractEntry0

func (t *JsContractEntry) FromJsContractEntry0(v JsContractEntry0) error

FromJsContractEntry0 overwrites any union data inside the JsContractEntry as the provided JsContractEntry0

func (*JsContractEntry) FromJsContractEntry1

func (t *JsContractEntry) FromJsContractEntry1(v JsContractEntry1) error

FromJsContractEntry1 overwrites any union data inside the JsContractEntry as the provided JsContractEntry1

func (*JsContractEntry) FromJsContractEntry2

func (t *JsContractEntry) FromJsContractEntry2(v JsContractEntry2) error

FromJsContractEntry2 overwrites any union data inside the JsContractEntry as the provided JsContractEntry2

func (*JsContractEntry) FromJsContractEntry3

func (t *JsContractEntry) FromJsContractEntry3(v JsContractEntry3) error

FromJsContractEntry3 overwrites any union data inside the JsContractEntry as the provided JsContractEntry3

func (JsContractEntry) MarshalJSON

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

func (*JsContractEntry) MergeJsContractEntry0

func (t *JsContractEntry) MergeJsContractEntry0(v JsContractEntry0) error

MergeJsContractEntry0 performs a merge with any union data inside the JsContractEntry, using the provided JsContractEntry0

func (*JsContractEntry) MergeJsContractEntry1

func (t *JsContractEntry) MergeJsContractEntry1(v JsContractEntry1) error

MergeJsContractEntry1 performs a merge with any union data inside the JsContractEntry, using the provided JsContractEntry1

func (*JsContractEntry) MergeJsContractEntry2

func (t *JsContractEntry) MergeJsContractEntry2(v JsContractEntry2) error

MergeJsContractEntry2 performs a merge with any union data inside the JsContractEntry, using the provided JsContractEntry2

func (*JsContractEntry) MergeJsContractEntry3

func (t *JsContractEntry) MergeJsContractEntry3(v JsContractEntry3) error

MergeJsContractEntry3 performs a merge with any union data inside the JsContractEntry, using the provided JsContractEntry3

func (*JsContractEntry) UnmarshalJSON

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

type JsContractEntry0

type JsContractEntry0 struct {
	JsActiveContract JsActiveContract `json:"JsActiveContract"`
}

JsContractEntry0 defines model for .

type JsContractEntry1

type JsContractEntry1 struct {
	JsEmpty JsEmpty `json:"JsEmpty"`
}

JsContractEntry1 defines model for .

type JsContractEntry2

type JsContractEntry2 struct {
	JsIncompleteAssigned JsIncompleteAssigned `json:"JsIncompleteAssigned"`
}

JsContractEntry2 defines model for .

type JsContractEntry3

type JsContractEntry3 struct {
	JsIncompleteUnassigned JsIncompleteUnassigned `json:"JsIncompleteUnassigned"`
}

JsContractEntry3 defines model for .

type JsCreated

type JsCreated struct {
	// CreatedEvent Records that a contract has been created, and choices may now be exercised on it.
	CreatedEvent CreatedEvent `json:"createdEvent"`

	// SynchronizerId The synchronizer which sequenced the creation of the contract
	// Required
	SynchronizerId string `json:"synchronizerId"`
}

JsCreated defines model for JsCreated.

type JsEmpty

type JsEmpty = map[string]interface{}

JsEmpty defines model for JsEmpty.

type JsExecuteSubmissionRequest

type JsExecuteSubmissionRequest struct {
	// TransactionDeduplicationPeriod Specifies the deduplication period for the change ID.
	// If omitted, the participant will assume the configured maximum deduplication time.
	TransactionDeduplicationPeriod TransactionDeduplicationPeriod `json:"deduplicationPeriod"`
	HashingSchemeVersion           HashingSchemeVersion           `json:"hashingSchemeVersion"`

	// PartySignatures Additional signatures provided by the submitting parties
	PartySignatures *PartySignatures `json:"partySignatures,omitempty"`

	// PreparedTransaction the prepared transaction
	// Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`
	// obtained from calling `prepareSubmission`.
	PreparedTransaction *string `json:"preparedTransaction,omitempty"`

	// SubmissionId A unique identifier to distinguish completions for different submissions with the same change ID.
	// Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
	// with the same change ID.
	// Must be a valid LedgerString (as described in “value.proto“).
	//
	// Required
	SubmissionId string `json:"submissionId"`

	// UserId See [PrepareSubmissionRequest.user_id]
	UserId string `json:"userId"`
}

JsExecuteSubmissionRequest defines model for JsExecuteSubmissionRequest.

type JsGetActiveContractsResponse

type JsGetActiveContractsResponse struct {
	// ContractEntry For a contract there could be multiple contract_entry-s in the entire snapshot. These together define
	// the state of one contract in the snapshot.
	// A contract_entry is included in the result, if and only if there is at least one stakeholder party of the contract
	// that is hosted on the synchronizer at the time of the event and the party satisfies the
	// “TransactionFilter“ in the query.
	ContractEntry JsContractEntry `json:"contractEntry"`

	// WorkflowId The workflow ID used in command submission which corresponds to the contract_entry. Only set if
	// the “workflow_id“ for the command was set.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `json:"workflowId"`
}

JsGetActiveContractsResponse defines model for JsGetActiveContractsResponse.

type JsGetEventsByContractIdResponse

type JsGetEventsByContractIdResponse struct {
	Archived *JsArchived `json:"archived,omitempty"`
	Created  *JsCreated  `json:"created,omitempty"`
}

JsGetEventsByContractIdResponse defines model for JsGetEventsByContractIdResponse.

type JsGetTransactionResponse

type JsGetTransactionResponse struct {
	// Transaction Filtered view of an on-ledger transaction's create and archive events.
	Transaction JsTransaction `json:"transaction"`
}

JsGetTransactionResponse Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.

type JsGetTransactionTreeResponse

type JsGetTransactionTreeResponse struct {
	// Transaction Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// Complete view of an on-ledger transaction.
	Transaction JsTransactionTree `json:"transaction"`
}

JsGetTransactionTreeResponse Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.

type JsGetUpdateResponse

type JsGetUpdateResponse struct {
	// Update The update that matches the filter in the request.
	Update Update `json:"update"`
}

JsGetUpdateResponse defines model for JsGetUpdateResponse.

type JsGetUpdateTreesResponse

type JsGetUpdateTreesResponse struct {
	// UpdateUnion The update that matches the filter in the request.
	UpdateUnion UpdateUnion `json:"update"`
}

JsGetUpdateTreesResponse Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.

type JsGetUpdatesResponse

type JsGetUpdatesResponse struct {
	// Update The update that matches the filter in the request.
	Update Update `json:"update"`
}

JsGetUpdatesResponse defines model for JsGetUpdatesResponse.

type JsIncompleteAssigned

type JsIncompleteAssigned struct {
	// AssignedEvent Records that a contract has been assigned, and it can be used on the target synchronizer.
	AssignedEvent JsAssignedEvent `json:"assignedEvent"`
}

JsIncompleteAssigned defines model for JsIncompleteAssigned.

type JsIncompleteUnassigned

type JsIncompleteUnassigned struct {
	// CreatedEvent Records that a contract has been created, and choices may now be exercised on it.
	CreatedEvent CreatedEvent `json:"createdEvent"`

	// UnassignedEvent Records that a contract has been unassigned, and it becomes unusable on the source synchronizer
	UnassignedEvent UnassignedEvent `json:"unassignedEvent"`
}

JsIncompleteUnassigned defines model for JsIncompleteUnassigned.

type JsInterfaceView

type JsInterfaceView struct {
	// InterfaceId The interface implemented by the matched event.
	// The identifier uses the package-id reference format.
	//
	// Required
	InterfaceId string   `json:"interfaceId"`
	ViewStatus  JsStatus `json:"viewStatus"`

	// ViewValue The value of the interface's view method on this event.
	// Set if it was requested in the “InterfaceFilter“ and it could be
	// sucessfully computed.
	// Optional
	ViewValue interface{} `json:"viewValue,omitempty"`
}

JsInterfaceView View of a create event matched by an interface filter.

type JsPrepareSubmissionRequest

type JsPrepareSubmissionRequest struct {
	// ActAs Set of parties on whose behalf the command should be executed, if submitted.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
	// and does not execute it. Therefore read authorization is sufficient even for actAs parties.
	// Note: This may change, and more specific authorization scope may be introduced in the future.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Required, must be non-empty.
	ActAs *[]string `json:"actAs,omitempty"`

	// CommandId Uniquely identifies the command.
	// The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
	// where act_as is interpreted as a set of party names.
	// The change ID can be used for matching the intended ledger changes with all their completions.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	CommandId string `json:"commandId"`

	// Commands Individual elements of this atomic command. Must be non-empty.
	// Required
	Commands *[]Command `json:"commands,omitempty"`

	// DisclosedContracts Additional contracts used to resolve contract & contract key lookups.
	// Optional
	DisclosedContracts *[]DisclosedContract `json:"disclosedContracts,omitempty"`
	MinLedgerTime      *MinLedgerTime       `json:"minLedgerTime,omitempty"`

	// PackageIdSelectionPreference The package-id selection preference of the client for resolving
	// package names and interface instances in command submission and interpretation
	PackageIdSelectionPreference *[]string `json:"packageIdSelectionPreference,omitempty"`

	// ReadAs Set of parties on whose behalf (in addition to all parties listed in “act_as“) contracts can be retrieved.
	// This affects Daml operations such as “fetch“, “fetchByKey“, “lookupByKey“, “exercise“, and “exerciseByKey“.
	// Note: A command can only use contracts that are visible to at least
	// one of the parties in “act_as“ or “read_as“. This visibility check is independent from the Daml authorization
	// rules for fetch operations.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to read contract data on behalf of each of the given parties.
	// Optional
	ReadAs *[]string `json:"readAs,omitempty"`

	// SynchronizerId Must be a valid synchronizer id
	// Required
	SynchronizerId string `json:"synchronizerId"`

	// UserId Uniquely identifies the participant user that prepares the transaction.
	// Must be a valid UserIdString (as described in “value.proto“).
	// Required unless authentication is used with a user token.
	// In that case, the token's user-id will be used for the request's user_id.
	UserId string `json:"userId"`

	// VerboseHashing When true, the response will contain additional details on how the transaction was encoded and hashed
	// This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
	VerboseHashing bool `json:"verboseHashing"`
}

JsPrepareSubmissionRequest defines model for JsPrepareSubmissionRequest.

type JsPrepareSubmissionResponse

type JsPrepareSubmissionResponse struct {
	// HashingDetails Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request
	// Note that there are no guarantees on the stability of the format or content of this field.
	// Its content should NOT be parsed and should only be used for troubleshooting purposes.
	HashingDetails       *string              `json:"hashingDetails,omitempty"`
	HashingSchemeVersion HashingSchemeVersion `json:"hashingSchemeVersion"`

	// PreparedTransaction The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.
	// Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
	PreparedTransaction *string `json:"preparedTransaction,omitempty"`

	// PreparedTransactionHash Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.
	// Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted.
	// May be removed in future versions
	PreparedTransactionHash string `json:"preparedTransactionHash"`
}

JsPrepareSubmissionResponse [docs-entry-end: HashingSchemeVersion]

type JsReassignment

type JsReassignment struct {
	// CommandId The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	CommandId string `json:"commandId"`

	// Events The collection of reassignment events. Required.
	Events *[]JsReassignmentEvent `json:"events,omitempty"`

	// Offset The participant's offset. The details of this field are described in “community/ledger-api/README.md“.
	// Required, must be a valid absolute offset (positive integer).
	Offset int64 `json:"offset"`

	// RecordTime The time at which the reassignment was recorded. The record time refers to the source/target
	// synchronizer for an unassign/assign event respectively.
	// Required
	RecordTime   string        `json:"recordTime"`
	TraceContext *TraceContext `json:"traceContext,omitempty"`

	// UpdateId Assigned by the server. Useful for correlating logs.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`

	// WorkflowId The workflow ID used in reassignment command submission. Only set if the “workflow_id“ for the command was set.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `json:"workflowId"`
}

JsReassignment Complete view of an on-ledger reassignment.

type JsReassignmentEvent

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

JsReassignmentEvent defines model for JsReassignmentEvent.

func (JsReassignmentEvent) AsJsAssignmentEvent

func (t JsReassignmentEvent) AsJsAssignmentEvent() (JsAssignmentEvent, error)

AsJsAssignmentEvent returns the union data inside the JsReassignmentEvent as a JsAssignmentEvent

func (JsReassignmentEvent) AsJsUnassignedEvent

func (t JsReassignmentEvent) AsJsUnassignedEvent() (JsUnassignedEvent, error)

AsJsUnassignedEvent returns the union data inside the JsReassignmentEvent as a JsUnassignedEvent

func (*JsReassignmentEvent) FromJsAssignmentEvent

func (t *JsReassignmentEvent) FromJsAssignmentEvent(v JsAssignmentEvent) error

FromJsAssignmentEvent overwrites any union data inside the JsReassignmentEvent as the provided JsAssignmentEvent

func (*JsReassignmentEvent) FromJsUnassignedEvent

func (t *JsReassignmentEvent) FromJsUnassignedEvent(v JsUnassignedEvent) error

FromJsUnassignedEvent overwrites any union data inside the JsReassignmentEvent as the provided JsUnassignedEvent

func (JsReassignmentEvent) MarshalJSON

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

func (*JsReassignmentEvent) MergeJsAssignmentEvent

func (t *JsReassignmentEvent) MergeJsAssignmentEvent(v JsAssignmentEvent) error

MergeJsAssignmentEvent performs a merge with any union data inside the JsReassignmentEvent, using the provided JsAssignmentEvent

func (*JsReassignmentEvent) MergeJsUnassignedEvent

func (t *JsReassignmentEvent) MergeJsUnassignedEvent(v JsUnassignedEvent) error

MergeJsUnassignedEvent performs a merge with any union data inside the JsReassignmentEvent, using the provided JsUnassignedEvent

func (*JsReassignmentEvent) UnmarshalJSON

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

type JsStatus

type JsStatus struct {
	Code          int32   `json:"code"`
	Details       *[]Any  `json:"details,omitempty"`
	Message       string  `json:"message"`
	UnknownFields *string `json:"unknownFields,omitempty"`
}

JsStatus defines model for JsStatus.

type JsSubmitAndWaitForReassignmentResponse

type JsSubmitAndWaitForReassignmentResponse struct {
	// Reassignment Complete view of an on-ledger reassignment.
	Reassignment JsReassignment `json:"reassignment"`
}

JsSubmitAndWaitForReassignmentResponse defines model for JsSubmitAndWaitForReassignmentResponse.

type JsSubmitAndWaitForTransactionRequest

type JsSubmitAndWaitForTransactionRequest struct {
	// Commands A composite command that groups multiple commands together.
	Commands JsCommands `json:"commands"`

	// TransactionFormat A format that specifies what events to include in Daml transactions
	// and what data to compute and include for them.
	TransactionFormat TransactionFormat `json:"transactionFormat"`
}

JsSubmitAndWaitForTransactionRequest These commands are executed as a single atomic transaction.

type JsSubmitAndWaitForTransactionResponse

type JsSubmitAndWaitForTransactionResponse struct {
	// Transaction Filtered view of an on-ledger transaction's create and archive events.
	Transaction JsTransaction `json:"transaction"`
}

JsSubmitAndWaitForTransactionResponse defines model for JsSubmitAndWaitForTransactionResponse.

type JsSubmitAndWaitForTransactionTreeResponse

type JsSubmitAndWaitForTransactionTreeResponse struct {
	// TransactionTree Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// Complete view of an on-ledger transaction.
	TransactionTree JsTransactionTree `json:"transactionTree"`
}

JsSubmitAndWaitForTransactionTreeResponse Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.

type JsTopologyTransaction

type JsTopologyTransaction struct {
	// Events A non-empty list of topology events.
	// Required
	Events *[]ParticipantEvent `json:"events,omitempty"`

	// Offset The absolute offset. The details of this field are described in “community/ledger-api/README.md“.
	// Required, it is a valid absolute offset (positive integer).
	Offset int64 `json:"offset"`

	// RecordTime The time at which the changes in the topology transaction become effective. There is a small delay between a
	// topology transaction being sequenced and the changes it contains becoming effective. Topology transactions appear
	// in order relative to a synchronizer based on their effective time rather than their sequencing time.
	// Required
	RecordTime string `json:"recordTime"`

	// SynchronizerId A valid synchronizer id.
	// Identifies the synchronizer that synchronized the topology transaction.
	// Required
	SynchronizerId string        `json:"synchronizerId"`
	TraceContext   *TraceContext `json:"traceContext,omitempty"`

	// UpdateId Assigned by the server. Useful for correlating logs.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`
}

JsTopologyTransaction defines model for JsTopologyTransaction.

type JsTransaction

type JsTransaction struct {
	// CommandId The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	CommandId string `json:"commandId"`

	// EffectiveAt Ledger effective time.
	// Required
	EffectiveAt string `json:"effectiveAt"`

	// Events The collection of events.
	// Contains:
	//
	// - “CreatedEvent“ or “ArchivedEvent“ in case of ACS_DELTA transaction shape
	// - “CreatedEvent“ or “ExercisedEvent“ in case of LEDGER_EFFECTS transaction shape
	//
	// Required
	Events *[]Event `json:"events,omitempty"`

	// Offset The absolute offset. The details of this field are described in “community/ledger-api/README.md“.
	// Required, it is a valid absolute offset (positive integer).
	Offset int64 `json:"offset"`

	// RecordTime The time at which the transaction was recorded. The record time refers to the synchronizer
	// which synchronized the transaction.
	// Required
	RecordTime string `json:"recordTime"`

	// SynchronizerId A valid synchronizer id.
	// Identifies the synchronizer that synchronized the transaction.
	// Required
	SynchronizerId string        `json:"synchronizerId"`
	TraceContext   *TraceContext `json:"traceContext,omitempty"`

	// UpdateId Assigned by the server. Useful for correlating logs.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`

	// WorkflowId The workflow ID used in command submission.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `json:"workflowId"`
}

JsTransaction Filtered view of an on-ledger transaction's create and archive events.

type JsTransactionTree

type JsTransactionTree struct {
	// CommandId The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	CommandId string `json:"commandId"`

	// EffectiveAt Ledger effective time.
	// Required
	EffectiveAt *string `json:"effectiveAt,omitempty"`
	EventsById  MapKV   `json:"eventsById"`

	// Offset The absolute offset. The details of this field are described in “community/ledger-api/README.md“.
	// Required, it is a valid absolute offset (positive integer).
	Offset int64 `json:"offset"`

	// RecordTime The time at which the transaction was recorded. The record time refers to the synchronizer
	// which synchronized the transaction.
	// Required
	RecordTime string `json:"recordTime"`

	// SynchronizerId A valid synchronizer id.
	// Identifies the synchronizer that synchronized the transaction.
	// Required
	SynchronizerId string        `json:"synchronizerId"`
	TraceContext   *TraceContext `json:"traceContext,omitempty"`

	// UpdateId Assigned by the server. Useful for correlating logs.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`

	// WorkflowId The workflow ID used in command submission. Only set if the “workflow_id“ for the command was set.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `json:"workflowId"`
}

JsTransactionTree Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Complete view of an on-ledger transaction.

type JsUnassignedEvent

type JsUnassignedEvent struct {
	// Value Records that a contract has been unassigned, and it becomes unusable on the source synchronizer
	Value UnassignedEvent `json:"value"`
}

JsUnassignedEvent Records that a contract has been unassigned, and it becomes unusable on the source synchronizer

type Kind

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

Kind defines model for Kind.

func (Kind) AsKind0

func (t Kind) AsKind0() (Kind0, error)

AsKind0 returns the union data inside the Kind as a Kind0

func (Kind) AsKind1

func (t Kind) AsKind1() (Kind1, error)

AsKind1 returns the union data inside the Kind as a Kind1

func (Kind) AsKind2

func (t Kind) AsKind2() (Kind2, error)

AsKind2 returns the union data inside the Kind as a Kind2

func (Kind) AsKind3

func (t Kind) AsKind3() (Kind3, error)

AsKind3 returns the union data inside the Kind as a Kind3

func (Kind) AsKind4

func (t Kind) AsKind4() (Kind4, error)

AsKind4 returns the union data inside the Kind as a Kind4

func (Kind) AsKind5

func (t Kind) AsKind5() (Kind5, error)

AsKind5 returns the union data inside the Kind as a Kind5

func (*Kind) FromKind0

func (t *Kind) FromKind0(v Kind0) error

FromKind0 overwrites any union data inside the Kind as the provided Kind0

func (*Kind) FromKind1

func (t *Kind) FromKind1(v Kind1) error

FromKind1 overwrites any union data inside the Kind as the provided Kind1

func (*Kind) FromKind2

func (t *Kind) FromKind2(v Kind2) error

FromKind2 overwrites any union data inside the Kind as the provided Kind2

func (*Kind) FromKind3

func (t *Kind) FromKind3(v Kind3) error

FromKind3 overwrites any union data inside the Kind as the provided Kind3

func (*Kind) FromKind4

func (t *Kind) FromKind4(v Kind4) error

FromKind4 overwrites any union data inside the Kind as the provided Kind4

func (*Kind) FromKind5

func (t *Kind) FromKind5(v Kind5) error

FromKind5 overwrites any union data inside the Kind as the provided Kind5

func (Kind) MarshalJSON

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

func (*Kind) MergeKind0

func (t *Kind) MergeKind0(v Kind0) error

MergeKind0 performs a merge with any union data inside the Kind, using the provided Kind0

func (*Kind) MergeKind1

func (t *Kind) MergeKind1(v Kind1) error

MergeKind1 performs a merge with any union data inside the Kind, using the provided Kind1

func (*Kind) MergeKind2

func (t *Kind) MergeKind2(v Kind2) error

MergeKind2 performs a merge with any union data inside the Kind, using the provided Kind2

func (*Kind) MergeKind3

func (t *Kind) MergeKind3(v Kind3) error

MergeKind3 performs a merge with any union data inside the Kind, using the provided Kind3

func (*Kind) MergeKind4

func (t *Kind) MergeKind4(v Kind4) error

MergeKind4 performs a merge with any union data inside the Kind, using the provided Kind4

func (*Kind) MergeKind5

func (t *Kind) MergeKind5(v Kind5) error

MergeKind5 performs a merge with any union data inside the Kind, using the provided Kind5

func (*Kind) UnmarshalJSON

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

type Kind0

type Kind0 struct {
	CanActAs CanActAs `json:"CanActAs"`
}

Kind0 defines model for .

type Kind1

type Kind1 struct {
	CanReadAs CanReadAs `json:"CanReadAs"`
}

Kind1 defines model for .

type Kind2

type Kind2 struct {
	CanReadAsAnyParty CanReadAsAnyParty `json:"CanReadAsAnyParty"`
}

Kind2 defines model for .

type Kind3

type Kind3 struct {
	Empty Empty5 `json:"Empty"`
}

Kind3 defines model for .

type Kind4

type Kind4 struct {
	IdentityProviderAdmin IdentityProviderAdmin `json:"IdentityProviderAdmin"`
}

Kind4 defines model for .

type Kind5

type Kind5 struct {
	ParticipantAdmin ParticipantAdmin `json:"ParticipantAdmin"`
}

Kind5 defines model for .

type ListIdentityProviderConfigsResponse

type ListIdentityProviderConfigsResponse struct {
	IdentityProviderConfigs *[]IdentityProviderConfig `json:"identityProviderConfigs,omitempty"`
}

ListIdentityProviderConfigsResponse defines model for ListIdentityProviderConfigsResponse.

type ListKnownPartiesResponse

type ListKnownPartiesResponse struct {
	// NextPageToken Pagination token to retrieve the next page.
	// Empty, if there are no further results.
	NextPageToken string `json:"nextPageToken"`

	// PartyDetails The details of all Daml parties known by the participant.
	// Required
	PartyDetails *[]PartyDetails `json:"partyDetails,omitempty"`
}

ListKnownPartiesResponse defines model for ListKnownPartiesResponse.

type ListPackagesResponse

type ListPackagesResponse struct {
	// PackageIds The IDs of all Daml-LF packages supported by the server.
	// Each element must be a valid PackageIdString (as described in “value.proto“).
	// Required
	PackageIds *[]string `json:"packageIds,omitempty"`
}

ListPackagesResponse defines model for ListPackagesResponse.

type ListUserRightsResponse

type ListUserRightsResponse struct {
	// Rights All rights of the user.
	Rights *[]Right `json:"rights,omitempty"`
}

ListUserRightsResponse defines model for ListUserRightsResponse.

type ListUsersResponse

type ListUsersResponse struct {
	// NextPageToken Pagination token to retrieve the next page.
	// Empty, if there are no further results.
	NextPageToken string `json:"nextPageToken"`

	// Users A subset of users of the participant node that fit into this page.
	Users *[]User `json:"users,omitempty"`
}

ListUsersResponse defines model for ListUsersResponse.

type MapFilters

type MapFilters map[string]Filters

MapFilters defines model for Map_Filters.

type MapKV

type MapKV map[string]Filters

MapKV defines model for Map_K_V.

type MapString

type MapString map[string]string

MapString defines model for Map_String.

type MinLedgerTime

type MinLedgerTime struct {
	Time Time `json:"time"`
}

MinLedgerTime defines model for MinLedgerTime.

type MinLedgerTimeAbs

type MinLedgerTimeAbs struct {
	Value string `json:"value"`
}

MinLedgerTimeAbs defines model for MinLedgerTimeAbs.

type MinLedgerTimeRel

type MinLedgerTimeRel struct {
	Value Duration `json:"value"`
}

MinLedgerTimeRel defines model for MinLedgerTimeRel.

type ObjectMeta

type ObjectMeta struct {
	Annotations MapString `json:"annotations"`

	// ResourceVersion An opaque, non-empty value, populated by a participant server which represents the internal version of the resource
	// this “ObjectMeta“ message is attached to. The participant server will change it to a unique value each time the corresponding resource is updated.
	// You must not rely on the format of resource version. The participant server might change it without notice.
	// You can obtain the newest resource version value by issuing a read request.
	// You may use it for concurrent change detection by passing it back unmodified in an update request.
	// The participant server will then compare the passed value with the value maintained by the system to determine
	// if any other updates took place since you had read the resource version.
	// Upon a successful update you are guaranteed that no other update took place during your read-modify-write sequence.
	// However, if another update took place during your read-modify-write sequence then your update will fail with an appropriate error.
	// Concurrent change control is optional. It will be applied only if you include a resource version in an update request.
	// When creating a new instance of a resource you must leave the resource version empty.
	// Its value will be populated by the participant server upon successful resource creation.
	// Optional
	ResourceVersion string `json:"resourceVersion"`
}

ObjectMeta Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).

Based on “ObjectMeta“ meta used in Kubernetes API. See https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto#L640

type OffsetCheckpoint

type OffsetCheckpoint struct {
	// Value OffsetCheckpoints may be used to:
	//
	// - detect time out of commands.
	// - provide an offset which can be used to restart consumption.
	Value OffsetCheckpoint1 `json:"value"`
}

OffsetCheckpoint OffsetCheckpoints may be used to:

- detect time out of commands. - provide an offset which can be used to restart consumption.

type OffsetCheckpoint1

type OffsetCheckpoint1 struct {
	// Offset The participant's offset, the details of the offset field are described in “community/ledger-api/README.md“.
	// Required, must be a valid absolute offset (positive integer).
	Offset            int64               `json:"offset"`
	SynchronizerTimes *[]SynchronizerTime `json:"synchronizerTimes,omitempty"`
}

OffsetCheckpoint1 OffsetCheckpoints may be used to:

- detect time out of commands. - provide an offset which can be used to restart consumption.

type OffsetCheckpoint2

type OffsetCheckpoint2 struct {
	// Value OffsetCheckpoints may be used to:
	//
	// - detect time out of commands.
	// - provide an offset which can be used to restart consumption.
	Value OffsetCheckpoint1 `json:"value"`
}

OffsetCheckpoint2 OffsetCheckpoints may be used to:

- detect time out of commands. - provide an offset which can be used to restart consumption.

type OffsetCheckpoint3

type OffsetCheckpoint3 struct {
	// Value OffsetCheckpoints may be used to:
	//
	// - detect time out of commands.
	// - provide an offset which can be used to restart consumption.
	Value OffsetCheckpoint1 `json:"value"`
}

OffsetCheckpoint3 OffsetCheckpoints may be used to:

- detect time out of commands. - provide an offset which can be used to restart consumption.

type OffsetCheckpointFeature

type OffsetCheckpointFeature struct {
	MaxOffsetCheckpointEmissionDelay *Duration `json:"maxOffsetCheckpointEmissionDelay,omitempty"`
}

OffsetCheckpointFeature defines model for OffsetCheckpointFeature.

type PACKAGESTATUSREGISTERED

type PACKAGESTATUSREGISTERED = map[string]interface{}

PACKAGESTATUSREGISTERED defines model for PACKAGE_STATUS_REGISTERED.

type PACKAGESTATUSUNSPECIFIED

type PACKAGESTATUSUNSPECIFIED = map[string]interface{}

PACKAGESTATUSUNSPECIFIED defines model for PACKAGE_STATUS_UNSPECIFIED.

type PARTICIPANTPERMISSIONCONFIRMATION

type PARTICIPANTPERMISSIONCONFIRMATION = map[string]interface{}

PARTICIPANTPERMISSIONCONFIRMATION defines model for PARTICIPANT_PERMISSION_CONFIRMATION.

type PARTICIPANTPERMISSIONOBSERVATION

type PARTICIPANTPERMISSIONOBSERVATION = map[string]interface{}

PARTICIPANTPERMISSIONOBSERVATION defines model for PARTICIPANT_PERMISSION_OBSERVATION.

type PARTICIPANTPERMISSIONSUBMISSION

type PARTICIPANTPERMISSIONSUBMISSION = map[string]interface{}

PARTICIPANTPERMISSIONSUBMISSION defines model for PARTICIPANT_PERMISSION_SUBMISSION.

type PARTICIPANTPERMISSIONUNSPECIFIED

type PARTICIPANTPERMISSIONUNSPECIFIED = map[string]interface{}

PARTICIPANTPERMISSIONUNSPECIFIED defines model for PARTICIPANT_PERMISSION_UNSPECIFIED.

type PackagePreference

type PackagePreference struct {
	PackageReference *PackageReference `json:"packageReference,omitempty"`

	// SynchronizerId The synchronizer for which the preferred package was computed.
	// If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
	// Required
	SynchronizerId string `json:"synchronizerId"`
}

PackagePreference defines model for PackagePreference.

type PackageReference

type PackageReference struct {
	// PackageId Required
	PackageId string `json:"packageId"`

	// PackageName Required
	PackageName string `json:"packageName"`

	// PackageVersion Required
	PackageVersion string `json:"packageVersion"`
}

PackageReference defines model for PackageReference.

type PackageStatus

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

PackageStatus defines model for PackageStatus.

func (PackageStatus) AsPackageStatus0

func (t PackageStatus) AsPackageStatus0() (PackageStatus0, error)

AsPackageStatus0 returns the union data inside the PackageStatus as a PackageStatus0

func (PackageStatus) AsPackageStatus1

func (t PackageStatus) AsPackageStatus1() (PackageStatus1, error)

AsPackageStatus1 returns the union data inside the PackageStatus as a PackageStatus1

func (PackageStatus) AsPackageStatus2

func (t PackageStatus) AsPackageStatus2() (PackageStatus2, error)

AsPackageStatus2 returns the union data inside the PackageStatus as a PackageStatus2

func (PackageStatus) AsPackageStatus3

func (t PackageStatus) AsPackageStatus3() (PackageStatus3, error)

AsPackageStatus3 returns the union data inside the PackageStatus as a PackageStatus3

func (*PackageStatus) FromPackageStatus0

func (t *PackageStatus) FromPackageStatus0(v PackageStatus0) error

FromPackageStatus0 overwrites any union data inside the PackageStatus as the provided PackageStatus0

func (*PackageStatus) FromPackageStatus1

func (t *PackageStatus) FromPackageStatus1(v PackageStatus1) error

FromPackageStatus1 overwrites any union data inside the PackageStatus as the provided PackageStatus1

func (*PackageStatus) FromPackageStatus2

func (t *PackageStatus) FromPackageStatus2(v PackageStatus2) error

FromPackageStatus2 overwrites any union data inside the PackageStatus as the provided PackageStatus2

func (*PackageStatus) FromPackageStatus3

func (t *PackageStatus) FromPackageStatus3(v PackageStatus3) error

FromPackageStatus3 overwrites any union data inside the PackageStatus as the provided PackageStatus3

func (PackageStatus) MarshalJSON

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

func (*PackageStatus) MergePackageStatus0

func (t *PackageStatus) MergePackageStatus0(v PackageStatus0) error

MergePackageStatus0 performs a merge with any union data inside the PackageStatus, using the provided PackageStatus0

func (*PackageStatus) MergePackageStatus1

func (t *PackageStatus) MergePackageStatus1(v PackageStatus1) error

MergePackageStatus1 performs a merge with any union data inside the PackageStatus, using the provided PackageStatus1

func (*PackageStatus) MergePackageStatus2

func (t *PackageStatus) MergePackageStatus2(v PackageStatus2) error

MergePackageStatus2 performs a merge with any union data inside the PackageStatus, using the provided PackageStatus2

func (*PackageStatus) MergePackageStatus3

func (t *PackageStatus) MergePackageStatus3(v PackageStatus3) error

MergePackageStatus3 performs a merge with any union data inside the PackageStatus, using the provided PackageStatus3

func (*PackageStatus) UnmarshalJSON

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

type PackageStatus0

type PackageStatus0 struct {
	PACKAGESTATUSREGISTERED PACKAGESTATUSREGISTERED `json:"PACKAGE_STATUS_REGISTERED"`
}

PackageStatus0 defines model for .

type PackageStatus1

type PackageStatus1 struct {
	PACKAGESTATUSUNSPECIFIED PACKAGESTATUSUNSPECIFIED `json:"PACKAGE_STATUS_UNSPECIFIED"`
}

PackageStatus1 defines model for .

type PackageStatus2

type PackageStatus2 struct {
	Recognized Recognized `json:"Recognized"`
}

PackageStatus2 defines model for .

type PackageStatus3

type PackageStatus3 struct {
	Unrecognized Unrecognized1 `json:"Unrecognized"`
}

PackageStatus3 defines model for .

type ParticipantAdmin

type ParticipantAdmin struct {
	Value ParticipantAdmin1 `json:"value"`
}

ParticipantAdmin defines model for ParticipantAdmin.

type ParticipantAdmin1

type ParticipantAdmin1 = map[string]interface{}

ParticipantAdmin1 defines model for ParticipantAdmin1.

type ParticipantAuthorizationAdded

type ParticipantAuthorizationAdded struct {
	// ParticipantId Required
	ParticipantId string `json:"participantId"`

	// ParticipantPermission Required
	ParticipantPermission int32 `json:"participantPermission"`

	// PartyId Required
	PartyId string `json:"partyId"`
}

ParticipantAuthorizationAdded defines model for ParticipantAuthorizationAdded.

type ParticipantAuthorizationChanged

type ParticipantAuthorizationChanged struct {
	// ParticipantId Required
	ParticipantId string `json:"participantId"`

	// ParticipantPermission Required
	ParticipantPermission int32 `json:"participantPermission"`

	// PartyId Required
	PartyId string `json:"partyId"`
}

ParticipantAuthorizationChanged defines model for ParticipantAuthorizationChanged.

type ParticipantAuthorizationRevoked

type ParticipantAuthorizationRevoked struct {
	// ParticipantId Required
	ParticipantId string `json:"participantId"`

	// PartyId Required
	PartyId string `json:"partyId"`
}

ParticipantAuthorizationRevoked defines model for ParticipantAuthorizationRevoked.

type ParticipantAuthorizationTopologyFormat

type ParticipantAuthorizationTopologyFormat struct {
	// Parties List of parties for which the topology transactions should be sent.
	// Empty means: for all parties.
	Parties *[]string `json:"parties,omitempty"`
}

ParticipantAuthorizationTopologyFormat A format specifying which participant authorization topology transactions to include and how to render them.

type ParticipantEvent

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

ParticipantEvent Events in transactions can have two primary shapes:

- ACS delta: events can be CreatedEvent or ArchivedEvent - ledger effects: events can be CreatedEvent or ExercisedEvent

In the update service the events are restricted to the events visible for the parties specified in the transaction filter. Each event message type below contains a “witness_parties“ field which indicates the subset of the requested parties that can see the event in question.

func (ParticipantEvent) AsParticipantAuthorizationAdded

func (t ParticipantEvent) AsParticipantAuthorizationAdded() (ParticipantAuthorizationAdded, error)

AsParticipantAuthorizationAdded returns the union data inside the ParticipantEvent as a ParticipantAuthorizationAdded

func (ParticipantEvent) AsParticipantAuthorizationChanged

func (t ParticipantEvent) AsParticipantAuthorizationChanged() (ParticipantAuthorizationChanged, error)

AsParticipantAuthorizationChanged returns the union data inside the ParticipantEvent as a ParticipantAuthorizationChanged

func (ParticipantEvent) AsParticipantAuthorizationRevoked

func (t ParticipantEvent) AsParticipantAuthorizationRevoked() (ParticipantAuthorizationRevoked, error)

AsParticipantAuthorizationRevoked returns the union data inside the ParticipantEvent as a ParticipantAuthorizationRevoked

func (*ParticipantEvent) FromParticipantAuthorizationAdded

func (t *ParticipantEvent) FromParticipantAuthorizationAdded(v ParticipantAuthorizationAdded) error

FromParticipantAuthorizationAdded overwrites any union data inside the ParticipantEvent as the provided ParticipantAuthorizationAdded

func (*ParticipantEvent) FromParticipantAuthorizationChanged

func (t *ParticipantEvent) FromParticipantAuthorizationChanged(v ParticipantAuthorizationChanged) error

FromParticipantAuthorizationChanged overwrites any union data inside the ParticipantEvent as the provided ParticipantAuthorizationChanged

func (*ParticipantEvent) FromParticipantAuthorizationRevoked

func (t *ParticipantEvent) FromParticipantAuthorizationRevoked(v ParticipantAuthorizationRevoked) error

FromParticipantAuthorizationRevoked overwrites any union data inside the ParticipantEvent as the provided ParticipantAuthorizationRevoked

func (ParticipantEvent) MarshalJSON

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

func (*ParticipantEvent) MergeParticipantAuthorizationAdded

func (t *ParticipantEvent) MergeParticipantAuthorizationAdded(v ParticipantAuthorizationAdded) error

MergeParticipantAuthorizationAdded performs a merge with any union data inside the ParticipantEvent, using the provided ParticipantAuthorizationAdded

func (*ParticipantEvent) MergeParticipantAuthorizationChanged

func (t *ParticipantEvent) MergeParticipantAuthorizationChanged(v ParticipantAuthorizationChanged) error

MergeParticipantAuthorizationChanged performs a merge with any union data inside the ParticipantEvent, using the provided ParticipantAuthorizationChanged

func (*ParticipantEvent) MergeParticipantAuthorizationRevoked

func (t *ParticipantEvent) MergeParticipantAuthorizationRevoked(v ParticipantAuthorizationRevoked) error

MergeParticipantAuthorizationRevoked performs a merge with any union data inside the ParticipantEvent, using the provided ParticipantAuthorizationRevoked

func (*ParticipantEvent) UnmarshalJSON

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

type ParticipantPermission

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

ParticipantPermission defines model for ParticipantPermission.

func (ParticipantPermission) AsParticipantPermission0

func (t ParticipantPermission) AsParticipantPermission0() (ParticipantPermission0, error)

AsParticipantPermission0 returns the union data inside the ParticipantPermission as a ParticipantPermission0

func (ParticipantPermission) AsParticipantPermission1

func (t ParticipantPermission) AsParticipantPermission1() (ParticipantPermission1, error)

AsParticipantPermission1 returns the union data inside the ParticipantPermission as a ParticipantPermission1

func (ParticipantPermission) AsParticipantPermission2

func (t ParticipantPermission) AsParticipantPermission2() (ParticipantPermission2, error)

AsParticipantPermission2 returns the union data inside the ParticipantPermission as a ParticipantPermission2

func (ParticipantPermission) AsParticipantPermission3

func (t ParticipantPermission) AsParticipantPermission3() (ParticipantPermission3, error)

AsParticipantPermission3 returns the union data inside the ParticipantPermission as a ParticipantPermission3

func (ParticipantPermission) AsParticipantPermission4

func (t ParticipantPermission) AsParticipantPermission4() (ParticipantPermission4, error)

AsParticipantPermission4 returns the union data inside the ParticipantPermission as a ParticipantPermission4

func (ParticipantPermission) AsParticipantPermission5

func (t ParticipantPermission) AsParticipantPermission5() (ParticipantPermission5, error)

AsParticipantPermission5 returns the union data inside the ParticipantPermission as a ParticipantPermission5

func (*ParticipantPermission) FromParticipantPermission0

func (t *ParticipantPermission) FromParticipantPermission0(v ParticipantPermission0) error

FromParticipantPermission0 overwrites any union data inside the ParticipantPermission as the provided ParticipantPermission0

func (*ParticipantPermission) FromParticipantPermission1

func (t *ParticipantPermission) FromParticipantPermission1(v ParticipantPermission1) error

FromParticipantPermission1 overwrites any union data inside the ParticipantPermission as the provided ParticipantPermission1

func (*ParticipantPermission) FromParticipantPermission2

func (t *ParticipantPermission) FromParticipantPermission2(v ParticipantPermission2) error

FromParticipantPermission2 overwrites any union data inside the ParticipantPermission as the provided ParticipantPermission2

func (*ParticipantPermission) FromParticipantPermission3

func (t *ParticipantPermission) FromParticipantPermission3(v ParticipantPermission3) error

FromParticipantPermission3 overwrites any union data inside the ParticipantPermission as the provided ParticipantPermission3

func (*ParticipantPermission) FromParticipantPermission4

func (t *ParticipantPermission) FromParticipantPermission4(v ParticipantPermission4) error

FromParticipantPermission4 overwrites any union data inside the ParticipantPermission as the provided ParticipantPermission4

func (*ParticipantPermission) FromParticipantPermission5

func (t *ParticipantPermission) FromParticipantPermission5(v ParticipantPermission5) error

FromParticipantPermission5 overwrites any union data inside the ParticipantPermission as the provided ParticipantPermission5

func (ParticipantPermission) MarshalJSON

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

func (*ParticipantPermission) MergeParticipantPermission0

func (t *ParticipantPermission) MergeParticipantPermission0(v ParticipantPermission0) error

MergeParticipantPermission0 performs a merge with any union data inside the ParticipantPermission, using the provided ParticipantPermission0

func (*ParticipantPermission) MergeParticipantPermission1

func (t *ParticipantPermission) MergeParticipantPermission1(v ParticipantPermission1) error

MergeParticipantPermission1 performs a merge with any union data inside the ParticipantPermission, using the provided ParticipantPermission1

func (*ParticipantPermission) MergeParticipantPermission2

func (t *ParticipantPermission) MergeParticipantPermission2(v ParticipantPermission2) error

MergeParticipantPermission2 performs a merge with any union data inside the ParticipantPermission, using the provided ParticipantPermission2

func (*ParticipantPermission) MergeParticipantPermission3

func (t *ParticipantPermission) MergeParticipantPermission3(v ParticipantPermission3) error

MergeParticipantPermission3 performs a merge with any union data inside the ParticipantPermission, using the provided ParticipantPermission3

func (*ParticipantPermission) MergeParticipantPermission4

func (t *ParticipantPermission) MergeParticipantPermission4(v ParticipantPermission4) error

MergeParticipantPermission4 performs a merge with any union data inside the ParticipantPermission, using the provided ParticipantPermission4

func (*ParticipantPermission) MergeParticipantPermission5

func (t *ParticipantPermission) MergeParticipantPermission5(v ParticipantPermission5) error

MergeParticipantPermission5 performs a merge with any union data inside the ParticipantPermission, using the provided ParticipantPermission5

func (*ParticipantPermission) UnmarshalJSON

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

type ParticipantPermission0

type ParticipantPermission0 struct {
	PARTICIPANTPERMISSIONCONFIRMATION PARTICIPANTPERMISSIONCONFIRMATION `json:"PARTICIPANT_PERMISSION_CONFIRMATION"`
}

ParticipantPermission0 defines model for .

type ParticipantPermission1

type ParticipantPermission1 struct {
	PARTICIPANTPERMISSIONOBSERVATION PARTICIPANTPERMISSIONOBSERVATION `json:"PARTICIPANT_PERMISSION_OBSERVATION"`
}

ParticipantPermission1 defines model for .

type ParticipantPermission2

type ParticipantPermission2 struct {
	PARTICIPANTPERMISSIONSUBMISSION PARTICIPANTPERMISSIONSUBMISSION `json:"PARTICIPANT_PERMISSION_SUBMISSION"`
}

ParticipantPermission2 defines model for .

type ParticipantPermission3

type ParticipantPermission3 struct {
	PARTICIPANTPERMISSIONUNSPECIFIED PARTICIPANTPERMISSIONUNSPECIFIED `json:"PARTICIPANT_PERMISSION_UNSPECIFIED"`
}

ParticipantPermission3 defines model for .

type ParticipantPermission4

type ParticipantPermission4 struct {
	ParticipantPermissionRecognized ParticipantPermissionRecognized `json:"Recognized"`
}

ParticipantPermission4 defines model for .

type ParticipantPermission5

type ParticipantPermission5 struct {
	Unrecognized Unrecognized2 `json:"Unrecognized"`
}

ParticipantPermission5 defines model for .

type ParticipantPermissionRecognized

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

ParticipantPermissionRecognized defines model for Recognized1.

func (ParticipantPermissionRecognized) AsRecognized10

func (t ParticipantPermissionRecognized) AsRecognized10() (Recognized10, error)

AsRecognized10 returns the union data inside the ParticipantPermissionRecognized as a Recognized10

func (ParticipantPermissionRecognized) AsRecognized11

func (t ParticipantPermissionRecognized) AsRecognized11() (Recognized11, error)

AsRecognized11 returns the union data inside the ParticipantPermissionRecognized as a Recognized11

func (ParticipantPermissionRecognized) AsRecognized12

func (t ParticipantPermissionRecognized) AsRecognized12() (Recognized12, error)

AsRecognized12 returns the union data inside the ParticipantPermissionRecognized as a Recognized12

func (ParticipantPermissionRecognized) AsRecognized13

func (t ParticipantPermissionRecognized) AsRecognized13() (Recognized13, error)

AsRecognized13 returns the union data inside the ParticipantPermissionRecognized as a Recognized13

func (*ParticipantPermissionRecognized) FromRecognized10

func (t *ParticipantPermissionRecognized) FromRecognized10(v Recognized10) error

FromRecognized10 overwrites any union data inside the ParticipantPermissionRecognized as the provided Recognized10

func (*ParticipantPermissionRecognized) FromRecognized11

func (t *ParticipantPermissionRecognized) FromRecognized11(v Recognized11) error

FromRecognized11 overwrites any union data inside the ParticipantPermissionRecognized as the provided Recognized11

func (*ParticipantPermissionRecognized) FromRecognized12

func (t *ParticipantPermissionRecognized) FromRecognized12(v Recognized12) error

FromRecognized12 overwrites any union data inside the ParticipantPermissionRecognized as the provided Recognized12

func (*ParticipantPermissionRecognized) FromRecognized13

func (t *ParticipantPermissionRecognized) FromRecognized13(v Recognized13) error

FromRecognized13 overwrites any union data inside the ParticipantPermissionRecognized as the provided Recognized13

func (ParticipantPermissionRecognized) MarshalJSON

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

func (*ParticipantPermissionRecognized) MergeRecognized10

func (t *ParticipantPermissionRecognized) MergeRecognized10(v Recognized10) error

MergeRecognized10 performs a merge with any union data inside the ParticipantPermissionRecognized, using the provided Recognized10

func (*ParticipantPermissionRecognized) MergeRecognized11

func (t *ParticipantPermissionRecognized) MergeRecognized11(v Recognized11) error

MergeRecognized11 performs a merge with any union data inside the ParticipantPermissionRecognized, using the provided Recognized11

func (*ParticipantPermissionRecognized) MergeRecognized12

func (t *ParticipantPermissionRecognized) MergeRecognized12(v Recognized12) error

MergeRecognized12 performs a merge with any union data inside the ParticipantPermissionRecognized, using the provided Recognized12

func (*ParticipantPermissionRecognized) MergeRecognized13

func (t *ParticipantPermissionRecognized) MergeRecognized13(v Recognized13) error

MergeRecognized13 performs a merge with any union data inside the ParticipantPermissionRecognized, using the provided Recognized13

func (*ParticipantPermissionRecognized) UnmarshalJSON

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

type PartyDetails

type PartyDetails struct {
	// IdentityProviderId The id of the “Identity Provider“
	// Optional, if not set, there could be 3 options:
	//
	// 1. the party is managed by the default identity provider.
	// 2. party is not hosted by the participant.
	// 3. party is hosted by the participant, but is outside of the user's identity provider.
	IdentityProviderId string `json:"identityProviderId"`

	// IsLocal true if party is hosted by the participant and the party shares the same identity provider as the user issuing the request.
	// Optional
	IsLocal bool `json:"isLocal"`

	// LocalMetadata Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).
	//
	// Based on “ObjectMeta“ meta used in Kubernetes API.
	// See https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto#L640
	LocalMetadata *ObjectMeta `json:"localMetadata,omitempty"`

	// Party The stable unique identifier of a Daml party.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Required
	Party string `json:"party"`
}

PartyDetails defines model for PartyDetails.

type PartyManagementFeature

type PartyManagementFeature struct {
	// MaxPartiesPageSize The maximum number of parties the server can return in a single response (page).
	MaxPartiesPageSize int32 `json:"maxPartiesPageSize"`
}

PartyManagementFeature defines model for PartyManagementFeature.

type PartySignatures

type PartySignatures struct {
	// Signatures Additional signatures provided by all individual parties
	Signatures *[]SinglePartySignatures `json:"signatures,omitempty"`
}

PartySignatures Additional signatures provided by the submitting parties

type PatchV2IdpsIdpIdJSONRequestBody

type PatchV2IdpsIdpIdJSONRequestBody = UpdateIdentityProviderConfigRequest

PatchV2IdpsIdpIdJSONRequestBody defines body for PatchV2IdpsIdpId for application/json ContentType.

type PatchV2IdpsIdpIdResponse

type PatchV2IdpsIdpIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateIdentityProviderConfigResponse
	JSONDefault  *JsCantonError
}

func ParsePatchV2IdpsIdpIdResponse

func ParsePatchV2IdpsIdpIdResponse(rsp *http.Response) (*PatchV2IdpsIdpIdResponse, error)

ParsePatchV2IdpsIdpIdResponse parses an HTTP response from a PatchV2IdpsIdpIdWithResponse call

func (PatchV2IdpsIdpIdResponse) Status

func (r PatchV2IdpsIdpIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchV2IdpsIdpIdResponse) StatusCode

func (r PatchV2IdpsIdpIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV2PartiesPartyJSONRequestBody

type PatchV2PartiesPartyJSONRequestBody = UpdatePartyDetailsRequest

PatchV2PartiesPartyJSONRequestBody defines body for PatchV2PartiesParty for application/json ContentType.

type PatchV2PartiesPartyResponse

type PatchV2PartiesPartyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdatePartyDetailsResponse
	JSONDefault  *JsCantonError
}

func ParsePatchV2PartiesPartyResponse

func ParsePatchV2PartiesPartyResponse(rsp *http.Response) (*PatchV2PartiesPartyResponse, error)

ParsePatchV2PartiesPartyResponse parses an HTTP response from a PatchV2PartiesPartyWithResponse call

func (PatchV2PartiesPartyResponse) Status

Status returns HTTPResponse.Status

func (PatchV2PartiesPartyResponse) StatusCode

func (r PatchV2PartiesPartyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV2UsersUserIdIdentityProviderIdJSONRequestBody

type PatchV2UsersUserIdIdentityProviderIdJSONRequestBody = UpdateUserIdentityProviderIdRequest

PatchV2UsersUserIdIdentityProviderIdJSONRequestBody defines body for PatchV2UsersUserIdIdentityProviderId for application/json ContentType.

type PatchV2UsersUserIdIdentityProviderIdResponse

type PatchV2UsersUserIdIdentityProviderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateUserIdentityProviderIdResponse
	JSONDefault  *JsCantonError
}

func ParsePatchV2UsersUserIdIdentityProviderIdResponse

func ParsePatchV2UsersUserIdIdentityProviderIdResponse(rsp *http.Response) (*PatchV2UsersUserIdIdentityProviderIdResponse, error)

ParsePatchV2UsersUserIdIdentityProviderIdResponse parses an HTTP response from a PatchV2UsersUserIdIdentityProviderIdWithResponse call

func (PatchV2UsersUserIdIdentityProviderIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV2UsersUserIdIdentityProviderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV2UsersUserIdJSONRequestBody

type PatchV2UsersUserIdJSONRequestBody = UpdateUserRequest

PatchV2UsersUserIdJSONRequestBody defines body for PatchV2UsersUserId for application/json ContentType.

type PatchV2UsersUserIdResponse

type PatchV2UsersUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateUserResponse
	JSONDefault  *JsCantonError
}

func ParsePatchV2UsersUserIdResponse

func ParsePatchV2UsersUserIdResponse(rsp *http.Response) (*PatchV2UsersUserIdResponse, error)

ParsePatchV2UsersUserIdResponse parses an HTTP response from a PatchV2UsersUserIdWithResponse call

func (PatchV2UsersUserIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV2UsersUserIdResponse) StatusCode

func (r PatchV2UsersUserIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV2UsersUserIdRightsJSONRequestBody

type PatchV2UsersUserIdRightsJSONRequestBody = RevokeUserRightsRequest

PatchV2UsersUserIdRightsJSONRequestBody defines body for PatchV2UsersUserIdRights for application/json ContentType.

type PatchV2UsersUserIdRightsResponse

type PatchV2UsersUserIdRightsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RevokeUserRightsResponse
	JSONDefault  *JsCantonError
}

func ParsePatchV2UsersUserIdRightsResponse

func ParsePatchV2UsersUserIdRightsResponse(rsp *http.Response) (*PatchV2UsersUserIdRightsResponse, error)

ParsePatchV2UsersUserIdRightsResponse parses an HTTP response from a PatchV2UsersUserIdRightsWithResponse call

func (PatchV2UsersUserIdRightsResponse) Status

Status returns HTTPResponse.Status

func (PatchV2UsersUserIdRightsResponse) StatusCode

func (r PatchV2UsersUserIdRightsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsAsyncSubmitJSONRequestBody

type PostV2CommandsAsyncSubmitJSONRequestBody = JsCommands

PostV2CommandsAsyncSubmitJSONRequestBody defines body for PostV2CommandsAsyncSubmit for application/json ContentType.

type PostV2CommandsAsyncSubmitReassignmentJSONRequestBody

type PostV2CommandsAsyncSubmitReassignmentJSONRequestBody = SubmitReassignmentRequest

PostV2CommandsAsyncSubmitReassignmentJSONRequestBody defines body for PostV2CommandsAsyncSubmitReassignment for application/json ContentType.

type PostV2CommandsAsyncSubmitReassignmentResponse

type PostV2CommandsAsyncSubmitReassignmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SubmitReassignmentResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsAsyncSubmitReassignmentResponse

func ParsePostV2CommandsAsyncSubmitReassignmentResponse(rsp *http.Response) (*PostV2CommandsAsyncSubmitReassignmentResponse, error)

ParsePostV2CommandsAsyncSubmitReassignmentResponse parses an HTTP response from a PostV2CommandsAsyncSubmitReassignmentWithResponse call

func (PostV2CommandsAsyncSubmitReassignmentResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsAsyncSubmitReassignmentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsAsyncSubmitResponse

type PostV2CommandsAsyncSubmitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SubmitResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsAsyncSubmitResponse

func ParsePostV2CommandsAsyncSubmitResponse(rsp *http.Response) (*PostV2CommandsAsyncSubmitResponse, error)

ParsePostV2CommandsAsyncSubmitResponse parses an HTTP response from a PostV2CommandsAsyncSubmitWithResponse call

func (PostV2CommandsAsyncSubmitResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsAsyncSubmitResponse) StatusCode

func (r PostV2CommandsAsyncSubmitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsCompletionsJSONRequestBody

type PostV2CommandsCompletionsJSONRequestBody = CompletionStreamRequest

PostV2CommandsCompletionsJSONRequestBody defines body for PostV2CommandsCompletions for application/json ContentType.

type PostV2CommandsCompletionsParams

type PostV2CommandsCompletionsParams struct {
	// Limit maximum number of elements to return, this param is ignored if is bigger than server setting
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// StreamIdleTimeoutMs timeout to complete and send result if no new elements are received (for open ended streams)
	StreamIdleTimeoutMs *int64 `form:"stream_idle_timeout_ms,omitempty" json:"stream_idle_timeout_ms,omitempty"`
}

PostV2CommandsCompletionsParams defines parameters for PostV2CommandsCompletions.

type PostV2CommandsCompletionsResponse

type PostV2CommandsCompletionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CompletionStreamResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsCompletionsResponse

func ParsePostV2CommandsCompletionsResponse(rsp *http.Response) (*PostV2CommandsCompletionsResponse, error)

ParsePostV2CommandsCompletionsResponse parses an HTTP response from a PostV2CommandsCompletionsWithResponse call

func (PostV2CommandsCompletionsResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsCompletionsResponse) StatusCode

func (r PostV2CommandsCompletionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody

type PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody = SubmitAndWaitForReassignmentRequest

PostV2CommandsSubmitAndWaitForReassignmentJSONRequestBody defines body for PostV2CommandsSubmitAndWaitForReassignment for application/json ContentType.

type PostV2CommandsSubmitAndWaitForReassignmentResponse

type PostV2CommandsSubmitAndWaitForReassignmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsSubmitAndWaitForReassignmentResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsSubmitAndWaitForReassignmentResponse

func ParsePostV2CommandsSubmitAndWaitForReassignmentResponse(rsp *http.Response) (*PostV2CommandsSubmitAndWaitForReassignmentResponse, error)

ParsePostV2CommandsSubmitAndWaitForReassignmentResponse parses an HTTP response from a PostV2CommandsSubmitAndWaitForReassignmentWithResponse call

func (PostV2CommandsSubmitAndWaitForReassignmentResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsSubmitAndWaitForReassignmentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody

type PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody = JsSubmitAndWaitForTransactionRequest

PostV2CommandsSubmitAndWaitForTransactionJSONRequestBody defines body for PostV2CommandsSubmitAndWaitForTransaction for application/json ContentType.

type PostV2CommandsSubmitAndWaitForTransactionResponse

type PostV2CommandsSubmitAndWaitForTransactionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsSubmitAndWaitForTransactionResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsSubmitAndWaitForTransactionResponse

func ParsePostV2CommandsSubmitAndWaitForTransactionResponse(rsp *http.Response) (*PostV2CommandsSubmitAndWaitForTransactionResponse, error)

ParsePostV2CommandsSubmitAndWaitForTransactionResponse parses an HTTP response from a PostV2CommandsSubmitAndWaitForTransactionWithResponse call

func (PostV2CommandsSubmitAndWaitForTransactionResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsSubmitAndWaitForTransactionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody

type PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody = JsCommands

PostV2CommandsSubmitAndWaitForTransactionTreeJSONRequestBody defines body for PostV2CommandsSubmitAndWaitForTransactionTree for application/json ContentType.

type PostV2CommandsSubmitAndWaitForTransactionTreeResponse

type PostV2CommandsSubmitAndWaitForTransactionTreeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsSubmitAndWaitForTransactionTreeResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsSubmitAndWaitForTransactionTreeResponse

func ParsePostV2CommandsSubmitAndWaitForTransactionTreeResponse(rsp *http.Response) (*PostV2CommandsSubmitAndWaitForTransactionTreeResponse, error)

ParsePostV2CommandsSubmitAndWaitForTransactionTreeResponse parses an HTTP response from a PostV2CommandsSubmitAndWaitForTransactionTreeWithResponse call

func (PostV2CommandsSubmitAndWaitForTransactionTreeResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsSubmitAndWaitForTransactionTreeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2CommandsSubmitAndWaitJSONRequestBody

type PostV2CommandsSubmitAndWaitJSONRequestBody = JsCommands

PostV2CommandsSubmitAndWaitJSONRequestBody defines body for PostV2CommandsSubmitAndWait for application/json ContentType.

type PostV2CommandsSubmitAndWaitResponse

type PostV2CommandsSubmitAndWaitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SubmitAndWaitResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2CommandsSubmitAndWaitResponse

func ParsePostV2CommandsSubmitAndWaitResponse(rsp *http.Response) (*PostV2CommandsSubmitAndWaitResponse, error)

ParsePostV2CommandsSubmitAndWaitResponse parses an HTTP response from a PostV2CommandsSubmitAndWaitWithResponse call

func (PostV2CommandsSubmitAndWaitResponse) Status

Status returns HTTPResponse.Status

func (PostV2CommandsSubmitAndWaitResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2EventsEventsByContractIdJSONRequestBody

type PostV2EventsEventsByContractIdJSONRequestBody = GetEventsByContractIdRequest

PostV2EventsEventsByContractIdJSONRequestBody defines body for PostV2EventsEventsByContractId for application/json ContentType.

type PostV2EventsEventsByContractIdResponse

type PostV2EventsEventsByContractIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetEventsByContractIdResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2EventsEventsByContractIdResponse

func ParsePostV2EventsEventsByContractIdResponse(rsp *http.Response) (*PostV2EventsEventsByContractIdResponse, error)

ParsePostV2EventsEventsByContractIdResponse parses an HTTP response from a PostV2EventsEventsByContractIdWithResponse call

func (PostV2EventsEventsByContractIdResponse) Status

Status returns HTTPResponse.Status

func (PostV2EventsEventsByContractIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2IdpsJSONRequestBody

type PostV2IdpsJSONRequestBody = CreateIdentityProviderConfigRequest

PostV2IdpsJSONRequestBody defines body for PostV2Idps for application/json ContentType.

type PostV2IdpsResponse

type PostV2IdpsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateIdentityProviderConfigResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2IdpsResponse

func ParsePostV2IdpsResponse(rsp *http.Response) (*PostV2IdpsResponse, error)

ParsePostV2IdpsResponse parses an HTTP response from a PostV2IdpsWithResponse call

func (PostV2IdpsResponse) Status

func (r PostV2IdpsResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2IdpsResponse) StatusCode

func (r PostV2IdpsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2InteractiveSubmissionExecuteJSONRequestBody

type PostV2InteractiveSubmissionExecuteJSONRequestBody = JsExecuteSubmissionRequest

PostV2InteractiveSubmissionExecuteJSONRequestBody defines body for PostV2InteractiveSubmissionExecute for application/json ContentType.

type PostV2InteractiveSubmissionExecuteResponse

type PostV2InteractiveSubmissionExecuteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExecuteSubmissionResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2InteractiveSubmissionExecuteResponse

func ParsePostV2InteractiveSubmissionExecuteResponse(rsp *http.Response) (*PostV2InteractiveSubmissionExecuteResponse, error)

ParsePostV2InteractiveSubmissionExecuteResponse parses an HTTP response from a PostV2InteractiveSubmissionExecuteWithResponse call

func (PostV2InteractiveSubmissionExecuteResponse) Status

Status returns HTTPResponse.Status

func (PostV2InteractiveSubmissionExecuteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2InteractiveSubmissionPrepareJSONRequestBody

type PostV2InteractiveSubmissionPrepareJSONRequestBody = JsPrepareSubmissionRequest

PostV2InteractiveSubmissionPrepareJSONRequestBody defines body for PostV2InteractiveSubmissionPrepare for application/json ContentType.

type PostV2InteractiveSubmissionPrepareResponse

type PostV2InteractiveSubmissionPrepareResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsPrepareSubmissionResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2InteractiveSubmissionPrepareResponse

func ParsePostV2InteractiveSubmissionPrepareResponse(rsp *http.Response) (*PostV2InteractiveSubmissionPrepareResponse, error)

ParsePostV2InteractiveSubmissionPrepareResponse parses an HTTP response from a PostV2InteractiveSubmissionPrepareWithResponse call

func (PostV2InteractiveSubmissionPrepareResponse) Status

Status returns HTTPResponse.Status

func (PostV2InteractiveSubmissionPrepareResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2PackagesResponse

type PostV2PackagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UploadDarFileResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2PackagesResponse

func ParsePostV2PackagesResponse(rsp *http.Response) (*PostV2PackagesResponse, error)

ParsePostV2PackagesResponse parses an HTTP response from a PostV2PackagesWithResponse call

func (PostV2PackagesResponse) Status

func (r PostV2PackagesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2PackagesResponse) StatusCode

func (r PostV2PackagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2PartiesJSONRequestBody

type PostV2PartiesJSONRequestBody = AllocatePartyRequest

PostV2PartiesJSONRequestBody defines body for PostV2Parties for application/json ContentType.

type PostV2PartiesResponse

type PostV2PartiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AllocatePartyResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2PartiesResponse

func ParsePostV2PartiesResponse(rsp *http.Response) (*PostV2PartiesResponse, error)

ParsePostV2PartiesResponse parses an HTTP response from a PostV2PartiesWithResponse call

func (PostV2PartiesResponse) Status

func (r PostV2PartiesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2PartiesResponse) StatusCode

func (r PostV2PartiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2StateActiveContractsJSONRequestBody

type PostV2StateActiveContractsJSONRequestBody = GetActiveContractsRequest

PostV2StateActiveContractsJSONRequestBody defines body for PostV2StateActiveContracts for application/json ContentType.

type PostV2StateActiveContractsParams

type PostV2StateActiveContractsParams struct {
	// Limit maximum number of elements to return, this param is ignored if is bigger than server setting
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// StreamIdleTimeoutMs timeout to complete and send result if no new elements are received (for open ended streams)
	StreamIdleTimeoutMs *int64 `form:"stream_idle_timeout_ms,omitempty" json:"stream_idle_timeout_ms,omitempty"`
}

PostV2StateActiveContractsParams defines parameters for PostV2StateActiveContracts.

type PostV2StateActiveContractsResponse

type PostV2StateActiveContractsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]JsGetActiveContractsResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2StateActiveContractsResponse

func ParsePostV2StateActiveContractsResponse(rsp *http.Response) (*PostV2StateActiveContractsResponse, error)

ParsePostV2StateActiveContractsResponse parses an HTTP response from a PostV2StateActiveContractsWithResponse call

func (PostV2StateActiveContractsResponse) Status

Status returns HTTPResponse.Status

func (PostV2StateActiveContractsResponse) StatusCode

func (r PostV2StateActiveContractsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2UpdatesFlatsJSONRequestBody

type PostV2UpdatesFlatsJSONRequestBody = GetUpdatesRequest

PostV2UpdatesFlatsJSONRequestBody defines body for PostV2UpdatesFlats for application/json ContentType.

type PostV2UpdatesFlatsParams

type PostV2UpdatesFlatsParams struct {
	// Limit maximum number of elements to return, this param is ignored if is bigger than server setting
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// StreamIdleTimeoutMs timeout to complete and send result if no new elements are received (for open ended streams)
	StreamIdleTimeoutMs *int64 `form:"stream_idle_timeout_ms,omitempty" json:"stream_idle_timeout_ms,omitempty"`
}

PostV2UpdatesFlatsParams defines parameters for PostV2UpdatesFlats.

type PostV2UpdatesFlatsResponse

type PostV2UpdatesFlatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]JsGetUpdatesResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UpdatesFlatsResponse

func ParsePostV2UpdatesFlatsResponse(rsp *http.Response) (*PostV2UpdatesFlatsResponse, error)

ParsePostV2UpdatesFlatsResponse parses an HTTP response from a PostV2UpdatesFlatsWithResponse call

func (PostV2UpdatesFlatsResponse) Status

Status returns HTTPResponse.Status

func (PostV2UpdatesFlatsResponse) StatusCode

func (r PostV2UpdatesFlatsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2UpdatesTransactionByIdJSONRequestBody

type PostV2UpdatesTransactionByIdJSONRequestBody = GetTransactionByIdRequest

PostV2UpdatesTransactionByIdJSONRequestBody defines body for PostV2UpdatesTransactionById for application/json ContentType.

type PostV2UpdatesTransactionByIdResponse

type PostV2UpdatesTransactionByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetTransactionResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UpdatesTransactionByIdResponse

func ParsePostV2UpdatesTransactionByIdResponse(rsp *http.Response) (*PostV2UpdatesTransactionByIdResponse, error)

ParsePostV2UpdatesTransactionByIdResponse parses an HTTP response from a PostV2UpdatesTransactionByIdWithResponse call

func (PostV2UpdatesTransactionByIdResponse) Status

Status returns HTTPResponse.Status

func (PostV2UpdatesTransactionByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2UpdatesTransactionByOffsetJSONRequestBody

type PostV2UpdatesTransactionByOffsetJSONRequestBody = GetTransactionByOffsetRequest

PostV2UpdatesTransactionByOffsetJSONRequestBody defines body for PostV2UpdatesTransactionByOffset for application/json ContentType.

type PostV2UpdatesTransactionByOffsetResponse

type PostV2UpdatesTransactionByOffsetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetTransactionResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UpdatesTransactionByOffsetResponse

func ParsePostV2UpdatesTransactionByOffsetResponse(rsp *http.Response) (*PostV2UpdatesTransactionByOffsetResponse, error)

ParsePostV2UpdatesTransactionByOffsetResponse parses an HTTP response from a PostV2UpdatesTransactionByOffsetWithResponse call

func (PostV2UpdatesTransactionByOffsetResponse) Status

Status returns HTTPResponse.Status

func (PostV2UpdatesTransactionByOffsetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2UpdatesTreesJSONRequestBody

type PostV2UpdatesTreesJSONRequestBody = GetUpdatesRequest

PostV2UpdatesTreesJSONRequestBody defines body for PostV2UpdatesTrees for application/json ContentType.

type PostV2UpdatesTreesParams

type PostV2UpdatesTreesParams struct {
	// Limit maximum number of elements to return, this param is ignored if is bigger than server setting
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// StreamIdleTimeoutMs timeout to complete and send result if no new elements are received (for open ended streams)
	StreamIdleTimeoutMs *int64 `form:"stream_idle_timeout_ms,omitempty" json:"stream_idle_timeout_ms,omitempty"`
}

PostV2UpdatesTreesParams defines parameters for PostV2UpdatesTrees.

type PostV2UpdatesTreesResponse

type PostV2UpdatesTreesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]JsGetUpdateTreesResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UpdatesTreesResponse

func ParsePostV2UpdatesTreesResponse(rsp *http.Response) (*PostV2UpdatesTreesResponse, error)

ParsePostV2UpdatesTreesResponse parses an HTTP response from a PostV2UpdatesTreesWithResponse call

func (PostV2UpdatesTreesResponse) Status

Status returns HTTPResponse.Status

func (PostV2UpdatesTreesResponse) StatusCode

func (r PostV2UpdatesTreesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2UpdatesUpdateByIdJSONRequestBody

type PostV2UpdatesUpdateByIdJSONRequestBody = GetUpdateByIdRequest

PostV2UpdatesUpdateByIdJSONRequestBody defines body for PostV2UpdatesUpdateById for application/json ContentType.

type PostV2UpdatesUpdateByIdResponse

type PostV2UpdatesUpdateByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetUpdateResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UpdatesUpdateByIdResponse

func ParsePostV2UpdatesUpdateByIdResponse(rsp *http.Response) (*PostV2UpdatesUpdateByIdResponse, error)

ParsePostV2UpdatesUpdateByIdResponse parses an HTTP response from a PostV2UpdatesUpdateByIdWithResponse call

func (PostV2UpdatesUpdateByIdResponse) Status

Status returns HTTPResponse.Status

func (PostV2UpdatesUpdateByIdResponse) StatusCode

func (r PostV2UpdatesUpdateByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2UpdatesUpdateByOffsetJSONRequestBody

type PostV2UpdatesUpdateByOffsetJSONRequestBody = GetUpdateByOffsetRequest

PostV2UpdatesUpdateByOffsetJSONRequestBody defines body for PostV2UpdatesUpdateByOffset for application/json ContentType.

type PostV2UpdatesUpdateByOffsetResponse

type PostV2UpdatesUpdateByOffsetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JsGetUpdateResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UpdatesUpdateByOffsetResponse

func ParsePostV2UpdatesUpdateByOffsetResponse(rsp *http.Response) (*PostV2UpdatesUpdateByOffsetResponse, error)

ParsePostV2UpdatesUpdateByOffsetResponse parses an HTTP response from a PostV2UpdatesUpdateByOffsetWithResponse call

func (PostV2UpdatesUpdateByOffsetResponse) Status

Status returns HTTPResponse.Status

func (PostV2UpdatesUpdateByOffsetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2UsersJSONRequestBody

type PostV2UsersJSONRequestBody = CreateUserRequest

PostV2UsersJSONRequestBody defines body for PostV2Users for application/json ContentType.

type PostV2UsersResponse

type PostV2UsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateUserResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UsersResponse

func ParsePostV2UsersResponse(rsp *http.Response) (*PostV2UsersResponse, error)

ParsePostV2UsersResponse parses an HTTP response from a PostV2UsersWithResponse call

func (PostV2UsersResponse) Status

func (r PostV2UsersResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2UsersResponse) StatusCode

func (r PostV2UsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2UsersUserIdRightsJSONRequestBody

type PostV2UsersUserIdRightsJSONRequestBody = GrantUserRightsRequest

PostV2UsersUserIdRightsJSONRequestBody defines body for PostV2UsersUserIdRights for application/json ContentType.

type PostV2UsersUserIdRightsResponse

type PostV2UsersUserIdRightsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GrantUserRightsResponse
	JSONDefault  *JsCantonError
}

func ParsePostV2UsersUserIdRightsResponse

func ParsePostV2UsersUserIdRightsResponse(rsp *http.Response) (*PostV2UsersUserIdRightsResponse, error)

ParsePostV2UsersUserIdRightsResponse parses an HTTP response from a PostV2UsersUserIdRightsWithResponse call

func (PostV2UsersUserIdRightsResponse) Status

Status returns HTTPResponse.Status

func (PostV2UsersUserIdRightsResponse) StatusCode

func (r PostV2UsersUserIdRightsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Reassignment

type Reassignment struct {
	// Value Complete view of an on-ledger reassignment.
	Value JsReassignment `json:"value"`
}

Reassignment Complete view of an on-ledger reassignment.

type Reassignment1

type Reassignment1 struct {
	// Value Complete view of an on-ledger reassignment.
	Value JsReassignment `json:"value"`
}

Reassignment1 Complete view of an on-ledger reassignment.

type ReassignmentCommand

type ReassignmentCommand struct {
	// ReassignmentCommandUnion A command can either create a new contract or exercise a choice on an existing contract.
	ReassignmentCommandUnion ReassignmentCommandUnion `json:"command"`
}

ReassignmentCommand defines model for ReassignmentCommand.

type ReassignmentCommandUnion

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

ReassignmentCommandUnion A command can either create a new contract or exercise a choice on an existing contract.

func (ReassignmentCommandUnion) AsCommand10

func (t ReassignmentCommandUnion) AsCommand10() (Command10, error)

AsCommand10 returns the union data inside the ReassignmentCommandUnion as a Command10

func (ReassignmentCommandUnion) AsCommand11

func (t ReassignmentCommandUnion) AsCommand11() (Command11, error)

AsCommand11 returns the union data inside the ReassignmentCommandUnion as a Command11

func (ReassignmentCommandUnion) AsCommand12

func (t ReassignmentCommandUnion) AsCommand12() (Command12, error)

AsCommand12 returns the union data inside the ReassignmentCommandUnion as a Command12

func (*ReassignmentCommandUnion) FromCommand10

func (t *ReassignmentCommandUnion) FromCommand10(v Command10) error

FromCommand10 overwrites any union data inside the ReassignmentCommandUnion as the provided Command10

func (*ReassignmentCommandUnion) FromCommand11

func (t *ReassignmentCommandUnion) FromCommand11(v Command11) error

FromCommand11 overwrites any union data inside the ReassignmentCommandUnion as the provided Command11

func (*ReassignmentCommandUnion) FromCommand12

func (t *ReassignmentCommandUnion) FromCommand12(v Command12) error

FromCommand12 overwrites any union data inside the ReassignmentCommandUnion as the provided Command12

func (ReassignmentCommandUnion) MarshalJSON

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

func (*ReassignmentCommandUnion) MergeCommand10

func (t *ReassignmentCommandUnion) MergeCommand10(v Command10) error

MergeCommand10 performs a merge with any union data inside the ReassignmentCommandUnion, using the provided Command10

func (*ReassignmentCommandUnion) MergeCommand11

func (t *ReassignmentCommandUnion) MergeCommand11(v Command11) error

MergeCommand11 performs a merge with any union data inside the ReassignmentCommandUnion, using the provided Command11

func (*ReassignmentCommandUnion) MergeCommand12

func (t *ReassignmentCommandUnion) MergeCommand12(v Command12) error

MergeCommand12 performs a merge with any union data inside the ReassignmentCommandUnion, using the provided Command12

func (*ReassignmentCommandUnion) UnmarshalJSON

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

type ReassignmentCommands

type ReassignmentCommands struct {
	// CommandId Uniquely identifies the command.
	// The triple (user_id, submitter, command_id) constitutes the change ID for the intended ledger change.
	// The change ID can be used for matching the intended ledger changes with all their completions.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	CommandId string `json:"commandId"`

	// Commands Individual elements of this reassignment. Must be non-empty.
	Commands *[]ReassignmentCommand `json:"commands,omitempty"`

	// SubmissionId A unique identifier to distinguish completions for different submissions with the same change ID.
	// Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
	// with the same change ID.
	// Must be a valid LedgerString (as described in “value.proto“).
	//
	// If omitted, the participant or the committer may set a value of their choice.
	// Optional
	SubmissionId string `json:"submissionId"`

	// Submitter Party on whose behalf the command should be executed.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to act on behalf of the given party.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Required
	Submitter string `json:"submitter"`

	// UserId Uniquely identifies the participant user that issued the command.
	// Must be a valid UserIdString (as described in “value.proto“).
	// Required unless authentication is used with a user token.
	// In that case, the token's user-id will be used for the request's user_id.
	UserId string `json:"userId"`

	// WorkflowId Identifier of the on-ledger workflow that this command is a part of.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `json:"workflowId"`
}

ReassignmentCommands defines model for ReassignmentCommands.

type Recognized

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

Recognized defines model for Recognized.

func (Recognized) AsRecognized0

func (t Recognized) AsRecognized0() (Recognized0, error)

AsRecognized0 returns the union data inside the Recognized as a Recognized0

func (Recognized) AsRecognized1

func (t Recognized) AsRecognized1() (Recognized1, error)

AsRecognized1 returns the union data inside the Recognized as a Recognized1

func (*Recognized) FromRecognized0

func (t *Recognized) FromRecognized0(v Recognized0) error

FromRecognized0 overwrites any union data inside the Recognized as the provided Recognized0

func (*Recognized) FromRecognized1

func (t *Recognized) FromRecognized1(v Recognized1) error

FromRecognized1 overwrites any union data inside the Recognized as the provided Recognized1

func (Recognized) MarshalJSON

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

func (*Recognized) MergeRecognized0

func (t *Recognized) MergeRecognized0(v Recognized0) error

MergeRecognized0 performs a merge with any union data inside the Recognized, using the provided Recognized0

func (*Recognized) MergeRecognized1

func (t *Recognized) MergeRecognized1(v Recognized1) error

MergeRecognized1 performs a merge with any union data inside the Recognized, using the provided Recognized1

func (*Recognized) UnmarshalJSON

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

type Recognized0

type Recognized0 struct {
	PACKAGESTATUSREGISTERED PACKAGESTATUSREGISTERED `json:"PACKAGE_STATUS_REGISTERED"`
}

Recognized0 defines model for .

type Recognized1

type Recognized1 struct {
	PACKAGESTATUSUNSPECIFIED PACKAGESTATUSUNSPECIFIED `json:"PACKAGE_STATUS_UNSPECIFIED"`
}

Recognized1 defines model for .

type Recognized10

type Recognized10 struct {
	PARTICIPANTPERMISSIONCONFIRMATION PARTICIPANTPERMISSIONCONFIRMATION `json:"PARTICIPANT_PERMISSION_CONFIRMATION"`
}

Recognized10 defines model for .

type Recognized11

type Recognized11 struct {
	PARTICIPANTPERMISSIONOBSERVATION PARTICIPANTPERMISSIONOBSERVATION `json:"PARTICIPANT_PERMISSION_OBSERVATION"`
}

Recognized11 defines model for .

type Recognized12

type Recognized12 struct {
	PARTICIPANTPERMISSIONSUBMISSION PARTICIPANTPERMISSIONSUBMISSION `json:"PARTICIPANT_PERMISSION_SUBMISSION"`
}

Recognized12 defines model for .

type Recognized13

type Recognized13 struct {
	PARTICIPANTPERMISSIONUNSPECIFIED PARTICIPANTPERMISSIONUNSPECIFIED `json:"PARTICIPANT_PERMISSION_UNSPECIFIED"`
}

Recognized13 defines model for .

type Recognized2

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

Recognized2 defines model for Recognized2.

func (Recognized2) AsHASHINGSCHEMEVERSIONUNSPECIFIED

func (t Recognized2) AsHASHINGSCHEMEVERSIONUNSPECIFIED() (HASHINGSCHEMEVERSIONUNSPECIFIED, error)

AsHASHINGSCHEMEVERSIONUNSPECIFIED returns the union data inside the Recognized2 as a HASHINGSCHEMEVERSIONUNSPECIFIED

func (Recognized2) AsHASHINGSCHEMEVERSIONV2

func (t Recognized2) AsHASHINGSCHEMEVERSIONV2() (HASHINGSCHEMEVERSIONV2, error)

AsHASHINGSCHEMEVERSIONV2 returns the union data inside the Recognized2 as a HASHINGSCHEMEVERSIONV2

func (*Recognized2) FromHASHINGSCHEMEVERSIONUNSPECIFIED

func (t *Recognized2) FromHASHINGSCHEMEVERSIONUNSPECIFIED(v HASHINGSCHEMEVERSIONUNSPECIFIED) error

FromHASHINGSCHEMEVERSIONUNSPECIFIED overwrites any union data inside the Recognized2 as the provided HASHINGSCHEMEVERSIONUNSPECIFIED

func (*Recognized2) FromHASHINGSCHEMEVERSIONV2

func (t *Recognized2) FromHASHINGSCHEMEVERSIONV2(v HASHINGSCHEMEVERSIONV2) error

FromHASHINGSCHEMEVERSIONV2 overwrites any union data inside the Recognized2 as the provided HASHINGSCHEMEVERSIONV2

func (Recognized2) MarshalJSON

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

func (*Recognized2) MergeHASHINGSCHEMEVERSIONUNSPECIFIED

func (t *Recognized2) MergeHASHINGSCHEMEVERSIONUNSPECIFIED(v HASHINGSCHEMEVERSIONUNSPECIFIED) error

MergeHASHINGSCHEMEVERSIONUNSPECIFIED performs a merge with any union data inside the Recognized2, using the provided HASHINGSCHEMEVERSIONUNSPECIFIED

func (*Recognized2) MergeHASHINGSCHEMEVERSIONV2

func (t *Recognized2) MergeHASHINGSCHEMEVERSIONV2(v HASHINGSCHEMEVERSIONV2) error

MergeHASHINGSCHEMEVERSIONV2 performs a merge with any union data inside the Recognized2, using the provided HASHINGSCHEMEVERSIONV2

func (*Recognized2) UnmarshalJSON

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

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RevokeUserRightsRequest

type RevokeUserRightsRequest struct {
	// IdentityProviderId The id of the “Identity Provider“
	// Optional, if not set, assume the user is managed by the default identity provider.
	IdentityProviderId string `json:"identityProviderId"`

	// Rights The rights to revoke.
	// Optional
	Rights *[]Right `json:"rights,omitempty"`

	// UserId The user from whom to revoke rights.
	// Required
	UserId string `json:"userId"`
}

RevokeUserRightsRequest Remove the rights from the set of rights granted to the user.

Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“

type RevokeUserRightsResponse

type RevokeUserRightsResponse struct {
	// NewlyRevokedRights The rights that were actually revoked by the request.
	NewlyRevokedRights *[]Right `json:"newlyRevokedRights,omitempty"`
}

RevokeUserRightsResponse defines model for RevokeUserRightsResponse.

type Right struct {
	Kind Kind `json:"kind"`
}

Right A right granted to a user.

type SIGNATUREFORMATCONCAT

type SIGNATUREFORMATCONCAT = map[string]interface{}

SIGNATUREFORMATCONCAT defines model for SIGNATURE_FORMAT_CONCAT.

type SIGNATUREFORMATDER

type SIGNATUREFORMATDER = map[string]interface{}

SIGNATUREFORMATDER defines model for SIGNATURE_FORMAT_DER.

type SIGNATUREFORMATRAW

type SIGNATUREFORMATRAW = map[string]interface{}

SIGNATUREFORMATRAW defines model for SIGNATURE_FORMAT_RAW.

type SIGNATUREFORMATSYMBOLIC

type SIGNATUREFORMATSYMBOLIC = map[string]interface{}

SIGNATUREFORMATSYMBOLIC defines model for SIGNATURE_FORMAT_SYMBOLIC.

type SIGNATUREFORMATUNSPECIFIED

type SIGNATUREFORMATUNSPECIFIED = map[string]interface{}

SIGNATUREFORMATUNSPECIFIED defines model for SIGNATURE_FORMAT_UNSPECIFIED.

type SIGNINGALGORITHMSPECECDSASHA256

type SIGNINGALGORITHMSPECECDSASHA256 = map[string]interface{}

SIGNINGALGORITHMSPECECDSASHA256 defines model for SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256.

type SIGNINGALGORITHMSPECECDSASHA384

type SIGNINGALGORITHMSPECECDSASHA384 = map[string]interface{}

SIGNINGALGORITHMSPECECDSASHA384 defines model for SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_384.

type SIGNINGALGORITHMSPECED25519

type SIGNINGALGORITHMSPECED25519 = map[string]interface{}

SIGNINGALGORITHMSPECED25519 defines model for SIGNING_ALGORITHM_SPEC_ED25519.

type SIGNINGALGORITHMSPECUNSPECIFIED

type SIGNINGALGORITHMSPECUNSPECIFIED = map[string]interface{}

SIGNINGALGORITHMSPECUNSPECIFIED defines model for SIGNING_ALGORITHM_SPEC_UNSPECIFIED.

type Signature

type Signature struct {
	Format    SignatureFormat `json:"format"`
	Signature string          `json:"signature"`

	// SignedBy The fingerprint/id of the keypair used to create this signature and needed to verify.
	SignedBy             string               `json:"signedBy"`
	SigningAlgorithmSpec SigningAlgorithmSpec `json:"signingAlgorithmSpec"`
}

Signature defines model for Signature.

type SignatureFormat

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

SignatureFormat defines model for SignatureFormat.

func (SignatureFormat) AsSIGNATUREFORMATCONCAT

func (t SignatureFormat) AsSIGNATUREFORMATCONCAT() (SIGNATUREFORMATCONCAT, error)

AsSIGNATUREFORMATCONCAT returns the union data inside the SignatureFormat as a SIGNATUREFORMATCONCAT

func (SignatureFormat) AsSIGNATUREFORMATDER

func (t SignatureFormat) AsSIGNATUREFORMATDER() (SIGNATUREFORMATDER, error)

AsSIGNATUREFORMATDER returns the union data inside the SignatureFormat as a SIGNATUREFORMATDER

func (SignatureFormat) AsSIGNATUREFORMATRAW

func (t SignatureFormat) AsSIGNATUREFORMATRAW() (SIGNATUREFORMATRAW, error)

AsSIGNATUREFORMATRAW returns the union data inside the SignatureFormat as a SIGNATUREFORMATRAW

func (SignatureFormat) AsSIGNATUREFORMATSYMBOLIC

func (t SignatureFormat) AsSIGNATUREFORMATSYMBOLIC() (SIGNATUREFORMATSYMBOLIC, error)

AsSIGNATUREFORMATSYMBOLIC returns the union data inside the SignatureFormat as a SIGNATUREFORMATSYMBOLIC

func (SignatureFormat) AsSIGNATUREFORMATUNSPECIFIED

func (t SignatureFormat) AsSIGNATUREFORMATUNSPECIFIED() (SIGNATUREFORMATUNSPECIFIED, error)

AsSIGNATUREFORMATUNSPECIFIED returns the union data inside the SignatureFormat as a SIGNATUREFORMATUNSPECIFIED

func (SignatureFormat) AsUnrecognized4

func (t SignatureFormat) AsUnrecognized4() (Unrecognized4, error)

AsUnrecognized4 returns the union data inside the SignatureFormat as a Unrecognized4

func (*SignatureFormat) FromSIGNATUREFORMATCONCAT

func (t *SignatureFormat) FromSIGNATUREFORMATCONCAT(v SIGNATUREFORMATCONCAT) error

FromSIGNATUREFORMATCONCAT overwrites any union data inside the SignatureFormat as the provided SIGNATUREFORMATCONCAT

func (*SignatureFormat) FromSIGNATUREFORMATDER

func (t *SignatureFormat) FromSIGNATUREFORMATDER(v SIGNATUREFORMATDER) error

FromSIGNATUREFORMATDER overwrites any union data inside the SignatureFormat as the provided SIGNATUREFORMATDER

func (*SignatureFormat) FromSIGNATUREFORMATRAW

func (t *SignatureFormat) FromSIGNATUREFORMATRAW(v SIGNATUREFORMATRAW) error

FromSIGNATUREFORMATRAW overwrites any union data inside the SignatureFormat as the provided SIGNATUREFORMATRAW

func (*SignatureFormat) FromSIGNATUREFORMATSYMBOLIC

func (t *SignatureFormat) FromSIGNATUREFORMATSYMBOLIC(v SIGNATUREFORMATSYMBOLIC) error

FromSIGNATUREFORMATSYMBOLIC overwrites any union data inside the SignatureFormat as the provided SIGNATUREFORMATSYMBOLIC

func (*SignatureFormat) FromSIGNATUREFORMATUNSPECIFIED

func (t *SignatureFormat) FromSIGNATUREFORMATUNSPECIFIED(v SIGNATUREFORMATUNSPECIFIED) error

FromSIGNATUREFORMATUNSPECIFIED overwrites any union data inside the SignatureFormat as the provided SIGNATUREFORMATUNSPECIFIED

func (*SignatureFormat) FromUnrecognized4

func (t *SignatureFormat) FromUnrecognized4(v Unrecognized4) error

FromUnrecognized4 overwrites any union data inside the SignatureFormat as the provided Unrecognized4

func (SignatureFormat) MarshalJSON

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

func (*SignatureFormat) MergeSIGNATUREFORMATCONCAT

func (t *SignatureFormat) MergeSIGNATUREFORMATCONCAT(v SIGNATUREFORMATCONCAT) error

MergeSIGNATUREFORMATCONCAT performs a merge with any union data inside the SignatureFormat, using the provided SIGNATUREFORMATCONCAT

func (*SignatureFormat) MergeSIGNATUREFORMATDER

func (t *SignatureFormat) MergeSIGNATUREFORMATDER(v SIGNATUREFORMATDER) error

MergeSIGNATUREFORMATDER performs a merge with any union data inside the SignatureFormat, using the provided SIGNATUREFORMATDER

func (*SignatureFormat) MergeSIGNATUREFORMATRAW

func (t *SignatureFormat) MergeSIGNATUREFORMATRAW(v SIGNATUREFORMATRAW) error

MergeSIGNATUREFORMATRAW performs a merge with any union data inside the SignatureFormat, using the provided SIGNATUREFORMATRAW

func (*SignatureFormat) MergeSIGNATUREFORMATSYMBOLIC

func (t *SignatureFormat) MergeSIGNATUREFORMATSYMBOLIC(v SIGNATUREFORMATSYMBOLIC) error

MergeSIGNATUREFORMATSYMBOLIC performs a merge with any union data inside the SignatureFormat, using the provided SIGNATUREFORMATSYMBOLIC

func (*SignatureFormat) MergeSIGNATUREFORMATUNSPECIFIED

func (t *SignatureFormat) MergeSIGNATUREFORMATUNSPECIFIED(v SIGNATUREFORMATUNSPECIFIED) error

MergeSIGNATUREFORMATUNSPECIFIED performs a merge with any union data inside the SignatureFormat, using the provided SIGNATUREFORMATUNSPECIFIED

func (*SignatureFormat) MergeUnrecognized4

func (t *SignatureFormat) MergeUnrecognized4(v Unrecognized4) error

MergeUnrecognized4 performs a merge with any union data inside the SignatureFormat, using the provided Unrecognized4

func (*SignatureFormat) UnmarshalJSON

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

type SigningAlgorithmSpec

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

SigningAlgorithmSpec defines model for SigningAlgorithmSpec.

func (SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECECDSASHA256

func (t SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECECDSASHA256() (SIGNINGALGORITHMSPECECDSASHA256, error)

AsSIGNINGALGORITHMSPECECDSASHA256 returns the union data inside the SigningAlgorithmSpec as a SIGNINGALGORITHMSPECECDSASHA256

func (SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECECDSASHA384

func (t SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECECDSASHA384() (SIGNINGALGORITHMSPECECDSASHA384, error)

AsSIGNINGALGORITHMSPECECDSASHA384 returns the union data inside the SigningAlgorithmSpec as a SIGNINGALGORITHMSPECECDSASHA384

func (SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECED25519

func (t SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECED25519() (SIGNINGALGORITHMSPECED25519, error)

AsSIGNINGALGORITHMSPECED25519 returns the union data inside the SigningAlgorithmSpec as a SIGNINGALGORITHMSPECED25519

func (SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECUNSPECIFIED

func (t SigningAlgorithmSpec) AsSIGNINGALGORITHMSPECUNSPECIFIED() (SIGNINGALGORITHMSPECUNSPECIFIED, error)

AsSIGNINGALGORITHMSPECUNSPECIFIED returns the union data inside the SigningAlgorithmSpec as a SIGNINGALGORITHMSPECUNSPECIFIED

func (SigningAlgorithmSpec) AsUnrecognized5

func (t SigningAlgorithmSpec) AsUnrecognized5() (Unrecognized5, error)

AsUnrecognized5 returns the union data inside the SigningAlgorithmSpec as a Unrecognized5

func (*SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECECDSASHA256

func (t *SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECECDSASHA256(v SIGNINGALGORITHMSPECECDSASHA256) error

FromSIGNINGALGORITHMSPECECDSASHA256 overwrites any union data inside the SigningAlgorithmSpec as the provided SIGNINGALGORITHMSPECECDSASHA256

func (*SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECECDSASHA384

func (t *SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECECDSASHA384(v SIGNINGALGORITHMSPECECDSASHA384) error

FromSIGNINGALGORITHMSPECECDSASHA384 overwrites any union data inside the SigningAlgorithmSpec as the provided SIGNINGALGORITHMSPECECDSASHA384

func (*SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECED25519

func (t *SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECED25519(v SIGNINGALGORITHMSPECED25519) error

FromSIGNINGALGORITHMSPECED25519 overwrites any union data inside the SigningAlgorithmSpec as the provided SIGNINGALGORITHMSPECED25519

func (*SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECUNSPECIFIED

func (t *SigningAlgorithmSpec) FromSIGNINGALGORITHMSPECUNSPECIFIED(v SIGNINGALGORITHMSPECUNSPECIFIED) error

FromSIGNINGALGORITHMSPECUNSPECIFIED overwrites any union data inside the SigningAlgorithmSpec as the provided SIGNINGALGORITHMSPECUNSPECIFIED

func (*SigningAlgorithmSpec) FromUnrecognized5

func (t *SigningAlgorithmSpec) FromUnrecognized5(v Unrecognized5) error

FromUnrecognized5 overwrites any union data inside the SigningAlgorithmSpec as the provided Unrecognized5

func (SigningAlgorithmSpec) MarshalJSON

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

func (*SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECECDSASHA256

func (t *SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECECDSASHA256(v SIGNINGALGORITHMSPECECDSASHA256) error

MergeSIGNINGALGORITHMSPECECDSASHA256 performs a merge with any union data inside the SigningAlgorithmSpec, using the provided SIGNINGALGORITHMSPECECDSASHA256

func (*SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECECDSASHA384

func (t *SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECECDSASHA384(v SIGNINGALGORITHMSPECECDSASHA384) error

MergeSIGNINGALGORITHMSPECECDSASHA384 performs a merge with any union data inside the SigningAlgorithmSpec, using the provided SIGNINGALGORITHMSPECECDSASHA384

func (*SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECED25519

func (t *SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECED25519(v SIGNINGALGORITHMSPECED25519) error

MergeSIGNINGALGORITHMSPECED25519 performs a merge with any union data inside the SigningAlgorithmSpec, using the provided SIGNINGALGORITHMSPECED25519

func (*SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECUNSPECIFIED

func (t *SigningAlgorithmSpec) MergeSIGNINGALGORITHMSPECUNSPECIFIED(v SIGNINGALGORITHMSPECUNSPECIFIED) error

MergeSIGNINGALGORITHMSPECUNSPECIFIED performs a merge with any union data inside the SigningAlgorithmSpec, using the provided SIGNINGALGORITHMSPECUNSPECIFIED

func (*SigningAlgorithmSpec) MergeUnrecognized5

func (t *SigningAlgorithmSpec) MergeUnrecognized5(v Unrecognized5) error

MergeUnrecognized5 performs a merge with any union data inside the SigningAlgorithmSpec, using the provided Unrecognized5

func (*SigningAlgorithmSpec) UnmarshalJSON

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

type SinglePartySignatures

type SinglePartySignatures struct {
	// Party Submitting party
	Party string `json:"party"`

	// Signatures Signatures
	Signatures *[]Signature `json:"signatures,omitempty"`
}

SinglePartySignatures Signatures provided by a single party

type Status

type Status struct {
	Code          int32  `json:"code"`
	Details       *[]Any `json:"details,omitempty"`
	Message       string `json:"message"`
	UnknownFields string `json:"unknownFields"`
}

Status defines model for Status.

type SubmitAndWaitForReassignmentRequest

type SubmitAndWaitForReassignmentRequest struct {
	// EventFormat A format for events which defines both which events should be included
	// and what data should be computed and included for them.
	//
	// Note that some of the filtering behavior depends on the `TransactionShape`,
	// which is expected to be specified alongside usages of `EventFormat`.
	EventFormat          *EventFormat          `json:"eventFormat,omitempty"`
	ReassignmentCommands *ReassignmentCommands `json:"reassignmentCommands,omitempty"`
}

SubmitAndWaitForReassignmentRequest This reassignment is executed as a single atomic update.

type SubmitAndWaitResponse

type SubmitAndWaitResponse struct {
	// CompletionOffset The details of the offset field are described in “community/ledger-api/README.md“.
	// Required
	CompletionOffset int64 `json:"completionOffset"`

	// UpdateId The id of the transaction that resulted from the submitted command.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UpdateId string `json:"updateId"`
}

SubmitAndWaitResponse defines model for SubmitAndWaitResponse.

type SubmitReassignmentRequest

type SubmitReassignmentRequest struct {
	ReassignmentCommands *ReassignmentCommands `json:"reassignmentCommands,omitempty"`
}

SubmitReassignmentRequest defines model for SubmitReassignmentRequest.

type SubmitReassignmentResponse

type SubmitReassignmentResponse = map[string]interface{}

SubmitReassignmentResponse defines model for SubmitReassignmentResponse.

type SubmitResponse

type SubmitResponse = map[string]interface{}

SubmitResponse defines model for SubmitResponse.

type SynchronizerTime

type SynchronizerTime struct {
	// RecordTime All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
	// Required
	RecordTime *string `json:"recordTime,omitempty"`

	// SynchronizerId The id of the synchronizer.
	// Required
	SynchronizerId string `json:"synchronizerId"`
}

SynchronizerTime defines model for SynchronizerTime.

type TRANSACTIONSHAPEACSDELTA

type TRANSACTIONSHAPEACSDELTA = map[string]interface{}

TRANSACTIONSHAPEACSDELTA defines model for TRANSACTION_SHAPE_ACS_DELTA.

type TRANSACTIONSHAPELEDGEREFFECTS

type TRANSACTIONSHAPELEDGEREFFECTS = map[string]interface{}

TRANSACTIONSHAPELEDGEREFFECTS defines model for TRANSACTION_SHAPE_LEDGER_EFFECTS.

type TRANSACTIONSHAPEUNSPECIFIED

type TRANSACTIONSHAPEUNSPECIFIED = map[string]interface{}

TRANSACTIONSHAPEUNSPECIFIED defines model for TRANSACTION_SHAPE_UNSPECIFIED.

type TemplateFilter

type TemplateFilter struct {
	// Value This filter matches contracts of a specific template.
	Value TemplateFilter1 `json:"value"`
}

TemplateFilter This filter matches contracts of a specific template.

type TemplateFilter1

type TemplateFilter1 struct {
	// IncludeCreatedEventBlob Whether to include a “created_event_blob“ in the returned “CreatedEvent“.
	// Use this to access the contract event payload in your API client
	// for submitting it as a disclosed contract with future commands.
	// Optional
	IncludeCreatedEventBlob bool `json:"includeCreatedEventBlob"`

	// TemplateId A template for which the payload should be included in the response.
	// The “template_id“ needs to be valid: corresponding template should be defined in
	// one of the available packages at the time of the query.
	// Both package-name and package-id reference formats for the identifier are supported.
	// Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
	//
	// Required
	TemplateId *string `json:"templateId,omitempty"`
}

TemplateFilter1 This filter matches contracts of a specific template.

type Time

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

Time defines model for Time.

func (Time) AsTime0

func (t Time) AsTime0() (Time0, error)

AsTime0 returns the union data inside the Time as a Time0

func (Time) AsTime1

func (t Time) AsTime1() (Time1, error)

AsTime1 returns the union data inside the Time as a Time1

func (Time) AsTime2

func (t Time) AsTime2() (Time2, error)

AsTime2 returns the union data inside the Time as a Time2

func (*Time) FromTime0

func (t *Time) FromTime0(v Time0) error

FromTime0 overwrites any union data inside the Time as the provided Time0

func (*Time) FromTime1

func (t *Time) FromTime1(v Time1) error

FromTime1 overwrites any union data inside the Time as the provided Time1

func (*Time) FromTime2

func (t *Time) FromTime2(v Time2) error

FromTime2 overwrites any union data inside the Time as the provided Time2

func (Time) MarshalJSON

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

func (*Time) MergeTime0

func (t *Time) MergeTime0(v Time0) error

MergeTime0 performs a merge with any union data inside the Time, using the provided Time0

func (*Time) MergeTime1

func (t *Time) MergeTime1(v Time1) error

MergeTime1 performs a merge with any union data inside the Time, using the provided Time1

func (*Time) MergeTime2

func (t *Time) MergeTime2(v Time2) error

MergeTime2 performs a merge with any union data inside the Time, using the provided Time2

func (*Time) UnmarshalJSON

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

type Time0

type Time0 struct {
	Empty Empty6 `json:"Empty"`
}

Time0 defines model for .

type Time1

type Time1 struct {
	MinLedgerTimeAbs MinLedgerTimeAbs `json:"MinLedgerTimeAbs"`
}

Time1 defines model for .

type Time2

type Time2 struct {
	MinLedgerTimeRel MinLedgerTimeRel `json:"MinLedgerTimeRel"`
}

Time2 defines model for .

type TopologyFormat

type TopologyFormat struct {
	// IncludeParticipantAuthorizationEvents A format specifying which participant authorization topology transactions to include and how to render them.
	IncludeParticipantAuthorizationEvents *ParticipantAuthorizationTopologyFormat `json:"includeParticipantAuthorizationEvents,omitempty"`
}

TopologyFormat A format specifying which topology transactions to include and how to render them.

type TopologyTransaction

type TopologyTransaction struct {
	Value JsTopologyTransaction `json:"value"`
}

TopologyTransaction defines model for TopologyTransaction.

type TraceContext

type TraceContext struct {
	// Traceparent https://www.w3.org/TR/trace-context/
	Traceparent *string `json:"traceparent,omitempty"`
	Tracestate  *string `json:"tracestate,omitempty"`
}

TraceContext defines model for TraceContext.

type Transaction

type Transaction struct {
	// Value Filtered view of an on-ledger transaction's create and archive events.
	Value JsTransaction `json:"value"`
}

Transaction Filtered view of an on-ledger transaction's create and archive events.

type TransactionDeduplicationPeriod

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

TransactionDeduplicationPeriod Specifies the deduplication period for the change ID. If omitted, the participant will assume the configured maximum deduplication time.

func (TransactionDeduplicationPeriod) AsDeduplicationPeriod20

func (t TransactionDeduplicationPeriod) AsDeduplicationPeriod20() (DeduplicationPeriod20, error)

AsDeduplicationPeriod20 returns the union data inside the TransactionDeduplicationPeriod as a DeduplicationPeriod20

func (TransactionDeduplicationPeriod) AsDeduplicationPeriod21

func (t TransactionDeduplicationPeriod) AsDeduplicationPeriod21() (DeduplicationPeriod21, error)

AsDeduplicationPeriod21 returns the union data inside the TransactionDeduplicationPeriod as a DeduplicationPeriod21

func (TransactionDeduplicationPeriod) AsDeduplicationPeriod22

func (t TransactionDeduplicationPeriod) AsDeduplicationPeriod22() (DeduplicationPeriod22, error)

AsDeduplicationPeriod22 returns the union data inside the TransactionDeduplicationPeriod as a DeduplicationPeriod22

func (*TransactionDeduplicationPeriod) FromDeduplicationPeriod20

func (t *TransactionDeduplicationPeriod) FromDeduplicationPeriod20(v DeduplicationPeriod20) error

FromDeduplicationPeriod20 overwrites any union data inside the TransactionDeduplicationPeriod as the provided DeduplicationPeriod20

func (*TransactionDeduplicationPeriod) FromDeduplicationPeriod21

func (t *TransactionDeduplicationPeriod) FromDeduplicationPeriod21(v DeduplicationPeriod21) error

FromDeduplicationPeriod21 overwrites any union data inside the TransactionDeduplicationPeriod as the provided DeduplicationPeriod21

func (*TransactionDeduplicationPeriod) FromDeduplicationPeriod22

func (t *TransactionDeduplicationPeriod) FromDeduplicationPeriod22(v DeduplicationPeriod22) error

FromDeduplicationPeriod22 overwrites any union data inside the TransactionDeduplicationPeriod as the provided DeduplicationPeriod22

func (TransactionDeduplicationPeriod) MarshalJSON

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

func (*TransactionDeduplicationPeriod) MergeDeduplicationPeriod20

func (t *TransactionDeduplicationPeriod) MergeDeduplicationPeriod20(v DeduplicationPeriod20) error

MergeDeduplicationPeriod20 performs a merge with any union data inside the TransactionDeduplicationPeriod, using the provided DeduplicationPeriod20

func (*TransactionDeduplicationPeriod) MergeDeduplicationPeriod21

func (t *TransactionDeduplicationPeriod) MergeDeduplicationPeriod21(v DeduplicationPeriod21) error

MergeDeduplicationPeriod21 performs a merge with any union data inside the TransactionDeduplicationPeriod, using the provided DeduplicationPeriod21

func (*TransactionDeduplicationPeriod) MergeDeduplicationPeriod22

func (t *TransactionDeduplicationPeriod) MergeDeduplicationPeriod22(v DeduplicationPeriod22) error

MergeDeduplicationPeriod22 performs a merge with any union data inside the TransactionDeduplicationPeriod, using the provided DeduplicationPeriod22

func (*TransactionDeduplicationPeriod) UnmarshalJSON

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

type TransactionFilter

type TransactionFilter struct {
	FiltersByParty MapFilters `json:"filtersByParty"`

	// FiltersForAnyParty The union of a set of template filters, interface filters, or a wildcard.
	FiltersForAnyParty *Filters `json:"filtersForAnyParty,omitempty"`
}

TransactionFilter Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Used both for filtering create and archive events as well as for filtering transaction trees.

type TransactionFormat

type TransactionFormat struct {
	// EventFormat A format for events which defines both which events should be included
	// and what data should be computed and included for them.
	//
	// Note that some of the filtering behavior depends on the `TransactionShape`,
	// which is expected to be specified alongside usages of `EventFormat`.
	EventFormat      *EventFormat     `json:"eventFormat,omitempty"`
	TransactionShape TransactionShape `json:"transactionShape"`
}

TransactionFormat A format that specifies what events to include in Daml transactions and what data to compute and include for them.

type TransactionShape

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

TransactionShape defines model for TransactionShape.

func (TransactionShape) AsTRANSACTIONSHAPEACSDELTA

func (t TransactionShape) AsTRANSACTIONSHAPEACSDELTA() (TRANSACTIONSHAPEACSDELTA, error)

AsTRANSACTIONSHAPEACSDELTA returns the union data inside the TransactionShape as a TRANSACTIONSHAPEACSDELTA

func (TransactionShape) AsTRANSACTIONSHAPELEDGEREFFECTS

func (t TransactionShape) AsTRANSACTIONSHAPELEDGEREFFECTS() (TRANSACTIONSHAPELEDGEREFFECTS, error)

AsTRANSACTIONSHAPELEDGEREFFECTS returns the union data inside the TransactionShape as a TRANSACTIONSHAPELEDGEREFFECTS

func (TransactionShape) AsTRANSACTIONSHAPEUNSPECIFIED

func (t TransactionShape) AsTRANSACTIONSHAPEUNSPECIFIED() (TRANSACTIONSHAPEUNSPECIFIED, error)

AsTRANSACTIONSHAPEUNSPECIFIED returns the union data inside the TransactionShape as a TRANSACTIONSHAPEUNSPECIFIED

func (TransactionShape) AsUnrecognized

func (t TransactionShape) AsUnrecognized() (Unrecognized, error)

AsUnrecognized returns the union data inside the TransactionShape as a Unrecognized

func (*TransactionShape) FromTRANSACTIONSHAPEACSDELTA

func (t *TransactionShape) FromTRANSACTIONSHAPEACSDELTA(v TRANSACTIONSHAPEACSDELTA) error

FromTRANSACTIONSHAPEACSDELTA overwrites any union data inside the TransactionShape as the provided TRANSACTIONSHAPEACSDELTA

func (*TransactionShape) FromTRANSACTIONSHAPELEDGEREFFECTS

func (t *TransactionShape) FromTRANSACTIONSHAPELEDGEREFFECTS(v TRANSACTIONSHAPELEDGEREFFECTS) error

FromTRANSACTIONSHAPELEDGEREFFECTS overwrites any union data inside the TransactionShape as the provided TRANSACTIONSHAPELEDGEREFFECTS

func (*TransactionShape) FromTRANSACTIONSHAPEUNSPECIFIED

func (t *TransactionShape) FromTRANSACTIONSHAPEUNSPECIFIED(v TRANSACTIONSHAPEUNSPECIFIED) error

FromTRANSACTIONSHAPEUNSPECIFIED overwrites any union data inside the TransactionShape as the provided TRANSACTIONSHAPEUNSPECIFIED

func (*TransactionShape) FromUnrecognized

func (t *TransactionShape) FromUnrecognized(v Unrecognized) error

FromUnrecognized overwrites any union data inside the TransactionShape as the provided Unrecognized

func (TransactionShape) MarshalJSON

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

func (*TransactionShape) MergeTRANSACTIONSHAPEACSDELTA

func (t *TransactionShape) MergeTRANSACTIONSHAPEACSDELTA(v TRANSACTIONSHAPEACSDELTA) error

MergeTRANSACTIONSHAPEACSDELTA performs a merge with any union data inside the TransactionShape, using the provided TRANSACTIONSHAPEACSDELTA

func (*TransactionShape) MergeTRANSACTIONSHAPELEDGEREFFECTS

func (t *TransactionShape) MergeTRANSACTIONSHAPELEDGEREFFECTS(v TRANSACTIONSHAPELEDGEREFFECTS) error

MergeTRANSACTIONSHAPELEDGEREFFECTS performs a merge with any union data inside the TransactionShape, using the provided TRANSACTIONSHAPELEDGEREFFECTS

func (*TransactionShape) MergeTRANSACTIONSHAPEUNSPECIFIED

func (t *TransactionShape) MergeTRANSACTIONSHAPEUNSPECIFIED(v TRANSACTIONSHAPEUNSPECIFIED) error

MergeTRANSACTIONSHAPEUNSPECIFIED performs a merge with any union data inside the TransactionShape, using the provided TRANSACTIONSHAPEUNSPECIFIED

func (*TransactionShape) MergeUnrecognized

func (t *TransactionShape) MergeUnrecognized(v Unrecognized) error

MergeUnrecognized performs a merge with any union data inside the TransactionShape, using the provided Unrecognized

func (*TransactionShape) UnmarshalJSON

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

type TransactionTree

type TransactionTree struct {
	// Value Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// Complete view of an on-ledger transaction.
	Value JsTransactionTree `json:"value"`
}

TransactionTree Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Complete view of an on-ledger transaction.

type TreeEvent

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

TreeEvent Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Each tree event message type below contains a “witness_parties“ field which indicates the subset of the requested parties that can see the event in question.

Note that transaction trees might contain events with _no_ witness parties, which were included simply because they were children of events which have witnesses.

func (TreeEvent) AsTreeEvent0

func (t TreeEvent) AsTreeEvent0() (TreeEvent0, error)

AsTreeEvent0 returns the union data inside the TreeEvent as a TreeEvent0

func (TreeEvent) AsTreeEvent1

func (t TreeEvent) AsTreeEvent1() (TreeEvent1, error)

AsTreeEvent1 returns the union data inside the TreeEvent as a TreeEvent1

func (*TreeEvent) FromTreeEvent0

func (t *TreeEvent) FromTreeEvent0(v TreeEvent0) error

FromTreeEvent0 overwrites any union data inside the TreeEvent as the provided TreeEvent0

func (*TreeEvent) FromTreeEvent1

func (t *TreeEvent) FromTreeEvent1(v TreeEvent1) error

FromTreeEvent1 overwrites any union data inside the TreeEvent as the provided TreeEvent1

func (TreeEvent) MarshalJSON

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

func (*TreeEvent) MergeTreeEvent0

func (t *TreeEvent) MergeTreeEvent0(v TreeEvent0) error

MergeTreeEvent0 performs a merge with any union data inside the TreeEvent, using the provided TreeEvent0

func (*TreeEvent) MergeTreeEvent1

func (t *TreeEvent) MergeTreeEvent1(v TreeEvent1) error

MergeTreeEvent1 performs a merge with any union data inside the TreeEvent, using the provided TreeEvent1

func (*TreeEvent) UnmarshalJSON

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

type TreeEvent0

type TreeEvent0 struct {
	CreatedTreeEvent CreatedTreeEvent `json:"CreatedTreeEvent"`
}

TreeEvent0 defines model for .

type TreeEvent1

type TreeEvent1 struct {
	ExercisedTreeEvent ExercisedTreeEvent `json:"ExercisedTreeEvent"`
}

TreeEvent1 defines model for .

type Tuple2StringString

type Tuple2StringString = []string

Tuple2StringString defines model for Tuple2_String_String.

type UnassignCommand

type UnassignCommand struct {
	// Value Unassign a contract
	Value UnassignCommand1 `json:"value"`
}

UnassignCommand Unassign a contract

type UnassignCommand1

type UnassignCommand1 struct {
	// ContractId The ID of the contract the client wants to unassign.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	ContractId string `json:"contractId"`

	// Source The ID of the source synchronizer
	// Must be a valid synchronizer id
	// Required
	Source string `json:"source"`

	// Target The ID of the target synchronizer
	// Must be a valid synchronizer id
	// Required
	Target string `json:"target"`
}

UnassignCommand1 Unassign a contract

type UnassignedEvent

type UnassignedEvent struct {
	// AssignmentExclusivity Assignment exclusivity
	// Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment
	// Defined for reassigning participants.
	// Optional
	AssignmentExclusivity *string `json:"assignmentExclusivity,omitempty"`

	// ContractId The ID of the reassigned contract.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	ContractId string `json:"contractId"`

	// NodeId The position of this event in the originating reassignment.
	// Node IDs are not necessarily equal across participants,
	// as these may see different projections/parts of reassignments.
	// Required, must be valid node ID (non-negative integer)
	NodeId int32 `json:"nodeId"`

	// Offset The offset of origin.
	// Offsets are managed by the participant nodes.
	// Reassignments can thus NOT be assumed to have the same offsets on different participant nodes.
	// Required, it is a valid absolute offset (positive integer)
	Offset int64 `json:"offset"`

	// PackageName The package name of the contract.
	// Required
	PackageName string `json:"packageName"`

	// ReassignmentCounter Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
	// with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
	// equals zero.
	// Required
	ReassignmentCounter int64 `json:"reassignmentCounter"`

	// Source The ID of the source synchronizer
	// Must be a valid synchronizer id
	// Required
	Source string `json:"source"`

	// Submitter Party on whose behalf the unassign command was executed.
	// Empty if the unassignment happened offline via the repair service.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Optional
	Submitter string `json:"submitter"`

	// Target The ID of the target synchronizer
	// Must be a valid synchronizer id
	// Required
	Target string `json:"target"`

	// TemplateId The template of the reassigned contract.
	// The identifier uses the package-id reference format.
	//
	// Required
	TemplateId *string `json:"templateId,omitempty"`

	// UnassignId The ID of the unassignment. This needs to be used as an input for a assign ReassignmentCommand.
	// For one contract the (unassign_id, source synchronizer) pair is unique.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	UnassignId string `json:"unassignId"`

	// WitnessParties The parties that are notified of this event.
	// Required
	WitnessParties *[]string `json:"witnessParties,omitempty"`
}

UnassignedEvent Records that a contract has been unassigned, and it becomes unusable on the source synchronizer

type Unrecognized

type Unrecognized struct {
	UnrecognizedValue int32 `json:"unrecognizedValue"`
}

Unrecognized defines model for Unrecognized.

type Unrecognized1

type Unrecognized1 struct {
	UnrecognizedValue int32 `json:"unrecognizedValue"`
}

Unrecognized1 defines model for Unrecognized1.

type Unrecognized2

type Unrecognized2 struct {
	UnrecognizedValue int32 `json:"unrecognizedValue"`
}

Unrecognized2 defines model for Unrecognized2.

type Unrecognized3

type Unrecognized3 struct {
	UnrecognizedValue int32 `json:"unrecognizedValue"`
}

Unrecognized3 defines model for Unrecognized3.

type Unrecognized4

type Unrecognized4 struct {
	UnrecognizedValue int32 `json:"unrecognizedValue"`
}

Unrecognized4 defines model for Unrecognized4.

type Unrecognized5

type Unrecognized5 struct {
	UnrecognizedValue int32 `json:"unrecognizedValue"`
}

Unrecognized5 defines model for Unrecognized5.

type Update

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

Update The update that matches the filter in the request.

func (Update) AsUpdate0

func (t Update) AsUpdate0() (Update0, error)

AsUpdate0 returns the union data inside the Update as a Update0

func (Update) AsUpdate1

func (t Update) AsUpdate1() (Update1, error)

AsUpdate1 returns the union data inside the Update as a Update1

func (Update) AsUpdate2

func (t Update) AsUpdate2() (Update2, error)

AsUpdate2 returns the union data inside the Update as a Update2

func (Update) AsUpdate3

func (t Update) AsUpdate3() (Update3, error)

AsUpdate3 returns the union data inside the Update as a Update3

func (*Update) FromUpdate0

func (t *Update) FromUpdate0(v Update0) error

FromUpdate0 overwrites any union data inside the Update as the provided Update0

func (*Update) FromUpdate1

func (t *Update) FromUpdate1(v Update1) error

FromUpdate1 overwrites any union data inside the Update as the provided Update1

func (*Update) FromUpdate2

func (t *Update) FromUpdate2(v Update2) error

FromUpdate2 overwrites any union data inside the Update as the provided Update2

func (*Update) FromUpdate3

func (t *Update) FromUpdate3(v Update3) error

FromUpdate3 overwrites any union data inside the Update as the provided Update3

func (Update) MarshalJSON

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

func (*Update) MergeUpdate0

func (t *Update) MergeUpdate0(v Update0) error

MergeUpdate0 performs a merge with any union data inside the Update, using the provided Update0

func (*Update) MergeUpdate1

func (t *Update) MergeUpdate1(v Update1) error

MergeUpdate1 performs a merge with any union data inside the Update, using the provided Update1

func (*Update) MergeUpdate2

func (t *Update) MergeUpdate2(v Update2) error

MergeUpdate2 performs a merge with any union data inside the Update, using the provided Update2

func (*Update) MergeUpdate3

func (t *Update) MergeUpdate3(v Update3) error

MergeUpdate3 performs a merge with any union data inside the Update, using the provided Update3

func (*Update) UnmarshalJSON

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

type Update0

type Update0 struct {
	// OffsetCheckpoint OffsetCheckpoints may be used to:
	//
	// - detect time out of commands.
	// - provide an offset which can be used to restart consumption.
	OffsetCheckpoint OffsetCheckpoint2 `json:"OffsetCheckpoint"`
}

Update0 defines model for .

type Update1

type Update1 struct {
	// Reassignment Complete view of an on-ledger reassignment.
	Reassignment Reassignment `json:"Reassignment"`
}

Update1 defines model for .

type Update10

type Update10 struct {
	// OffsetCheckpoint OffsetCheckpoints may be used to:
	//
	// - detect time out of commands.
	// - provide an offset which can be used to restart consumption.
	OffsetCheckpoint OffsetCheckpoint3 `json:"OffsetCheckpoint"`
}

Update10 defines model for .

type Update11

type Update11 struct {
	// Reassignment Complete view of an on-ledger reassignment.
	Reassignment Reassignment1 `json:"Reassignment"`
}

Update11 defines model for .

type Update12

type Update12 struct {
	// TransactionTree Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
	// Complete view of an on-ledger transaction.
	TransactionTree TransactionTree `json:"TransactionTree"`
}

Update12 defines model for .

type Update2

type Update2 struct {
	TopologyTransaction TopologyTransaction `json:"TopologyTransaction"`
}

Update2 defines model for .

type Update3

type Update3 struct {
	// Transaction Filtered view of an on-ledger transaction's create and archive events.
	Transaction Transaction `json:"Transaction"`
}

Update3 defines model for .

type UpdateFormat

type UpdateFormat struct {
	// IncludeReassignments A format for events which defines both which events should be included
	// and what data should be computed and included for them.
	//
	// Note that some of the filtering behavior depends on the `TransactionShape`,
	// which is expected to be specified alongside usages of `EventFormat`.
	IncludeReassignments *EventFormat `json:"includeReassignments,omitempty"`

	// IncludeTopologyEvents A format specifying which topology transactions to include and how to render them.
	IncludeTopologyEvents *TopologyFormat `json:"includeTopologyEvents,omitempty"`

	// IncludeTransactions A format that specifies what events to include in Daml transactions
	// and what data to compute and include for them.
	IncludeTransactions *TransactionFormat `json:"includeTransactions,omitempty"`
}

UpdateFormat A format specifying what updates to include and how to render them.

type UpdateIdentityProviderConfigRequest

type UpdateIdentityProviderConfigRequest struct {
	IdentityProviderConfig *IdentityProviderConfig `json:"identityProviderConfig,omitempty"`
	UpdateMask             *FieldMask              `json:"updateMask,omitempty"`
}

UpdateIdentityProviderConfigRequest defines model for UpdateIdentityProviderConfigRequest.

type UpdateIdentityProviderConfigResponse

type UpdateIdentityProviderConfigResponse struct {
	IdentityProviderConfig *IdentityProviderConfig `json:"identityProviderConfig,omitempty"`
}

UpdateIdentityProviderConfigResponse defines model for UpdateIdentityProviderConfigResponse.

type UpdatePartyDetailsRequest

type UpdatePartyDetailsRequest struct {
	PartyDetails *PartyDetails `json:"partyDetails,omitempty"`
	UpdateMask   *FieldMask    `json:"updateMask,omitempty"`
}

UpdatePartyDetailsRequest Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(party_details.identity_provider_id)“

type UpdatePartyDetailsResponse

type UpdatePartyDetailsResponse struct {
	PartyDetails *PartyDetails `json:"partyDetails,omitempty"`
}

UpdatePartyDetailsResponse defines model for UpdatePartyDetailsResponse.

type UpdateUnion

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

UpdateUnion The update that matches the filter in the request.

func (UpdateUnion) AsUpdate10

func (t UpdateUnion) AsUpdate10() (Update10, error)

AsUpdate10 returns the union data inside the UpdateUnion as a Update10

func (UpdateUnion) AsUpdate11

func (t UpdateUnion) AsUpdate11() (Update11, error)

AsUpdate11 returns the union data inside the UpdateUnion as a Update11

func (UpdateUnion) AsUpdate12

func (t UpdateUnion) AsUpdate12() (Update12, error)

AsUpdate12 returns the union data inside the UpdateUnion as a Update12

func (*UpdateUnion) FromUpdate10

func (t *UpdateUnion) FromUpdate10(v Update10) error

FromUpdate10 overwrites any union data inside the UpdateUnion as the provided Update10

func (*UpdateUnion) FromUpdate11

func (t *UpdateUnion) FromUpdate11(v Update11) error

FromUpdate11 overwrites any union data inside the UpdateUnion as the provided Update11

func (*UpdateUnion) FromUpdate12

func (t *UpdateUnion) FromUpdate12(v Update12) error

FromUpdate12 overwrites any union data inside the UpdateUnion as the provided Update12

func (UpdateUnion) MarshalJSON

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

func (*UpdateUnion) MergeUpdate10

func (t *UpdateUnion) MergeUpdate10(v Update10) error

MergeUpdate10 performs a merge with any union data inside the UpdateUnion, using the provided Update10

func (*UpdateUnion) MergeUpdate11

func (t *UpdateUnion) MergeUpdate11(v Update11) error

MergeUpdate11 performs a merge with any union data inside the UpdateUnion, using the provided Update11

func (*UpdateUnion) MergeUpdate12

func (t *UpdateUnion) MergeUpdate12(v Update12) error

MergeUpdate12 performs a merge with any union data inside the UpdateUnion, using the provided Update12

func (*UpdateUnion) UnmarshalJSON

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

type UpdateUserIdentityProviderIdRequest

type UpdateUserIdentityProviderIdRequest struct {
	// SourceIdentityProviderId Current identity provider ID of the user
	SourceIdentityProviderId string `json:"sourceIdentityProviderId"`

	// TargetIdentityProviderId Target identity provider ID of the user
	TargetIdentityProviderId string `json:"targetIdentityProviderId"`

	// UserId User to update
	UserId string `json:"userId"`
}

UpdateUserIdentityProviderIdRequest Required authorization: “HasRight(ParticipantAdmin)“

type UpdateUserIdentityProviderIdResponse

type UpdateUserIdentityProviderIdResponse = map[string]interface{}

UpdateUserIdentityProviderIdResponse defines model for UpdateUserIdentityProviderIdResponse.

type UpdateUserRequest

type UpdateUserRequest struct {
	UpdateMask *FieldMask `json:"updateMask,omitempty"`

	// User  Users and rights
	// /////////////////
	//  Users are used to dynamically manage the rights given to Daml applications.
	//  They are stored and managed per participant node.
	User *User `json:"user,omitempty"`
}

UpdateUserRequest Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(user.identity_provider_id)“

type UpdateUserResponse

type UpdateUserResponse struct {
	// User  Users and rights
	// /////////////////
	//  Users are used to dynamically manage the rights given to Daml applications.
	//  They are stored and managed per participant node.
	User *User `json:"user,omitempty"`
}

UpdateUserResponse defines model for UpdateUserResponse.

type UploadDarFileResponse

type UploadDarFileResponse = map[string]interface{}

UploadDarFileResponse A message that is received when the upload operation succeeded.

type User

type User struct {
	// Id The user identifier, which must be a non-empty string of at most 128
	// characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
	// Required
	Id string `json:"id"`

	// IdentityProviderId The ID of the identity provider configured by “Identity Provider Config“
	// Optional, if not set, assume the user is managed by the default identity provider.
	IdentityProviderId string `json:"identityProviderId"`

	// IsDeactivated When set, then the user is denied all access to the Ledger API.
	// Otherwise, the user has access to the Ledger API as per the user's rights.
	// Optional,
	// Modifiable
	IsDeactivated bool `json:"isDeactivated"`

	// Metadata Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).
	//
	// Based on “ObjectMeta“ meta used in Kubernetes API.
	// See https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto#L640
	Metadata *ObjectMeta `json:"metadata,omitempty"`

	// PrimaryParty The primary party as which this user reads and acts by default on the ledger
	// *provided* it has the corresponding “CanReadAs(primary_party)“ or
	// “CanActAs(primary_party)“ rights.
	// Ledger API clients SHOULD set this field to a non-empty value for all users to
	// enable the users to act on the ledger using their own Daml party.
	// Users for participant administrators MAY have an associated primary party.
	// Optional,
	// Modifiable
	PrimaryParty string `json:"primaryParty"`
}

User Users and rights /////////////////

Users are used to dynamically manage the rights given to Daml applications.
They are stored and managed per participant node.

type UserManagementFeature

type UserManagementFeature struct {
	// MaxRightsPerUser The maximum number of rights that can be assigned to a single user.
	// Servers MUST support at least 100 rights per user.
	// A value of 0 means that the server enforces no rights per user limit.
	MaxRightsPerUser int32 `json:"maxRightsPerUser"`

	// MaxUsersPageSize The maximum number of users the server can return in a single response (page).
	// Servers MUST support at least a 100 users per page.
	// A value of 0 means that the server enforces no page size limit.
	MaxUsersPageSize int32 `json:"maxUsersPageSize"`

	// Supported Whether the Ledger API server provides the user management service.
	Supported bool `json:"supported"`
}

UserManagementFeature defines model for UserManagementFeature.

type WildcardFilter

type WildcardFilter struct {
	// Value This filter matches all templates.
	Value WildcardFilter1 `json:"value"`
}

WildcardFilter This filter matches all templates.

type WildcardFilter1

type WildcardFilter1 struct {
	// IncludeCreatedEventBlob Whether to include a “created_event_blob“ in the returned “CreatedEvent“.
	// Use this to access the contract create event payload in your API client
	// for submitting it as a disclosed contract with future commands.
	// Optional
	IncludeCreatedEventBlob bool `json:"includeCreatedEventBlob"`
}

WildcardFilter1 This filter matches all templates.

Jump to

Keyboard shortcuts

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