mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: Maxence Maireaux <[email protected]> Co-authored-by: David Ragot <[email protected]>
58 lines
1.2 KiB
Go
58 lines
1.2 KiB
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type V2BulkElementAddMetadataData struct {
|
|
Metadata map[string]string `json:"metadata"`
|
|
TargetID V2TargetID `json:"targetId"`
|
|
TargetType V2TargetType `json:"targetType"`
|
|
}
|
|
|
|
func (o *V2BulkElementAddMetadataData) GetMetadata() map[string]string {
|
|
if o == nil {
|
|
return map[string]string{}
|
|
}
|
|
return o.Metadata
|
|
}
|
|
|
|
func (o *V2BulkElementAddMetadataData) GetTargetID() V2TargetID {
|
|
if o == nil {
|
|
return V2TargetID{}
|
|
}
|
|
return o.TargetID
|
|
}
|
|
|
|
func (o *V2BulkElementAddMetadataData) GetTargetType() V2TargetType {
|
|
if o == nil {
|
|
return V2TargetType("")
|
|
}
|
|
return o.TargetType
|
|
}
|
|
|
|
type V2BulkElementAddMetadata struct {
|
|
Action string `json:"action"`
|
|
Data *V2BulkElementAddMetadataData `json:"data,omitempty"`
|
|
Ik *string `json:"ik,omitempty"`
|
|
}
|
|
|
|
func (o *V2BulkElementAddMetadata) GetAction() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Action
|
|
}
|
|
|
|
func (o *V2BulkElementAddMetadata) GetData() *V2BulkElementAddMetadataData {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Data
|
|
}
|
|
|
|
func (o *V2BulkElementAddMetadata) GetIk() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Ik
|
|
}
|