Files
stack/releases/sdks/go/pkg/models/shared/createclientrequest.go

71 lines
1.5 KiB
Go

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
type CreateClientRequest struct {
Description *string `json:"description,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
Name string `json:"name"`
PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"`
Public *bool `json:"public,omitempty"`
RedirectUris []string `json:"redirectUris,omitempty"`
Scopes []string `json:"scopes,omitempty"`
Trusted *bool `json:"trusted,omitempty"`
}
func (o *CreateClientRequest) GetDescription() *string {
if o == nil {
return nil
}
return o.Description
}
func (o *CreateClientRequest) GetMetadata() map[string]any {
if o == nil {
return nil
}
return o.Metadata
}
func (o *CreateClientRequest) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *CreateClientRequest) GetPostLogoutRedirectUris() []string {
if o == nil {
return nil
}
return o.PostLogoutRedirectUris
}
func (o *CreateClientRequest) GetPublic() *bool {
if o == nil {
return nil
}
return o.Public
}
func (o *CreateClientRequest) GetRedirectUris() []string {
if o == nil {
return nil
}
return o.RedirectUris
}
func (o *CreateClientRequest) GetScopes() []string {
if o == nil {
return nil
}
return o.Scopes
}
func (o *CreateClientRequest) GetTrusted() *bool {
if o == nil {
return nil
}
return o.Trusted
}