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