mirror of
https://github.com/hanzo-fi/webhooks.git
synced 2026-10-30 20:32:55 +00:00
48 lines
1.1 KiB
Go
48 lines
1.1 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/hanzo-fi/webhooks/pkg/client/models/components"
|
|
)
|
|
|
|
type ChangeConfigSecretRequest struct {
|
|
// Config ID
|
|
ID string `pathParam:"style=simple,explode=false,name=id"`
|
|
ConfigChangeSecret *components.ConfigChangeSecret `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *ChangeConfigSecretRequest) GetID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ID
|
|
}
|
|
|
|
func (o *ChangeConfigSecretRequest) GetConfigChangeSecret() *components.ConfigChangeSecret {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.ConfigChangeSecret
|
|
}
|
|
|
|
type ChangeConfigSecretResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// Secret successfully changed.
|
|
ConfigResponse *components.ConfigResponse
|
|
}
|
|
|
|
func (o *ChangeConfigSecretResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *ChangeConfigSecretResponse) GetConfigResponse() *components.ConfigResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.ConfigResponse
|
|
}
|