mirror of
https://github.com/hanzo-fi/auth.git
synced 2026-10-30 20:33:21 +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/auth/pkg/client/models/components"
|
|
)
|
|
|
|
type UpdateClientRequest struct {
|
|
// Client ID
|
|
ClientID string `pathParam:"style=simple,explode=false,name=clientId"`
|
|
UpdateClientRequest *components.UpdateClientRequest `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *UpdateClientRequest) GetClientID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ClientID
|
|
}
|
|
|
|
func (o *UpdateClientRequest) GetUpdateClientRequest() *components.UpdateClientRequest {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.UpdateClientRequest
|
|
}
|
|
|
|
type UpdateClientResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// Updated client
|
|
UpdateClientResponse *components.UpdateClientResponse
|
|
}
|
|
|
|
func (o *UpdateClientResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *UpdateClientResponse) GetUpdateClientResponse() *components.UpdateClientResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.UpdateClientResponse
|
|
}
|