mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
40 lines
736 B
Go
40 lines
736 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type Script struct {
|
|
Metadata map[string]any `json:"metadata,omitempty"`
|
|
Plain string `json:"plain"`
|
|
// Reference to attach to the generated transaction
|
|
Reference *string `json:"reference,omitempty"`
|
|
Vars map[string]any `json:"vars,omitempty"`
|
|
}
|
|
|
|
func (o *Script) GetMetadata() map[string]any {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Metadata
|
|
}
|
|
|
|
func (o *Script) GetPlain() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Plain
|
|
}
|
|
|
|
func (o *Script) GetReference() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Reference
|
|
}
|
|
|
|
func (o *Script) GetVars() map[string]any {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Vars
|
|
}
|