Versions in this module Expand all Collapse all v0 v0.7.0 Mar 6, 2026 Changes in this version + var JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) + var XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) + func CacheExpires(r *http.Response) time.Time + func IsNil(i interface{}) bool + func NewConfiguration() *config.Configuration + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + DefaultAPI DefaultAPI + func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error) + func (c *APIClient) GetConfig() *config.Configuration + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiCreateTokenRequest struct + ApiService DefaultAPI + func (r ApiCreateTokenRequest) CreateTokenPayload(createTokenPayload CreateTokenPayload) ApiCreateTokenRequest + func (r ApiCreateTokenRequest) Execute() (*CreateTokenResponse, error) + type ApiDeleteTokenRequest struct + ApiService DefaultAPI + func (r ApiDeleteTokenRequest) Execute() (*MessageResponse, error) + type ApiGetChatModelRequest struct + ApiService DefaultAPI + func (r ApiGetChatModelRequest) Execute() (*GetChatModelResponse, error) + type ApiGetEmbeddingModelRequest struct + ApiService DefaultAPI + func (r ApiGetEmbeddingModelRequest) Execute() (*GetEmbeddingsModelResp, error) + type ApiGetTokenRequest struct + ApiService DefaultAPI + func (r ApiGetTokenRequest) Execute() (*GetTokenResponse, error) + type ApiListModelsRequest struct + ApiService DefaultAPI + func (r ApiListModelsRequest) Execute() (*ListModelsResponse, error) + type ApiListTokensRequest struct + ApiService DefaultAPI + func (r ApiListTokensRequest) Execute() (*ListTokenResp, error) + type ApiPartialUpdateTokenRequest struct + ApiService DefaultAPI + func (r ApiPartialUpdateTokenRequest) Execute() (*UpdateTokenResponse, error) + func (r ApiPartialUpdateTokenRequest) PartialUpdateTokenPayload(partialUpdateTokenPayload PartialUpdateTokenPayload) ApiPartialUpdateTokenRequest + type ChatModelDetails struct + Bits *int32 + Category string + ContextLength int64 + Description string + DisplayedName string + Id string + Name string + QuantizationMethod *string + Region string + Size int64 + Skus []SKU + Tags []string + Url string + func NewChatModelDetails(category string, contextLength int64, description string, displayedName string, ...) *ChatModelDetails + func NewChatModelDetailsWithDefaults() *ChatModelDetails + func (o *ChatModelDetails) GetBits() int32 + func (o *ChatModelDetails) GetBitsOk() (*int32, bool) + func (o *ChatModelDetails) GetCategory() string + func (o *ChatModelDetails) GetCategoryOk() (*string, bool) + func (o *ChatModelDetails) GetContextLength() int64 + func (o *ChatModelDetails) GetContextLengthOk() (*int64, bool) + func (o *ChatModelDetails) GetDescription() string + func (o *ChatModelDetails) GetDescriptionOk() (*string, bool) + func (o *ChatModelDetails) GetDisplayedName() string + func (o *ChatModelDetails) GetDisplayedNameOk() (*string, bool) + func (o *ChatModelDetails) GetId() string + func (o *ChatModelDetails) GetIdOk() (*string, bool) + func (o *ChatModelDetails) GetName() string + func (o *ChatModelDetails) GetNameOk() (*string, bool) + func (o *ChatModelDetails) GetQuantizationMethod() string + func (o *ChatModelDetails) GetQuantizationMethodOk() (*string, bool) + func (o *ChatModelDetails) GetRegion() string + func (o *ChatModelDetails) GetRegionOk() (*string, bool) + func (o *ChatModelDetails) GetSize() int64 + func (o *ChatModelDetails) GetSizeOk() (*int64, bool) + func (o *ChatModelDetails) GetSkus() []SKU + func (o *ChatModelDetails) GetSkusOk() ([]SKU, bool) + func (o *ChatModelDetails) GetTags() []string + func (o *ChatModelDetails) GetTagsOk() ([]string, bool) + func (o *ChatModelDetails) GetUrl() string + func (o *ChatModelDetails) GetUrlOk() (*string, bool) + func (o *ChatModelDetails) HasBits() bool + func (o *ChatModelDetails) HasQuantizationMethod() bool + func (o *ChatModelDetails) SetBits(v int32) + func (o *ChatModelDetails) SetCategory(v string) + func (o *ChatModelDetails) SetContextLength(v int64) + func (o *ChatModelDetails) SetDescription(v string) + func (o *ChatModelDetails) SetDisplayedName(v string) + func (o *ChatModelDetails) SetId(v string) + func (o *ChatModelDetails) SetName(v string) + func (o *ChatModelDetails) SetQuantizationMethod(v string) + func (o *ChatModelDetails) SetRegion(v string) + func (o *ChatModelDetails) SetSize(v int64) + func (o *ChatModelDetails) SetSkus(v []SKU) + func (o *ChatModelDetails) SetTags(v []string) + func (o *ChatModelDetails) SetUrl(v string) + func (o *ChatModelDetails) UnmarshalJSON(data []byte) (err error) + func (o ChatModelDetails) MarshalJSON() ([]byte, error) + func (o ChatModelDetails) ToMap() (map[string]interface{}, error) + type CreateTokenPayload struct + Description *string + Name string + TtlDuration *string + func NewCreateTokenPayload(name string) *CreateTokenPayload + func NewCreateTokenPayloadWithDefaults() *CreateTokenPayload + func (o *CreateTokenPayload) GetDescription() string + func (o *CreateTokenPayload) GetDescriptionOk() (*string, bool) + func (o *CreateTokenPayload) GetName() string + func (o *CreateTokenPayload) GetNameOk() (*string, bool) + func (o *CreateTokenPayload) GetTtlDuration() string + func (o *CreateTokenPayload) GetTtlDurationOk() (*string, bool) + func (o *CreateTokenPayload) HasDescription() bool + func (o *CreateTokenPayload) HasTtlDuration() bool + func (o *CreateTokenPayload) SetDescription(v string) + func (o *CreateTokenPayload) SetName(v string) + func (o *CreateTokenPayload) SetTtlDuration(v string) + func (o *CreateTokenPayload) UnmarshalJSON(data []byte) (err error) + func (o CreateTokenPayload) MarshalJSON() ([]byte, error) + func (o CreateTokenPayload) ToMap() (map[string]interface{}, error) + type CreateTokenResponse struct + Message *string + Token TokenCreated + func NewCreateTokenResponse(token TokenCreated) *CreateTokenResponse + func NewCreateTokenResponseWithDefaults() *CreateTokenResponse + func (o *CreateTokenResponse) GetMessage() string + func (o *CreateTokenResponse) GetMessageOk() (*string, bool) + func (o *CreateTokenResponse) GetToken() TokenCreated + func (o *CreateTokenResponse) GetTokenOk() (*TokenCreated, bool) + func (o *CreateTokenResponse) HasMessage() bool + func (o *CreateTokenResponse) SetMessage(v string) + func (o *CreateTokenResponse) SetToken(v TokenCreated) + func (o *CreateTokenResponse) UnmarshalJSON(data []byte) (err error) + func (o CreateTokenResponse) MarshalJSON() ([]byte, error) + func (o CreateTokenResponse) ToMap() (map[string]interface{}, error) + type DefaultAPI interface + CreateToken func(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest + CreateTokenExecute func(r ApiCreateTokenRequest) (*CreateTokenResponse, error) + DeleteToken func(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest + DeleteTokenExecute func(r ApiDeleteTokenRequest) (*MessageResponse, error) + GetChatModel func(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest + GetChatModelExecute func(r ApiGetChatModelRequest) (*GetChatModelResponse, error) + GetEmbeddingModel func(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest + GetEmbeddingModelExecute func(r ApiGetEmbeddingModelRequest) (*GetEmbeddingsModelResp, error) + GetToken func(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest + GetTokenExecute func(r ApiGetTokenRequest) (*GetTokenResponse, error) + ListModels func(ctx context.Context, regionId string) ApiListModelsRequest + ListModelsExecute func(r ApiListModelsRequest) (*ListModelsResponse, error) + ListTokens func(ctx context.Context, regionId string, projectId string) ApiListTokensRequest + ListTokensExecute func(r ApiListTokensRequest) (*ListTokenResp, error) + PartialUpdateToken func(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest + PartialUpdateTokenExecute func(r ApiPartialUpdateTokenRequest) (*UpdateTokenResponse, error) + type DefaultAPIService service + func (a *DefaultAPIService) CreateToken(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest + func (a *DefaultAPIService) CreateTokenExecute(r ApiCreateTokenRequest) (*CreateTokenResponse, error) + func (a *DefaultAPIService) DeleteToken(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest + func (a *DefaultAPIService) DeleteTokenExecute(r ApiDeleteTokenRequest) (*MessageResponse, error) + func (a *DefaultAPIService) GetChatModel(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest + func (a *DefaultAPIService) GetChatModelExecute(r ApiGetChatModelRequest) (*GetChatModelResponse, error) + func (a *DefaultAPIService) GetEmbeddingModel(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest + func (a *DefaultAPIService) GetEmbeddingModelExecute(r ApiGetEmbeddingModelRequest) (*GetEmbeddingsModelResp, error) + func (a *DefaultAPIService) GetToken(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest + func (a *DefaultAPIService) GetTokenExecute(r ApiGetTokenRequest) (*GetTokenResponse, error) + func (a *DefaultAPIService) ListModels(ctx context.Context, regionId string) ApiListModelsRequest + func (a *DefaultAPIService) ListModelsExecute(r ApiListModelsRequest) (*ListModelsResponse, error) + func (a *DefaultAPIService) ListTokens(ctx context.Context, regionId string, projectId string) ApiListTokensRequest + func (a *DefaultAPIService) ListTokensExecute(r ApiListTokensRequest) (*ListTokenResp, error) + func (a *DefaultAPIService) PartialUpdateToken(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest + func (a *DefaultAPIService) PartialUpdateTokenExecute(r ApiPartialUpdateTokenRequest) (*UpdateTokenResponse, error) + type DefaultAPIServiceMock struct + CreateTokenExecuteMock *func(r ApiCreateTokenRequest) (*CreateTokenResponse, error) + DeleteTokenExecuteMock *func(r ApiDeleteTokenRequest) (*MessageResponse, error) + GetChatModelExecuteMock *func(r ApiGetChatModelRequest) (*GetChatModelResponse, error) + GetEmbeddingModelExecuteMock *func(r ApiGetEmbeddingModelRequest) (*GetEmbeddingsModelResp, error) + GetTokenExecuteMock *func(r ApiGetTokenRequest) (*GetTokenResponse, error) + ListModelsExecuteMock *func(r ApiListModelsRequest) (*ListModelsResponse, error) + ListTokensExecuteMock *func(r ApiListTokensRequest) (*ListTokenResp, error) + PartialUpdateTokenExecuteMock *func(r ApiPartialUpdateTokenRequest) (*UpdateTokenResponse, error) + func (a DefaultAPIServiceMock) CreateToken(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest + func (a DefaultAPIServiceMock) CreateTokenExecute(r ApiCreateTokenRequest) (*CreateTokenResponse, error) + func (a DefaultAPIServiceMock) DeleteToken(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest + func (a DefaultAPIServiceMock) DeleteTokenExecute(r ApiDeleteTokenRequest) (*MessageResponse, error) + func (a DefaultAPIServiceMock) GetChatModel(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest + func (a DefaultAPIServiceMock) GetChatModelExecute(r ApiGetChatModelRequest) (*GetChatModelResponse, error) + func (a DefaultAPIServiceMock) GetEmbeddingModel(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest + func (a DefaultAPIServiceMock) GetEmbeddingModelExecute(r ApiGetEmbeddingModelRequest) (*GetEmbeddingsModelResp, error) + func (a DefaultAPIServiceMock) GetToken(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest + func (a DefaultAPIServiceMock) GetTokenExecute(r ApiGetTokenRequest) (*GetTokenResponse, error) + func (a DefaultAPIServiceMock) ListModels(ctx context.Context, regionId string) ApiListModelsRequest + func (a DefaultAPIServiceMock) ListModelsExecute(r ApiListModelsRequest) (*ListModelsResponse, error) + func (a DefaultAPIServiceMock) ListTokens(ctx context.Context, regionId string, projectId string) ApiListTokensRequest + func (a DefaultAPIServiceMock) ListTokensExecute(r ApiListTokensRequest) (*ListTokenResp, error) + func (a DefaultAPIServiceMock) PartialUpdateToken(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest + func (a DefaultAPIServiceMock) PartialUpdateTokenExecute(r ApiPartialUpdateTokenRequest) (*UpdateTokenResponse, error) + type EmbeddingModelDetails struct + Category string + Description string + DisplayedName string + Id string + Name string + OutputDimension int64 + Region string + Skus []SKU + Tags []string + Url string + func NewEmbeddingModelDetails(category string, description string, displayedName string, id string, ...) *EmbeddingModelDetails + func NewEmbeddingModelDetailsWithDefaults() *EmbeddingModelDetails + func (o *EmbeddingModelDetails) GetCategory() string + func (o *EmbeddingModelDetails) GetCategoryOk() (*string, bool) + func (o *EmbeddingModelDetails) GetDescription() string + func (o *EmbeddingModelDetails) GetDescriptionOk() (*string, bool) + func (o *EmbeddingModelDetails) GetDisplayedName() string + func (o *EmbeddingModelDetails) GetDisplayedNameOk() (*string, bool) + func (o *EmbeddingModelDetails) GetId() string + func (o *EmbeddingModelDetails) GetIdOk() (*string, bool) + func (o *EmbeddingModelDetails) GetName() string + func (o *EmbeddingModelDetails) GetNameOk() (*string, bool) + func (o *EmbeddingModelDetails) GetOutputDimension() int64 + func (o *EmbeddingModelDetails) GetOutputDimensionOk() (*int64, bool) + func (o *EmbeddingModelDetails) GetRegion() string + func (o *EmbeddingModelDetails) GetRegionOk() (*string, bool) + func (o *EmbeddingModelDetails) GetSkus() []SKU + func (o *EmbeddingModelDetails) GetSkusOk() ([]SKU, bool) + func (o *EmbeddingModelDetails) GetTags() []string + func (o *EmbeddingModelDetails) GetTagsOk() ([]string, bool) + func (o *EmbeddingModelDetails) GetUrl() string + func (o *EmbeddingModelDetails) GetUrlOk() (*string, bool) + func (o *EmbeddingModelDetails) HasTags() bool + func (o *EmbeddingModelDetails) SetCategory(v string) + func (o *EmbeddingModelDetails) SetDescription(v string) + func (o *EmbeddingModelDetails) SetDisplayedName(v string) + func (o *EmbeddingModelDetails) SetId(v string) + func (o *EmbeddingModelDetails) SetName(v string) + func (o *EmbeddingModelDetails) SetOutputDimension(v int64) + func (o *EmbeddingModelDetails) SetRegion(v string) + func (o *EmbeddingModelDetails) SetSkus(v []SKU) + func (o *EmbeddingModelDetails) SetTags(v []string) + func (o *EmbeddingModelDetails) SetUrl(v string) + func (o *EmbeddingModelDetails) UnmarshalJSON(data []byte) (err error) + func (o EmbeddingModelDetails) MarshalJSON() ([]byte, error) + func (o EmbeddingModelDetails) ToMap() (map[string]interface{}, error) + type ErrorMessageResponse struct + Error *string + Message *string + func NewErrorMessageResponse() *ErrorMessageResponse + func NewErrorMessageResponseWithDefaults() *ErrorMessageResponse + func (o *ErrorMessageResponse) GetError() string + func (o *ErrorMessageResponse) GetErrorOk() (*string, bool) + func (o *ErrorMessageResponse) GetMessage() string + func (o *ErrorMessageResponse) GetMessageOk() (*string, bool) + func (o *ErrorMessageResponse) HasError() bool + func (o *ErrorMessageResponse) HasMessage() bool + func (o *ErrorMessageResponse) SetError(v string) + func (o *ErrorMessageResponse) SetMessage(v string) + func (o ErrorMessageResponse) MarshalJSON() ([]byte, error) + func (o ErrorMessageResponse) ToMap() (map[string]interface{}, error) + type GetChatModelResponse struct + Message *string + Model ChatModelDetails + func NewGetChatModelResponse(model ChatModelDetails) *GetChatModelResponse + func NewGetChatModelResponseWithDefaults() *GetChatModelResponse + func (o *GetChatModelResponse) GetMessage() string + func (o *GetChatModelResponse) GetMessageOk() (*string, bool) + func (o *GetChatModelResponse) GetModel() ChatModelDetails + func (o *GetChatModelResponse) GetModelOk() (*ChatModelDetails, bool) + func (o *GetChatModelResponse) HasMessage() bool + func (o *GetChatModelResponse) SetMessage(v string) + func (o *GetChatModelResponse) SetModel(v ChatModelDetails) + func (o *GetChatModelResponse) UnmarshalJSON(data []byte) (err error) + func (o GetChatModelResponse) MarshalJSON() ([]byte, error) + func (o GetChatModelResponse) ToMap() (map[string]interface{}, error) + type GetEmbeddingsModelResp struct + Message *string + Model EmbeddingModelDetails + func NewGetEmbeddingsModelResp(model EmbeddingModelDetails) *GetEmbeddingsModelResp + func NewGetEmbeddingsModelRespWithDefaults() *GetEmbeddingsModelResp + func (o *GetEmbeddingsModelResp) GetMessage() string + func (o *GetEmbeddingsModelResp) GetMessageOk() (*string, bool) + func (o *GetEmbeddingsModelResp) GetModel() EmbeddingModelDetails + func (o *GetEmbeddingsModelResp) GetModelOk() (*EmbeddingModelDetails, bool) + func (o *GetEmbeddingsModelResp) HasMessage() bool + func (o *GetEmbeddingsModelResp) SetMessage(v string) + func (o *GetEmbeddingsModelResp) SetModel(v EmbeddingModelDetails) + func (o *GetEmbeddingsModelResp) UnmarshalJSON(data []byte) (err error) + func (o GetEmbeddingsModelResp) MarshalJSON() ([]byte, error) + func (o GetEmbeddingsModelResp) ToMap() (map[string]interface{}, error) + type GetTokenResponse struct + Message *string + Token Token + func NewGetTokenResponse(token Token) *GetTokenResponse + func NewGetTokenResponseWithDefaults() *GetTokenResponse + func (o *GetTokenResponse) GetMessage() string + func (o *GetTokenResponse) GetMessageOk() (*string, bool) + func (o *GetTokenResponse) GetToken() Token + func (o *GetTokenResponse) GetTokenOk() (*Token, bool) + func (o *GetTokenResponse) HasMessage() bool + func (o *GetTokenResponse) SetMessage(v string) + func (o *GetTokenResponse) SetToken(v Token) + func (o *GetTokenResponse) UnmarshalJSON(data []byte) (err error) + func (o GetTokenResponse) MarshalJSON() ([]byte, error) + func (o GetTokenResponse) ToMap() (map[string]interface{}, error) + type ListModelsResponse struct + Message *string + Models []Model + func NewListModelsResponse(models []Model) *ListModelsResponse + func NewListModelsResponseWithDefaults() *ListModelsResponse + func (o *ListModelsResponse) GetMessage() string + func (o *ListModelsResponse) GetMessageOk() (*string, bool) + func (o *ListModelsResponse) GetModels() []Model + func (o *ListModelsResponse) GetModelsOk() ([]Model, bool) + func (o *ListModelsResponse) HasMessage() bool + func (o *ListModelsResponse) SetMessage(v string) + func (o *ListModelsResponse) SetModels(v []Model) + func (o *ListModelsResponse) UnmarshalJSON(data []byte) (err error) + func (o ListModelsResponse) MarshalJSON() ([]byte, error) + func (o ListModelsResponse) ToMap() (map[string]interface{}, error) + type ListTokenResp struct + Message *string + Tokens []Token + func NewListTokenResp(tokens []Token) *ListTokenResp + func NewListTokenRespWithDefaults() *ListTokenResp + func (o *ListTokenResp) GetMessage() string + func (o *ListTokenResp) GetMessageOk() (*string, bool) + func (o *ListTokenResp) GetTokens() []Token + func (o *ListTokenResp) GetTokensOk() ([]Token, bool) + func (o *ListTokenResp) HasMessage() bool + func (o *ListTokenResp) SetMessage(v string) + func (o *ListTokenResp) SetTokens(v []Token) + func (o *ListTokenResp) UnmarshalJSON(data []byte) (err error) + func (o ListTokenResp) MarshalJSON() ([]byte, error) + func (o ListTokenResp) ToMap() (map[string]interface{}, error) + type MappedNullable interface + ToMap func() (map[string]interface{}, error) + type MessageResponse struct + Message *string + func NewMessageResponse() *MessageResponse + func NewMessageResponseWithDefaults() *MessageResponse + func (o *MessageResponse) GetMessage() string + func (o *MessageResponse) GetMessageOk() (*string, bool) + func (o *MessageResponse) HasMessage() bool + func (o *MessageResponse) SetMessage(v string) + func (o MessageResponse) MarshalJSON() ([]byte, error) + func (o MessageResponse) ToMap() (map[string]interface{}, error) + type Model struct + Category string + Description string + DisplayedName string + Id string + Name string + Region string + Skus []SKU + Tags []string + Type string + Url string + func NewModel(category string, description string, displayedName string, id string, ...) *Model + func NewModelWithDefaults() *Model + func (o *Model) GetCategory() string + func (o *Model) GetCategoryOk() (*string, bool) + func (o *Model) GetDescription() string + func (o *Model) GetDescriptionOk() (*string, bool) + func (o *Model) GetDisplayedName() string + func (o *Model) GetDisplayedNameOk() (*string, bool) + func (o *Model) GetId() string + func (o *Model) GetIdOk() (*string, bool) + func (o *Model) GetName() string + func (o *Model) GetNameOk() (*string, bool) + func (o *Model) GetRegion() string + func (o *Model) GetRegionOk() (*string, bool) + func (o *Model) GetSkus() []SKU + func (o *Model) GetSkusOk() ([]SKU, bool) + func (o *Model) GetTags() []string + func (o *Model) GetTagsOk() ([]string, bool) + func (o *Model) GetType() string + func (o *Model) GetTypeOk() (*string, bool) + func (o *Model) GetUrl() string + func (o *Model) GetUrlOk() (*string, bool) + func (o *Model) HasTags() bool + func (o *Model) SetCategory(v string) + func (o *Model) SetDescription(v string) + func (o *Model) SetDisplayedName(v string) + func (o *Model) SetId(v string) + func (o *Model) SetName(v string) + func (o *Model) SetRegion(v string) + func (o *Model) SetSkus(v []SKU) + func (o *Model) SetTags(v []string) + func (o *Model) SetType(v string) + func (o *Model) SetUrl(v string) + func (o *Model) UnmarshalJSON(data []byte) (err error) + func (o Model) MarshalJSON() ([]byte, error) + func (o Model) ToMap() (map[string]interface{}, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableChatModelDetails struct + func NewNullableChatModelDetails(val *ChatModelDetails) *NullableChatModelDetails + func (v *NullableChatModelDetails) Set(val *ChatModelDetails) + func (v *NullableChatModelDetails) UnmarshalJSON(src []byte) error + func (v *NullableChatModelDetails) Unset() + func (v NullableChatModelDetails) Get() *ChatModelDetails + func (v NullableChatModelDetails) IsSet() bool + func (v NullableChatModelDetails) MarshalJSON() ([]byte, error) + type NullableCreateTokenPayload struct + func NewNullableCreateTokenPayload(val *CreateTokenPayload) *NullableCreateTokenPayload + func (v *NullableCreateTokenPayload) Set(val *CreateTokenPayload) + func (v *NullableCreateTokenPayload) UnmarshalJSON(src []byte) error + func (v *NullableCreateTokenPayload) Unset() + func (v NullableCreateTokenPayload) Get() *CreateTokenPayload + func (v NullableCreateTokenPayload) IsSet() bool + func (v NullableCreateTokenPayload) MarshalJSON() ([]byte, error) + type NullableCreateTokenResponse struct + func NewNullableCreateTokenResponse(val *CreateTokenResponse) *NullableCreateTokenResponse + func (v *NullableCreateTokenResponse) Set(val *CreateTokenResponse) + func (v *NullableCreateTokenResponse) UnmarshalJSON(src []byte) error + func (v *NullableCreateTokenResponse) Unset() + func (v NullableCreateTokenResponse) Get() *CreateTokenResponse + func (v NullableCreateTokenResponse) IsSet() bool + func (v NullableCreateTokenResponse) MarshalJSON() ([]byte, error) + type NullableEmbeddingModelDetails struct + func NewNullableEmbeddingModelDetails(val *EmbeddingModelDetails) *NullableEmbeddingModelDetails + func (v *NullableEmbeddingModelDetails) Set(val *EmbeddingModelDetails) + func (v *NullableEmbeddingModelDetails) UnmarshalJSON(src []byte) error + func (v *NullableEmbeddingModelDetails) Unset() + func (v NullableEmbeddingModelDetails) Get() *EmbeddingModelDetails + func (v NullableEmbeddingModelDetails) IsSet() bool + func (v NullableEmbeddingModelDetails) MarshalJSON() ([]byte, error) + type NullableErrorMessageResponse struct + func NewNullableErrorMessageResponse(val *ErrorMessageResponse) *NullableErrorMessageResponse + func (v *NullableErrorMessageResponse) Set(val *ErrorMessageResponse) + func (v *NullableErrorMessageResponse) UnmarshalJSON(src []byte) error + func (v *NullableErrorMessageResponse) Unset() + func (v NullableErrorMessageResponse) Get() *ErrorMessageResponse + func (v NullableErrorMessageResponse) IsSet() bool + func (v NullableErrorMessageResponse) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableGetChatModelResponse struct + func NewNullableGetChatModelResponse(val *GetChatModelResponse) *NullableGetChatModelResponse + func (v *NullableGetChatModelResponse) Set(val *GetChatModelResponse) + func (v *NullableGetChatModelResponse) UnmarshalJSON(src []byte) error + func (v *NullableGetChatModelResponse) Unset() + func (v NullableGetChatModelResponse) Get() *GetChatModelResponse + func (v NullableGetChatModelResponse) IsSet() bool + func (v NullableGetChatModelResponse) MarshalJSON() ([]byte, error) + type NullableGetEmbeddingsModelResp struct + func NewNullableGetEmbeddingsModelResp(val *GetEmbeddingsModelResp) *NullableGetEmbeddingsModelResp + func (v *NullableGetEmbeddingsModelResp) Set(val *GetEmbeddingsModelResp) + func (v *NullableGetEmbeddingsModelResp) UnmarshalJSON(src []byte) error + func (v *NullableGetEmbeddingsModelResp) Unset() + func (v NullableGetEmbeddingsModelResp) Get() *GetEmbeddingsModelResp + func (v NullableGetEmbeddingsModelResp) IsSet() bool + func (v NullableGetEmbeddingsModelResp) MarshalJSON() ([]byte, error) + type NullableGetTokenResponse struct + func NewNullableGetTokenResponse(val *GetTokenResponse) *NullableGetTokenResponse + func (v *NullableGetTokenResponse) Set(val *GetTokenResponse) + func (v *NullableGetTokenResponse) UnmarshalJSON(src []byte) error + func (v *NullableGetTokenResponse) Unset() + func (v NullableGetTokenResponse) Get() *GetTokenResponse + func (v NullableGetTokenResponse) IsSet() bool + func (v NullableGetTokenResponse) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableListModelsResponse struct + func NewNullableListModelsResponse(val *ListModelsResponse) *NullableListModelsResponse + func (v *NullableListModelsResponse) Set(val *ListModelsResponse) + func (v *NullableListModelsResponse) UnmarshalJSON(src []byte) error + func (v *NullableListModelsResponse) Unset() + func (v NullableListModelsResponse) Get() *ListModelsResponse + func (v NullableListModelsResponse) IsSet() bool + func (v NullableListModelsResponse) MarshalJSON() ([]byte, error) + type NullableListTokenResp struct + func NewNullableListTokenResp(val *ListTokenResp) *NullableListTokenResp + func (v *NullableListTokenResp) Set(val *ListTokenResp) + func (v *NullableListTokenResp) UnmarshalJSON(src []byte) error + func (v *NullableListTokenResp) Unset() + func (v NullableListTokenResp) Get() *ListTokenResp + func (v NullableListTokenResp) IsSet() bool + func (v NullableListTokenResp) MarshalJSON() ([]byte, error) + type NullableMessageResponse struct + func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse + func (v *NullableMessageResponse) Set(val *MessageResponse) + func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error + func (v *NullableMessageResponse) Unset() + func (v NullableMessageResponse) Get() *MessageResponse + func (v NullableMessageResponse) IsSet() bool + func (v NullableMessageResponse) MarshalJSON() ([]byte, error) + type NullableModel struct + func NewNullableModel(val *Model) *NullableModel + func (v *NullableModel) Set(val *Model) + func (v *NullableModel) UnmarshalJSON(src []byte) error + func (v *NullableModel) Unset() + func (v NullableModel) Get() *Model + func (v NullableModel) IsSet() bool + func (v NullableModel) MarshalJSON() ([]byte, error) + type NullablePartialUpdateTokenPayload struct + func NewNullablePartialUpdateTokenPayload(val *PartialUpdateTokenPayload) *NullablePartialUpdateTokenPayload + func (v *NullablePartialUpdateTokenPayload) Set(val *PartialUpdateTokenPayload) + func (v *NullablePartialUpdateTokenPayload) UnmarshalJSON(src []byte) error + func (v *NullablePartialUpdateTokenPayload) Unset() + func (v NullablePartialUpdateTokenPayload) Get() *PartialUpdateTokenPayload + func (v NullablePartialUpdateTokenPayload) IsSet() bool + func (v NullablePartialUpdateTokenPayload) MarshalJSON() ([]byte, error) + type NullableSKU struct + func NewNullableSKU(val *SKU) *NullableSKU + func (v *NullableSKU) Set(val *SKU) + func (v *NullableSKU) UnmarshalJSON(src []byte) error + func (v *NullableSKU) Unset() + func (v NullableSKU) Get() *SKU + func (v NullableSKU) IsSet() bool + func (v NullableSKU) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type NullableToken struct + func NewNullableToken(val *Token) *NullableToken + func (v *NullableToken) Set(val *Token) + func (v *NullableToken) UnmarshalJSON(src []byte) error + func (v *NullableToken) Unset() + func (v NullableToken) Get() *Token + func (v NullableToken) IsSet() bool + func (v NullableToken) MarshalJSON() ([]byte, error) + type NullableTokenCreated struct + func NewNullableTokenCreated(val *TokenCreated) *NullableTokenCreated + func (v *NullableTokenCreated) Set(val *TokenCreated) + func (v *NullableTokenCreated) UnmarshalJSON(src []byte) error + func (v *NullableTokenCreated) Unset() + func (v NullableTokenCreated) Get() *TokenCreated + func (v NullableTokenCreated) IsSet() bool + func (v NullableTokenCreated) MarshalJSON() ([]byte, error) + type NullableUpdateTokenResponse struct + func NewNullableUpdateTokenResponse(val *UpdateTokenResponse) *NullableUpdateTokenResponse + func (v *NullableUpdateTokenResponse) Set(val *UpdateTokenResponse) + func (v *NullableUpdateTokenResponse) UnmarshalJSON(src []byte) error + func (v *NullableUpdateTokenResponse) Unset() + func (v NullableUpdateTokenResponse) Get() *UpdateTokenResponse + func (v NullableUpdateTokenResponse) IsSet() bool + func (v NullableUpdateTokenResponse) MarshalJSON() ([]byte, error) + type PartialUpdateTokenPayload struct + Description *string + Name *string + func NewPartialUpdateTokenPayload() *PartialUpdateTokenPayload + func NewPartialUpdateTokenPayloadWithDefaults() *PartialUpdateTokenPayload + func (o *PartialUpdateTokenPayload) GetDescription() string + func (o *PartialUpdateTokenPayload) GetDescriptionOk() (*string, bool) + func (o *PartialUpdateTokenPayload) GetName() string + func (o *PartialUpdateTokenPayload) GetNameOk() (*string, bool) + func (o *PartialUpdateTokenPayload) HasDescription() bool + func (o *PartialUpdateTokenPayload) HasName() bool + func (o *PartialUpdateTokenPayload) SetDescription(v string) + func (o *PartialUpdateTokenPayload) SetName(v string) + func (o PartialUpdateTokenPayload) MarshalJSON() ([]byte, error) + func (o PartialUpdateTokenPayload) ToMap() (map[string]interface{}, error) + type SKU struct + Description *string + Id string + Type *string + func NewSKU(id string) *SKU + func NewSKUWithDefaults() *SKU + func (o *SKU) GetDescription() string + func (o *SKU) GetDescriptionOk() (*string, bool) + func (o *SKU) GetId() string + func (o *SKU) GetIdOk() (*string, bool) + func (o *SKU) GetType() string + func (o *SKU) GetTypeOk() (*string, bool) + func (o *SKU) HasDescription() bool + func (o *SKU) HasType() bool + func (o *SKU) SetDescription(v string) + func (o *SKU) SetId(v string) + func (o *SKU) SetType(v string) + func (o *SKU) UnmarshalJSON(data []byte) (err error) + func (o SKU) MarshalJSON() ([]byte, error) + func (o SKU) ToMap() (map[string]interface{}, error) + type Token struct + Description *string + Id string + Name string + Region string + State string + ValidUntil time.Time + func NewToken(id string, name string, region string, state string, validUntil time.Time) *Token + func NewTokenWithDefaults() *Token + func (o *Token) GetDescription() string + func (o *Token) GetDescriptionOk() (*string, bool) + func (o *Token) GetId() string + func (o *Token) GetIdOk() (*string, bool) + func (o *Token) GetName() string + func (o *Token) GetNameOk() (*string, bool) + func (o *Token) GetRegion() string + func (o *Token) GetRegionOk() (*string, bool) + func (o *Token) GetState() string + func (o *Token) GetStateOk() (*string, bool) + func (o *Token) GetValidUntil() time.Time + func (o *Token) GetValidUntilOk() (*time.Time, bool) + func (o *Token) HasDescription() bool + func (o *Token) SetDescription(v string) + func (o *Token) SetId(v string) + func (o *Token) SetName(v string) + func (o *Token) SetRegion(v string) + func (o *Token) SetState(v string) + func (o *Token) SetValidUntil(v time.Time) + func (o *Token) UnmarshalJSON(data []byte) (err error) + func (o Token) MarshalJSON() ([]byte, error) + func (o Token) ToMap() (map[string]interface{}, error) + type TokenCreated struct + Content string + Description *string + Id string + Name string + Region string + State string + ValidUntil time.Time + func NewTokenCreated(content string, id string, name string, region string, state string, ...) *TokenCreated + func NewTokenCreatedWithDefaults() *TokenCreated + func (o *TokenCreated) GetContent() string + func (o *TokenCreated) GetContentOk() (*string, bool) + func (o *TokenCreated) GetDescription() string + func (o *TokenCreated) GetDescriptionOk() (*string, bool) + func (o *TokenCreated) GetId() string + func (o *TokenCreated) GetIdOk() (*string, bool) + func (o *TokenCreated) GetName() string + func (o *TokenCreated) GetNameOk() (*string, bool) + func (o *TokenCreated) GetRegion() string + func (o *TokenCreated) GetRegionOk() (*string, bool) + func (o *TokenCreated) GetState() string + func (o *TokenCreated) GetStateOk() (*string, bool) + func (o *TokenCreated) GetValidUntil() time.Time + func (o *TokenCreated) GetValidUntilOk() (*time.Time, bool) + func (o *TokenCreated) HasDescription() bool + func (o *TokenCreated) SetContent(v string) + func (o *TokenCreated) SetDescription(v string) + func (o *TokenCreated) SetId(v string) + func (o *TokenCreated) SetName(v string) + func (o *TokenCreated) SetRegion(v string) + func (o *TokenCreated) SetState(v string) + func (o *TokenCreated) SetValidUntil(v time.Time) + func (o *TokenCreated) UnmarshalJSON(data []byte) (err error) + func (o TokenCreated) MarshalJSON() ([]byte, error) + func (o TokenCreated) ToMap() (map[string]interface{}, error) + type UpdateTokenResponse struct + Message *string + Token Token + func NewUpdateTokenResponse(token Token) *UpdateTokenResponse + func NewUpdateTokenResponseWithDefaults() *UpdateTokenResponse + func (o *UpdateTokenResponse) GetMessage() string + func (o *UpdateTokenResponse) GetMessageOk() (*string, bool) + func (o *UpdateTokenResponse) GetToken() Token + func (o *UpdateTokenResponse) GetTokenOk() (*Token, bool) + func (o *UpdateTokenResponse) HasMessage() bool + func (o *UpdateTokenResponse) SetMessage(v string) + func (o *UpdateTokenResponse) SetToken(v Token) + func (o *UpdateTokenResponse) UnmarshalJSON(data []byte) (err error) + func (o UpdateTokenResponse) MarshalJSON() ([]byte, error) + func (o UpdateTokenResponse) ToMap() (map[string]interface{}, error)