Versions in this module Expand all Collapse all v0 v0.6.0 Mar 31, 2026 Changes in this version + const PackageID + const PackageName + const SDKVersion + type Accept struct + func (t *Accept) UnmarshalJSON(data []byte) error + func (t Accept) MarshalJSON() ([]byte, error) + func (t Accept) ToMap() map[string]any + type Color string + const ColorBlue + const ColorGreen + const ColorRed + func (e *Color) UnmarshalJSON(data []byte) error + func (e Color) GetEnumConstructor() string + func (e Color) GetEnumTypeID() string + func (e Color) GetEnumTypeIDWithPackageID(packageID string) string + func (e Color) MarshalJSON() ([]byte, error) + type MappyContract struct + Operator types.PARTY + Value types.TEXTMAP + func (t *MappyContract) UnmarshalJSON(data []byte) error + func (t MappyContract) Archive(contractID string) *model.ExerciseCommand + func (t MappyContract) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand + func (t MappyContract) CreateCommand() *model.CreateCommand + func (t MappyContract) CreateCommandWithPackageID(packageID string) *model.CreateCommand + func (t MappyContract) GetTemplateID() string + func (t MappyContract) GetTemplateIDWithPackageID(packageID string) string + func (t MappyContract) MarshalJSON() ([]byte, error) + type MyPair struct + Left any + Right any + func (t *MyPair) UnmarshalJSON(data []byte) error + func (t MyPair) MarshalJSON() ([]byte, error) + func (t MyPair) ToMap() map[string]any + type OneOfEverything struct + Operator types.PARTY + SomeBoolean types.BOOL + SomeDate types.DATE + SomeDatetime types.TIMESTAMP + SomeDecimal types.NUMERIC + SomeEnum Color + SomeInteger types.INT64 + SomeMaybe *types.INT64 + SomeMaybeNot *types.INT64 + SomeMeasurement types.NUMERIC + SomeNestedPair MyPair + SomeSimpleList []types.INT64 + SomeSimplePair MyPair + SomeText types.TEXT + SomeUglyNesting VPair + TheUnit types.UNIT + func (t *OneOfEverything) UnmarshalJSON(data []byte) error + func (t OneOfEverything) Accept(contractID string, args Accept) *model.ExerciseCommand + func (t OneOfEverything) AcceptWithPackageID(contractID string, packageID string, args Accept) *model.ExerciseCommand + func (t OneOfEverything) Archive(contractID string) *model.ExerciseCommand + func (t OneOfEverything) ArchiveWithPackageID(contractID string, packageID string) *model.ExerciseCommand + func (t OneOfEverything) CreateCommand() *model.CreateCommand + func (t OneOfEverything) CreateCommandWithPackageID(packageID string) *model.CreateCommand + func (t OneOfEverything) GetTemplateID() string + func (t OneOfEverything) GetTemplateIDWithPackageID(packageID string) string + func (t OneOfEverything) MarshalJSON() ([]byte, error) + type Template interface + CreateCommand func() *model.CreateCommand + GetTemplateID func() string + type VPair struct + Both *VPair + Left *any + Right *any + func (v *VPair) UnmarshalJSON(data []byte) error + func (v VPair) GetVariantTag() string + func (v VPair) GetVariantValue() any + func (v VPair) MarshalJSON() ([]byte, error)