Files
stack/releases/sdks/go/pkg/models/shared/policyrequest.go
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

39 lines
802 B
Go

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
type PolicyRequest struct {
LedgerName string `json:"ledgerName"`
LedgerQuery map[string]interface{} `json:"ledgerQuery"`
Name string `json:"name"`
PaymentsPoolID string `json:"paymentsPoolID"`
}
func (o *PolicyRequest) GetLedgerName() string {
if o == nil {
return ""
}
return o.LedgerName
}
func (o *PolicyRequest) GetLedgerQuery() map[string]interface{} {
if o == nil {
return map[string]interface{}{}
}
return o.LedgerQuery
}
func (o *PolicyRequest) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *PolicyRequest) GetPaymentsPoolID() string {
if o == nil {
return ""
}
return o.PaymentsPoolID
}