mirror of
https://github.com/hanzo-fi/auth.git
synced 2026-10-30 20:33:21 +00:00
40 lines
796 B
Go
40 lines
796 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/hanzo-fi/auth/pkg/client/models/components"
|
|
)
|
|
|
|
type ReadUserRequest struct {
|
|
// User ID
|
|
UserID string `pathParam:"style=simple,explode=false,name=userId"`
|
|
}
|
|
|
|
func (o *ReadUserRequest) GetUserID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.UserID
|
|
}
|
|
|
|
type ReadUserResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// Retrieved user
|
|
ReadUserResponse *components.ReadUserResponse
|
|
}
|
|
|
|
func (o *ReadUserResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *ReadUserResponse) GetReadUserResponse() *components.ReadUserResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.ReadUserResponse
|
|
}
|