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 V2BulkElementDeleteMetadataData struct {
|
|
Key string `json:"key"`
|
|
TargetID V2TargetID `json:"targetId"`
|
|
TargetType V2TargetType `json:"targetType"`
|
|
}
|
|
|
|
func (o *V2BulkElementDeleteMetadataData) GetKey() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Key
|
|
}
|
|
|
|
func (o *V2BulkElementDeleteMetadataData) GetTargetID() V2TargetID {
|
|
if o == nil {
|
|
return V2TargetID{}
|
|
}
|
|
return o.TargetID
|
|
}
|
|
|
|
func (o *V2BulkElementDeleteMetadataData) GetTargetType() V2TargetType {
|
|
if o == nil {
|
|
return V2TargetType("")
|
|
}
|
|
return o.TargetType
|
|
}
|
|
|
|
type V2BulkElementDeleteMetadata struct {
|
|
Action string `json:"action"`
|
|
Data *V2BulkElementDeleteMetadataData `json:"data,omitempty"`
|
|
Ik *string `json:"ik,omitempty"`
|
|
}
|
|
|
|
func (o *V2BulkElementDeleteMetadata) GetAction() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Action
|
|
}
|
|
|
|
func (o *V2BulkElementDeleteMetadata) GetData() *V2BulkElementDeleteMetadataData {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Data
|
|
}
|
|
|
|
func (o *V2BulkElementDeleteMetadata) GetIk() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Ik
|
|
}
|