Files
2e03d96084 feat: update speakeasy (#1100)
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: David Ragot <[email protected]>
2024-01-08 18:23:33 +00:00

40 lines
787 B
Go

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
type Script struct {
Metadata map[string]interface{} `json:"metadata,omitempty"`
Plain string `json:"plain"`
// Reference to attach to the generated transaction
Reference *string `json:"reference,omitempty"`
Vars map[string]interface{} `json:"vars,omitempty"`
}
func (o *Script) GetMetadata() map[string]interface{} {
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]interface{} {
if o == nil {
return nil
}
return o.Vars
}