Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- 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
- func (a *APIClient) CreateToken(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest
- func (a *APIClient) CreateTokenExecute(ctx context.Context, regionId string, projectId string) (*CreateTokenResponse, error)
- func (a *APIClient) DeleteToken(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest
- func (a *APIClient) DeleteTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*MessageResponse, error)
- func (a *APIClient) GetChatModel(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest
- func (a *APIClient) GetChatModelExecute(ctx context.Context, regionId string, modelId string) (*GetChatModelResponse, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetEmbeddingModel(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest
- func (a *APIClient) GetEmbeddingModelExecute(ctx context.Context, regionId string, modelId string) (*GetEmbeddingsModelResp, error)
- func (a *APIClient) GetToken(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest
- func (a *APIClient) GetTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*GetTokenResponse, error)
- func (a *APIClient) ListModels(ctx context.Context, regionId string) ApiListModelsRequest
- func (a *APIClient) ListModelsExecute(ctx context.Context, regionId string) (*ListModelsResponse, error)
- func (a *APIClient) ListTokens(ctx context.Context, regionId string, projectId string) ApiListTokensRequest
- func (a *APIClient) ListTokensExecute(ctx context.Context, regionId string, projectId string) (*ListTokenResp, error)
- func (a *APIClient) PartialUpdateToken(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest
- func (a *APIClient) PartialUpdateTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*UpdateTokenResponse, error)
- type ApiCreateTokenRequest
- type ApiDeleteTokenRequest
- type ApiGetChatModelRequest
- type ApiGetEmbeddingModelRequest
- type ApiGetTokenRequest
- type ApiListModelsRequest
- type ApiListTokensRequest
- type ApiPartialUpdateTokenRequest
- type ChatModelDetails
- func (o *ChatModelDetails) GetBits() (res ChatModelDetailsGetBitsRetType)
- func (o *ChatModelDetails) GetBitsOk() (ret ChatModelDetailsGetBitsRetType, ok bool)
- func (o *ChatModelDetails) GetCategory() (ret ChatModelDetailsGetCategoryRetType)
- func (o *ChatModelDetails) GetCategoryOk() (ret ChatModelDetailsGetCategoryRetType, ok bool)
- func (o *ChatModelDetails) GetContextLength() (ret ChatModelDetailsGetContextLengthRetType)
- func (o *ChatModelDetails) GetContextLengthOk() (ret ChatModelDetailsGetContextLengthRetType, ok bool)
- func (o *ChatModelDetails) GetDescription() (ret ChatModelDetailsGetDescriptionRetType)
- func (o *ChatModelDetails) GetDescriptionOk() (ret ChatModelDetailsGetDescriptionRetType, ok bool)
- func (o *ChatModelDetails) GetDisplayedName() (ret ChatModelDetailsGetDisplayedNameRetType)
- func (o *ChatModelDetails) GetDisplayedNameOk() (ret ChatModelDetailsGetDisplayedNameRetType, ok bool)
- func (o *ChatModelDetails) GetId() (ret ChatModelDetailsGetIdRetType)
- func (o *ChatModelDetails) GetIdOk() (ret ChatModelDetailsGetIdRetType, ok bool)
- func (o *ChatModelDetails) GetName() (ret ChatModelDetailsGetNameRetType)
- func (o *ChatModelDetails) GetNameOk() (ret ChatModelDetailsGetNameRetType, ok bool)
- func (o *ChatModelDetails) GetQuantizationMethod() (res ChatModelDetailsGetQuantizationMethodRetType)
- func (o *ChatModelDetails) GetQuantizationMethodOk() (ret ChatModelDetailsGetQuantizationMethodRetType, ok bool)
- func (o *ChatModelDetails) GetRegion() (ret ChatModelDetailsGetRegionRetType)
- func (o *ChatModelDetails) GetRegionOk() (ret ChatModelDetailsGetRegionRetType, ok bool)
- func (o *ChatModelDetails) GetSize() (ret ChatModelDetailsGetSizeRetType)
- func (o *ChatModelDetails) GetSizeOk() (ret ChatModelDetailsGetSizeRetType, ok bool)
- func (o *ChatModelDetails) GetSkus() (ret ChatModelDetailsGetSkusRetType)
- func (o *ChatModelDetails) GetSkusOk() (ret ChatModelDetailsGetSkusRetType, ok bool)
- func (o *ChatModelDetails) GetTags() (ret ChatModelDetailsGetTagsRetType)
- func (o *ChatModelDetails) GetTagsOk() (ret ChatModelDetailsGetTagsRetType, ok bool)
- func (o *ChatModelDetails) GetUrl() (ret ChatModelDetailsGetUrlRetType)
- func (o *ChatModelDetails) GetUrlOk() (ret ChatModelDetailsGetUrlRetType, ok bool)
- func (o *ChatModelDetails) HasBits() bool
- func (o *ChatModelDetails) HasQuantizationMethod() bool
- func (o *ChatModelDetails) SetBits(v ChatModelDetailsGetBitsRetType)
- func (o *ChatModelDetails) SetCategory(v ChatModelDetailsGetCategoryRetType)
- func (o *ChatModelDetails) SetContextLength(v ChatModelDetailsGetContextLengthRetType)
- func (o *ChatModelDetails) SetDescription(v ChatModelDetailsGetDescriptionRetType)
- func (o *ChatModelDetails) SetDisplayedName(v ChatModelDetailsGetDisplayedNameRetType)
- func (o *ChatModelDetails) SetId(v ChatModelDetailsGetIdRetType)
- func (o *ChatModelDetails) SetName(v ChatModelDetailsGetNameRetType)
- func (o *ChatModelDetails) SetQuantizationMethod(v ChatModelDetailsGetQuantizationMethodRetType)
- func (o *ChatModelDetails) SetRegion(v ChatModelDetailsGetRegionRetType)
- func (o *ChatModelDetails) SetSize(v ChatModelDetailsGetSizeRetType)
- func (o *ChatModelDetails) SetSkus(v ChatModelDetailsGetSkusRetType)
- func (o *ChatModelDetails) SetTags(v ChatModelDetailsGetTagsRetType)
- func (o *ChatModelDetails) SetUrl(v ChatModelDetailsGetUrlRetType)
- func (o ChatModelDetails) ToMap() (map[string]interface{}, error)
- type ChatModelDetailsBits
- type ChatModelDetailsCategory
- type ChatModelDetailsGetBitsArgType
- type ChatModelDetailsGetBitsAttributeType
- type ChatModelDetailsGetBitsRetType
- type ChatModelDetailsGetCategoryArgType
- type ChatModelDetailsGetCategoryAttributeType
- type ChatModelDetailsGetCategoryRetType
- type ChatModelDetailsGetContextLengthArgType
- type ChatModelDetailsGetContextLengthAttributeType
- type ChatModelDetailsGetContextLengthRetType
- type ChatModelDetailsGetDescriptionArgType
- type ChatModelDetailsGetDescriptionAttributeType
- type ChatModelDetailsGetDescriptionRetType
- type ChatModelDetailsGetDisplayedNameArgType
- type ChatModelDetailsGetDisplayedNameAttributeType
- type ChatModelDetailsGetDisplayedNameRetType
- type ChatModelDetailsGetIdArgType
- type ChatModelDetailsGetIdAttributeType
- type ChatModelDetailsGetIdRetType
- type ChatModelDetailsGetNameArgType
- type ChatModelDetailsGetNameAttributeType
- type ChatModelDetailsGetNameRetType
- type ChatModelDetailsGetQuantizationMethodArgType
- type ChatModelDetailsGetQuantizationMethodAttributeType
- type ChatModelDetailsGetQuantizationMethodRetType
- type ChatModelDetailsGetRegionArgType
- type ChatModelDetailsGetRegionAttributeType
- type ChatModelDetailsGetRegionRetType
- type ChatModelDetailsGetSizeArgType
- type ChatModelDetailsGetSizeAttributeType
- type ChatModelDetailsGetSizeRetType
- type ChatModelDetailsGetSkusArgType
- type ChatModelDetailsGetSkusAttributeType
- type ChatModelDetailsGetSkusRetType
- type ChatModelDetailsGetTagsArgType
- type ChatModelDetailsGetTagsAttributeType
- type ChatModelDetailsGetTagsRetType
- type ChatModelDetailsGetUrlArgType
- type ChatModelDetailsGetUrlAttributeType
- type ChatModelDetailsGetUrlRetType
- type ChatModelDetailsQuantizationMethod
- type CreateTokenPayload
- func (o *CreateTokenPayload) GetDescription() (res CreateTokenPayloadGetDescriptionRetType)
- func (o *CreateTokenPayload) GetDescriptionOk() (ret CreateTokenPayloadGetDescriptionRetType, ok bool)
- func (o *CreateTokenPayload) GetName() (ret CreateTokenPayloadGetNameRetType)
- func (o *CreateTokenPayload) GetNameOk() (ret CreateTokenPayloadGetNameRetType, ok bool)
- func (o *CreateTokenPayload) GetTtlDuration() (res CreateTokenPayloadGetTtlDurationRetType)
- func (o *CreateTokenPayload) GetTtlDurationOk() (ret CreateTokenPayloadGetTtlDurationRetType, ok bool)
- func (o *CreateTokenPayload) HasDescription() bool
- func (o *CreateTokenPayload) HasTtlDuration() bool
- func (o *CreateTokenPayload) SetDescription(v CreateTokenPayloadGetDescriptionRetType)
- func (o *CreateTokenPayload) SetName(v CreateTokenPayloadGetNameRetType)
- func (o *CreateTokenPayload) SetTtlDuration(v CreateTokenPayloadGetTtlDurationRetType)
- func (o CreateTokenPayload) ToMap() (map[string]interface{}, error)
- type CreateTokenPayloadGetDescriptionArgType
- type CreateTokenPayloadGetDescriptionAttributeType
- type CreateTokenPayloadGetDescriptionRetType
- type CreateTokenPayloadGetNameArgType
- type CreateTokenPayloadGetNameAttributeType
- type CreateTokenPayloadGetNameRetType
- type CreateTokenPayloadGetTtlDurationArgType
- type CreateTokenPayloadGetTtlDurationAttributeType
- type CreateTokenPayloadGetTtlDurationRetType
- type CreateTokenRequest
- type CreateTokenResponse
- func (o *CreateTokenResponse) GetMessage() (res CreateTokenResponseGetMessageRetType)
- func (o *CreateTokenResponse) GetMessageOk() (ret CreateTokenResponseGetMessageRetType, ok bool)
- func (o *CreateTokenResponse) GetToken() (ret CreateTokenResponseGetTokenRetType)
- func (o *CreateTokenResponse) GetTokenOk() (ret CreateTokenResponseGetTokenRetType, ok bool)
- func (o *CreateTokenResponse) HasMessage() bool
- func (o *CreateTokenResponse) SetMessage(v CreateTokenResponseGetMessageRetType)
- func (o *CreateTokenResponse) SetToken(v CreateTokenResponseGetTokenRetType)
- func (o CreateTokenResponse) ToMap() (map[string]interface{}, error)
- type CreateTokenResponseGetMessageArgType
- type CreateTokenResponseGetMessageAttributeType
- type CreateTokenResponseGetMessageRetType
- type CreateTokenResponseGetTokenArgType
- type CreateTokenResponseGetTokenAttributeType
- type CreateTokenResponseGetTokenRetType
- type DefaultApi
- type DefaultApiService
- type DeleteTokenRequest
- type EmbeddingModelDetails
- func (o *EmbeddingModelDetails) GetCategory() (ret EmbeddingModelDetailsGetCategoryRetType)
- func (o *EmbeddingModelDetails) GetCategoryOk() (ret EmbeddingModelDetailsGetCategoryRetType, ok bool)
- func (o *EmbeddingModelDetails) GetDescription() (ret EmbeddingModelDetailsGetDescriptionRetType)
- func (o *EmbeddingModelDetails) GetDescriptionOk() (ret EmbeddingModelDetailsGetDescriptionRetType, ok bool)
- func (o *EmbeddingModelDetails) GetDisplayedName() (ret EmbeddingModelDetailsGetDisplayedNameRetType)
- func (o *EmbeddingModelDetails) GetDisplayedNameOk() (ret EmbeddingModelDetailsGetDisplayedNameRetType, ok bool)
- func (o *EmbeddingModelDetails) GetId() (ret EmbeddingModelDetailsGetIdRetType)
- func (o *EmbeddingModelDetails) GetIdOk() (ret EmbeddingModelDetailsGetIdRetType, ok bool)
- func (o *EmbeddingModelDetails) GetName() (ret EmbeddingModelDetailsGetNameRetType)
- func (o *EmbeddingModelDetails) GetNameOk() (ret EmbeddingModelDetailsGetNameRetType, ok bool)
- func (o *EmbeddingModelDetails) GetOutputDimension() (ret EmbeddingModelDetailsGetOutputDimensionRetType)
- func (o *EmbeddingModelDetails) GetOutputDimensionOk() (ret EmbeddingModelDetailsGetOutputDimensionRetType, ok bool)
- func (o *EmbeddingModelDetails) GetRegion() (ret EmbeddingModelDetailsGetRegionRetType)
- func (o *EmbeddingModelDetails) GetRegionOk() (ret EmbeddingModelDetailsGetRegionRetType, ok bool)
- func (o *EmbeddingModelDetails) GetSkus() (ret EmbeddingModelDetailsGetSkusRetType)
- func (o *EmbeddingModelDetails) GetSkusOk() (ret EmbeddingModelDetailsGetSkusRetType, ok bool)
- func (o *EmbeddingModelDetails) GetTags() (res EmbeddingModelDetailsGetTagsRetType)
- func (o *EmbeddingModelDetails) GetTagsOk() (ret EmbeddingModelDetailsGetTagsRetType, ok bool)
- func (o *EmbeddingModelDetails) GetUrl() (ret EmbeddingModelDetailsGetUrlRetType)
- func (o *EmbeddingModelDetails) GetUrlOk() (ret EmbeddingModelDetailsGetUrlRetType, ok bool)
- func (o *EmbeddingModelDetails) HasTags() bool
- func (o *EmbeddingModelDetails) SetCategory(v EmbeddingModelDetailsGetCategoryRetType)
- func (o *EmbeddingModelDetails) SetDescription(v EmbeddingModelDetailsGetDescriptionRetType)
- func (o *EmbeddingModelDetails) SetDisplayedName(v EmbeddingModelDetailsGetDisplayedNameRetType)
- func (o *EmbeddingModelDetails) SetId(v EmbeddingModelDetailsGetIdRetType)
- func (o *EmbeddingModelDetails) SetName(v EmbeddingModelDetailsGetNameRetType)
- func (o *EmbeddingModelDetails) SetOutputDimension(v EmbeddingModelDetailsGetOutputDimensionRetType)
- func (o *EmbeddingModelDetails) SetRegion(v EmbeddingModelDetailsGetRegionRetType)
- func (o *EmbeddingModelDetails) SetSkus(v EmbeddingModelDetailsGetSkusRetType)
- func (o *EmbeddingModelDetails) SetTags(v EmbeddingModelDetailsGetTagsRetType)
- func (o *EmbeddingModelDetails) SetUrl(v EmbeddingModelDetailsGetUrlRetType)
- func (o EmbeddingModelDetails) ToMap() (map[string]interface{}, error)
- type EmbeddingModelDetailsCategory
- type EmbeddingModelDetailsGetCategoryArgType
- type EmbeddingModelDetailsGetCategoryAttributeType
- type EmbeddingModelDetailsGetCategoryRetType
- type EmbeddingModelDetailsGetDescriptionArgType
- type EmbeddingModelDetailsGetDescriptionAttributeType
- type EmbeddingModelDetailsGetDescriptionRetType
- type EmbeddingModelDetailsGetDisplayedNameArgType
- type EmbeddingModelDetailsGetDisplayedNameAttributeType
- type EmbeddingModelDetailsGetDisplayedNameRetType
- type EmbeddingModelDetailsGetIdArgType
- type EmbeddingModelDetailsGetIdAttributeType
- type EmbeddingModelDetailsGetIdRetType
- type EmbeddingModelDetailsGetNameArgType
- type EmbeddingModelDetailsGetNameAttributeType
- type EmbeddingModelDetailsGetNameRetType
- type EmbeddingModelDetailsGetOutputDimensionArgType
- type EmbeddingModelDetailsGetOutputDimensionAttributeType
- type EmbeddingModelDetailsGetOutputDimensionRetType
- type EmbeddingModelDetailsGetRegionArgType
- type EmbeddingModelDetailsGetRegionAttributeType
- type EmbeddingModelDetailsGetRegionRetType
- type EmbeddingModelDetailsGetSkusArgType
- type EmbeddingModelDetailsGetSkusAttributeType
- type EmbeddingModelDetailsGetSkusRetType
- type EmbeddingModelDetailsGetTagsArgType
- type EmbeddingModelDetailsGetTagsAttributeType
- type EmbeddingModelDetailsGetTagsRetType
- type EmbeddingModelDetailsGetUrlArgType
- type EmbeddingModelDetailsGetUrlAttributeType
- type EmbeddingModelDetailsGetUrlRetType
- type ErrorMessageResponse
- func (o *ErrorMessageResponse) GetError() (res ErrorMessageResponseGetErrorRetType)
- func (o *ErrorMessageResponse) GetErrorOk() (ret ErrorMessageResponseGetErrorRetType, ok bool)
- func (o *ErrorMessageResponse) GetMessage() (res ErrorMessageResponseGetMessageRetType)
- func (o *ErrorMessageResponse) GetMessageOk() (ret ErrorMessageResponseGetMessageRetType, ok bool)
- func (o *ErrorMessageResponse) HasError() bool
- func (o *ErrorMessageResponse) HasMessage() bool
- func (o *ErrorMessageResponse) SetError(v ErrorMessageResponseGetErrorRetType)
- func (o *ErrorMessageResponse) SetMessage(v ErrorMessageResponseGetMessageRetType)
- func (o ErrorMessageResponse) ToMap() (map[string]interface{}, error)
- type ErrorMessageResponseGetErrorArgType
- type ErrorMessageResponseGetErrorAttributeType
- type ErrorMessageResponseGetErrorRetType
- type ErrorMessageResponseGetMessageArgType
- type ErrorMessageResponseGetMessageAttributeType
- type ErrorMessageResponseGetMessageRetType
- type GetChatModelRequest
- type GetChatModelResponse
- func (o *GetChatModelResponse) GetMessage() (res GetChatModelResponseGetMessageRetType)
- func (o *GetChatModelResponse) GetMessageOk() (ret GetChatModelResponseGetMessageRetType, ok bool)
- func (o *GetChatModelResponse) GetModel() (ret GetChatModelResponseGetModelRetType)
- func (o *GetChatModelResponse) GetModelOk() (ret GetChatModelResponseGetModelRetType, ok bool)
- func (o *GetChatModelResponse) HasMessage() bool
- func (o *GetChatModelResponse) SetMessage(v GetChatModelResponseGetMessageRetType)
- func (o *GetChatModelResponse) SetModel(v GetChatModelResponseGetModelRetType)
- func (o GetChatModelResponse) ToMap() (map[string]interface{}, error)
- type GetChatModelResponseGetMessageArgType
- type GetChatModelResponseGetMessageAttributeType
- type GetChatModelResponseGetMessageRetType
- type GetChatModelResponseGetModelArgType
- type GetChatModelResponseGetModelAttributeType
- type GetChatModelResponseGetModelRetType
- type GetEmbeddingModelRequest
- type GetEmbeddingsModelResp
- func (o *GetEmbeddingsModelResp) GetMessage() (res GetEmbeddingsModelRespGetMessageRetType)
- func (o *GetEmbeddingsModelResp) GetMessageOk() (ret GetEmbeddingsModelRespGetMessageRetType, ok bool)
- func (o *GetEmbeddingsModelResp) GetModel() (ret GetEmbeddingsModelRespGetModelRetType)
- func (o *GetEmbeddingsModelResp) GetModelOk() (ret GetEmbeddingsModelRespGetModelRetType, ok bool)
- func (o *GetEmbeddingsModelResp) HasMessage() bool
- func (o *GetEmbeddingsModelResp) SetMessage(v GetEmbeddingsModelRespGetMessageRetType)
- func (o *GetEmbeddingsModelResp) SetModel(v GetEmbeddingsModelRespGetModelRetType)
- func (o GetEmbeddingsModelResp) ToMap() (map[string]interface{}, error)
- type GetEmbeddingsModelRespGetMessageArgType
- type GetEmbeddingsModelRespGetMessageAttributeType
- type GetEmbeddingsModelRespGetMessageRetType
- type GetEmbeddingsModelRespGetModelArgType
- type GetEmbeddingsModelRespGetModelAttributeType
- type GetEmbeddingsModelRespGetModelRetType
- type GetTokenRequest
- type GetTokenResponse
- func (o *GetTokenResponse) GetMessage() (res GetTokenResponseGetMessageRetType)
- func (o *GetTokenResponse) GetMessageOk() (ret GetTokenResponseGetMessageRetType, ok bool)
- func (o *GetTokenResponse) GetToken() (ret GetTokenResponseGetTokenRetType)
- func (o *GetTokenResponse) GetTokenOk() (ret GetTokenResponseGetTokenRetType, ok bool)
- func (o *GetTokenResponse) HasMessage() bool
- func (o *GetTokenResponse) SetMessage(v GetTokenResponseGetMessageRetType)
- func (o *GetTokenResponse) SetToken(v GetTokenResponseGetTokenRetType)
- func (o GetTokenResponse) ToMap() (map[string]interface{}, error)
- type GetTokenResponseGetMessageArgType
- type GetTokenResponseGetMessageAttributeType
- type GetTokenResponseGetMessageRetType
- type GetTokenResponseGetTokenArgType
- type GetTokenResponseGetTokenAttributeType
- type GetTokenResponseGetTokenRetType
- type ListModelsRequest
- type ListModelsResponse
- func (o *ListModelsResponse) GetMessage() (res ListModelsResponseGetMessageRetType)
- func (o *ListModelsResponse) GetMessageOk() (ret ListModelsResponseGetMessageRetType, ok bool)
- func (o *ListModelsResponse) GetModels() (ret ListModelsResponseGetModelsRetType)
- func (o *ListModelsResponse) GetModelsOk() (ret ListModelsResponseGetModelsRetType, ok bool)
- func (o *ListModelsResponse) HasMessage() bool
- func (o *ListModelsResponse) SetMessage(v ListModelsResponseGetMessageRetType)
- func (o *ListModelsResponse) SetModels(v ListModelsResponseGetModelsRetType)
- func (o ListModelsResponse) ToMap() (map[string]interface{}, error)
- type ListModelsResponseGetMessageArgType
- type ListModelsResponseGetMessageAttributeType
- type ListModelsResponseGetMessageRetType
- type ListModelsResponseGetModelsArgType
- type ListModelsResponseGetModelsAttributeType
- type ListModelsResponseGetModelsRetType
- type ListTokenResp
- func (o *ListTokenResp) GetMessage() (res ListTokenRespGetMessageRetType)
- func (o *ListTokenResp) GetMessageOk() (ret ListTokenRespGetMessageRetType, ok bool)
- func (o *ListTokenResp) GetTokens() (ret ListTokenRespGetTokensRetType)
- func (o *ListTokenResp) GetTokensOk() (ret ListTokenRespGetTokensRetType, ok bool)
- func (o *ListTokenResp) HasMessage() bool
- func (o *ListTokenResp) SetMessage(v ListTokenRespGetMessageRetType)
- func (o *ListTokenResp) SetTokens(v ListTokenRespGetTokensRetType)
- func (o ListTokenResp) ToMap() (map[string]interface{}, error)
- type ListTokenRespGetMessageArgType
- type ListTokenRespGetMessageAttributeType
- type ListTokenRespGetMessageRetType
- type ListTokenRespGetTokensArgType
- type ListTokenRespGetTokensAttributeType
- type ListTokenRespGetTokensRetType
- type ListTokensRequest
- type MappedNullable
- type MessageResponse
- func (o *MessageResponse) GetMessage() (res MessageResponseGetMessageRetType)
- func (o *MessageResponse) GetMessageOk() (ret MessageResponseGetMessageRetType, ok bool)
- func (o *MessageResponse) HasMessage() bool
- func (o *MessageResponse) SetMessage(v MessageResponseGetMessageRetType)
- func (o MessageResponse) ToMap() (map[string]interface{}, error)
- type MessageResponseGetMessageArgType
- type MessageResponseGetMessageAttributeType
- type MessageResponseGetMessageRetType
- type Model
- func (o *Model) GetCategory() (ret ModelGetCategoryRetType)
- func (o *Model) GetCategoryOk() (ret ModelGetCategoryRetType, ok bool)
- func (o *Model) GetDescription() (ret ModelGetDescriptionRetType)
- func (o *Model) GetDescriptionOk() (ret ModelGetDescriptionRetType, ok bool)
- func (o *Model) GetDisplayedName() (ret ModelGetDisplayedNameRetType)
- func (o *Model) GetDisplayedNameOk() (ret ModelGetDisplayedNameRetType, ok bool)
- func (o *Model) GetId() (ret ModelGetIdRetType)
- func (o *Model) GetIdOk() (ret ModelGetIdRetType, ok bool)
- func (o *Model) GetName() (ret ModelGetNameRetType)
- func (o *Model) GetNameOk() (ret ModelGetNameRetType, ok bool)
- func (o *Model) GetRegion() (ret ModelGetRegionRetType)
- func (o *Model) GetRegionOk() (ret ModelGetRegionRetType, ok bool)
- func (o *Model) GetSkus() (ret ModelGetSkusRetType)
- func (o *Model) GetSkusOk() (ret ModelGetSkusRetType, ok bool)
- func (o *Model) GetTags() (res ModelGetTagsRetType)
- func (o *Model) GetTagsOk() (ret ModelGetTagsRetType, ok bool)
- func (o *Model) GetType() (ret ModelGetTypeRetType)
- func (o *Model) GetTypeOk() (ret ModelGetTypeRetType, ok bool)
- func (o *Model) GetUrl() (ret ModelGetUrlRetType)
- func (o *Model) GetUrlOk() (ret ModelGetUrlRetType, ok bool)
- func (o *Model) HasTags() bool
- func (o *Model) SetCategory(v ModelGetCategoryRetType)
- func (o *Model) SetDescription(v ModelGetDescriptionRetType)
- func (o *Model) SetDisplayedName(v ModelGetDisplayedNameRetType)
- func (o *Model) SetId(v ModelGetIdRetType)
- func (o *Model) SetName(v ModelGetNameRetType)
- func (o *Model) SetRegion(v ModelGetRegionRetType)
- func (o *Model) SetSkus(v ModelGetSkusRetType)
- func (o *Model) SetTags(v ModelGetTagsRetType)
- func (o *Model) SetType(v ModelGetTypeRetType)
- func (o *Model) SetUrl(v ModelGetUrlRetType)
- func (o Model) ToMap() (map[string]interface{}, error)
- type ModelCategory
- type ModelGetCategoryArgType
- type ModelGetCategoryAttributeType
- type ModelGetCategoryRetType
- type ModelGetDescriptionArgType
- type ModelGetDescriptionAttributeType
- type ModelGetDescriptionRetType
- type ModelGetDisplayedNameArgType
- type ModelGetDisplayedNameAttributeType
- type ModelGetDisplayedNameRetType
- type ModelGetIdArgType
- type ModelGetIdAttributeType
- type ModelGetIdRetType
- type ModelGetNameArgType
- type ModelGetNameAttributeType
- type ModelGetNameRetType
- type ModelGetRegionArgType
- type ModelGetRegionAttributeType
- type ModelGetRegionRetType
- type ModelGetSkusArgType
- type ModelGetSkusAttributeType
- type ModelGetSkusRetType
- type ModelGetTagsArgType
- type ModelGetTagsAttributeType
- type ModelGetTagsRetType
- type ModelGetTypeArgType
- type ModelGetTypeAttributeType
- type ModelGetTypeRetType
- type ModelGetUrlArgType
- type ModelGetUrlAttributeType
- type ModelGetUrlRetType
- type ModelTypes
- type NullableBool
- type NullableChatModelDetails
- func (v NullableChatModelDetails) Get() *ChatModelDetails
- func (v NullableChatModelDetails) IsSet() bool
- func (v NullableChatModelDetails) MarshalJSON() ([]byte, error)
- func (v *NullableChatModelDetails) Set(val *ChatModelDetails)
- func (v *NullableChatModelDetails) UnmarshalJSON(src []byte) error
- func (v *NullableChatModelDetails) Unset()
- type NullableChatModelDetailsBits
- func (v NullableChatModelDetailsBits) Get() *ChatModelDetailsBits
- func (v NullableChatModelDetailsBits) IsSet() bool
- func (v NullableChatModelDetailsBits) MarshalJSON() ([]byte, error)
- func (v *NullableChatModelDetailsBits) Set(val *ChatModelDetailsBits)
- func (v *NullableChatModelDetailsBits) UnmarshalJSON(src []byte) error
- func (v *NullableChatModelDetailsBits) Unset()
- type NullableChatModelDetailsCategory
- func (v NullableChatModelDetailsCategory) Get() *ChatModelDetailsCategory
- func (v NullableChatModelDetailsCategory) IsSet() bool
- func (v NullableChatModelDetailsCategory) MarshalJSON() ([]byte, error)
- func (v *NullableChatModelDetailsCategory) Set(val *ChatModelDetailsCategory)
- func (v *NullableChatModelDetailsCategory) UnmarshalJSON(src []byte) error
- func (v *NullableChatModelDetailsCategory) Unset()
- type NullableChatModelDetailsQuantizationMethod
- func (v NullableChatModelDetailsQuantizationMethod) Get() *ChatModelDetailsQuantizationMethod
- func (v NullableChatModelDetailsQuantizationMethod) IsSet() bool
- func (v NullableChatModelDetailsQuantizationMethod) MarshalJSON() ([]byte, error)
- func (v *NullableChatModelDetailsQuantizationMethod) Set(val *ChatModelDetailsQuantizationMethod)
- func (v *NullableChatModelDetailsQuantizationMethod) UnmarshalJSON(src []byte) error
- func (v *NullableChatModelDetailsQuantizationMethod) Unset()
- type NullableCreateTokenPayload
- func (v NullableCreateTokenPayload) Get() *CreateTokenPayload
- func (v NullableCreateTokenPayload) IsSet() bool
- func (v NullableCreateTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTokenPayload) Set(val *CreateTokenPayload)
- func (v *NullableCreateTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTokenPayload) Unset()
- type NullableCreateTokenResponse
- func (v NullableCreateTokenResponse) Get() *CreateTokenResponse
- func (v NullableCreateTokenResponse) IsSet() bool
- func (v NullableCreateTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTokenResponse) Set(val *CreateTokenResponse)
- func (v *NullableCreateTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTokenResponse) Unset()
- type NullableEmbeddingModelDetails
- func (v NullableEmbeddingModelDetails) Get() *EmbeddingModelDetails
- func (v NullableEmbeddingModelDetails) IsSet() bool
- func (v NullableEmbeddingModelDetails) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingModelDetails) Set(val *EmbeddingModelDetails)
- func (v *NullableEmbeddingModelDetails) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingModelDetails) Unset()
- type NullableEmbeddingModelDetailsCategory
- func (v NullableEmbeddingModelDetailsCategory) Get() *EmbeddingModelDetailsCategory
- func (v NullableEmbeddingModelDetailsCategory) IsSet() bool
- func (v NullableEmbeddingModelDetailsCategory) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingModelDetailsCategory) Set(val *EmbeddingModelDetailsCategory)
- func (v *NullableEmbeddingModelDetailsCategory) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingModelDetailsCategory) Unset()
- type NullableErrorMessageResponse
- func (v NullableErrorMessageResponse) Get() *ErrorMessageResponse
- func (v NullableErrorMessageResponse) IsSet() bool
- func (v NullableErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessageResponse) Set(val *ErrorMessageResponse)
- func (v *NullableErrorMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessageResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetChatModelResponse
- func (v NullableGetChatModelResponse) Get() *GetChatModelResponse
- func (v NullableGetChatModelResponse) IsSet() bool
- func (v NullableGetChatModelResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetChatModelResponse) Set(val *GetChatModelResponse)
- func (v *NullableGetChatModelResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetChatModelResponse) Unset()
- type NullableGetEmbeddingsModelResp
- func (v NullableGetEmbeddingsModelResp) Get() *GetEmbeddingsModelResp
- func (v NullableGetEmbeddingsModelResp) IsSet() bool
- func (v NullableGetEmbeddingsModelResp) MarshalJSON() ([]byte, error)
- func (v *NullableGetEmbeddingsModelResp) Set(val *GetEmbeddingsModelResp)
- func (v *NullableGetEmbeddingsModelResp) UnmarshalJSON(src []byte) error
- func (v *NullableGetEmbeddingsModelResp) Unset()
- type NullableGetTokenResponse
- func (v NullableGetTokenResponse) Get() *GetTokenResponse
- func (v NullableGetTokenResponse) IsSet() bool
- func (v NullableGetTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetTokenResponse) Set(val *GetTokenResponse)
- func (v *NullableGetTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetTokenResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListModelsResponse
- func (v NullableListModelsResponse) Get() *ListModelsResponse
- func (v NullableListModelsResponse) IsSet() bool
- func (v NullableListModelsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListModelsResponse) Set(val *ListModelsResponse)
- func (v *NullableListModelsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListModelsResponse) Unset()
- type NullableListTokenResp
- func (v NullableListTokenResp) Get() *ListTokenResp
- func (v NullableListTokenResp) IsSet() bool
- func (v NullableListTokenResp) MarshalJSON() ([]byte, error)
- func (v *NullableListTokenResp) Set(val *ListTokenResp)
- func (v *NullableListTokenResp) UnmarshalJSON(src []byte) error
- func (v *NullableListTokenResp) Unset()
- type NullableMessageResponse
- func (v NullableMessageResponse) Get() *MessageResponse
- func (v NullableMessageResponse) IsSet() bool
- func (v NullableMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMessageResponse) Set(val *MessageResponse)
- func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMessageResponse) Unset()
- type NullableModel
- type NullableModelCategory
- func (v NullableModelCategory) Get() *ModelCategory
- func (v NullableModelCategory) IsSet() bool
- func (v NullableModelCategory) MarshalJSON() ([]byte, error)
- func (v *NullableModelCategory) Set(val *ModelCategory)
- func (v *NullableModelCategory) UnmarshalJSON(src []byte) error
- func (v *NullableModelCategory) Unset()
- type NullableModelTypes
- type NullablePartialUpdateTokenPayload
- func (v NullablePartialUpdateTokenPayload) Get() *PartialUpdateTokenPayload
- func (v NullablePartialUpdateTokenPayload) IsSet() bool
- func (v NullablePartialUpdateTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateTokenPayload) Set(val *PartialUpdateTokenPayload)
- func (v *NullablePartialUpdateTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateTokenPayload) Unset()
- type NullableSKU
- type NullableString
- type NullableTime
- type NullableToken
- type NullableTokenCreated
- func (v NullableTokenCreated) Get() *TokenCreated
- func (v NullableTokenCreated) IsSet() bool
- func (v NullableTokenCreated) MarshalJSON() ([]byte, error)
- func (v *NullableTokenCreated) Set(val *TokenCreated)
- func (v *NullableTokenCreated) UnmarshalJSON(src []byte) error
- func (v *NullableTokenCreated) Unset()
- type NullableTokenCreatedState
- func (v NullableTokenCreatedState) Get() *TokenCreatedState
- func (v NullableTokenCreatedState) IsSet() bool
- func (v NullableTokenCreatedState) MarshalJSON() ([]byte, error)
- func (v *NullableTokenCreatedState) Set(val *TokenCreatedState)
- func (v *NullableTokenCreatedState) UnmarshalJSON(src []byte) error
- func (v *NullableTokenCreatedState) Unset()
- type NullableTokenState
- type NullableUpdateTokenResponse
- func (v NullableUpdateTokenResponse) Get() *UpdateTokenResponse
- func (v NullableUpdateTokenResponse) IsSet() bool
- func (v NullableUpdateTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateTokenResponse) Set(val *UpdateTokenResponse)
- func (v *NullableUpdateTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateTokenResponse) Unset()
- type NullableValue
- type PartialUpdateTokenPayload
- func (o *PartialUpdateTokenPayload) GetDescription() (res PartialUpdateTokenPayloadGetDescriptionRetType)
- func (o *PartialUpdateTokenPayload) GetDescriptionOk() (ret PartialUpdateTokenPayloadGetDescriptionRetType, ok bool)
- func (o *PartialUpdateTokenPayload) GetName() (res PartialUpdateTokenPayloadGetNameRetType)
- func (o *PartialUpdateTokenPayload) GetNameOk() (ret PartialUpdateTokenPayloadGetNameRetType, ok bool)
- func (o *PartialUpdateTokenPayload) HasDescription() bool
- func (o *PartialUpdateTokenPayload) HasName() bool
- func (o *PartialUpdateTokenPayload) SetDescription(v PartialUpdateTokenPayloadGetDescriptionRetType)
- func (o *PartialUpdateTokenPayload) SetName(v PartialUpdateTokenPayloadGetNameRetType)
- func (o PartialUpdateTokenPayload) ToMap() (map[string]interface{}, error)
- type PartialUpdateTokenPayloadGetDescriptionArgType
- type PartialUpdateTokenPayloadGetDescriptionAttributeType
- type PartialUpdateTokenPayloadGetDescriptionRetType
- type PartialUpdateTokenPayloadGetNameArgType
- type PartialUpdateTokenPayloadGetNameAttributeType
- type PartialUpdateTokenPayloadGetNameRetType
- type PartialUpdateTokenRequest
- type SKU
- func (o *SKU) GetDescription() (res SKUGetDescriptionRetType)
- func (o *SKU) GetDescriptionOk() (ret SKUGetDescriptionRetType, ok bool)
- func (o *SKU) GetId() (ret SKUGetIdRetType)
- func (o *SKU) GetIdOk() (ret SKUGetIdRetType, ok bool)
- func (o *SKU) GetType() (res SKUGetTypeRetType)
- func (o *SKU) GetTypeOk() (ret SKUGetTypeRetType, ok bool)
- func (o *SKU) HasDescription() bool
- func (o *SKU) HasType() bool
- func (o *SKU) SetDescription(v SKUGetDescriptionRetType)
- func (o *SKU) SetId(v SKUGetIdRetType)
- func (o *SKU) SetType(v SKUGetTypeRetType)
- func (o SKU) ToMap() (map[string]interface{}, error)
- type SKUGetDescriptionArgType
- type SKUGetDescriptionAttributeType
- type SKUGetDescriptionRetType
- type SKUGetIdArgType
- type SKUGetIdAttributeType
- type SKUGetIdRetType
- type SKUGetTypeArgType
- type SKUGetTypeAttributeType
- type SKUGetTypeRetType
- type Token
- func (o *Token) GetDescription() (res TokenGetDescriptionRetType)
- func (o *Token) GetDescriptionOk() (ret TokenGetDescriptionRetType, ok bool)
- func (o *Token) GetId() (ret TokenGetIdRetType)
- func (o *Token) GetIdOk() (ret TokenGetIdRetType, ok bool)
- func (o *Token) GetName() (ret TokenGetNameRetType)
- func (o *Token) GetNameOk() (ret TokenGetNameRetType, ok bool)
- func (o *Token) GetRegion() (ret TokenGetRegionRetType)
- func (o *Token) GetRegionOk() (ret TokenGetRegionRetType, ok bool)
- func (o *Token) GetState() (ret TokenGetStateRetType)
- func (o *Token) GetStateOk() (ret TokenGetStateRetType, ok bool)
- func (o *Token) GetValidUntil() (ret TokenGetValidUntilRetType)
- func (o *Token) GetValidUntilOk() (ret TokenGetValidUntilRetType, ok bool)
- func (o *Token) HasDescription() bool
- func (o *Token) SetDescription(v TokenGetDescriptionRetType)
- func (o *Token) SetId(v TokenGetIdRetType)
- func (o *Token) SetName(v TokenGetNameRetType)
- func (o *Token) SetRegion(v TokenGetRegionRetType)
- func (o *Token) SetState(v TokenGetStateRetType)
- func (o *Token) SetValidUntil(v TokenGetValidUntilRetType)
- func (o Token) ToMap() (map[string]interface{}, error)
- type TokenCreated
- func (o *TokenCreated) GetContent() (ret TokenCreatedGetContentRetType)
- func (o *TokenCreated) GetContentOk() (ret TokenCreatedGetContentRetType, ok bool)
- func (o *TokenCreated) GetDescription() (res TokenCreatedGetDescriptionRetType)
- func (o *TokenCreated) GetDescriptionOk() (ret TokenCreatedGetDescriptionRetType, ok bool)
- func (o *TokenCreated) GetId() (ret TokenCreatedGetIdRetType)
- func (o *TokenCreated) GetIdOk() (ret TokenCreatedGetIdRetType, ok bool)
- func (o *TokenCreated) GetName() (ret TokenCreatedGetNameRetType)
- func (o *TokenCreated) GetNameOk() (ret TokenCreatedGetNameRetType, ok bool)
- func (o *TokenCreated) GetRegion() (ret TokenCreatedGetRegionRetType)
- func (o *TokenCreated) GetRegionOk() (ret TokenCreatedGetRegionRetType, ok bool)
- func (o *TokenCreated) GetState() (ret TokenCreatedGetStateRetType)
- func (o *TokenCreated) GetStateOk() (ret TokenCreatedGetStateRetType, ok bool)
- func (o *TokenCreated) GetValidUntil() (ret TokenCreatedGetValidUntilRetType)
- func (o *TokenCreated) GetValidUntilOk() (ret TokenCreatedGetValidUntilRetType, ok bool)
- func (o *TokenCreated) HasDescription() bool
- func (o *TokenCreated) SetContent(v TokenCreatedGetContentRetType)
- func (o *TokenCreated) SetDescription(v TokenCreatedGetDescriptionRetType)
- func (o *TokenCreated) SetId(v TokenCreatedGetIdRetType)
- func (o *TokenCreated) SetName(v TokenCreatedGetNameRetType)
- func (o *TokenCreated) SetRegion(v TokenCreatedGetRegionRetType)
- func (o *TokenCreated) SetState(v TokenCreatedGetStateRetType)
- func (o *TokenCreated) SetValidUntil(v TokenCreatedGetValidUntilRetType)
- func (o TokenCreated) ToMap() (map[string]interface{}, error)
- type TokenCreatedGetContentArgType
- type TokenCreatedGetContentAttributeType
- type TokenCreatedGetContentRetType
- type TokenCreatedGetDescriptionArgType
- type TokenCreatedGetDescriptionAttributeType
- type TokenCreatedGetDescriptionRetType
- type TokenCreatedGetIdArgType
- type TokenCreatedGetIdAttributeType
- type TokenCreatedGetIdRetType
- type TokenCreatedGetNameArgType
- type TokenCreatedGetNameAttributeType
- type TokenCreatedGetNameRetType
- type TokenCreatedGetRegionArgType
- type TokenCreatedGetRegionAttributeType
- type TokenCreatedGetRegionRetType
- type TokenCreatedGetStateArgType
- type TokenCreatedGetStateAttributeType
- type TokenCreatedGetStateRetType
- type TokenCreatedGetValidUntilArgType
- type TokenCreatedGetValidUntilAttributeType
- type TokenCreatedGetValidUntilRetType
- type TokenCreatedState
- type TokenGetDescriptionArgType
- type TokenGetDescriptionAttributeType
- type TokenGetDescriptionRetType
- type TokenGetIdArgType
- type TokenGetIdAttributeType
- type TokenGetIdRetType
- type TokenGetNameArgType
- type TokenGetNameAttributeType
- type TokenGetNameRetType
- type TokenGetRegionArgType
- type TokenGetRegionAttributeType
- type TokenGetRegionRetType
- type TokenGetStateArgType
- type TokenGetStateAttributeType
- type TokenGetStateRetType
- type TokenGetValidUntilArgType
- type TokenGetValidUntilAttributeType
- type TokenGetValidUntilRetType
- type TokenState
- type UpdateTokenResponse
- func (o *UpdateTokenResponse) GetMessage() (res UpdateTokenResponseGetMessageRetType)
- func (o *UpdateTokenResponse) GetMessageOk() (ret UpdateTokenResponseGetMessageRetType, ok bool)
- func (o *UpdateTokenResponse) GetToken() (ret UpdateTokenResponseGetTokenRetType)
- func (o *UpdateTokenResponse) GetTokenOk() (ret UpdateTokenResponseGetTokenRetType, ok bool)
- func (o *UpdateTokenResponse) HasMessage() bool
- func (o *UpdateTokenResponse) SetMessage(v UpdateTokenResponseGetMessageRetType)
- func (o *UpdateTokenResponse) SetToken(v UpdateTokenResponseGetTokenRetType)
- func (o UpdateTokenResponse) ToMap() (map[string]interface{}, error)
- type UpdateTokenResponseGetMessageArgType
- type UpdateTokenResponseGetMessageAttributeType
- type UpdateTokenResponseGetMessageRetType
- type UpdateTokenResponseGetTokenArgType
- type UpdateTokenResponseGetTokenAttributeType
- type UpdateTokenResponseGetTokenRetType
Constants ¶
This section is empty.
Variables ¶
var AllowedChatModelDetailsBitsEnumValues = []ChatModelDetailsBits{
1,
2,
4,
8,
16,
}
All allowed values of ChatModelDetails enum
var AllowedChatModelDetailsCategoryEnumValues = []ChatModelDetailsCategory{
"standard",
"plus",
"premium",
}
All allowed values of ChatModelDetails enum
var AllowedChatModelDetailsQuantizationMethodEnumValues = []ChatModelDetailsQuantizationMethod{
"PTQ",
"QAT",
}
All allowed values of ChatModelDetails enum
var AllowedEmbeddingModelDetailsCategoryEnumValues = []EmbeddingModelDetailsCategory{
"standard",
"plus",
"premium",
}
All allowed values of EmbeddingModelDetails enum
var AllowedModelCategoryEnumValues = []ModelCategory{
"standard",
"plus",
"premium",
}
All allowed values of Model enum
var AllowedModelTypesEnumValues = []ModelTypes{
"chat",
"embedding",
}
All allowed values of Model enum
var AllowedTokenCreatedStateEnumValues = []TokenCreatedState{
"creating",
"active",
"deleting",
}
All allowed values of TokenCreated enum
var AllowedTokenStateEnumValues = []TokenState{
"creating",
"active",
"deleting",
"inactive",
}
All allowed values of Token enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Model Serving API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CreateToken ¶
func (a *APIClient) CreateToken(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest
CreateToken: create auth token for shared model use
create auth token for shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param projectId portal project id @return ApiCreateTokenRequest
func (*APIClient) CreateTokenExecute ¶
func (*APIClient) DeleteToken ¶
func (a *APIClient) DeleteToken(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest
DeleteToken: delete auth token in shared model use
delete auth token in shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param projectId portal project id @param tId token id @return ApiDeleteTokenRequest
func (*APIClient) DeleteTokenExecute ¶
func (*APIClient) GetChatModel ¶
func (a *APIClient) GetChatModel(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest
GetChatModel: details of a llm model
details of a llm model
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param modelId model id @return ApiGetChatModelRequest
func (*APIClient) GetChatModelExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) GetEmbeddingModel ¶
func (a *APIClient) GetEmbeddingModel(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest
GetEmbeddingModel: details of an embedding model
details of an embedding model
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param modelId model id @return ApiGetEmbeddingModelRequest
func (*APIClient) GetEmbeddingModelExecute ¶
func (*APIClient) GetToken ¶
func (a *APIClient) GetToken(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest
GetToken: get auth token for shared model use
get auth token for shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param projectId portal project id @param tId token id @return ApiGetTokenRequest
func (*APIClient) GetTokenExecute ¶
func (*APIClient) ListModels ¶
func (a *APIClient) ListModels(ctx context.Context, regionId string) ApiListModelsRequest
ListModels: List of shared model
List of shared model
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @return ApiListModelsRequest
func (*APIClient) ListModelsExecute ¶
func (*APIClient) ListTokens ¶
func (a *APIClient) ListTokens(ctx context.Context, regionId string, projectId string) ApiListTokensRequest
ListTokens: auth tokens for shared model in non dedicated instances
auth tokens for shared model in non dedicated instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param projectId portal project id @return ApiListTokensRequest
func (*APIClient) ListTokensExecute ¶
func (*APIClient) PartialUpdateToken ¶
func (a *APIClient) PartialUpdateToken(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest
PartialUpdateToken: partial update auth token for shared model use
partial update auth token for shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId region name @param projectId portal project id @param tId token id @return ApiPartialUpdateTokenRequest
func (*APIClient) PartialUpdateTokenExecute ¶
type ApiCreateTokenRequest ¶
type ApiCreateTokenRequest interface {
CreateTokenPayload(createTokenPayload CreateTokenPayload) ApiCreateTokenRequest
Execute() (*CreateTokenResponse, error)
}
type ApiDeleteTokenRequest ¶
type ApiDeleteTokenRequest interface {
Execute() (*MessageResponse, error)
}
type ApiGetChatModelRequest ¶
type ApiGetChatModelRequest interface {
Execute() (*GetChatModelResponse, error)
}
type ApiGetEmbeddingModelRequest ¶
type ApiGetEmbeddingModelRequest interface {
Execute() (*GetEmbeddingsModelResp, error)
}
type ApiGetTokenRequest ¶
type ApiGetTokenRequest interface {
Execute() (*GetTokenResponse, error)
}
type ApiListModelsRequest ¶
type ApiListModelsRequest interface {
Execute() (*ListModelsResponse, error)
}
type ApiListTokensRequest ¶
type ApiListTokensRequest interface {
Execute() (*ListTokenResp, error)
}
type ApiPartialUpdateTokenRequest ¶
type ApiPartialUpdateTokenRequest interface {
PartialUpdateTokenPayload(partialUpdateTokenPayload PartialUpdateTokenPayload) ApiPartialUpdateTokenRequest
Execute() (*UpdateTokenResponse, error)
}
type ChatModelDetails ¶
type ChatModelDetails struct {
// Can be cast to int32 without loss of precision.
Bits ChatModelDetailsGetBitsAttributeType `json:"bits,omitempty"`
// REQUIRED
Category ChatModelDetailsGetCategoryAttributeType `json:"category" required:"true"`
// REQUIRED
ContextLength ChatModelDetailsGetContextLengthAttributeType `json:"contextLength" required:"true"`
// REQUIRED
Description ChatModelDetailsGetDescriptionAttributeType `json:"description" required:"true"`
// REQUIRED
DisplayedName ChatModelDetailsGetDisplayedNameAttributeType `json:"displayedName" required:"true"`
// generated uuid to identify a model
// REQUIRED
Id ChatModelDetailsGetIdAttributeType `json:"id" required:"true"`
// huggingface name
// REQUIRED
Name ChatModelDetailsGetNameAttributeType `json:"name" required:"true"`
QuantizationMethod ChatModelDetailsGetQuantizationMethodAttributeType `json:"quantizationMethod,omitempty"`
// REQUIRED
Region ChatModelDetailsGetRegionAttributeType `json:"region" required:"true"`
// model size in bytes
// REQUIRED
Size ChatModelDetailsGetSizeAttributeType `json:"size" required:"true"`
// REQUIRED
Skus ChatModelDetailsGetSkusAttributeType `json:"skus" required:"true"`
// REQUIRED
Tags ChatModelDetailsGetTagsAttributeType `json:"tags" required:"true"`
// url of the model
// REQUIRED
Url ChatModelDetailsGetUrlAttributeType `json:"url" required:"true"`
}
ChatModelDetails struct for ChatModelDetails
func NewChatModelDetails ¶
func NewChatModelDetails(category ChatModelDetailsGetCategoryArgType, contextLength ChatModelDetailsGetContextLengthArgType, description ChatModelDetailsGetDescriptionArgType, displayedName ChatModelDetailsGetDisplayedNameArgType, id ChatModelDetailsGetIdArgType, name ChatModelDetailsGetNameArgType, region ChatModelDetailsGetRegionArgType, size ChatModelDetailsGetSizeArgType, skus ChatModelDetailsGetSkusArgType, tags ChatModelDetailsGetTagsArgType, url ChatModelDetailsGetUrlArgType) *ChatModelDetails
NewChatModelDetails instantiates a new ChatModelDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatModelDetailsWithDefaults ¶
func NewChatModelDetailsWithDefaults() *ChatModelDetails
NewChatModelDetailsWithDefaults instantiates a new ChatModelDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatModelDetails) GetBits ¶
func (o *ChatModelDetails) GetBits() (res ChatModelDetailsGetBitsRetType)
GetBits returns the Bits field value if set, zero value otherwise.
func (*ChatModelDetails) GetBitsOk ¶
func (o *ChatModelDetails) GetBitsOk() (ret ChatModelDetailsGetBitsRetType, ok bool)
GetBitsOk returns a tuple with the Bits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatModelDetails) GetCategory ¶
func (o *ChatModelDetails) GetCategory() (ret ChatModelDetailsGetCategoryRetType)
GetCategory returns the Category field value
func (*ChatModelDetails) GetCategoryOk ¶
func (o *ChatModelDetails) GetCategoryOk() (ret ChatModelDetailsGetCategoryRetType, ok bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetContextLength ¶
func (o *ChatModelDetails) GetContextLength() (ret ChatModelDetailsGetContextLengthRetType)
GetContextLength returns the ContextLength field value
func (*ChatModelDetails) GetContextLengthOk ¶
func (o *ChatModelDetails) GetContextLengthOk() (ret ChatModelDetailsGetContextLengthRetType, ok bool)
GetContextLengthOk returns a tuple with the ContextLength field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetDescription ¶
func (o *ChatModelDetails) GetDescription() (ret ChatModelDetailsGetDescriptionRetType)
GetDescription returns the Description field value
func (*ChatModelDetails) GetDescriptionOk ¶
func (o *ChatModelDetails) GetDescriptionOk() (ret ChatModelDetailsGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetDisplayedName ¶
func (o *ChatModelDetails) GetDisplayedName() (ret ChatModelDetailsGetDisplayedNameRetType)
GetDisplayedName returns the DisplayedName field value
func (*ChatModelDetails) GetDisplayedNameOk ¶
func (o *ChatModelDetails) GetDisplayedNameOk() (ret ChatModelDetailsGetDisplayedNameRetType, ok bool)
GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetId ¶
func (o *ChatModelDetails) GetId() (ret ChatModelDetailsGetIdRetType)
GetId returns the Id field value
func (*ChatModelDetails) GetIdOk ¶
func (o *ChatModelDetails) GetIdOk() (ret ChatModelDetailsGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetName ¶
func (o *ChatModelDetails) GetName() (ret ChatModelDetailsGetNameRetType)
GetName returns the Name field value
func (*ChatModelDetails) GetNameOk ¶
func (o *ChatModelDetails) GetNameOk() (ret ChatModelDetailsGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetQuantizationMethod ¶
func (o *ChatModelDetails) GetQuantizationMethod() (res ChatModelDetailsGetQuantizationMethodRetType)
GetQuantizationMethod returns the QuantizationMethod field value if set, zero value otherwise.
func (*ChatModelDetails) GetQuantizationMethodOk ¶
func (o *ChatModelDetails) GetQuantizationMethodOk() (ret ChatModelDetailsGetQuantizationMethodRetType, ok bool)
GetQuantizationMethodOk returns a tuple with the QuantizationMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatModelDetails) GetRegion ¶
func (o *ChatModelDetails) GetRegion() (ret ChatModelDetailsGetRegionRetType)
GetRegion returns the Region field value
func (*ChatModelDetails) GetRegionOk ¶
func (o *ChatModelDetails) GetRegionOk() (ret ChatModelDetailsGetRegionRetType, ok bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetSize ¶
func (o *ChatModelDetails) GetSize() (ret ChatModelDetailsGetSizeRetType)
GetSize returns the Size field value
func (*ChatModelDetails) GetSizeOk ¶
func (o *ChatModelDetails) GetSizeOk() (ret ChatModelDetailsGetSizeRetType, ok bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetSkus ¶
func (o *ChatModelDetails) GetSkus() (ret ChatModelDetailsGetSkusRetType)
GetSkus returns the Skus field value
func (*ChatModelDetails) GetSkusOk ¶
func (o *ChatModelDetails) GetSkusOk() (ret ChatModelDetailsGetSkusRetType, ok bool)
GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetTags ¶
func (o *ChatModelDetails) GetTags() (ret ChatModelDetailsGetTagsRetType)
GetTags returns the Tags field value
func (*ChatModelDetails) GetTagsOk ¶
func (o *ChatModelDetails) GetTagsOk() (ret ChatModelDetailsGetTagsRetType, ok bool)
GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.
func (*ChatModelDetails) GetUrl ¶
func (o *ChatModelDetails) GetUrl() (ret ChatModelDetailsGetUrlRetType)
GetUrl returns the Url field value
func (*ChatModelDetails) GetUrlOk ¶
func (o *ChatModelDetails) GetUrlOk() (ret ChatModelDetailsGetUrlRetType, ok bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*ChatModelDetails) HasBits ¶
func (o *ChatModelDetails) HasBits() bool
HasBits returns a boolean if a field has been set.
func (*ChatModelDetails) HasQuantizationMethod ¶
func (o *ChatModelDetails) HasQuantizationMethod() bool
HasQuantizationMethod returns a boolean if a field has been set.
func (*ChatModelDetails) SetBits ¶
func (o *ChatModelDetails) SetBits(v ChatModelDetailsGetBitsRetType)
SetBits gets a reference to the given int64 and assigns it to the Bits field.
func (*ChatModelDetails) SetCategory ¶
func (o *ChatModelDetails) SetCategory(v ChatModelDetailsGetCategoryRetType)
SetCategory sets field value
func (*ChatModelDetails) SetContextLength ¶
func (o *ChatModelDetails) SetContextLength(v ChatModelDetailsGetContextLengthRetType)
SetContextLength sets field value
func (*ChatModelDetails) SetDescription ¶
func (o *ChatModelDetails) SetDescription(v ChatModelDetailsGetDescriptionRetType)
SetDescription sets field value
func (*ChatModelDetails) SetDisplayedName ¶
func (o *ChatModelDetails) SetDisplayedName(v ChatModelDetailsGetDisplayedNameRetType)
SetDisplayedName sets field value
func (*ChatModelDetails) SetId ¶
func (o *ChatModelDetails) SetId(v ChatModelDetailsGetIdRetType)
SetId sets field value
func (*ChatModelDetails) SetName ¶
func (o *ChatModelDetails) SetName(v ChatModelDetailsGetNameRetType)
SetName sets field value
func (*ChatModelDetails) SetQuantizationMethod ¶
func (o *ChatModelDetails) SetQuantizationMethod(v ChatModelDetailsGetQuantizationMethodRetType)
SetQuantizationMethod gets a reference to the given string and assigns it to the QuantizationMethod field.
func (*ChatModelDetails) SetRegion ¶
func (o *ChatModelDetails) SetRegion(v ChatModelDetailsGetRegionRetType)
SetRegion sets field value
func (*ChatModelDetails) SetSize ¶
func (o *ChatModelDetails) SetSize(v ChatModelDetailsGetSizeRetType)
SetSize sets field value
func (*ChatModelDetails) SetSkus ¶
func (o *ChatModelDetails) SetSkus(v ChatModelDetailsGetSkusRetType)
SetSkus sets field value
func (*ChatModelDetails) SetTags ¶
func (o *ChatModelDetails) SetTags(v ChatModelDetailsGetTagsRetType)
SetTags sets field value
func (*ChatModelDetails) SetUrl ¶
func (o *ChatModelDetails) SetUrl(v ChatModelDetailsGetUrlRetType)
SetUrl sets field value
func (ChatModelDetails) ToMap ¶
func (o ChatModelDetails) ToMap() (map[string]interface{}, error)
type ChatModelDetailsBits ¶ added in v0.3.0
type ChatModelDetailsBits int
ChatModelDetailsBits the model 'ChatModelDetails' value type for enums
const ( CHATMODELDETAILSBITS_1Bit ChatModelDetailsBits = 1 CHATMODELDETAILSBITS_2Bits ChatModelDetailsBits = 2 CHATMODELDETAILSBITS_4Bits ChatModelDetailsBits = 4 CHATMODELDETAILSBITS_8Bits ChatModelDetailsBits = 8 CHATMODELDETAILSBITS_16Bits ChatModelDetailsBits = 16 )
List of Bits
func NewChatModelDetailsBitsFromValue ¶ added in v0.3.0
func NewChatModelDetailsBitsFromValue(v ChatModelDetailsBits) (*ChatModelDetailsBits, error)
NewChatModelDetailsBitsFromValue returns a pointer to a valid ChatModelDetailsBits for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ChatModelDetailsBits) IsValid ¶ added in v0.3.0
func (v ChatModelDetailsBits) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ChatModelDetailsBits) Ptr ¶ added in v0.3.0
func (v ChatModelDetailsBits) Ptr() *ChatModelDetailsBits
Ptr returns reference to BitsBits value
func (*ChatModelDetailsBits) UnmarshalJSON ¶ added in v0.3.0
func (v *ChatModelDetailsBits) UnmarshalJSON(src []byte) error
type ChatModelDetailsCategory ¶ added in v0.3.0
type ChatModelDetailsCategory string
ChatModelDetailsCategory the model 'ChatModelDetails' value type for enums
const ( CHATMODELDETAILSCATEGORY_STANDARD ChatModelDetailsCategory = "standard" CHATMODELDETAILSCATEGORY_PLUS ChatModelDetailsCategory = "plus" CHATMODELDETAILSCATEGORY_PREMIUM ChatModelDetailsCategory = "premium" )
List of Category
func NewChatModelDetailsCategoryFromValue ¶ added in v0.3.0
func NewChatModelDetailsCategoryFromValue(v ChatModelDetailsCategory) (*ChatModelDetailsCategory, error)
NewChatModelDetailsCategoryFromValue returns a pointer to a valid ChatModelDetailsCategory for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ChatModelDetailsCategory) IsValid ¶ added in v0.3.0
func (v ChatModelDetailsCategory) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ChatModelDetailsCategory) Ptr ¶ added in v0.3.0
func (v ChatModelDetailsCategory) Ptr() *ChatModelDetailsCategory
Ptr returns reference to CategoryCategory value
func (*ChatModelDetailsCategory) UnmarshalJSON ¶ added in v0.3.0
func (v *ChatModelDetailsCategory) UnmarshalJSON(src []byte) error
type ChatModelDetailsGetBitsArgType ¶ added in v0.2.1
type ChatModelDetailsGetBitsArgType = ChatModelDetailsBits
type ChatModelDetailsGetBitsAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetBitsAttributeType = *ChatModelDetailsBits
type ChatModelDetailsGetBitsRetType ¶ added in v0.2.1
type ChatModelDetailsGetBitsRetType = ChatModelDetailsBits
type ChatModelDetailsGetCategoryArgType ¶ added in v0.2.1
type ChatModelDetailsGetCategoryArgType = ChatModelDetailsCategory
type ChatModelDetailsGetCategoryAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetCategoryAttributeType = *ChatModelDetailsCategory
type ChatModelDetailsGetCategoryRetType ¶ added in v0.2.1
type ChatModelDetailsGetCategoryRetType = ChatModelDetailsCategory
type ChatModelDetailsGetContextLengthArgType ¶ added in v0.2.1
type ChatModelDetailsGetContextLengthArgType = int64
type ChatModelDetailsGetContextLengthAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetContextLengthAttributeType = *int64
isLong
type ChatModelDetailsGetContextLengthRetType ¶ added in v0.2.1
type ChatModelDetailsGetContextLengthRetType = int64
type ChatModelDetailsGetDescriptionArgType ¶ added in v0.2.1
type ChatModelDetailsGetDescriptionArgType = string
type ChatModelDetailsGetDescriptionAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetDescriptionAttributeType = *string
isNotNullableString
type ChatModelDetailsGetDescriptionRetType ¶ added in v0.2.1
type ChatModelDetailsGetDescriptionRetType = string
type ChatModelDetailsGetDisplayedNameArgType ¶ added in v0.2.1
type ChatModelDetailsGetDisplayedNameArgType = string
type ChatModelDetailsGetDisplayedNameAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetDisplayedNameAttributeType = *string
isNotNullableString
type ChatModelDetailsGetDisplayedNameRetType ¶ added in v0.2.1
type ChatModelDetailsGetDisplayedNameRetType = string
type ChatModelDetailsGetIdArgType ¶ added in v0.2.1
type ChatModelDetailsGetIdArgType = string
type ChatModelDetailsGetIdAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetIdAttributeType = *string
isNotNullableString
type ChatModelDetailsGetIdRetType ¶ added in v0.2.1
type ChatModelDetailsGetIdRetType = string
type ChatModelDetailsGetNameArgType ¶ added in v0.2.1
type ChatModelDetailsGetNameArgType = string
type ChatModelDetailsGetNameAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetNameAttributeType = *string
isNotNullableString
type ChatModelDetailsGetNameRetType ¶ added in v0.2.1
type ChatModelDetailsGetNameRetType = string
type ChatModelDetailsGetQuantizationMethodArgType ¶ added in v0.2.1
type ChatModelDetailsGetQuantizationMethodArgType = ChatModelDetailsQuantizationMethod
type ChatModelDetailsGetQuantizationMethodAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetQuantizationMethodAttributeType = *ChatModelDetailsQuantizationMethod
type ChatModelDetailsGetQuantizationMethodRetType ¶ added in v0.2.1
type ChatModelDetailsGetQuantizationMethodRetType = ChatModelDetailsQuantizationMethod
type ChatModelDetailsGetRegionArgType ¶ added in v0.2.1
type ChatModelDetailsGetRegionArgType = string
type ChatModelDetailsGetRegionAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetRegionAttributeType = *string
isNotNullableString
type ChatModelDetailsGetRegionRetType ¶ added in v0.2.1
type ChatModelDetailsGetRegionRetType = string
type ChatModelDetailsGetSizeArgType ¶ added in v0.2.1
type ChatModelDetailsGetSizeArgType = int64
type ChatModelDetailsGetSizeAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetSizeAttributeType = *int64
isLong
type ChatModelDetailsGetSizeRetType ¶ added in v0.2.1
type ChatModelDetailsGetSizeRetType = int64
type ChatModelDetailsGetSkusArgType ¶ added in v0.2.1
type ChatModelDetailsGetSkusArgType = []SKU
type ChatModelDetailsGetSkusAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetSkusAttributeType = *[]SKU
isArray
type ChatModelDetailsGetSkusRetType ¶ added in v0.2.1
type ChatModelDetailsGetSkusRetType = []SKU
type ChatModelDetailsGetTagsArgType ¶ added in v0.2.1
type ChatModelDetailsGetTagsArgType = []string
type ChatModelDetailsGetTagsAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetTagsAttributeType = *[]string
isArray
type ChatModelDetailsGetTagsRetType ¶ added in v0.2.1
type ChatModelDetailsGetTagsRetType = []string
type ChatModelDetailsGetUrlArgType ¶ added in v0.2.1
type ChatModelDetailsGetUrlArgType = string
type ChatModelDetailsGetUrlAttributeType ¶ added in v0.2.1
type ChatModelDetailsGetUrlAttributeType = *string
isNotNullableString
type ChatModelDetailsGetUrlRetType ¶ added in v0.2.1
type ChatModelDetailsGetUrlRetType = string
type ChatModelDetailsQuantizationMethod ¶ added in v0.3.0
type ChatModelDetailsQuantizationMethod string
ChatModelDetailsQuantizationMethod the model 'ChatModelDetails' value type for enums
const ( CHATMODELDETAILSQUANTIZATION_METHOD_PTQ ChatModelDetailsQuantizationMethod = "PTQ" CHATMODELDETAILSQUANTIZATION_METHOD_QAT ChatModelDetailsQuantizationMethod = "QAT" )
List of QuantizationMethod
func NewChatModelDetailsQuantizationMethodFromValue ¶ added in v0.3.0
func NewChatModelDetailsQuantizationMethodFromValue(v ChatModelDetailsQuantizationMethod) (*ChatModelDetailsQuantizationMethod, error)
NewChatModelDetailsQuantizationMethodFromValue returns a pointer to a valid ChatModelDetailsQuantizationMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ChatModelDetailsQuantizationMethod) IsValid ¶ added in v0.3.0
func (v ChatModelDetailsQuantizationMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ChatModelDetailsQuantizationMethod) Ptr ¶ added in v0.3.0
func (v ChatModelDetailsQuantizationMethod) Ptr() *ChatModelDetailsQuantizationMethod
Ptr returns reference to QuantizationMethodQuantizationMethod value
func (*ChatModelDetailsQuantizationMethod) UnmarshalJSON ¶ added in v0.3.0
func (v *ChatModelDetailsQuantizationMethod) UnmarshalJSON(src []byte) error
type CreateTokenPayload ¶
type CreateTokenPayload struct {
Description CreateTokenPayloadGetDescriptionAttributeType `json:"description,omitempty"`
// REQUIRED
Name CreateTokenPayloadGetNameAttributeType `json:"name" required:"true"`
// time to live duration. Must be valid duration string. If not set the token will never expire.
TtlDuration CreateTokenPayloadGetTtlDurationAttributeType `json:"ttlDuration,omitempty"`
}
CreateTokenPayload struct for CreateTokenPayload
func NewCreateTokenPayload ¶
func NewCreateTokenPayload(name CreateTokenPayloadGetNameArgType) *CreateTokenPayload
NewCreateTokenPayload instantiates a new CreateTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateTokenPayloadWithDefaults ¶
func NewCreateTokenPayloadWithDefaults() *CreateTokenPayload
NewCreateTokenPayloadWithDefaults instantiates a new CreateTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateTokenPayload) GetDescription ¶
func (o *CreateTokenPayload) GetDescription() (res CreateTokenPayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateTokenPayload) GetDescriptionOk ¶
func (o *CreateTokenPayload) GetDescriptionOk() (ret CreateTokenPayloadGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTokenPayload) GetName ¶
func (o *CreateTokenPayload) GetName() (ret CreateTokenPayloadGetNameRetType)
GetName returns the Name field value
func (*CreateTokenPayload) GetNameOk ¶
func (o *CreateTokenPayload) GetNameOk() (ret CreateTokenPayloadGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateTokenPayload) GetTtlDuration ¶
func (o *CreateTokenPayload) GetTtlDuration() (res CreateTokenPayloadGetTtlDurationRetType)
GetTtlDuration returns the TtlDuration field value if set, zero value otherwise.
func (*CreateTokenPayload) GetTtlDurationOk ¶
func (o *CreateTokenPayload) GetTtlDurationOk() (ret CreateTokenPayloadGetTtlDurationRetType, ok bool)
GetTtlDurationOk returns a tuple with the TtlDuration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTokenPayload) HasDescription ¶
func (o *CreateTokenPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateTokenPayload) HasTtlDuration ¶
func (o *CreateTokenPayload) HasTtlDuration() bool
HasTtlDuration returns a boolean if a field has been set.
func (*CreateTokenPayload) SetDescription ¶
func (o *CreateTokenPayload) SetDescription(v CreateTokenPayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateTokenPayload) SetName ¶
func (o *CreateTokenPayload) SetName(v CreateTokenPayloadGetNameRetType)
SetName sets field value
func (*CreateTokenPayload) SetTtlDuration ¶
func (o *CreateTokenPayload) SetTtlDuration(v CreateTokenPayloadGetTtlDurationRetType)
SetTtlDuration gets a reference to the given string and assigns it to the TtlDuration field.
func (CreateTokenPayload) ToMap ¶
func (o CreateTokenPayload) ToMap() (map[string]interface{}, error)
type CreateTokenPayloadGetDescriptionArgType ¶ added in v0.2.1
type CreateTokenPayloadGetDescriptionArgType = string
type CreateTokenPayloadGetDescriptionAttributeType ¶ added in v0.2.1
type CreateTokenPayloadGetDescriptionAttributeType = *string
isNotNullableString
type CreateTokenPayloadGetDescriptionRetType ¶ added in v0.2.1
type CreateTokenPayloadGetDescriptionRetType = string
type CreateTokenPayloadGetNameArgType ¶ added in v0.2.1
type CreateTokenPayloadGetNameArgType = string
type CreateTokenPayloadGetNameAttributeType ¶ added in v0.2.1
type CreateTokenPayloadGetNameAttributeType = *string
isNotNullableString
type CreateTokenPayloadGetNameRetType ¶ added in v0.2.1
type CreateTokenPayloadGetNameRetType = string
type CreateTokenPayloadGetTtlDurationArgType ¶ added in v0.2.1
type CreateTokenPayloadGetTtlDurationArgType = string
type CreateTokenPayloadGetTtlDurationAttributeType ¶ added in v0.2.1
type CreateTokenPayloadGetTtlDurationAttributeType = *string
isNotNullableString
type CreateTokenPayloadGetTtlDurationRetType ¶ added in v0.2.1
type CreateTokenPayloadGetTtlDurationRetType = string
type CreateTokenRequest ¶ added in v0.4.0
type CreateTokenRequest struct {
// contains filtered or unexported fields
}
func (CreateTokenRequest) CreateTokenPayload ¶ added in v0.4.0
func (r CreateTokenRequest) CreateTokenPayload(createTokenPayload CreateTokenPayload) ApiCreateTokenRequest
func (CreateTokenRequest) Execute ¶ added in v0.4.0
func (r CreateTokenRequest) Execute() (*CreateTokenResponse, error)
type CreateTokenResponse ¶
type CreateTokenResponse struct {
Message CreateTokenResponseGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Token CreateTokenResponseGetTokenAttributeType `json:"token" required:"true"`
}
CreateTokenResponse struct for CreateTokenResponse
func NewCreateTokenResponse ¶
func NewCreateTokenResponse(token CreateTokenResponseGetTokenArgType) *CreateTokenResponse
NewCreateTokenResponse instantiates a new CreateTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateTokenResponseWithDefaults ¶
func NewCreateTokenResponseWithDefaults() *CreateTokenResponse
NewCreateTokenResponseWithDefaults instantiates a new CreateTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateTokenResponse) GetMessage ¶
func (o *CreateTokenResponse) GetMessage() (res CreateTokenResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateTokenResponse) GetMessageOk ¶
func (o *CreateTokenResponse) GetMessageOk() (ret CreateTokenResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTokenResponse) GetToken ¶
func (o *CreateTokenResponse) GetToken() (ret CreateTokenResponseGetTokenRetType)
GetToken returns the Token field value
func (*CreateTokenResponse) GetTokenOk ¶
func (o *CreateTokenResponse) GetTokenOk() (ret CreateTokenResponseGetTokenRetType, ok bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*CreateTokenResponse) HasMessage ¶
func (o *CreateTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateTokenResponse) SetMessage ¶
func (o *CreateTokenResponse) SetMessage(v CreateTokenResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateTokenResponse) SetToken ¶
func (o *CreateTokenResponse) SetToken(v CreateTokenResponseGetTokenRetType)
SetToken sets field value
func (CreateTokenResponse) ToMap ¶
func (o CreateTokenResponse) ToMap() (map[string]interface{}, error)
type CreateTokenResponseGetMessageArgType ¶ added in v0.2.1
type CreateTokenResponseGetMessageArgType = string
type CreateTokenResponseGetMessageAttributeType ¶ added in v0.2.1
type CreateTokenResponseGetMessageAttributeType = *string
isNotNullableString
type CreateTokenResponseGetMessageRetType ¶ added in v0.2.1
type CreateTokenResponseGetMessageRetType = string
type CreateTokenResponseGetTokenArgType ¶ added in v0.2.1
type CreateTokenResponseGetTokenArgType = TokenCreated
type CreateTokenResponseGetTokenAttributeType ¶ added in v0.2.1
type CreateTokenResponseGetTokenAttributeType = *TokenCreated
isModel
type CreateTokenResponseGetTokenRetType ¶ added in v0.2.1
type CreateTokenResponseGetTokenRetType = TokenCreated
type DefaultApi ¶ added in v0.4.0
type DefaultApi interface {
/*
CreateToken create auth token for shared model use
create auth token for shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@return ApiCreateTokenRequest
*/
CreateToken(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest
/*
CreateTokenExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@return CreateTokenResponse
*/
CreateTokenExecute(ctx context.Context, regionId string, projectId string) (*CreateTokenResponse, error)
/*
DeleteToken delete auth token in shared model use
delete auth token in shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@param tId token id
@return ApiDeleteTokenRequest
*/
DeleteToken(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest
/*
DeleteTokenExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@param tId token id
@return MessageResponse
*/
DeleteTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*MessageResponse, error)
/*
GetChatModel details of a llm model
details of a llm model
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param modelId model id
@return ApiGetChatModelRequest
*/
GetChatModel(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest
/*
GetChatModelExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param modelId model id
@return GetChatModelResponse
*/
GetChatModelExecute(ctx context.Context, regionId string, modelId string) (*GetChatModelResponse, error)
/*
GetEmbeddingModel details of an embedding model
details of an embedding model
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param modelId model id
@return ApiGetEmbeddingModelRequest
*/
GetEmbeddingModel(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest
/*
GetEmbeddingModelExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param modelId model id
@return GetEmbeddingsModelResp
*/
GetEmbeddingModelExecute(ctx context.Context, regionId string, modelId string) (*GetEmbeddingsModelResp, error)
/*
GetToken get auth token for shared model use
get auth token for shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@param tId token id
@return ApiGetTokenRequest
*/
GetToken(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest
/*
GetTokenExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@param tId token id
@return GetTokenResponse
*/
GetTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*GetTokenResponse, error)
/*
ListModels List of shared model
List of shared model
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@return ApiListModelsRequest
*/
ListModels(ctx context.Context, regionId string) ApiListModelsRequest
/*
ListModelsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@return ListModelsResponse
*/
ListModelsExecute(ctx context.Context, regionId string) (*ListModelsResponse, error)
/*
ListTokens auth tokens for shared model in non dedicated instances
auth tokens for shared model in non dedicated instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@return ApiListTokensRequest
*/
ListTokens(ctx context.Context, regionId string, projectId string) ApiListTokensRequest
/*
ListTokensExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@return ListTokenResp
*/
ListTokensExecute(ctx context.Context, regionId string, projectId string) (*ListTokenResp, error)
/*
PartialUpdateToken partial update auth token for shared model use
partial update auth token for shared model use
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@param tId token id
@return ApiPartialUpdateTokenRequest
*/
PartialUpdateToken(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest
/*
PartialUpdateTokenExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId region name
@param projectId portal project id
@param tId token id
@return UpdateTokenResponse
*/
PartialUpdateTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*UpdateTokenResponse, error)
}
type DeleteTokenRequest ¶ added in v0.4.0
type DeleteTokenRequest struct {
// contains filtered or unexported fields
}
func (DeleteTokenRequest) Execute ¶ added in v0.4.0
func (r DeleteTokenRequest) Execute() (*MessageResponse, error)
type EmbeddingModelDetails ¶
type EmbeddingModelDetails struct {
// REQUIRED
Category EmbeddingModelDetailsGetCategoryAttributeType `json:"category" required:"true"`
// REQUIRED
Description EmbeddingModelDetailsGetDescriptionAttributeType `json:"description" required:"true"`
// REQUIRED
DisplayedName EmbeddingModelDetailsGetDisplayedNameAttributeType `json:"displayedName" required:"true"`
// generated uuid to identify a model
// REQUIRED
Id EmbeddingModelDetailsGetIdAttributeType `json:"id" required:"true"`
// huggingface name
// REQUIRED
Name EmbeddingModelDetailsGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
OutputDimension EmbeddingModelDetailsGetOutputDimensionAttributeType `json:"outputDimension" required:"true"`
// REQUIRED
Region EmbeddingModelDetailsGetRegionAttributeType `json:"region" required:"true"`
// REQUIRED
Skus EmbeddingModelDetailsGetSkusAttributeType `json:"skus" required:"true"`
Tags EmbeddingModelDetailsGetTagsAttributeType `json:"tags,omitempty"`
// url of the model
// REQUIRED
Url EmbeddingModelDetailsGetUrlAttributeType `json:"url" required:"true"`
}
EmbeddingModelDetails struct for EmbeddingModelDetails
func NewEmbeddingModelDetails ¶
func NewEmbeddingModelDetails(category EmbeddingModelDetailsGetCategoryArgType, description EmbeddingModelDetailsGetDescriptionArgType, displayedName EmbeddingModelDetailsGetDisplayedNameArgType, id EmbeddingModelDetailsGetIdArgType, name EmbeddingModelDetailsGetNameArgType, outputDimension EmbeddingModelDetailsGetOutputDimensionArgType, region EmbeddingModelDetailsGetRegionArgType, skus EmbeddingModelDetailsGetSkusArgType, url EmbeddingModelDetailsGetUrlArgType) *EmbeddingModelDetails
NewEmbeddingModelDetails instantiates a new EmbeddingModelDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEmbeddingModelDetailsWithDefaults ¶
func NewEmbeddingModelDetailsWithDefaults() *EmbeddingModelDetails
NewEmbeddingModelDetailsWithDefaults instantiates a new EmbeddingModelDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EmbeddingModelDetails) GetCategory ¶
func (o *EmbeddingModelDetails) GetCategory() (ret EmbeddingModelDetailsGetCategoryRetType)
GetCategory returns the Category field value
func (*EmbeddingModelDetails) GetCategoryOk ¶
func (o *EmbeddingModelDetails) GetCategoryOk() (ret EmbeddingModelDetailsGetCategoryRetType, ok bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetDescription ¶
func (o *EmbeddingModelDetails) GetDescription() (ret EmbeddingModelDetailsGetDescriptionRetType)
GetDescription returns the Description field value
func (*EmbeddingModelDetails) GetDescriptionOk ¶
func (o *EmbeddingModelDetails) GetDescriptionOk() (ret EmbeddingModelDetailsGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetDisplayedName ¶
func (o *EmbeddingModelDetails) GetDisplayedName() (ret EmbeddingModelDetailsGetDisplayedNameRetType)
GetDisplayedName returns the DisplayedName field value
func (*EmbeddingModelDetails) GetDisplayedNameOk ¶
func (o *EmbeddingModelDetails) GetDisplayedNameOk() (ret EmbeddingModelDetailsGetDisplayedNameRetType, ok bool)
GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetId ¶
func (o *EmbeddingModelDetails) GetId() (ret EmbeddingModelDetailsGetIdRetType)
GetId returns the Id field value
func (*EmbeddingModelDetails) GetIdOk ¶
func (o *EmbeddingModelDetails) GetIdOk() (ret EmbeddingModelDetailsGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetName ¶
func (o *EmbeddingModelDetails) GetName() (ret EmbeddingModelDetailsGetNameRetType)
GetName returns the Name field value
func (*EmbeddingModelDetails) GetNameOk ¶
func (o *EmbeddingModelDetails) GetNameOk() (ret EmbeddingModelDetailsGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetOutputDimension ¶
func (o *EmbeddingModelDetails) GetOutputDimension() (ret EmbeddingModelDetailsGetOutputDimensionRetType)
GetOutputDimension returns the OutputDimension field value
func (*EmbeddingModelDetails) GetOutputDimensionOk ¶
func (o *EmbeddingModelDetails) GetOutputDimensionOk() (ret EmbeddingModelDetailsGetOutputDimensionRetType, ok bool)
GetOutputDimensionOk returns a tuple with the OutputDimension field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetRegion ¶
func (o *EmbeddingModelDetails) GetRegion() (ret EmbeddingModelDetailsGetRegionRetType)
GetRegion returns the Region field value
func (*EmbeddingModelDetails) GetRegionOk ¶
func (o *EmbeddingModelDetails) GetRegionOk() (ret EmbeddingModelDetailsGetRegionRetType, ok bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetSkus ¶
func (o *EmbeddingModelDetails) GetSkus() (ret EmbeddingModelDetailsGetSkusRetType)
GetSkus returns the Skus field value
func (*EmbeddingModelDetails) GetSkusOk ¶
func (o *EmbeddingModelDetails) GetSkusOk() (ret EmbeddingModelDetailsGetSkusRetType, ok bool)
GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetTags ¶
func (o *EmbeddingModelDetails) GetTags() (res EmbeddingModelDetailsGetTagsRetType)
GetTags returns the Tags field value if set, zero value otherwise.
func (*EmbeddingModelDetails) GetTagsOk ¶
func (o *EmbeddingModelDetails) GetTagsOk() (ret EmbeddingModelDetailsGetTagsRetType, ok bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) GetUrl ¶
func (o *EmbeddingModelDetails) GetUrl() (ret EmbeddingModelDetailsGetUrlRetType)
GetUrl returns the Url field value
func (*EmbeddingModelDetails) GetUrlOk ¶
func (o *EmbeddingModelDetails) GetUrlOk() (ret EmbeddingModelDetailsGetUrlRetType, ok bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*EmbeddingModelDetails) HasTags ¶
func (o *EmbeddingModelDetails) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*EmbeddingModelDetails) SetCategory ¶
func (o *EmbeddingModelDetails) SetCategory(v EmbeddingModelDetailsGetCategoryRetType)
SetCategory sets field value
func (*EmbeddingModelDetails) SetDescription ¶
func (o *EmbeddingModelDetails) SetDescription(v EmbeddingModelDetailsGetDescriptionRetType)
SetDescription sets field value
func (*EmbeddingModelDetails) SetDisplayedName ¶
func (o *EmbeddingModelDetails) SetDisplayedName(v EmbeddingModelDetailsGetDisplayedNameRetType)
SetDisplayedName sets field value
func (*EmbeddingModelDetails) SetId ¶
func (o *EmbeddingModelDetails) SetId(v EmbeddingModelDetailsGetIdRetType)
SetId sets field value
func (*EmbeddingModelDetails) SetName ¶
func (o *EmbeddingModelDetails) SetName(v EmbeddingModelDetailsGetNameRetType)
SetName sets field value
func (*EmbeddingModelDetails) SetOutputDimension ¶
func (o *EmbeddingModelDetails) SetOutputDimension(v EmbeddingModelDetailsGetOutputDimensionRetType)
SetOutputDimension sets field value
func (*EmbeddingModelDetails) SetRegion ¶
func (o *EmbeddingModelDetails) SetRegion(v EmbeddingModelDetailsGetRegionRetType)
SetRegion sets field value
func (*EmbeddingModelDetails) SetSkus ¶
func (o *EmbeddingModelDetails) SetSkus(v EmbeddingModelDetailsGetSkusRetType)
SetSkus sets field value
func (*EmbeddingModelDetails) SetTags ¶
func (o *EmbeddingModelDetails) SetTags(v EmbeddingModelDetailsGetTagsRetType)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*EmbeddingModelDetails) SetUrl ¶
func (o *EmbeddingModelDetails) SetUrl(v EmbeddingModelDetailsGetUrlRetType)
SetUrl sets field value
func (EmbeddingModelDetails) ToMap ¶
func (o EmbeddingModelDetails) ToMap() (map[string]interface{}, error)
type EmbeddingModelDetailsCategory ¶ added in v0.3.0
type EmbeddingModelDetailsCategory string
EmbeddingModelDetailsCategory the model 'EmbeddingModelDetails' value type for enums
const ( EMBEDDINGMODELDETAILSCATEGORY_STANDARD EmbeddingModelDetailsCategory = "standard" EMBEDDINGMODELDETAILSCATEGORY_PLUS EmbeddingModelDetailsCategory = "plus" EMBEDDINGMODELDETAILSCATEGORY_PREMIUM EmbeddingModelDetailsCategory = "premium" )
List of Category
func NewEmbeddingModelDetailsCategoryFromValue ¶ added in v0.3.0
func NewEmbeddingModelDetailsCategoryFromValue(v EmbeddingModelDetailsCategory) (*EmbeddingModelDetailsCategory, error)
NewEmbeddingModelDetailsCategoryFromValue returns a pointer to a valid EmbeddingModelDetailsCategory for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EmbeddingModelDetailsCategory) IsValid ¶ added in v0.3.0
func (v EmbeddingModelDetailsCategory) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EmbeddingModelDetailsCategory) Ptr ¶ added in v0.3.0
func (v EmbeddingModelDetailsCategory) Ptr() *EmbeddingModelDetailsCategory
Ptr returns reference to CategoryCategory value
func (*EmbeddingModelDetailsCategory) UnmarshalJSON ¶ added in v0.3.0
func (v *EmbeddingModelDetailsCategory) UnmarshalJSON(src []byte) error
type EmbeddingModelDetailsGetCategoryArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetCategoryArgType = EmbeddingModelDetailsCategory
type EmbeddingModelDetailsGetCategoryAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetCategoryAttributeType = *EmbeddingModelDetailsCategory
type EmbeddingModelDetailsGetCategoryRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetCategoryRetType = EmbeddingModelDetailsCategory
type EmbeddingModelDetailsGetDescriptionArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetDescriptionArgType = string
type EmbeddingModelDetailsGetDescriptionAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetDescriptionAttributeType = *string
isNotNullableString
type EmbeddingModelDetailsGetDescriptionRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetDescriptionRetType = string
type EmbeddingModelDetailsGetDisplayedNameArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetDisplayedNameArgType = string
type EmbeddingModelDetailsGetDisplayedNameAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetDisplayedNameAttributeType = *string
isNotNullableString
type EmbeddingModelDetailsGetDisplayedNameRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetDisplayedNameRetType = string
type EmbeddingModelDetailsGetIdArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetIdArgType = string
type EmbeddingModelDetailsGetIdAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetIdAttributeType = *string
isNotNullableString
type EmbeddingModelDetailsGetIdRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetIdRetType = string
type EmbeddingModelDetailsGetNameArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetNameArgType = string
type EmbeddingModelDetailsGetNameAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetNameAttributeType = *string
isNotNullableString
type EmbeddingModelDetailsGetNameRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetNameRetType = string
type EmbeddingModelDetailsGetOutputDimensionArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetOutputDimensionArgType = int64
type EmbeddingModelDetailsGetOutputDimensionAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetOutputDimensionAttributeType = *int64
isLong
type EmbeddingModelDetailsGetOutputDimensionRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetOutputDimensionRetType = int64
type EmbeddingModelDetailsGetRegionArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetRegionArgType = string
type EmbeddingModelDetailsGetRegionAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetRegionAttributeType = *string
isNotNullableString
type EmbeddingModelDetailsGetRegionRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetRegionRetType = string
type EmbeddingModelDetailsGetSkusArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetSkusArgType = []SKU
type EmbeddingModelDetailsGetSkusAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetSkusAttributeType = *[]SKU
isArray
type EmbeddingModelDetailsGetSkusRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetSkusRetType = []SKU
type EmbeddingModelDetailsGetTagsArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetTagsArgType = []string
type EmbeddingModelDetailsGetTagsAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetTagsAttributeType = *[]string
isArray
type EmbeddingModelDetailsGetTagsRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetTagsRetType = []string
type EmbeddingModelDetailsGetUrlArgType ¶ added in v0.2.1
type EmbeddingModelDetailsGetUrlArgType = string
type EmbeddingModelDetailsGetUrlAttributeType ¶ added in v0.2.1
type EmbeddingModelDetailsGetUrlAttributeType = *string
isNotNullableString
type EmbeddingModelDetailsGetUrlRetType ¶ added in v0.2.1
type EmbeddingModelDetailsGetUrlRetType = string
type ErrorMessageResponse ¶
type ErrorMessageResponse struct {
Error ErrorMessageResponseGetErrorAttributeType `json:"error,omitempty"`
Message ErrorMessageResponseGetMessageAttributeType `json:"message,omitempty"`
}
ErrorMessageResponse struct for ErrorMessageResponse
func NewErrorMessageResponse ¶
func NewErrorMessageResponse() *ErrorMessageResponse
NewErrorMessageResponse instantiates a new ErrorMessageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorMessageResponseWithDefaults ¶
func NewErrorMessageResponseWithDefaults() *ErrorMessageResponse
NewErrorMessageResponseWithDefaults instantiates a new ErrorMessageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorMessageResponse) GetError ¶
func (o *ErrorMessageResponse) GetError() (res ErrorMessageResponseGetErrorRetType)
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorMessageResponse) GetErrorOk ¶
func (o *ErrorMessageResponse) GetErrorOk() (ret ErrorMessageResponseGetErrorRetType, ok bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessageResponse) GetMessage ¶
func (o *ErrorMessageResponse) GetMessage() (res ErrorMessageResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorMessageResponse) GetMessageOk ¶
func (o *ErrorMessageResponse) GetMessageOk() (ret ErrorMessageResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessageResponse) HasError ¶
func (o *ErrorMessageResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*ErrorMessageResponse) HasMessage ¶
func (o *ErrorMessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ErrorMessageResponse) SetError ¶
func (o *ErrorMessageResponse) SetError(v ErrorMessageResponseGetErrorRetType)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ErrorMessageResponse) SetMessage ¶
func (o *ErrorMessageResponse) SetMessage(v ErrorMessageResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ErrorMessageResponse) ToMap ¶
func (o ErrorMessageResponse) ToMap() (map[string]interface{}, error)
type ErrorMessageResponseGetErrorArgType ¶ added in v0.2.1
type ErrorMessageResponseGetErrorArgType = string
type ErrorMessageResponseGetErrorAttributeType ¶ added in v0.2.1
type ErrorMessageResponseGetErrorAttributeType = *string
isNotNullableString
type ErrorMessageResponseGetErrorRetType ¶ added in v0.2.1
type ErrorMessageResponseGetErrorRetType = string
type ErrorMessageResponseGetMessageArgType ¶ added in v0.2.1
type ErrorMessageResponseGetMessageArgType = string
type ErrorMessageResponseGetMessageAttributeType ¶ added in v0.2.1
type ErrorMessageResponseGetMessageAttributeType = *string
isNotNullableString
type ErrorMessageResponseGetMessageRetType ¶ added in v0.2.1
type ErrorMessageResponseGetMessageRetType = string
type GetChatModelRequest ¶ added in v0.4.0
type GetChatModelRequest struct {
// contains filtered or unexported fields
}
func (GetChatModelRequest) Execute ¶ added in v0.4.0
func (r GetChatModelRequest) Execute() (*GetChatModelResponse, error)
type GetChatModelResponse ¶
type GetChatModelResponse struct {
Message GetChatModelResponseGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Model GetChatModelResponseGetModelAttributeType `json:"model" required:"true"`
}
GetChatModelResponse struct for GetChatModelResponse
func NewGetChatModelResponse ¶
func NewGetChatModelResponse(model GetChatModelResponseGetModelArgType) *GetChatModelResponse
NewGetChatModelResponse instantiates a new GetChatModelResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetChatModelResponseWithDefaults ¶
func NewGetChatModelResponseWithDefaults() *GetChatModelResponse
NewGetChatModelResponseWithDefaults instantiates a new GetChatModelResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetChatModelResponse) GetMessage ¶
func (o *GetChatModelResponse) GetMessage() (res GetChatModelResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetChatModelResponse) GetMessageOk ¶
func (o *GetChatModelResponse) GetMessageOk() (ret GetChatModelResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetChatModelResponse) GetModel ¶
func (o *GetChatModelResponse) GetModel() (ret GetChatModelResponseGetModelRetType)
GetModel returns the Model field value
func (*GetChatModelResponse) GetModelOk ¶
func (o *GetChatModelResponse) GetModelOk() (ret GetChatModelResponseGetModelRetType, ok bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*GetChatModelResponse) HasMessage ¶
func (o *GetChatModelResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetChatModelResponse) SetMessage ¶
func (o *GetChatModelResponse) SetMessage(v GetChatModelResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetChatModelResponse) SetModel ¶
func (o *GetChatModelResponse) SetModel(v GetChatModelResponseGetModelRetType)
SetModel sets field value
func (GetChatModelResponse) ToMap ¶
func (o GetChatModelResponse) ToMap() (map[string]interface{}, error)
type GetChatModelResponseGetMessageArgType ¶ added in v0.2.1
type GetChatModelResponseGetMessageArgType = string
type GetChatModelResponseGetMessageAttributeType ¶ added in v0.2.1
type GetChatModelResponseGetMessageAttributeType = *string
isNotNullableString
type GetChatModelResponseGetMessageRetType ¶ added in v0.2.1
type GetChatModelResponseGetMessageRetType = string
type GetChatModelResponseGetModelArgType ¶ added in v0.2.1
type GetChatModelResponseGetModelArgType = ChatModelDetails
type GetChatModelResponseGetModelAttributeType ¶ added in v0.2.1
type GetChatModelResponseGetModelAttributeType = *ChatModelDetails
isModel
type GetChatModelResponseGetModelRetType ¶ added in v0.2.1
type GetChatModelResponseGetModelRetType = ChatModelDetails
type GetEmbeddingModelRequest ¶ added in v0.4.0
type GetEmbeddingModelRequest struct {
// contains filtered or unexported fields
}
func (GetEmbeddingModelRequest) Execute ¶ added in v0.4.0
func (r GetEmbeddingModelRequest) Execute() (*GetEmbeddingsModelResp, error)
type GetEmbeddingsModelResp ¶
type GetEmbeddingsModelResp struct {
Message GetEmbeddingsModelRespGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Model GetEmbeddingsModelRespGetModelAttributeType `json:"model" required:"true"`
}
GetEmbeddingsModelResp struct for GetEmbeddingsModelResp
func NewGetEmbeddingsModelResp ¶
func NewGetEmbeddingsModelResp(model GetEmbeddingsModelRespGetModelArgType) *GetEmbeddingsModelResp
NewGetEmbeddingsModelResp instantiates a new GetEmbeddingsModelResp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetEmbeddingsModelRespWithDefaults ¶
func NewGetEmbeddingsModelRespWithDefaults() *GetEmbeddingsModelResp
NewGetEmbeddingsModelRespWithDefaults instantiates a new GetEmbeddingsModelResp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetEmbeddingsModelResp) GetMessage ¶
func (o *GetEmbeddingsModelResp) GetMessage() (res GetEmbeddingsModelRespGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetEmbeddingsModelResp) GetMessageOk ¶
func (o *GetEmbeddingsModelResp) GetMessageOk() (ret GetEmbeddingsModelRespGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbeddingsModelResp) GetModel ¶
func (o *GetEmbeddingsModelResp) GetModel() (ret GetEmbeddingsModelRespGetModelRetType)
GetModel returns the Model field value
func (*GetEmbeddingsModelResp) GetModelOk ¶
func (o *GetEmbeddingsModelResp) GetModelOk() (ret GetEmbeddingsModelRespGetModelRetType, ok bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*GetEmbeddingsModelResp) HasMessage ¶
func (o *GetEmbeddingsModelResp) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetEmbeddingsModelResp) SetMessage ¶
func (o *GetEmbeddingsModelResp) SetMessage(v GetEmbeddingsModelRespGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetEmbeddingsModelResp) SetModel ¶
func (o *GetEmbeddingsModelResp) SetModel(v GetEmbeddingsModelRespGetModelRetType)
SetModel sets field value
func (GetEmbeddingsModelResp) ToMap ¶
func (o GetEmbeddingsModelResp) ToMap() (map[string]interface{}, error)
type GetEmbeddingsModelRespGetMessageArgType ¶ added in v0.2.1
type GetEmbeddingsModelRespGetMessageArgType = string
type GetEmbeddingsModelRespGetMessageAttributeType ¶ added in v0.2.1
type GetEmbeddingsModelRespGetMessageAttributeType = *string
isNotNullableString
type GetEmbeddingsModelRespGetMessageRetType ¶ added in v0.2.1
type GetEmbeddingsModelRespGetMessageRetType = string
type GetEmbeddingsModelRespGetModelArgType ¶ added in v0.2.1
type GetEmbeddingsModelRespGetModelArgType = EmbeddingModelDetails
type GetEmbeddingsModelRespGetModelAttributeType ¶ added in v0.2.1
type GetEmbeddingsModelRespGetModelAttributeType = *EmbeddingModelDetails
isModel
type GetEmbeddingsModelRespGetModelRetType ¶ added in v0.2.1
type GetEmbeddingsModelRespGetModelRetType = EmbeddingModelDetails
type GetTokenRequest ¶ added in v0.4.0
type GetTokenRequest struct {
// contains filtered or unexported fields
}
func (GetTokenRequest) Execute ¶ added in v0.4.0
func (r GetTokenRequest) Execute() (*GetTokenResponse, error)
type GetTokenResponse ¶
type GetTokenResponse struct {
Message GetTokenResponseGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Token GetTokenResponseGetTokenAttributeType `json:"token" required:"true"`
}
GetTokenResponse struct for GetTokenResponse
func NewGetTokenResponse ¶
func NewGetTokenResponse(token GetTokenResponseGetTokenArgType) *GetTokenResponse
NewGetTokenResponse instantiates a new GetTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetTokenResponseWithDefaults ¶
func NewGetTokenResponseWithDefaults() *GetTokenResponse
NewGetTokenResponseWithDefaults instantiates a new GetTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetTokenResponse) GetMessage ¶
func (o *GetTokenResponse) GetMessage() (res GetTokenResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetTokenResponse) GetMessageOk ¶
func (o *GetTokenResponse) GetMessageOk() (ret GetTokenResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetTokenResponse) GetToken ¶
func (o *GetTokenResponse) GetToken() (ret GetTokenResponseGetTokenRetType)
GetToken returns the Token field value
func (*GetTokenResponse) GetTokenOk ¶
func (o *GetTokenResponse) GetTokenOk() (ret GetTokenResponseGetTokenRetType, ok bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*GetTokenResponse) HasMessage ¶
func (o *GetTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetTokenResponse) SetMessage ¶
func (o *GetTokenResponse) SetMessage(v GetTokenResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetTokenResponse) SetToken ¶
func (o *GetTokenResponse) SetToken(v GetTokenResponseGetTokenRetType)
SetToken sets field value
func (GetTokenResponse) ToMap ¶
func (o GetTokenResponse) ToMap() (map[string]interface{}, error)
type GetTokenResponseGetMessageArgType ¶ added in v0.2.1
type GetTokenResponseGetMessageArgType = string
type GetTokenResponseGetMessageAttributeType ¶ added in v0.2.1
type GetTokenResponseGetMessageAttributeType = *string
isNotNullableString
type GetTokenResponseGetMessageRetType ¶ added in v0.2.1
type GetTokenResponseGetMessageRetType = string
type GetTokenResponseGetTokenArgType ¶ added in v0.2.1
type GetTokenResponseGetTokenArgType = Token
type GetTokenResponseGetTokenAttributeType ¶ added in v0.2.1
type GetTokenResponseGetTokenAttributeType = *Token
isModel
type GetTokenResponseGetTokenRetType ¶ added in v0.2.1
type GetTokenResponseGetTokenRetType = Token
type ListModelsRequest ¶ added in v0.4.0
type ListModelsRequest struct {
// contains filtered or unexported fields
}
func (ListModelsRequest) Execute ¶ added in v0.4.0
func (r ListModelsRequest) Execute() (*ListModelsResponse, error)
type ListModelsResponse ¶
type ListModelsResponse struct {
Message ListModelsResponseGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Models ListModelsResponseGetModelsAttributeType `json:"models" required:"true"`
}
ListModelsResponse struct for ListModelsResponse
func NewListModelsResponse ¶
func NewListModelsResponse(models ListModelsResponseGetModelsArgType) *ListModelsResponse
NewListModelsResponse instantiates a new ListModelsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListModelsResponseWithDefaults ¶
func NewListModelsResponseWithDefaults() *ListModelsResponse
NewListModelsResponseWithDefaults instantiates a new ListModelsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListModelsResponse) GetMessage ¶
func (o *ListModelsResponse) GetMessage() (res ListModelsResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListModelsResponse) GetMessageOk ¶
func (o *ListModelsResponse) GetMessageOk() (ret ListModelsResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListModelsResponse) GetModels ¶
func (o *ListModelsResponse) GetModels() (ret ListModelsResponseGetModelsRetType)
GetModels returns the Models field value
func (*ListModelsResponse) GetModelsOk ¶
func (o *ListModelsResponse) GetModelsOk() (ret ListModelsResponseGetModelsRetType, ok bool)
GetModelsOk returns a tuple with the Models field value and a boolean to check if the value has been set.
func (*ListModelsResponse) HasMessage ¶
func (o *ListModelsResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListModelsResponse) SetMessage ¶
func (o *ListModelsResponse) SetMessage(v ListModelsResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListModelsResponse) SetModels ¶
func (o *ListModelsResponse) SetModels(v ListModelsResponseGetModelsRetType)
SetModels sets field value
func (ListModelsResponse) ToMap ¶
func (o ListModelsResponse) ToMap() (map[string]interface{}, error)
type ListModelsResponseGetMessageArgType ¶ added in v0.2.1
type ListModelsResponseGetMessageArgType = string
type ListModelsResponseGetMessageAttributeType ¶ added in v0.2.1
type ListModelsResponseGetMessageAttributeType = *string
isNotNullableString
type ListModelsResponseGetMessageRetType ¶ added in v0.2.1
type ListModelsResponseGetMessageRetType = string
type ListModelsResponseGetModelsArgType ¶ added in v0.2.1
type ListModelsResponseGetModelsArgType = []Model
type ListModelsResponseGetModelsAttributeType ¶ added in v0.2.1
type ListModelsResponseGetModelsAttributeType = *[]Model
isArray
type ListModelsResponseGetModelsRetType ¶ added in v0.2.1
type ListModelsResponseGetModelsRetType = []Model
type ListTokenResp ¶
type ListTokenResp struct {
Message ListTokenRespGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Tokens ListTokenRespGetTokensAttributeType `json:"tokens" required:"true"`
}
ListTokenResp struct for ListTokenResp
func NewListTokenResp ¶
func NewListTokenResp(tokens ListTokenRespGetTokensArgType) *ListTokenResp
NewListTokenResp instantiates a new ListTokenResp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListTokenRespWithDefaults ¶
func NewListTokenRespWithDefaults() *ListTokenResp
NewListTokenRespWithDefaults instantiates a new ListTokenResp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListTokenResp) GetMessage ¶
func (o *ListTokenResp) GetMessage() (res ListTokenRespGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListTokenResp) GetMessageOk ¶
func (o *ListTokenResp) GetMessageOk() (ret ListTokenRespGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTokenResp) GetTokens ¶
func (o *ListTokenResp) GetTokens() (ret ListTokenRespGetTokensRetType)
GetTokens returns the Tokens field value
func (*ListTokenResp) GetTokensOk ¶
func (o *ListTokenResp) GetTokensOk() (ret ListTokenRespGetTokensRetType, ok bool)
GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.
func (*ListTokenResp) HasMessage ¶
func (o *ListTokenResp) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListTokenResp) SetMessage ¶
func (o *ListTokenResp) SetMessage(v ListTokenRespGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListTokenResp) SetTokens ¶
func (o *ListTokenResp) SetTokens(v ListTokenRespGetTokensRetType)
SetTokens sets field value
func (ListTokenResp) ToMap ¶
func (o ListTokenResp) ToMap() (map[string]interface{}, error)
type ListTokenRespGetMessageArgType ¶ added in v0.2.1
type ListTokenRespGetMessageArgType = string
type ListTokenRespGetMessageAttributeType ¶ added in v0.2.1
type ListTokenRespGetMessageAttributeType = *string
isNotNullableString
type ListTokenRespGetMessageRetType ¶ added in v0.2.1
type ListTokenRespGetMessageRetType = string
type ListTokenRespGetTokensArgType ¶ added in v0.2.1
type ListTokenRespGetTokensArgType = []Token
type ListTokenRespGetTokensAttributeType ¶ added in v0.2.1
type ListTokenRespGetTokensAttributeType = *[]Token
isArray
type ListTokenRespGetTokensRetType ¶ added in v0.2.1
type ListTokenRespGetTokensRetType = []Token
type ListTokensRequest ¶ added in v0.4.0
type ListTokensRequest struct {
// contains filtered or unexported fields
}
func (ListTokensRequest) Execute ¶ added in v0.4.0
func (r ListTokensRequest) Execute() (*ListTokenResp, error)
type MappedNullable ¶
type MessageResponse ¶
type MessageResponse struct {
Message MessageResponseGetMessageAttributeType `json:"message,omitempty"`
}
MessageResponse struct for MessageResponse
func NewMessageResponse ¶
func NewMessageResponse() *MessageResponse
NewMessageResponse instantiates a new MessageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMessageResponseWithDefaults ¶
func NewMessageResponseWithDefaults() *MessageResponse
NewMessageResponseWithDefaults instantiates a new MessageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MessageResponse) GetMessage ¶
func (o *MessageResponse) GetMessage() (res MessageResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*MessageResponse) GetMessageOk ¶
func (o *MessageResponse) GetMessageOk() (ret MessageResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageResponse) HasMessage ¶
func (o *MessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*MessageResponse) SetMessage ¶
func (o *MessageResponse) SetMessage(v MessageResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (MessageResponse) ToMap ¶
func (o MessageResponse) ToMap() (map[string]interface{}, error)
type MessageResponseGetMessageArgType ¶ added in v0.2.1
type MessageResponseGetMessageArgType = string
type MessageResponseGetMessageAttributeType ¶ added in v0.2.1
type MessageResponseGetMessageAttributeType = *string
isNotNullableString
type MessageResponseGetMessageRetType ¶ added in v0.2.1
type MessageResponseGetMessageRetType = string
type Model ¶
type Model struct {
// REQUIRED
Category ModelGetCategoryAttributeType `json:"category" required:"true"`
// REQUIRED
Description ModelGetDescriptionAttributeType `json:"description" required:"true"`
// REQUIRED
DisplayedName ModelGetDisplayedNameAttributeType `json:"displayedName" required:"true"`
// generated uuid to identify a model
// REQUIRED
Id ModelGetIdAttributeType `json:"id" required:"true"`
// huggingface name
// REQUIRED
Name ModelGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
Region ModelGetRegionAttributeType `json:"region" required:"true"`
// REQUIRED
Skus ModelGetSkusAttributeType `json:"skus" required:"true"`
Tags ModelGetTagsAttributeType `json:"tags,omitempty"`
// REQUIRED
Type ModelGetTypeAttributeType `json:"type" required:"true"`
// url of the model
// REQUIRED
Url ModelGetUrlAttributeType `json:"url" required:"true"`
}
Model struct for Model
func NewModel ¶
func NewModel(category ModelGetCategoryArgType, description ModelGetDescriptionArgType, displayedName ModelGetDisplayedNameArgType, id ModelGetIdArgType, name ModelGetNameArgType, region ModelGetRegionArgType, skus ModelGetSkusArgType, types ModelGetTypeArgType, url ModelGetUrlArgType) *Model
NewModel instantiates a new Model object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModelWithDefaults ¶
func NewModelWithDefaults() *Model
NewModelWithDefaults instantiates a new Model object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model) GetCategory ¶
func (o *Model) GetCategory() (ret ModelGetCategoryRetType)
GetCategory returns the Category field value
func (*Model) GetCategoryOk ¶
func (o *Model) GetCategoryOk() (ret ModelGetCategoryRetType, ok bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*Model) GetDescription ¶
func (o *Model) GetDescription() (ret ModelGetDescriptionRetType)
GetDescription returns the Description field value
func (*Model) GetDescriptionOk ¶
func (o *Model) GetDescriptionOk() (ret ModelGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Model) GetDisplayedName ¶
func (o *Model) GetDisplayedName() (ret ModelGetDisplayedNameRetType)
GetDisplayedName returns the DisplayedName field value
func (*Model) GetDisplayedNameOk ¶
func (o *Model) GetDisplayedNameOk() (ret ModelGetDisplayedNameRetType, ok bool)
GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.
func (*Model) GetId ¶
func (o *Model) GetId() (ret ModelGetIdRetType)
GetId returns the Id field value
func (*Model) GetIdOk ¶
func (o *Model) GetIdOk() (ret ModelGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Model) GetName ¶
func (o *Model) GetName() (ret ModelGetNameRetType)
GetName returns the Name field value
func (*Model) GetNameOk ¶
func (o *Model) GetNameOk() (ret ModelGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Model) GetRegion ¶
func (o *Model) GetRegion() (ret ModelGetRegionRetType)
GetRegion returns the Region field value
func (*Model) GetRegionOk ¶
func (o *Model) GetRegionOk() (ret ModelGetRegionRetType, ok bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Model) GetSkus ¶
func (o *Model) GetSkus() (ret ModelGetSkusRetType)
GetSkus returns the Skus field value
func (*Model) GetSkusOk ¶
func (o *Model) GetSkusOk() (ret ModelGetSkusRetType, ok bool)
GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.
func (*Model) GetTags ¶
func (o *Model) GetTags() (res ModelGetTagsRetType)
GetTags returns the Tags field value if set, zero value otherwise.
func (*Model) GetTagsOk ¶
func (o *Model) GetTagsOk() (ret ModelGetTagsRetType, ok bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Model) GetType ¶
func (o *Model) GetType() (ret ModelGetTypeRetType)
GetType returns the Type field value
func (*Model) GetTypeOk ¶
func (o *Model) GetTypeOk() (ret ModelGetTypeRetType, ok bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Model) GetUrl ¶
func (o *Model) GetUrl() (ret ModelGetUrlRetType)
GetUrl returns the Url field value
func (*Model) GetUrlOk ¶
func (o *Model) GetUrlOk() (ret ModelGetUrlRetType, ok bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Model) SetCategory ¶
func (o *Model) SetCategory(v ModelGetCategoryRetType)
SetCategory sets field value
func (*Model) SetDescription ¶
func (o *Model) SetDescription(v ModelGetDescriptionRetType)
SetDescription sets field value
func (*Model) SetDisplayedName ¶
func (o *Model) SetDisplayedName(v ModelGetDisplayedNameRetType)
SetDisplayedName sets field value
func (*Model) SetRegion ¶
func (o *Model) SetRegion(v ModelGetRegionRetType)
SetRegion sets field value
func (*Model) SetTags ¶
func (o *Model) SetTags(v ModelGetTagsRetType)
SetTags gets a reference to the given []string and assigns it to the Tags field.
type ModelCategory ¶ added in v0.3.0
type ModelCategory string
ModelCategory the model 'Model' value type for enums
const ( MODELCATEGORY_STANDARD ModelCategory = "standard" MODELCATEGORY_PLUS ModelCategory = "plus" MODELCATEGORY_PREMIUM ModelCategory = "premium" )
List of Category
func NewModelCategoryFromValue ¶ added in v0.3.0
func NewModelCategoryFromValue(v ModelCategory) (*ModelCategory, error)
NewModelCategoryFromValue returns a pointer to a valid ModelCategory for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ModelCategory) IsValid ¶ added in v0.3.0
func (v ModelCategory) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ModelCategory) Ptr ¶ added in v0.3.0
func (v ModelCategory) Ptr() *ModelCategory
Ptr returns reference to CategoryCategory value
func (*ModelCategory) UnmarshalJSON ¶ added in v0.3.0
func (v *ModelCategory) UnmarshalJSON(src []byte) error
type ModelGetCategoryArgType ¶ added in v0.2.1
type ModelGetCategoryArgType = ModelCategory
type ModelGetCategoryAttributeType ¶ added in v0.2.1
type ModelGetCategoryAttributeType = *ModelCategory
type ModelGetCategoryRetType ¶ added in v0.2.1
type ModelGetCategoryRetType = ModelCategory
type ModelGetDescriptionArgType ¶ added in v0.2.1
type ModelGetDescriptionArgType = string
type ModelGetDescriptionAttributeType ¶ added in v0.2.1
type ModelGetDescriptionAttributeType = *string
isNotNullableString
type ModelGetDescriptionRetType ¶ added in v0.2.1
type ModelGetDescriptionRetType = string
type ModelGetDisplayedNameArgType ¶ added in v0.2.1
type ModelGetDisplayedNameArgType = string
type ModelGetDisplayedNameAttributeType ¶ added in v0.2.1
type ModelGetDisplayedNameAttributeType = *string
isNotNullableString
type ModelGetDisplayedNameRetType ¶ added in v0.2.1
type ModelGetDisplayedNameRetType = string
type ModelGetIdArgType ¶ added in v0.2.1
type ModelGetIdArgType = string
type ModelGetIdAttributeType ¶ added in v0.2.1
type ModelGetIdAttributeType = *string
isNotNullableString
type ModelGetIdRetType ¶ added in v0.2.1
type ModelGetIdRetType = string
type ModelGetNameArgType ¶ added in v0.2.1
type ModelGetNameArgType = string
type ModelGetNameAttributeType ¶ added in v0.2.1
type ModelGetNameAttributeType = *string
isNotNullableString
type ModelGetNameRetType ¶ added in v0.2.1
type ModelGetNameRetType = string
type ModelGetRegionArgType ¶ added in v0.2.1
type ModelGetRegionArgType = string
type ModelGetRegionAttributeType ¶ added in v0.2.1
type ModelGetRegionAttributeType = *string
isNotNullableString
type ModelGetRegionRetType ¶ added in v0.2.1
type ModelGetRegionRetType = string
type ModelGetSkusArgType ¶ added in v0.2.1
type ModelGetSkusArgType = []SKU
type ModelGetSkusRetType ¶ added in v0.2.1
type ModelGetSkusRetType = []SKU
type ModelGetTagsArgType ¶ added in v0.2.1
type ModelGetTagsArgType = []string
type ModelGetTagsRetType ¶ added in v0.2.1
type ModelGetTagsRetType = []string
type ModelGetTypeArgType ¶ added in v0.2.1
type ModelGetTypeArgType = ModelTypes
type ModelGetTypeAttributeType ¶ added in v0.2.1
type ModelGetTypeAttributeType = *ModelTypes
type ModelGetTypeRetType ¶ added in v0.2.1
type ModelGetTypeRetType = ModelTypes
type ModelGetUrlArgType ¶ added in v0.2.1
type ModelGetUrlArgType = string
type ModelGetUrlAttributeType ¶ added in v0.2.1
type ModelGetUrlAttributeType = *string
isNotNullableString
type ModelGetUrlRetType ¶ added in v0.2.1
type ModelGetUrlRetType = string
type ModelTypes ¶ added in v0.3.0
type ModelTypes string
ModelTypes the model 'Model' value type for enums
const ( MODELTYPE_CHAT ModelTypes = "chat" MODELTYPE_EMBEDDING ModelTypes = "embedding" )
List of Type
func NewModelTypesFromValue ¶ added in v0.3.0
func NewModelTypesFromValue(v ModelTypes) (*ModelTypes, error)
NewModelTypesFromValue returns a pointer to a valid ModelTypes for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ModelTypes) IsValid ¶ added in v0.3.0
func (v ModelTypes) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ModelTypes) Ptr ¶ added in v0.3.0
func (v ModelTypes) Ptr() *ModelTypes
Ptr returns reference to TypeTypes value
func (*ModelTypes) UnmarshalJSON ¶ added in v0.3.0
func (v *ModelTypes) UnmarshalJSON(src []byte) error
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableChatModelDetails ¶
type NullableChatModelDetails struct {
// contains filtered or unexported fields
}
func NewNullableChatModelDetails ¶
func NewNullableChatModelDetails(val *ChatModelDetails) *NullableChatModelDetails
func (NullableChatModelDetails) Get ¶
func (v NullableChatModelDetails) Get() *ChatModelDetails
func (NullableChatModelDetails) IsSet ¶
func (v NullableChatModelDetails) IsSet() bool
func (NullableChatModelDetails) MarshalJSON ¶
func (v NullableChatModelDetails) MarshalJSON() ([]byte, error)
func (*NullableChatModelDetails) Set ¶
func (v *NullableChatModelDetails) Set(val *ChatModelDetails)
func (*NullableChatModelDetails) UnmarshalJSON ¶
func (v *NullableChatModelDetails) UnmarshalJSON(src []byte) error
func (*NullableChatModelDetails) Unset ¶
func (v *NullableChatModelDetails) Unset()
type NullableChatModelDetailsBits ¶ added in v0.3.0
type NullableChatModelDetailsBits struct {
// contains filtered or unexported fields
}
func NewNullableChatModelDetailsBits ¶ added in v0.3.0
func NewNullableChatModelDetailsBits(val *ChatModelDetailsBits) *NullableChatModelDetailsBits
func (NullableChatModelDetailsBits) Get ¶ added in v0.3.0
func (v NullableChatModelDetailsBits) Get() *ChatModelDetailsBits
func (NullableChatModelDetailsBits) IsSet ¶ added in v0.3.0
func (v NullableChatModelDetailsBits) IsSet() bool
func (NullableChatModelDetailsBits) MarshalJSON ¶ added in v0.3.0
func (v NullableChatModelDetailsBits) MarshalJSON() ([]byte, error)
func (*NullableChatModelDetailsBits) Set ¶ added in v0.3.0
func (v *NullableChatModelDetailsBits) Set(val *ChatModelDetailsBits)
func (*NullableChatModelDetailsBits) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableChatModelDetailsBits) UnmarshalJSON(src []byte) error
func (*NullableChatModelDetailsBits) Unset ¶ added in v0.3.0
func (v *NullableChatModelDetailsBits) Unset()
type NullableChatModelDetailsCategory ¶ added in v0.3.0
type NullableChatModelDetailsCategory struct {
// contains filtered or unexported fields
}
func NewNullableChatModelDetailsCategory ¶ added in v0.3.0
func NewNullableChatModelDetailsCategory(val *ChatModelDetailsCategory) *NullableChatModelDetailsCategory
func (NullableChatModelDetailsCategory) Get ¶ added in v0.3.0
func (v NullableChatModelDetailsCategory) Get() *ChatModelDetailsCategory
func (NullableChatModelDetailsCategory) IsSet ¶ added in v0.3.0
func (v NullableChatModelDetailsCategory) IsSet() bool
func (NullableChatModelDetailsCategory) MarshalJSON ¶ added in v0.3.0
func (v NullableChatModelDetailsCategory) MarshalJSON() ([]byte, error)
func (*NullableChatModelDetailsCategory) Set ¶ added in v0.3.0
func (v *NullableChatModelDetailsCategory) Set(val *ChatModelDetailsCategory)
func (*NullableChatModelDetailsCategory) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableChatModelDetailsCategory) UnmarshalJSON(src []byte) error
func (*NullableChatModelDetailsCategory) Unset ¶ added in v0.3.0
func (v *NullableChatModelDetailsCategory) Unset()
type NullableChatModelDetailsQuantizationMethod ¶ added in v0.3.0
type NullableChatModelDetailsQuantizationMethod struct {
// contains filtered or unexported fields
}
func NewNullableChatModelDetailsQuantizationMethod ¶ added in v0.3.0
func NewNullableChatModelDetailsQuantizationMethod(val *ChatModelDetailsQuantizationMethod) *NullableChatModelDetailsQuantizationMethod
func (NullableChatModelDetailsQuantizationMethod) IsSet ¶ added in v0.3.0
func (v NullableChatModelDetailsQuantizationMethod) IsSet() bool
func (NullableChatModelDetailsQuantizationMethod) MarshalJSON ¶ added in v0.3.0
func (v NullableChatModelDetailsQuantizationMethod) MarshalJSON() ([]byte, error)
func (*NullableChatModelDetailsQuantizationMethod) Set ¶ added in v0.3.0
func (v *NullableChatModelDetailsQuantizationMethod) Set(val *ChatModelDetailsQuantizationMethod)
func (*NullableChatModelDetailsQuantizationMethod) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableChatModelDetailsQuantizationMethod) UnmarshalJSON(src []byte) error
func (*NullableChatModelDetailsQuantizationMethod) Unset ¶ added in v0.3.0
func (v *NullableChatModelDetailsQuantizationMethod) Unset()
type NullableCreateTokenPayload ¶
type NullableCreateTokenPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateTokenPayload ¶
func NewNullableCreateTokenPayload(val *CreateTokenPayload) *NullableCreateTokenPayload
func (NullableCreateTokenPayload) Get ¶
func (v NullableCreateTokenPayload) Get() *CreateTokenPayload
func (NullableCreateTokenPayload) IsSet ¶
func (v NullableCreateTokenPayload) IsSet() bool
func (NullableCreateTokenPayload) MarshalJSON ¶
func (v NullableCreateTokenPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateTokenPayload) Set ¶
func (v *NullableCreateTokenPayload) Set(val *CreateTokenPayload)
func (*NullableCreateTokenPayload) UnmarshalJSON ¶
func (v *NullableCreateTokenPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateTokenPayload) Unset ¶
func (v *NullableCreateTokenPayload) Unset()
type NullableCreateTokenResponse ¶
type NullableCreateTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateTokenResponse ¶
func NewNullableCreateTokenResponse(val *CreateTokenResponse) *NullableCreateTokenResponse
func (NullableCreateTokenResponse) Get ¶
func (v NullableCreateTokenResponse) Get() *CreateTokenResponse
func (NullableCreateTokenResponse) IsSet ¶
func (v NullableCreateTokenResponse) IsSet() bool
func (NullableCreateTokenResponse) MarshalJSON ¶
func (v NullableCreateTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateTokenResponse) Set ¶
func (v *NullableCreateTokenResponse) Set(val *CreateTokenResponse)
func (*NullableCreateTokenResponse) UnmarshalJSON ¶
func (v *NullableCreateTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateTokenResponse) Unset ¶
func (v *NullableCreateTokenResponse) Unset()
type NullableEmbeddingModelDetails ¶
type NullableEmbeddingModelDetails struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingModelDetails ¶
func NewNullableEmbeddingModelDetails(val *EmbeddingModelDetails) *NullableEmbeddingModelDetails
func (NullableEmbeddingModelDetails) Get ¶
func (v NullableEmbeddingModelDetails) Get() *EmbeddingModelDetails
func (NullableEmbeddingModelDetails) IsSet ¶
func (v NullableEmbeddingModelDetails) IsSet() bool
func (NullableEmbeddingModelDetails) MarshalJSON ¶
func (v NullableEmbeddingModelDetails) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingModelDetails) Set ¶
func (v *NullableEmbeddingModelDetails) Set(val *EmbeddingModelDetails)
func (*NullableEmbeddingModelDetails) UnmarshalJSON ¶
func (v *NullableEmbeddingModelDetails) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingModelDetails) Unset ¶
func (v *NullableEmbeddingModelDetails) Unset()
type NullableEmbeddingModelDetailsCategory ¶ added in v0.3.0
type NullableEmbeddingModelDetailsCategory struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingModelDetailsCategory ¶ added in v0.3.0
func NewNullableEmbeddingModelDetailsCategory(val *EmbeddingModelDetailsCategory) *NullableEmbeddingModelDetailsCategory
func (NullableEmbeddingModelDetailsCategory) Get ¶ added in v0.3.0
func (v NullableEmbeddingModelDetailsCategory) Get() *EmbeddingModelDetailsCategory
func (NullableEmbeddingModelDetailsCategory) IsSet ¶ added in v0.3.0
func (v NullableEmbeddingModelDetailsCategory) IsSet() bool
func (NullableEmbeddingModelDetailsCategory) MarshalJSON ¶ added in v0.3.0
func (v NullableEmbeddingModelDetailsCategory) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingModelDetailsCategory) Set ¶ added in v0.3.0
func (v *NullableEmbeddingModelDetailsCategory) Set(val *EmbeddingModelDetailsCategory)
func (*NullableEmbeddingModelDetailsCategory) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableEmbeddingModelDetailsCategory) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingModelDetailsCategory) Unset ¶ added in v0.3.0
func (v *NullableEmbeddingModelDetailsCategory) Unset()
type NullableErrorMessageResponse ¶
type NullableErrorMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessageResponse ¶
func NewNullableErrorMessageResponse(val *ErrorMessageResponse) *NullableErrorMessageResponse
func (NullableErrorMessageResponse) Get ¶
func (v NullableErrorMessageResponse) Get() *ErrorMessageResponse
func (NullableErrorMessageResponse) IsSet ¶
func (v NullableErrorMessageResponse) IsSet() bool
func (NullableErrorMessageResponse) MarshalJSON ¶
func (v NullableErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorMessageResponse) Set ¶
func (v *NullableErrorMessageResponse) Set(val *ErrorMessageResponse)
func (*NullableErrorMessageResponse) UnmarshalJSON ¶
func (v *NullableErrorMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorMessageResponse) Unset ¶
func (v *NullableErrorMessageResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetChatModelResponse ¶
type NullableGetChatModelResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetChatModelResponse ¶
func NewNullableGetChatModelResponse(val *GetChatModelResponse) *NullableGetChatModelResponse
func (NullableGetChatModelResponse) Get ¶
func (v NullableGetChatModelResponse) Get() *GetChatModelResponse
func (NullableGetChatModelResponse) IsSet ¶
func (v NullableGetChatModelResponse) IsSet() bool
func (NullableGetChatModelResponse) MarshalJSON ¶
func (v NullableGetChatModelResponse) MarshalJSON() ([]byte, error)
func (*NullableGetChatModelResponse) Set ¶
func (v *NullableGetChatModelResponse) Set(val *GetChatModelResponse)
func (*NullableGetChatModelResponse) UnmarshalJSON ¶
func (v *NullableGetChatModelResponse) UnmarshalJSON(src []byte) error
func (*NullableGetChatModelResponse) Unset ¶
func (v *NullableGetChatModelResponse) Unset()
type NullableGetEmbeddingsModelResp ¶
type NullableGetEmbeddingsModelResp struct {
// contains filtered or unexported fields
}
func NewNullableGetEmbeddingsModelResp ¶
func NewNullableGetEmbeddingsModelResp(val *GetEmbeddingsModelResp) *NullableGetEmbeddingsModelResp
func (NullableGetEmbeddingsModelResp) Get ¶
func (v NullableGetEmbeddingsModelResp) Get() *GetEmbeddingsModelResp
func (NullableGetEmbeddingsModelResp) IsSet ¶
func (v NullableGetEmbeddingsModelResp) IsSet() bool
func (NullableGetEmbeddingsModelResp) MarshalJSON ¶
func (v NullableGetEmbeddingsModelResp) MarshalJSON() ([]byte, error)
func (*NullableGetEmbeddingsModelResp) Set ¶
func (v *NullableGetEmbeddingsModelResp) Set(val *GetEmbeddingsModelResp)
func (*NullableGetEmbeddingsModelResp) UnmarshalJSON ¶
func (v *NullableGetEmbeddingsModelResp) UnmarshalJSON(src []byte) error
func (*NullableGetEmbeddingsModelResp) Unset ¶
func (v *NullableGetEmbeddingsModelResp) Unset()
type NullableGetTokenResponse ¶
type NullableGetTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetTokenResponse ¶
func NewNullableGetTokenResponse(val *GetTokenResponse) *NullableGetTokenResponse
func (NullableGetTokenResponse) Get ¶
func (v NullableGetTokenResponse) Get() *GetTokenResponse
func (NullableGetTokenResponse) IsSet ¶
func (v NullableGetTokenResponse) IsSet() bool
func (NullableGetTokenResponse) MarshalJSON ¶
func (v NullableGetTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableGetTokenResponse) Set ¶
func (v *NullableGetTokenResponse) Set(val *GetTokenResponse)
func (*NullableGetTokenResponse) UnmarshalJSON ¶
func (v *NullableGetTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableGetTokenResponse) Unset ¶
func (v *NullableGetTokenResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListModelsResponse ¶
type NullableListModelsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListModelsResponse ¶
func NewNullableListModelsResponse(val *ListModelsResponse) *NullableListModelsResponse
func (NullableListModelsResponse) Get ¶
func (v NullableListModelsResponse) Get() *ListModelsResponse
func (NullableListModelsResponse) IsSet ¶
func (v NullableListModelsResponse) IsSet() bool
func (NullableListModelsResponse) MarshalJSON ¶
func (v NullableListModelsResponse) MarshalJSON() ([]byte, error)
func (*NullableListModelsResponse) Set ¶
func (v *NullableListModelsResponse) Set(val *ListModelsResponse)
func (*NullableListModelsResponse) UnmarshalJSON ¶
func (v *NullableListModelsResponse) UnmarshalJSON(src []byte) error
func (*NullableListModelsResponse) Unset ¶
func (v *NullableListModelsResponse) Unset()
type NullableListTokenResp ¶
type NullableListTokenResp struct {
// contains filtered or unexported fields
}
func NewNullableListTokenResp ¶
func NewNullableListTokenResp(val *ListTokenResp) *NullableListTokenResp
func (NullableListTokenResp) Get ¶
func (v NullableListTokenResp) Get() *ListTokenResp
func (NullableListTokenResp) IsSet ¶
func (v NullableListTokenResp) IsSet() bool
func (NullableListTokenResp) MarshalJSON ¶
func (v NullableListTokenResp) MarshalJSON() ([]byte, error)
func (*NullableListTokenResp) Set ¶
func (v *NullableListTokenResp) Set(val *ListTokenResp)
func (*NullableListTokenResp) UnmarshalJSON ¶
func (v *NullableListTokenResp) UnmarshalJSON(src []byte) error
func (*NullableListTokenResp) Unset ¶
func (v *NullableListTokenResp) Unset()
type NullableMessageResponse ¶
type NullableMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableMessageResponse ¶
func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse
func (NullableMessageResponse) Get ¶
func (v NullableMessageResponse) Get() *MessageResponse
func (NullableMessageResponse) IsSet ¶
func (v NullableMessageResponse) IsSet() bool
func (NullableMessageResponse) MarshalJSON ¶
func (v NullableMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableMessageResponse) Set ¶
func (v *NullableMessageResponse) Set(val *MessageResponse)
func (*NullableMessageResponse) UnmarshalJSON ¶
func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableMessageResponse) Unset ¶
func (v *NullableMessageResponse) Unset()
type NullableModel ¶
type NullableModel struct {
// contains filtered or unexported fields
}
func NewNullableModel ¶
func NewNullableModel(val *Model) *NullableModel
func (NullableModel) Get ¶
func (v NullableModel) Get() *Model
func (NullableModel) IsSet ¶
func (v NullableModel) IsSet() bool
func (NullableModel) MarshalJSON ¶
func (v NullableModel) MarshalJSON() ([]byte, error)
func (*NullableModel) Set ¶
func (v *NullableModel) Set(val *Model)
func (*NullableModel) UnmarshalJSON ¶
func (v *NullableModel) UnmarshalJSON(src []byte) error
func (*NullableModel) Unset ¶
func (v *NullableModel) Unset()
type NullableModelCategory ¶ added in v0.3.0
type NullableModelCategory struct {
// contains filtered or unexported fields
}
func NewNullableModelCategory ¶ added in v0.3.0
func NewNullableModelCategory(val *ModelCategory) *NullableModelCategory
func (NullableModelCategory) Get ¶ added in v0.3.0
func (v NullableModelCategory) Get() *ModelCategory
func (NullableModelCategory) IsSet ¶ added in v0.3.0
func (v NullableModelCategory) IsSet() bool
func (NullableModelCategory) MarshalJSON ¶ added in v0.3.0
func (v NullableModelCategory) MarshalJSON() ([]byte, error)
func (*NullableModelCategory) Set ¶ added in v0.3.0
func (v *NullableModelCategory) Set(val *ModelCategory)
func (*NullableModelCategory) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableModelCategory) UnmarshalJSON(src []byte) error
func (*NullableModelCategory) Unset ¶ added in v0.3.0
func (v *NullableModelCategory) Unset()
type NullableModelTypes ¶ added in v0.3.0
type NullableModelTypes struct {
// contains filtered or unexported fields
}
func NewNullableModelTypes ¶ added in v0.3.0
func NewNullableModelTypes(val *ModelTypes) *NullableModelTypes
func (NullableModelTypes) Get ¶ added in v0.3.0
func (v NullableModelTypes) Get() *ModelTypes
func (NullableModelTypes) IsSet ¶ added in v0.3.0
func (v NullableModelTypes) IsSet() bool
func (NullableModelTypes) MarshalJSON ¶ added in v0.3.0
func (v NullableModelTypes) MarshalJSON() ([]byte, error)
func (*NullableModelTypes) Set ¶ added in v0.3.0
func (v *NullableModelTypes) Set(val *ModelTypes)
func (*NullableModelTypes) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableModelTypes) UnmarshalJSON(src []byte) error
func (*NullableModelTypes) Unset ¶ added in v0.3.0
func (v *NullableModelTypes) Unset()
type NullablePartialUpdateTokenPayload ¶
type NullablePartialUpdateTokenPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateTokenPayload ¶
func NewNullablePartialUpdateTokenPayload(val *PartialUpdateTokenPayload) *NullablePartialUpdateTokenPayload
func (NullablePartialUpdateTokenPayload) Get ¶
func (v NullablePartialUpdateTokenPayload) Get() *PartialUpdateTokenPayload
func (NullablePartialUpdateTokenPayload) IsSet ¶
func (v NullablePartialUpdateTokenPayload) IsSet() bool
func (NullablePartialUpdateTokenPayload) MarshalJSON ¶
func (v NullablePartialUpdateTokenPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateTokenPayload) Set ¶
func (v *NullablePartialUpdateTokenPayload) Set(val *PartialUpdateTokenPayload)
func (*NullablePartialUpdateTokenPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateTokenPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateTokenPayload) Unset ¶
func (v *NullablePartialUpdateTokenPayload) Unset()
type NullableSKU ¶
type NullableSKU struct {
// contains filtered or unexported fields
}
func NewNullableSKU ¶
func NewNullableSKU(val *SKU) *NullableSKU
func (NullableSKU) Get ¶
func (v NullableSKU) Get() *SKU
func (NullableSKU) IsSet ¶
func (v NullableSKU) IsSet() bool
func (NullableSKU) MarshalJSON ¶
func (v NullableSKU) MarshalJSON() ([]byte, error)
func (*NullableSKU) Set ¶
func (v *NullableSKU) Set(val *SKU)
func (*NullableSKU) UnmarshalJSON ¶
func (v *NullableSKU) UnmarshalJSON(src []byte) error
func (*NullableSKU) Unset ¶
func (v *NullableSKU) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableToken ¶
type NullableToken struct {
// contains filtered or unexported fields
}
func NewNullableToken ¶
func NewNullableToken(val *Token) *NullableToken
func (NullableToken) Get ¶
func (v NullableToken) Get() *Token
func (NullableToken) IsSet ¶
func (v NullableToken) IsSet() bool
func (NullableToken) MarshalJSON ¶
func (v NullableToken) MarshalJSON() ([]byte, error)
func (*NullableToken) Set ¶
func (v *NullableToken) Set(val *Token)
func (*NullableToken) UnmarshalJSON ¶
func (v *NullableToken) UnmarshalJSON(src []byte) error
func (*NullableToken) Unset ¶
func (v *NullableToken) Unset()
type NullableTokenCreated ¶
type NullableTokenCreated struct {
// contains filtered or unexported fields
}
func NewNullableTokenCreated ¶
func NewNullableTokenCreated(val *TokenCreated) *NullableTokenCreated
func (NullableTokenCreated) Get ¶
func (v NullableTokenCreated) Get() *TokenCreated
func (NullableTokenCreated) IsSet ¶
func (v NullableTokenCreated) IsSet() bool
func (NullableTokenCreated) MarshalJSON ¶
func (v NullableTokenCreated) MarshalJSON() ([]byte, error)
func (*NullableTokenCreated) Set ¶
func (v *NullableTokenCreated) Set(val *TokenCreated)
func (*NullableTokenCreated) UnmarshalJSON ¶
func (v *NullableTokenCreated) UnmarshalJSON(src []byte) error
func (*NullableTokenCreated) Unset ¶
func (v *NullableTokenCreated) Unset()
type NullableTokenCreatedState ¶ added in v0.3.0
type NullableTokenCreatedState struct {
// contains filtered or unexported fields
}
func NewNullableTokenCreatedState ¶ added in v0.3.0
func NewNullableTokenCreatedState(val *TokenCreatedState) *NullableTokenCreatedState
func (NullableTokenCreatedState) Get ¶ added in v0.3.0
func (v NullableTokenCreatedState) Get() *TokenCreatedState
func (NullableTokenCreatedState) IsSet ¶ added in v0.3.0
func (v NullableTokenCreatedState) IsSet() bool
func (NullableTokenCreatedState) MarshalJSON ¶ added in v0.3.0
func (v NullableTokenCreatedState) MarshalJSON() ([]byte, error)
func (*NullableTokenCreatedState) Set ¶ added in v0.3.0
func (v *NullableTokenCreatedState) Set(val *TokenCreatedState)
func (*NullableTokenCreatedState) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableTokenCreatedState) UnmarshalJSON(src []byte) error
func (*NullableTokenCreatedState) Unset ¶ added in v0.3.0
func (v *NullableTokenCreatedState) Unset()
type NullableTokenState ¶ added in v0.3.0
type NullableTokenState struct {
// contains filtered or unexported fields
}
func NewNullableTokenState ¶ added in v0.3.0
func NewNullableTokenState(val *TokenState) *NullableTokenState
func (NullableTokenState) Get ¶ added in v0.3.0
func (v NullableTokenState) Get() *TokenState
func (NullableTokenState) IsSet ¶ added in v0.3.0
func (v NullableTokenState) IsSet() bool
func (NullableTokenState) MarshalJSON ¶ added in v0.3.0
func (v NullableTokenState) MarshalJSON() ([]byte, error)
func (*NullableTokenState) Set ¶ added in v0.3.0
func (v *NullableTokenState) Set(val *TokenState)
func (*NullableTokenState) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableTokenState) UnmarshalJSON(src []byte) error
func (*NullableTokenState) Unset ¶ added in v0.3.0
func (v *NullableTokenState) Unset()
type NullableUpdateTokenResponse ¶
type NullableUpdateTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateTokenResponse ¶
func NewNullableUpdateTokenResponse(val *UpdateTokenResponse) *NullableUpdateTokenResponse
func (NullableUpdateTokenResponse) Get ¶
func (v NullableUpdateTokenResponse) Get() *UpdateTokenResponse
func (NullableUpdateTokenResponse) IsSet ¶
func (v NullableUpdateTokenResponse) IsSet() bool
func (NullableUpdateTokenResponse) MarshalJSON ¶
func (v NullableUpdateTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateTokenResponse) Set ¶
func (v *NullableUpdateTokenResponse) Set(val *UpdateTokenResponse)
func (*NullableUpdateTokenResponse) UnmarshalJSON ¶
func (v *NullableUpdateTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateTokenResponse) Unset ¶
func (v *NullableUpdateTokenResponse) Unset()
type NullableValue ¶ added in v0.2.1
type NullableValue[T any] struct { // contains filtered or unexported fields }
func (NullableValue[T]) Get ¶ added in v0.2.1
func (v NullableValue[T]) Get() *T
func (NullableValue[T]) IsSet ¶ added in v0.2.1
func (v NullableValue[T]) IsSet() bool
func (*NullableValue[T]) Set ¶ added in v0.2.1
func (v *NullableValue[T]) Set(val *T)
func (*NullableValue[T]) Unset ¶ added in v0.2.1
func (v *NullableValue[T]) Unset()
type PartialUpdateTokenPayload ¶
type PartialUpdateTokenPayload struct {
Description PartialUpdateTokenPayloadGetDescriptionAttributeType `json:"description,omitempty"`
Name PartialUpdateTokenPayloadGetNameAttributeType `json:"name,omitempty"`
}
PartialUpdateTokenPayload struct for PartialUpdateTokenPayload
func NewPartialUpdateTokenPayload ¶
func NewPartialUpdateTokenPayload() *PartialUpdateTokenPayload
NewPartialUpdateTokenPayload instantiates a new PartialUpdateTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateTokenPayloadWithDefaults ¶
func NewPartialUpdateTokenPayloadWithDefaults() *PartialUpdateTokenPayload
NewPartialUpdateTokenPayloadWithDefaults instantiates a new PartialUpdateTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateTokenPayload) GetDescription ¶
func (o *PartialUpdateTokenPayload) GetDescription() (res PartialUpdateTokenPayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*PartialUpdateTokenPayload) GetDescriptionOk ¶
func (o *PartialUpdateTokenPayload) GetDescriptionOk() (ret PartialUpdateTokenPayloadGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateTokenPayload) GetName ¶
func (o *PartialUpdateTokenPayload) GetName() (res PartialUpdateTokenPayloadGetNameRetType)
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateTokenPayload) GetNameOk ¶
func (o *PartialUpdateTokenPayload) GetNameOk() (ret PartialUpdateTokenPayloadGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateTokenPayload) HasDescription ¶
func (o *PartialUpdateTokenPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PartialUpdateTokenPayload) HasName ¶
func (o *PartialUpdateTokenPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialUpdateTokenPayload) SetDescription ¶
func (o *PartialUpdateTokenPayload) SetDescription(v PartialUpdateTokenPayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PartialUpdateTokenPayload) SetName ¶
func (o *PartialUpdateTokenPayload) SetName(v PartialUpdateTokenPayloadGetNameRetType)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateTokenPayload) ToMap ¶
func (o PartialUpdateTokenPayload) ToMap() (map[string]interface{}, error)
type PartialUpdateTokenPayloadGetDescriptionArgType ¶ added in v0.2.1
type PartialUpdateTokenPayloadGetDescriptionArgType = string
type PartialUpdateTokenPayloadGetDescriptionAttributeType ¶ added in v0.2.1
type PartialUpdateTokenPayloadGetDescriptionAttributeType = *string
isNotNullableString
type PartialUpdateTokenPayloadGetDescriptionRetType ¶ added in v0.2.1
type PartialUpdateTokenPayloadGetDescriptionRetType = string
type PartialUpdateTokenPayloadGetNameArgType ¶ added in v0.2.1
type PartialUpdateTokenPayloadGetNameArgType = string
type PartialUpdateTokenPayloadGetNameAttributeType ¶ added in v0.2.1
type PartialUpdateTokenPayloadGetNameAttributeType = *string
isNotNullableString
type PartialUpdateTokenPayloadGetNameRetType ¶ added in v0.2.1
type PartialUpdateTokenPayloadGetNameRetType = string
type PartialUpdateTokenRequest ¶ added in v0.4.0
type PartialUpdateTokenRequest struct {
// contains filtered or unexported fields
}
func (PartialUpdateTokenRequest) Execute ¶ added in v0.4.0
func (r PartialUpdateTokenRequest) Execute() (*UpdateTokenResponse, error)
func (PartialUpdateTokenRequest) PartialUpdateTokenPayload ¶ added in v0.4.0
func (r PartialUpdateTokenRequest) PartialUpdateTokenPayload(partialUpdateTokenPayload PartialUpdateTokenPayload) ApiPartialUpdateTokenRequest
type SKU ¶
type SKU struct {
Description SKUGetDescriptionAttributeType `json:"description,omitempty"`
// REQUIRED
Id SKUGetIdAttributeType `json:"id" required:"true"`
Type SKUGetTypeAttributeType `json:"type,omitempty"`
}
SKU struct for SKU
func NewSKU ¶
func NewSKU(id SKUGetIdArgType) *SKU
NewSKU instantiates a new SKU object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSKUWithDefaults ¶
func NewSKUWithDefaults() *SKU
NewSKUWithDefaults instantiates a new SKU object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SKU) GetDescription ¶
func (o *SKU) GetDescription() (res SKUGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*SKU) GetDescriptionOk ¶
func (o *SKU) GetDescriptionOk() (ret SKUGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SKU) GetIdOk ¶
func (o *SKU) GetIdOk() (ret SKUGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SKU) GetType ¶
func (o *SKU) GetType() (res SKUGetTypeRetType)
GetType returns the Type field value if set, zero value otherwise.
func (*SKU) GetTypeOk ¶
func (o *SKU) GetTypeOk() (ret SKUGetTypeRetType, ok bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SKU) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*SKU) SetDescription ¶
func (o *SKU) SetDescription(v SKUGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SKU) SetType ¶
func (o *SKU) SetType(v SKUGetTypeRetType)
SetType gets a reference to the given string and assigns it to the Type field.
type SKUGetDescriptionArgType ¶ added in v0.2.1
type SKUGetDescriptionArgType = string
type SKUGetDescriptionAttributeType ¶ added in v0.2.1
type SKUGetDescriptionAttributeType = *string
isNotNullableString
type SKUGetDescriptionRetType ¶ added in v0.2.1
type SKUGetDescriptionRetType = string
type SKUGetIdArgType ¶ added in v0.2.1
type SKUGetIdArgType = string
type SKUGetIdAttributeType ¶ added in v0.2.1
type SKUGetIdAttributeType = *string
isNotNullableString
type SKUGetIdRetType ¶ added in v0.2.1
type SKUGetIdRetType = string
type SKUGetTypeArgType ¶ added in v0.2.1
type SKUGetTypeArgType = string
type SKUGetTypeAttributeType ¶ added in v0.2.1
type SKUGetTypeAttributeType = *string
isNotNullableString
type SKUGetTypeRetType ¶ added in v0.2.1
type SKUGetTypeRetType = string
type Token ¶
type Token struct {
Description TokenGetDescriptionAttributeType `json:"description,omitempty"`
// REQUIRED
Id TokenGetIdAttributeType `json:"id" required:"true"`
// REQUIRED
Name TokenGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
Region TokenGetRegionAttributeType `json:"region" required:"true"`
// REQUIRED
State TokenGetStateAttributeType `json:"state" required:"true"`
// REQUIRED
ValidUntil TokenGetValidUntilAttributeType `json:"validUntil" required:"true"`
}
Token struct for Token
func NewToken ¶
func NewToken(id TokenGetIdArgType, name TokenGetNameArgType, region TokenGetRegionArgType, state TokenGetStateArgType, validUntil TokenGetValidUntilArgType) *Token
NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenWithDefaults ¶
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Token) GetDescription ¶
func (o *Token) GetDescription() (res TokenGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*Token) GetDescriptionOk ¶
func (o *Token) GetDescriptionOk() (ret TokenGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Token) GetId ¶
func (o *Token) GetId() (ret TokenGetIdRetType)
GetId returns the Id field value
func (*Token) GetIdOk ¶
func (o *Token) GetIdOk() (ret TokenGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Token) GetName ¶
func (o *Token) GetName() (ret TokenGetNameRetType)
GetName returns the Name field value
func (*Token) GetNameOk ¶
func (o *Token) GetNameOk() (ret TokenGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Token) GetRegion ¶
func (o *Token) GetRegion() (ret TokenGetRegionRetType)
GetRegion returns the Region field value
func (*Token) GetRegionOk ¶
func (o *Token) GetRegionOk() (ret TokenGetRegionRetType, ok bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Token) GetState ¶
func (o *Token) GetState() (ret TokenGetStateRetType)
GetState returns the State field value
func (*Token) GetStateOk ¶
func (o *Token) GetStateOk() (ret TokenGetStateRetType, ok bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Token) GetValidUntil ¶
func (o *Token) GetValidUntil() (ret TokenGetValidUntilRetType)
GetValidUntil returns the ValidUntil field value
func (*Token) GetValidUntilOk ¶
func (o *Token) GetValidUntilOk() (ret TokenGetValidUntilRetType, ok bool)
GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.
func (*Token) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Token) SetDescription ¶
func (o *Token) SetDescription(v TokenGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Token) SetRegion ¶
func (o *Token) SetRegion(v TokenGetRegionRetType)
SetRegion sets field value
func (*Token) SetValidUntil ¶
func (o *Token) SetValidUntil(v TokenGetValidUntilRetType)
SetValidUntil sets field value
type TokenCreated ¶
type TokenCreated struct {
// REQUIRED
Content TokenCreatedGetContentAttributeType `json:"content" required:"true"`
Description TokenCreatedGetDescriptionAttributeType `json:"description,omitempty"`
// REQUIRED
Id TokenCreatedGetIdAttributeType `json:"id" required:"true"`
// REQUIRED
Name TokenCreatedGetNameAttributeType `json:"name" required:"true"`
// REQUIRED
Region TokenCreatedGetRegionAttributeType `json:"region" required:"true"`
// REQUIRED
State TokenCreatedGetStateAttributeType `json:"state" required:"true"`
// REQUIRED
ValidUntil TokenCreatedGetValidUntilAttributeType `json:"validUntil" required:"true"`
}
TokenCreated struct for TokenCreated
func NewTokenCreated ¶
func NewTokenCreated(content TokenCreatedGetContentArgType, id TokenCreatedGetIdArgType, name TokenCreatedGetNameArgType, region TokenCreatedGetRegionArgType, state TokenCreatedGetStateArgType, validUntil TokenCreatedGetValidUntilArgType) *TokenCreated
NewTokenCreated instantiates a new TokenCreated object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenCreatedWithDefaults ¶
func NewTokenCreatedWithDefaults() *TokenCreated
NewTokenCreatedWithDefaults instantiates a new TokenCreated object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TokenCreated) GetContent ¶
func (o *TokenCreated) GetContent() (ret TokenCreatedGetContentRetType)
GetContent returns the Content field value
func (*TokenCreated) GetContentOk ¶
func (o *TokenCreated) GetContentOk() (ret TokenCreatedGetContentRetType, ok bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*TokenCreated) GetDescription ¶
func (o *TokenCreated) GetDescription() (res TokenCreatedGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*TokenCreated) GetDescriptionOk ¶
func (o *TokenCreated) GetDescriptionOk() (ret TokenCreatedGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenCreated) GetId ¶
func (o *TokenCreated) GetId() (ret TokenCreatedGetIdRetType)
GetId returns the Id field value
func (*TokenCreated) GetIdOk ¶
func (o *TokenCreated) GetIdOk() (ret TokenCreatedGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TokenCreated) GetName ¶
func (o *TokenCreated) GetName() (ret TokenCreatedGetNameRetType)
GetName returns the Name field value
func (*TokenCreated) GetNameOk ¶
func (o *TokenCreated) GetNameOk() (ret TokenCreatedGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TokenCreated) GetRegion ¶
func (o *TokenCreated) GetRegion() (ret TokenCreatedGetRegionRetType)
GetRegion returns the Region field value
func (*TokenCreated) GetRegionOk ¶
func (o *TokenCreated) GetRegionOk() (ret TokenCreatedGetRegionRetType, ok bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*TokenCreated) GetState ¶
func (o *TokenCreated) GetState() (ret TokenCreatedGetStateRetType)
GetState returns the State field value
func (*TokenCreated) GetStateOk ¶
func (o *TokenCreated) GetStateOk() (ret TokenCreatedGetStateRetType, ok bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*TokenCreated) GetValidUntil ¶
func (o *TokenCreated) GetValidUntil() (ret TokenCreatedGetValidUntilRetType)
GetValidUntil returns the ValidUntil field value
func (*TokenCreated) GetValidUntilOk ¶
func (o *TokenCreated) GetValidUntilOk() (ret TokenCreatedGetValidUntilRetType, ok bool)
GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.
func (*TokenCreated) HasDescription ¶
func (o *TokenCreated) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TokenCreated) SetContent ¶
func (o *TokenCreated) SetContent(v TokenCreatedGetContentRetType)
SetContent sets field value
func (*TokenCreated) SetDescription ¶
func (o *TokenCreated) SetDescription(v TokenCreatedGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TokenCreated) SetId ¶
func (o *TokenCreated) SetId(v TokenCreatedGetIdRetType)
SetId sets field value
func (*TokenCreated) SetName ¶
func (o *TokenCreated) SetName(v TokenCreatedGetNameRetType)
SetName sets field value
func (*TokenCreated) SetRegion ¶
func (o *TokenCreated) SetRegion(v TokenCreatedGetRegionRetType)
SetRegion sets field value
func (*TokenCreated) SetState ¶
func (o *TokenCreated) SetState(v TokenCreatedGetStateRetType)
SetState sets field value
func (*TokenCreated) SetValidUntil ¶
func (o *TokenCreated) SetValidUntil(v TokenCreatedGetValidUntilRetType)
SetValidUntil sets field value
func (TokenCreated) ToMap ¶
func (o TokenCreated) ToMap() (map[string]interface{}, error)
type TokenCreatedGetContentArgType ¶ added in v0.2.1
type TokenCreatedGetContentArgType = string
type TokenCreatedGetContentAttributeType ¶ added in v0.2.1
type TokenCreatedGetContentAttributeType = *string
isNotNullableString
type TokenCreatedGetContentRetType ¶ added in v0.2.1
type TokenCreatedGetContentRetType = string
type TokenCreatedGetDescriptionArgType ¶ added in v0.2.1
type TokenCreatedGetDescriptionArgType = string
type TokenCreatedGetDescriptionAttributeType ¶ added in v0.2.1
type TokenCreatedGetDescriptionAttributeType = *string
isNotNullableString
type TokenCreatedGetDescriptionRetType ¶ added in v0.2.1
type TokenCreatedGetDescriptionRetType = string
type TokenCreatedGetIdArgType ¶ added in v0.2.1
type TokenCreatedGetIdArgType = string
type TokenCreatedGetIdAttributeType ¶ added in v0.2.1
type TokenCreatedGetIdAttributeType = *string
isNotNullableString
type TokenCreatedGetIdRetType ¶ added in v0.2.1
type TokenCreatedGetIdRetType = string
type TokenCreatedGetNameArgType ¶ added in v0.2.1
type TokenCreatedGetNameArgType = string
type TokenCreatedGetNameAttributeType ¶ added in v0.2.1
type TokenCreatedGetNameAttributeType = *string
isNotNullableString
type TokenCreatedGetNameRetType ¶ added in v0.2.1
type TokenCreatedGetNameRetType = string
type TokenCreatedGetRegionArgType ¶ added in v0.2.1
type TokenCreatedGetRegionArgType = string
type TokenCreatedGetRegionAttributeType ¶ added in v0.2.1
type TokenCreatedGetRegionAttributeType = *string
isNotNullableString
type TokenCreatedGetRegionRetType ¶ added in v0.2.1
type TokenCreatedGetRegionRetType = string
type TokenCreatedGetStateArgType ¶ added in v0.2.1
type TokenCreatedGetStateArgType = TokenCreatedState
type TokenCreatedGetStateAttributeType ¶ added in v0.2.1
type TokenCreatedGetStateAttributeType = *TokenCreatedState
type TokenCreatedGetStateRetType ¶ added in v0.2.1
type TokenCreatedGetStateRetType = TokenCreatedState
type TokenCreatedGetValidUntilArgType ¶ added in v0.2.1
type TokenCreatedGetValidUntilAttributeType ¶ added in v0.2.1
isDateTime
type TokenCreatedGetValidUntilRetType ¶ added in v0.2.1
type TokenCreatedState ¶ added in v0.3.0
type TokenCreatedState string
TokenCreatedState the model 'TokenCreated' value type for enums
const ( TOKENCREATEDSTATE_CREATING TokenCreatedState = "creating" TOKENCREATEDSTATE_ACTIVE TokenCreatedState = "active" TOKENCREATEDSTATE_DELETING TokenCreatedState = "deleting" )
List of State
func NewTokenCreatedStateFromValue ¶ added in v0.3.0
func NewTokenCreatedStateFromValue(v TokenCreatedState) (*TokenCreatedState, error)
NewTokenCreatedStateFromValue returns a pointer to a valid TokenCreatedState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TokenCreatedState) IsValid ¶ added in v0.3.0
func (v TokenCreatedState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TokenCreatedState) Ptr ¶ added in v0.3.0
func (v TokenCreatedState) Ptr() *TokenCreatedState
Ptr returns reference to StateState value
func (*TokenCreatedState) UnmarshalJSON ¶ added in v0.3.0
func (v *TokenCreatedState) UnmarshalJSON(src []byte) error
type TokenGetDescriptionArgType ¶ added in v0.2.1
type TokenGetDescriptionArgType = string
type TokenGetDescriptionAttributeType ¶ added in v0.2.1
type TokenGetDescriptionAttributeType = *string
isNotNullableString
type TokenGetDescriptionRetType ¶ added in v0.2.1
type TokenGetDescriptionRetType = string
type TokenGetIdArgType ¶ added in v0.2.1
type TokenGetIdArgType = string
type TokenGetIdAttributeType ¶ added in v0.2.1
type TokenGetIdAttributeType = *string
isNotNullableString
type TokenGetIdRetType ¶ added in v0.2.1
type TokenGetIdRetType = string
type TokenGetNameArgType ¶ added in v0.2.1
type TokenGetNameArgType = string
type TokenGetNameAttributeType ¶ added in v0.2.1
type TokenGetNameAttributeType = *string
isNotNullableString
type TokenGetNameRetType ¶ added in v0.2.1
type TokenGetNameRetType = string
type TokenGetRegionArgType ¶ added in v0.2.1
type TokenGetRegionArgType = string
type TokenGetRegionAttributeType ¶ added in v0.2.1
type TokenGetRegionAttributeType = *string
isNotNullableString
type TokenGetRegionRetType ¶ added in v0.2.1
type TokenGetRegionRetType = string
type TokenGetStateArgType ¶ added in v0.2.1
type TokenGetStateArgType = TokenState
type TokenGetStateAttributeType ¶ added in v0.2.1
type TokenGetStateAttributeType = *TokenState
type TokenGetStateRetType ¶ added in v0.2.1
type TokenGetStateRetType = TokenState
type TokenGetValidUntilArgType ¶ added in v0.2.1
type TokenGetValidUntilAttributeType ¶ added in v0.2.1
isDateTime
type TokenGetValidUntilRetType ¶ added in v0.2.1
type TokenState ¶ added in v0.3.0
type TokenState string
TokenState the model 'Token' value type for enums
const ( TOKENSTATE_CREATING TokenState = "creating" TOKENSTATE_ACTIVE TokenState = "active" TOKENSTATE_DELETING TokenState = "deleting" TOKENSTATE_INACTIVE TokenState = "inactive" )
List of State
func NewTokenStateFromValue ¶ added in v0.3.0
func NewTokenStateFromValue(v TokenState) (*TokenState, error)
NewTokenStateFromValue returns a pointer to a valid TokenState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TokenState) IsValid ¶ added in v0.3.0
func (v TokenState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TokenState) Ptr ¶ added in v0.3.0
func (v TokenState) Ptr() *TokenState
Ptr returns reference to StateState value
func (*TokenState) UnmarshalJSON ¶ added in v0.3.0
func (v *TokenState) UnmarshalJSON(src []byte) error
type UpdateTokenResponse ¶
type UpdateTokenResponse struct {
Message UpdateTokenResponseGetMessageAttributeType `json:"message,omitempty"`
// REQUIRED
Token UpdateTokenResponseGetTokenAttributeType `json:"token" required:"true"`
}
UpdateTokenResponse struct for UpdateTokenResponse
func NewUpdateTokenResponse ¶
func NewUpdateTokenResponse(token UpdateTokenResponseGetTokenArgType) *UpdateTokenResponse
NewUpdateTokenResponse instantiates a new UpdateTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateTokenResponseWithDefaults ¶
func NewUpdateTokenResponseWithDefaults() *UpdateTokenResponse
NewUpdateTokenResponseWithDefaults instantiates a new UpdateTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateTokenResponse) GetMessage ¶
func (o *UpdateTokenResponse) GetMessage() (res UpdateTokenResponseGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*UpdateTokenResponse) GetMessageOk ¶
func (o *UpdateTokenResponse) GetMessageOk() (ret UpdateTokenResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTokenResponse) GetToken ¶
func (o *UpdateTokenResponse) GetToken() (ret UpdateTokenResponseGetTokenRetType)
GetToken returns the Token field value
func (*UpdateTokenResponse) GetTokenOk ¶
func (o *UpdateTokenResponse) GetTokenOk() (ret UpdateTokenResponseGetTokenRetType, ok bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*UpdateTokenResponse) HasMessage ¶
func (o *UpdateTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*UpdateTokenResponse) SetMessage ¶
func (o *UpdateTokenResponse) SetMessage(v UpdateTokenResponseGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*UpdateTokenResponse) SetToken ¶
func (o *UpdateTokenResponse) SetToken(v UpdateTokenResponseGetTokenRetType)
SetToken sets field value
func (UpdateTokenResponse) ToMap ¶
func (o UpdateTokenResponse) ToMap() (map[string]interface{}, error)
type UpdateTokenResponseGetMessageArgType ¶ added in v0.2.1
type UpdateTokenResponseGetMessageArgType = string
type UpdateTokenResponseGetMessageAttributeType ¶ added in v0.2.1
type UpdateTokenResponseGetMessageAttributeType = *string
isNotNullableString
type UpdateTokenResponseGetMessageRetType ¶ added in v0.2.1
type UpdateTokenResponseGetMessageRetType = string
type UpdateTokenResponseGetTokenArgType ¶ added in v0.2.1
type UpdateTokenResponseGetTokenArgType = Token
type UpdateTokenResponseGetTokenAttributeType ¶ added in v0.2.1
type UpdateTokenResponseGetTokenAttributeType = *Token
isModel
type UpdateTokenResponseGetTokenRetType ¶ added in v0.2.1
type UpdateTokenResponseGetTokenRetType = Token
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_chat_model_details.go
- model_create_token_payload.go
- model_create_token_response.go
- model_embedding_model_details.go
- model_error_message_response.go
- model_get_chat_model_response.go
- model_get_embeddings_model_resp.go
- model_get_token_response.go
- model_list_models_response.go
- model_list_token_resp.go
- model_message_response.go
- model_model.go
- model_partial_update_token_payload.go
- model_sku.go
- model_token.go
- model_token_created.go
- model_update_token_response.go
- utils.go