Documentation
¶
Index ¶
- 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() *int64
- func (o *ChatModelDetails) GetBitsOk() (*int64, bool)
- func (o *ChatModelDetails) GetCategory() *string
- func (o *ChatModelDetails) GetCategoryOk() (*string, bool)
- func (o *ChatModelDetails) GetContextLength() *int64
- func (o *ChatModelDetails) GetContextLengthOk() (*int64, bool)
- func (o *ChatModelDetails) GetDescription() *string
- func (o *ChatModelDetails) GetDescriptionOk() (*string, bool)
- func (o *ChatModelDetails) GetDisplayedName() *string
- func (o *ChatModelDetails) GetDisplayedNameOk() (*string, bool)
- func (o *ChatModelDetails) GetId() *string
- func (o *ChatModelDetails) GetIdOk() (*string, bool)
- func (o *ChatModelDetails) GetName() *string
- func (o *ChatModelDetails) GetNameOk() (*string, bool)
- func (o *ChatModelDetails) GetQuantizationMethod() *string
- func (o *ChatModelDetails) GetQuantizationMethodOk() (*string, bool)
- func (o *ChatModelDetails) GetRegion() *string
- func (o *ChatModelDetails) GetRegionOk() (*string, bool)
- func (o *ChatModelDetails) GetSize() *int64
- func (o *ChatModelDetails) GetSizeOk() (*int64, bool)
- func (o *ChatModelDetails) GetSkus() *[]SKU
- func (o *ChatModelDetails) GetSkusOk() (*[]SKU, bool)
- func (o *ChatModelDetails) GetTags() *[]string
- func (o *ChatModelDetails) GetTagsOk() (*[]string, bool)
- func (o *ChatModelDetails) GetUrl() *string
- func (o *ChatModelDetails) GetUrlOk() (*string, bool)
- func (o *ChatModelDetails) HasBits() bool
- func (o *ChatModelDetails) HasQuantizationMethod() bool
- func (o *ChatModelDetails) SetBits(v *int64)
- func (o *ChatModelDetails) SetCategory(v *string)
- func (o *ChatModelDetails) SetContextLength(v *int64)
- func (o *ChatModelDetails) SetDescription(v *string)
- func (o *ChatModelDetails) SetDisplayedName(v *string)
- func (o *ChatModelDetails) SetId(v *string)
- func (o *ChatModelDetails) SetName(v *string)
- func (o *ChatModelDetails) SetQuantizationMethod(v *string)
- func (o *ChatModelDetails) SetRegion(v *string)
- func (o *ChatModelDetails) SetSize(v *int64)
- func (o *ChatModelDetails) SetSkus(v *[]SKU)
- func (o *ChatModelDetails) SetTags(v *[]string)
- func (o *ChatModelDetails) SetUrl(v *string)
- func (o ChatModelDetails) ToMap() (map[string]interface{}, error)
- type CreateTokenPayload
- func (o *CreateTokenPayload) GetDescription() *string
- func (o *CreateTokenPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateTokenPayload) GetName() *string
- func (o *CreateTokenPayload) GetNameOk() (*string, bool)
- func (o *CreateTokenPayload) GetTtlDuration() *string
- func (o *CreateTokenPayload) GetTtlDurationOk() (*string, bool)
- func (o *CreateTokenPayload) HasDescription() bool
- func (o *CreateTokenPayload) HasTtlDuration() bool
- func (o *CreateTokenPayload) SetDescription(v *string)
- func (o *CreateTokenPayload) SetName(v *string)
- func (o *CreateTokenPayload) SetTtlDuration(v *string)
- func (o CreateTokenPayload) ToMap() (map[string]interface{}, error)
- type CreateTokenResponse
- func (o *CreateTokenResponse) GetMessage() *string
- func (o *CreateTokenResponse) GetMessageOk() (*string, bool)
- func (o *CreateTokenResponse) GetToken() *TokenCreated
- func (o *CreateTokenResponse) GetTokenOk() (*TokenCreated, bool)
- func (o *CreateTokenResponse) HasMessage() bool
- func (o *CreateTokenResponse) SetMessage(v *string)
- func (o *CreateTokenResponse) SetToken(v *TokenCreated)
- func (o CreateTokenResponse) ToMap() (map[string]interface{}, error)
- type DefaultApiService
- type EmbeddingModelDetails
- func (o *EmbeddingModelDetails) GetCategory() *string
- func (o *EmbeddingModelDetails) GetCategoryOk() (*string, bool)
- func (o *EmbeddingModelDetails) GetDescription() *string
- func (o *EmbeddingModelDetails) GetDescriptionOk() (*string, bool)
- func (o *EmbeddingModelDetails) GetDisplayedName() *string
- func (o *EmbeddingModelDetails) GetDisplayedNameOk() (*string, bool)
- func (o *EmbeddingModelDetails) GetId() *string
- func (o *EmbeddingModelDetails) GetIdOk() (*string, bool)
- func (o *EmbeddingModelDetails) GetName() *string
- func (o *EmbeddingModelDetails) GetNameOk() (*string, bool)
- func (o *EmbeddingModelDetails) GetOutputDimension() *int64
- func (o *EmbeddingModelDetails) GetOutputDimensionOk() (*int64, bool)
- func (o *EmbeddingModelDetails) GetRegion() *string
- func (o *EmbeddingModelDetails) GetRegionOk() (*string, bool)
- func (o *EmbeddingModelDetails) GetSkus() *[]SKU
- func (o *EmbeddingModelDetails) GetSkusOk() (*[]SKU, bool)
- func (o *EmbeddingModelDetails) GetTags() *[]string
- func (o *EmbeddingModelDetails) GetTagsOk() (*[]string, bool)
- func (o *EmbeddingModelDetails) GetUrl() *string
- func (o *EmbeddingModelDetails) GetUrlOk() (*string, bool)
- func (o *EmbeddingModelDetails) HasTags() bool
- func (o *EmbeddingModelDetails) SetCategory(v *string)
- func (o *EmbeddingModelDetails) SetDescription(v *string)
- func (o *EmbeddingModelDetails) SetDisplayedName(v *string)
- func (o *EmbeddingModelDetails) SetId(v *string)
- func (o *EmbeddingModelDetails) SetName(v *string)
- func (o *EmbeddingModelDetails) SetOutputDimension(v *int64)
- func (o *EmbeddingModelDetails) SetRegion(v *string)
- func (o *EmbeddingModelDetails) SetSkus(v *[]SKU)
- func (o *EmbeddingModelDetails) SetTags(v *[]string)
- func (o *EmbeddingModelDetails) SetUrl(v *string)
- func (o EmbeddingModelDetails) ToMap() (map[string]interface{}, error)
- type ErrorMessageResponse
- func (o *ErrorMessageResponse) GetError() *string
- func (o *ErrorMessageResponse) GetErrorOk() (*string, bool)
- func (o *ErrorMessageResponse) GetMessage() *string
- func (o *ErrorMessageResponse) GetMessageOk() (*string, bool)
- func (o *ErrorMessageResponse) HasError() bool
- func (o *ErrorMessageResponse) HasMessage() bool
- func (o *ErrorMessageResponse) SetError(v *string)
- func (o *ErrorMessageResponse) SetMessage(v *string)
- func (o ErrorMessageResponse) ToMap() (map[string]interface{}, error)
- type GetChatModelResponse
- func (o *GetChatModelResponse) GetMessage() *string
- func (o *GetChatModelResponse) GetMessageOk() (*string, bool)
- func (o *GetChatModelResponse) GetModel() *ChatModelDetails
- func (o *GetChatModelResponse) GetModelOk() (*ChatModelDetails, bool)
- func (o *GetChatModelResponse) HasMessage() bool
- func (o *GetChatModelResponse) SetMessage(v *string)
- func (o *GetChatModelResponse) SetModel(v *ChatModelDetails)
- func (o GetChatModelResponse) ToMap() (map[string]interface{}, error)
- type GetEmbeddingsModelResp
- func (o *GetEmbeddingsModelResp) GetMessage() *string
- func (o *GetEmbeddingsModelResp) GetMessageOk() (*string, bool)
- func (o *GetEmbeddingsModelResp) GetModel() *EmbeddingModelDetails
- func (o *GetEmbeddingsModelResp) GetModelOk() (*EmbeddingModelDetails, bool)
- func (o *GetEmbeddingsModelResp) HasMessage() bool
- func (o *GetEmbeddingsModelResp) SetMessage(v *string)
- func (o *GetEmbeddingsModelResp) SetModel(v *EmbeddingModelDetails)
- func (o GetEmbeddingsModelResp) ToMap() (map[string]interface{}, error)
- type GetTokenResponse
- func (o *GetTokenResponse) GetMessage() *string
- func (o *GetTokenResponse) GetMessageOk() (*string, bool)
- func (o *GetTokenResponse) GetToken() *Token
- func (o *GetTokenResponse) GetTokenOk() (*Token, bool)
- func (o *GetTokenResponse) HasMessage() bool
- func (o *GetTokenResponse) SetMessage(v *string)
- func (o *GetTokenResponse) SetToken(v *Token)
- func (o GetTokenResponse) ToMap() (map[string]interface{}, error)
- type ListModelsResponse
- func (o *ListModelsResponse) GetMessage() *string
- func (o *ListModelsResponse) GetMessageOk() (*string, bool)
- func (o *ListModelsResponse) GetModels() *[]Model
- func (o *ListModelsResponse) GetModelsOk() (*[]Model, bool)
- func (o *ListModelsResponse) HasMessage() bool
- func (o *ListModelsResponse) SetMessage(v *string)
- func (o *ListModelsResponse) SetModels(v *[]Model)
- func (o ListModelsResponse) ToMap() (map[string]interface{}, error)
- type ListTokenResp
- func (o *ListTokenResp) GetMessage() *string
- func (o *ListTokenResp) GetMessageOk() (*string, bool)
- func (o *ListTokenResp) GetTokens() *[]Token
- func (o *ListTokenResp) GetTokensOk() (*[]Token, bool)
- func (o *ListTokenResp) HasMessage() bool
- func (o *ListTokenResp) SetMessage(v *string)
- func (o *ListTokenResp) SetTokens(v *[]Token)
- func (o ListTokenResp) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type MessageResponse
- type Model
- func (o *Model) GetCategory() *string
- func (o *Model) GetCategoryOk() (*string, bool)
- func (o *Model) GetDescription() *string
- func (o *Model) GetDescriptionOk() (*string, bool)
- func (o *Model) GetDisplayedName() *string
- func (o *Model) GetDisplayedNameOk() (*string, bool)
- func (o *Model) GetId() *string
- func (o *Model) GetIdOk() (*string, bool)
- func (o *Model) GetName() *string
- func (o *Model) GetNameOk() (*string, bool)
- func (o *Model) GetRegion() *string
- func (o *Model) GetRegionOk() (*string, bool)
- func (o *Model) GetSkus() *[]SKU
- func (o *Model) GetSkusOk() (*[]SKU, bool)
- func (o *Model) GetTags() *[]string
- func (o *Model) GetTagsOk() (*[]string, bool)
- func (o *Model) GetType() *string
- func (o *Model) GetTypeOk() (*string, bool)
- func (o *Model) GetUrl() *string
- func (o *Model) GetUrlOk() (*string, bool)
- func (o *Model) HasTags() bool
- func (o *Model) SetCategory(v *string)
- func (o *Model) SetDescription(v *string)
- func (o *Model) SetDisplayedName(v *string)
- func (o *Model) SetId(v *string)
- func (o *Model) SetName(v *string)
- func (o *Model) SetRegion(v *string)
- func (o *Model) SetSkus(v *[]SKU)
- func (o *Model) SetTags(v *[]string)
- func (o *Model) SetType(v *string)
- func (o *Model) SetUrl(v *string)
- func (o Model) ToMap() (map[string]interface{}, error)
- 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 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 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 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 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 PartialUpdateTokenPayload
- func (o *PartialUpdateTokenPayload) GetDescription() *string
- func (o *PartialUpdateTokenPayload) GetDescriptionOk() (*string, bool)
- func (o *PartialUpdateTokenPayload) GetName() *string
- func (o *PartialUpdateTokenPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateTokenPayload) HasDescription() bool
- func (o *PartialUpdateTokenPayload) HasName() bool
- func (o *PartialUpdateTokenPayload) SetDescription(v *string)
- func (o *PartialUpdateTokenPayload) SetName(v *string)
- func (o PartialUpdateTokenPayload) ToMap() (map[string]interface{}, error)
- type SKU
- func (o *SKU) GetDescription() *string
- func (o *SKU) GetDescriptionOk() (*string, bool)
- func (o *SKU) GetId() *string
- func (o *SKU) GetIdOk() (*string, bool)
- func (o *SKU) GetType() *string
- func (o *SKU) GetTypeOk() (*string, bool)
- func (o *SKU) HasDescription() bool
- func (o *SKU) HasType() bool
- func (o *SKU) SetDescription(v *string)
- func (o *SKU) SetId(v *string)
- func (o *SKU) SetType(v *string)
- func (o SKU) ToMap() (map[string]interface{}, error)
- type Token
- func (o *Token) GetDescription() *string
- func (o *Token) GetDescriptionOk() (*string, bool)
- func (o *Token) GetId() *string
- func (o *Token) GetIdOk() (*string, bool)
- func (o *Token) GetName() *string
- func (o *Token) GetNameOk() (*string, bool)
- func (o *Token) GetRegion() *string
- func (o *Token) GetRegionOk() (*string, bool)
- func (o *Token) GetState() *string
- func (o *Token) GetStateOk() (*string, bool)
- func (o *Token) GetValidUntil() *time.Time
- func (o *Token) GetValidUntilOk() (*time.Time, bool)
- func (o *Token) HasDescription() bool
- func (o *Token) SetDescription(v *string)
- func (o *Token) SetId(v *string)
- func (o *Token) SetName(v *string)
- func (o *Token) SetRegion(v *string)
- func (o *Token) SetState(v *string)
- func (o *Token) SetValidUntil(v *time.Time)
- func (o Token) ToMap() (map[string]interface{}, error)
- type TokenCreated
- func (o *TokenCreated) GetContent() *string
- func (o *TokenCreated) GetContentOk() (*string, bool)
- func (o *TokenCreated) GetDescription() *string
- func (o *TokenCreated) GetDescriptionOk() (*string, bool)
- func (o *TokenCreated) GetId() *string
- func (o *TokenCreated) GetIdOk() (*string, bool)
- func (o *TokenCreated) GetName() *string
- func (o *TokenCreated) GetNameOk() (*string, bool)
- func (o *TokenCreated) GetRegion() *string
- func (o *TokenCreated) GetRegionOk() (*string, bool)
- func (o *TokenCreated) GetState() *string
- func (o *TokenCreated) GetStateOk() (*string, bool)
- func (o *TokenCreated) GetValidUntil() *time.Time
- func (o *TokenCreated) GetValidUntilOk() (*time.Time, bool)
- func (o *TokenCreated) HasDescription() bool
- func (o *TokenCreated) SetContent(v *string)
- func (o *TokenCreated) SetDescription(v *string)
- func (o *TokenCreated) SetId(v *string)
- func (o *TokenCreated) SetName(v *string)
- func (o *TokenCreated) SetRegion(v *string)
- func (o *TokenCreated) SetState(v *string)
- func (o *TokenCreated) SetValidUntil(v *time.Time)
- func (o TokenCreated) ToMap() (map[string]interface{}, error)
- type UpdateTokenResponse
- func (o *UpdateTokenResponse) GetMessage() *string
- func (o *UpdateTokenResponse) GetMessageOk() (*string, bool)
- func (o *UpdateTokenResponse) GetToken() *Token
- func (o *UpdateTokenResponse) GetTokenOk() (*Token, bool)
- func (o *UpdateTokenResponse) HasMessage() bool
- func (o *UpdateTokenResponse) SetMessage(v *string)
- func (o *UpdateTokenResponse) SetToken(v *Token)
- func (o UpdateTokenResponse) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 struct {
// contains filtered or unexported fields
}
func (ApiCreateTokenRequest) CreateTokenPayload ¶
func (r ApiCreateTokenRequest) CreateTokenPayload(createTokenPayload CreateTokenPayload) ApiCreateTokenRequest
func (ApiCreateTokenRequest) Execute ¶
func (r ApiCreateTokenRequest) Execute() (*CreateTokenResponse, error)
type ApiDeleteTokenRequest ¶
type ApiDeleteTokenRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteTokenRequest) Execute ¶
func (r ApiDeleteTokenRequest) Execute() (*MessageResponse, error)
type ApiGetChatModelRequest ¶
type ApiGetChatModelRequest struct {
// contains filtered or unexported fields
}
func (ApiGetChatModelRequest) Execute ¶
func (r ApiGetChatModelRequest) Execute() (*GetChatModelResponse, error)
type ApiGetEmbeddingModelRequest ¶
type ApiGetEmbeddingModelRequest struct {
// contains filtered or unexported fields
}
func (ApiGetEmbeddingModelRequest) Execute ¶
func (r ApiGetEmbeddingModelRequest) Execute() (*GetEmbeddingsModelResp, error)
type ApiGetTokenRequest ¶
type ApiGetTokenRequest struct {
// contains filtered or unexported fields
}
func (ApiGetTokenRequest) Execute ¶
func (r ApiGetTokenRequest) Execute() (*GetTokenResponse, error)
type ApiListModelsRequest ¶
type ApiListModelsRequest struct {
// contains filtered or unexported fields
}
func (ApiListModelsRequest) Execute ¶
func (r ApiListModelsRequest) Execute() (*ListModelsResponse, error)
type ApiListTokensRequest ¶
type ApiListTokensRequest struct {
// contains filtered or unexported fields
}
func (ApiListTokensRequest) Execute ¶
func (r ApiListTokensRequest) Execute() (*ListTokenResp, error)
type ApiPartialUpdateTokenRequest ¶
type ApiPartialUpdateTokenRequest struct {
// contains filtered or unexported fields
}
func (ApiPartialUpdateTokenRequest) Execute ¶
func (r ApiPartialUpdateTokenRequest) Execute() (*UpdateTokenResponse, error)
func (ApiPartialUpdateTokenRequest) PartialUpdateTokenPayload ¶
func (r ApiPartialUpdateTokenRequest) PartialUpdateTokenPayload(partialUpdateTokenPayload PartialUpdateTokenPayload) ApiPartialUpdateTokenRequest
type ChatModelDetails ¶
type ChatModelDetails struct {
// Can be cast to int32 without loss of precision.
Bits *int64 `json:"bits,omitempty"`
// REQUIRED
Category *string `json:"category"`
// REQUIRED
ContextLength *int64 `json:"contextLength"`
// REQUIRED
Description *string `json:"description"`
// REQUIRED
DisplayedName *string `json:"displayedName"`
// generated uuid to identify a model
// REQUIRED
Id *string `json:"id"`
// huggingface name
// REQUIRED
Name *string `json:"name"`
QuantizationMethod *string `json:"quantizationMethod,omitempty"`
// REQUIRED
Region *string `json:"region"`
// model size in bytes
// REQUIRED
Size *int64 `json:"size"`
// REQUIRED
Skus *[]SKU `json:"skus"`
// REQUIRED
Tags *[]string `json:"tags"`
// url of the model
// REQUIRED
Url *string `json:"url"`
}
ChatModelDetails struct for ChatModelDetails
func NewChatModelDetails ¶
func NewChatModelDetails(category *string, contextLength *int64, description *string, displayedName *string, id *string, name *string, region *string, size *int64, skus *[]SKU, tags *[]string, url *string) *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() *int64
GetBits returns the Bits field value if set, zero value otherwise.
func (*ChatModelDetails) GetBitsOk ¶
func (o *ChatModelDetails) GetBitsOk() (*int64, 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() *string
GetCategory returns the Category field value
func (*ChatModelDetails) GetCategoryOk ¶
func (o *ChatModelDetails) GetCategoryOk() (*string, 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() *int64
GetContextLength returns the ContextLength field value
func (*ChatModelDetails) GetContextLengthOk ¶
func (o *ChatModelDetails) GetContextLengthOk() (*int64, 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() *string
GetDescription returns the Description field value
func (*ChatModelDetails) GetDescriptionOk ¶
func (o *ChatModelDetails) GetDescriptionOk() (*string, 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() *string
GetDisplayedName returns the DisplayedName field value
func (*ChatModelDetails) GetDisplayedNameOk ¶
func (o *ChatModelDetails) GetDisplayedNameOk() (*string, 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() *string
GetId returns the Id field value
func (*ChatModelDetails) GetIdOk ¶
func (o *ChatModelDetails) GetIdOk() (*string, 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() *string
GetName returns the Name field value
func (*ChatModelDetails) GetNameOk ¶
func (o *ChatModelDetails) GetNameOk() (*string, 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() *string
GetQuantizationMethod returns the QuantizationMethod field value if set, zero value otherwise.
func (*ChatModelDetails) GetQuantizationMethodOk ¶
func (o *ChatModelDetails) GetQuantizationMethodOk() (*string, 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() *string
GetRegion returns the Region field value
func (*ChatModelDetails) GetRegionOk ¶
func (o *ChatModelDetails) GetRegionOk() (*string, 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() *int64
GetSize returns the Size field value
func (*ChatModelDetails) GetSizeOk ¶
func (o *ChatModelDetails) GetSizeOk() (*int64, 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() *[]SKU
GetSkus returns the Skus field value
func (*ChatModelDetails) GetSkusOk ¶
func (o *ChatModelDetails) GetSkusOk() (*[]SKU, 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() *[]string
GetTags returns the Tags field value
func (*ChatModelDetails) GetTagsOk ¶
func (o *ChatModelDetails) GetTagsOk() (*[]string, 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() *string
GetUrl returns the Url field value
func (*ChatModelDetails) GetUrlOk ¶
func (o *ChatModelDetails) GetUrlOk() (*string, 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 *int64)
SetBits gets a reference to the given int64 and assigns it to the Bits field.
func (*ChatModelDetails) SetCategory ¶
func (o *ChatModelDetails) SetCategory(v *string)
SetCategory sets field value
func (*ChatModelDetails) SetContextLength ¶
func (o *ChatModelDetails) SetContextLength(v *int64)
SetContextLength sets field value
func (*ChatModelDetails) SetDescription ¶
func (o *ChatModelDetails) SetDescription(v *string)
SetDescription sets field value
func (*ChatModelDetails) SetDisplayedName ¶
func (o *ChatModelDetails) SetDisplayedName(v *string)
SetDisplayedName sets field value
func (*ChatModelDetails) SetName ¶
func (o *ChatModelDetails) SetName(v *string)
SetName sets field value
func (*ChatModelDetails) SetQuantizationMethod ¶
func (o *ChatModelDetails) SetQuantizationMethod(v *string)
SetQuantizationMethod gets a reference to the given string and assigns it to the QuantizationMethod field.
func (*ChatModelDetails) SetRegion ¶
func (o *ChatModelDetails) SetRegion(v *string)
SetRegion sets field value
func (*ChatModelDetails) SetSize ¶
func (o *ChatModelDetails) SetSize(v *int64)
SetSize sets field value
func (*ChatModelDetails) SetSkus ¶
func (o *ChatModelDetails) SetSkus(v *[]SKU)
SetSkus sets field value
func (*ChatModelDetails) SetTags ¶
func (o *ChatModelDetails) SetTags(v *[]string)
SetTags sets field value
func (*ChatModelDetails) SetUrl ¶
func (o *ChatModelDetails) SetUrl(v *string)
SetUrl sets field value
func (ChatModelDetails) ToMap ¶
func (o ChatModelDetails) ToMap() (map[string]interface{}, error)
type CreateTokenPayload ¶
type CreateTokenPayload struct {
Description *string `json:"description,omitempty"`
// REQUIRED
Name *string `json:"name"`
// time to live duration. Must be valid duration string. If not set the token will never expire.
TtlDuration *string `json:"ttlDuration,omitempty"`
}
CreateTokenPayload struct for CreateTokenPayload
func NewCreateTokenPayload ¶
func NewCreateTokenPayload(name *string) *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() *string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateTokenPayload) GetDescriptionOk ¶
func (o *CreateTokenPayload) GetDescriptionOk() (*string, 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() *string
GetName returns the Name field value
func (*CreateTokenPayload) GetNameOk ¶
func (o *CreateTokenPayload) GetNameOk() (*string, 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() *string
GetTtlDuration returns the TtlDuration field value if set, zero value otherwise.
func (*CreateTokenPayload) GetTtlDurationOk ¶
func (o *CreateTokenPayload) GetTtlDurationOk() (*string, 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 *string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateTokenPayload) SetName ¶
func (o *CreateTokenPayload) SetName(v *string)
SetName sets field value
func (*CreateTokenPayload) SetTtlDuration ¶
func (o *CreateTokenPayload) SetTtlDuration(v *string)
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 CreateTokenResponse ¶
type CreateTokenResponse struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Token *TokenCreated `json:"token"`
}
CreateTokenResponse struct for CreateTokenResponse
func NewCreateTokenResponse ¶
func NewCreateTokenResponse(token *TokenCreated) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateTokenResponse) GetMessageOk ¶
func (o *CreateTokenResponse) GetMessageOk() (*string, 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() *TokenCreated
GetToken returns the Token field value
func (*CreateTokenResponse) GetTokenOk ¶
func (o *CreateTokenResponse) GetTokenOk() (*TokenCreated, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateTokenResponse) SetToken ¶
func (o *CreateTokenResponse) SetToken(v *TokenCreated)
SetToken sets field value
func (CreateTokenResponse) ToMap ¶
func (o CreateTokenResponse) ToMap() (map[string]interface{}, error)
type EmbeddingModelDetails ¶
type EmbeddingModelDetails struct {
// REQUIRED
Category *string `json:"category"`
// REQUIRED
Description *string `json:"description"`
// REQUIRED
DisplayedName *string `json:"displayedName"`
// generated uuid to identify a model
// REQUIRED
Id *string `json:"id"`
// huggingface name
// REQUIRED
Name *string `json:"name"`
// REQUIRED
OutputDimension *int64 `json:"outputDimension"`
// REQUIRED
Region *string `json:"region"`
// REQUIRED
Skus *[]SKU `json:"skus"`
Tags *[]string `json:"tags,omitempty"`
// url of the model
// REQUIRED
Url *string `json:"url"`
}
EmbeddingModelDetails struct for EmbeddingModelDetails
func NewEmbeddingModelDetails ¶
func NewEmbeddingModelDetails(category *string, description *string, displayedName *string, id *string, name *string, outputDimension *int64, region *string, skus *[]SKU, url *string) *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() *string
GetCategory returns the Category field value
func (*EmbeddingModelDetails) GetCategoryOk ¶
func (o *EmbeddingModelDetails) GetCategoryOk() (*string, 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() *string
GetDescription returns the Description field value
func (*EmbeddingModelDetails) GetDescriptionOk ¶
func (o *EmbeddingModelDetails) GetDescriptionOk() (*string, 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() *string
GetDisplayedName returns the DisplayedName field value
func (*EmbeddingModelDetails) GetDisplayedNameOk ¶
func (o *EmbeddingModelDetails) GetDisplayedNameOk() (*string, 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() *string
GetId returns the Id field value
func (*EmbeddingModelDetails) GetIdOk ¶
func (o *EmbeddingModelDetails) GetIdOk() (*string, 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() *string
GetName returns the Name field value
func (*EmbeddingModelDetails) GetNameOk ¶
func (o *EmbeddingModelDetails) GetNameOk() (*string, 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() *int64
GetOutputDimension returns the OutputDimension field value
func (*EmbeddingModelDetails) GetOutputDimensionOk ¶
func (o *EmbeddingModelDetails) GetOutputDimensionOk() (*int64, 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() *string
GetRegion returns the Region field value
func (*EmbeddingModelDetails) GetRegionOk ¶
func (o *EmbeddingModelDetails) GetRegionOk() (*string, 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() *[]SKU
GetSkus returns the Skus field value
func (*EmbeddingModelDetails) GetSkusOk ¶
func (o *EmbeddingModelDetails) GetSkusOk() (*[]SKU, 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() *[]string
GetTags returns the Tags field value if set, zero value otherwise.
func (*EmbeddingModelDetails) GetTagsOk ¶
func (o *EmbeddingModelDetails) GetTagsOk() (*[]string, 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() *string
GetUrl returns the Url field value
func (*EmbeddingModelDetails) GetUrlOk ¶
func (o *EmbeddingModelDetails) GetUrlOk() (*string, 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 *string)
SetCategory sets field value
func (*EmbeddingModelDetails) SetDescription ¶
func (o *EmbeddingModelDetails) SetDescription(v *string)
SetDescription sets field value
func (*EmbeddingModelDetails) SetDisplayedName ¶
func (o *EmbeddingModelDetails) SetDisplayedName(v *string)
SetDisplayedName sets field value
func (*EmbeddingModelDetails) SetId ¶
func (o *EmbeddingModelDetails) SetId(v *string)
SetId sets field value
func (*EmbeddingModelDetails) SetName ¶
func (o *EmbeddingModelDetails) SetName(v *string)
SetName sets field value
func (*EmbeddingModelDetails) SetOutputDimension ¶
func (o *EmbeddingModelDetails) SetOutputDimension(v *int64)
SetOutputDimension sets field value
func (*EmbeddingModelDetails) SetRegion ¶
func (o *EmbeddingModelDetails) SetRegion(v *string)
SetRegion sets field value
func (*EmbeddingModelDetails) SetSkus ¶
func (o *EmbeddingModelDetails) SetSkus(v *[]SKU)
SetSkus sets field value
func (*EmbeddingModelDetails) SetTags ¶
func (o *EmbeddingModelDetails) SetTags(v *[]string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*EmbeddingModelDetails) SetUrl ¶
func (o *EmbeddingModelDetails) SetUrl(v *string)
SetUrl sets field value
func (EmbeddingModelDetails) ToMap ¶
func (o EmbeddingModelDetails) ToMap() (map[string]interface{}, error)
type ErrorMessageResponse ¶
type ErrorMessageResponse struct {
Error *string `json:"error,omitempty"`
Message *string `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() *string
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorMessageResponse) GetErrorOk ¶
func (o *ErrorMessageResponse) GetErrorOk() (*string, 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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorMessageResponse) GetMessageOk ¶
func (o *ErrorMessageResponse) GetMessageOk() (*string, 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 *string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ErrorMessageResponse) SetMessage ¶
func (o *ErrorMessageResponse) SetMessage(v *string)
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 GetChatModelResponse ¶
type GetChatModelResponse struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Model *ChatModelDetails `json:"model"`
}
GetChatModelResponse struct for GetChatModelResponse
func NewGetChatModelResponse ¶
func NewGetChatModelResponse(model *ChatModelDetails) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetChatModelResponse) GetMessageOk ¶
func (o *GetChatModelResponse) GetMessageOk() (*string, 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() *ChatModelDetails
GetModel returns the Model field value
func (*GetChatModelResponse) GetModelOk ¶
func (o *GetChatModelResponse) GetModelOk() (*ChatModelDetails, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetChatModelResponse) SetModel ¶
func (o *GetChatModelResponse) SetModel(v *ChatModelDetails)
SetModel sets field value
func (GetChatModelResponse) ToMap ¶
func (o GetChatModelResponse) ToMap() (map[string]interface{}, error)
type GetEmbeddingsModelResp ¶
type GetEmbeddingsModelResp struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Model *EmbeddingModelDetails `json:"model"`
}
GetEmbeddingsModelResp struct for GetEmbeddingsModelResp
func NewGetEmbeddingsModelResp ¶
func NewGetEmbeddingsModelResp(model *EmbeddingModelDetails) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetEmbeddingsModelResp) GetMessageOk ¶
func (o *GetEmbeddingsModelResp) GetMessageOk() (*string, 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() *EmbeddingModelDetails
GetModel returns the Model field value
func (*GetEmbeddingsModelResp) GetModelOk ¶
func (o *GetEmbeddingsModelResp) GetModelOk() (*EmbeddingModelDetails, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetEmbeddingsModelResp) SetModel ¶
func (o *GetEmbeddingsModelResp) SetModel(v *EmbeddingModelDetails)
SetModel sets field value
func (GetEmbeddingsModelResp) ToMap ¶
func (o GetEmbeddingsModelResp) ToMap() (map[string]interface{}, error)
type GetTokenResponse ¶
type GetTokenResponse struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Token *Token `json:"token"`
}
GetTokenResponse struct for GetTokenResponse
func NewGetTokenResponse ¶
func NewGetTokenResponse(token *Token) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetTokenResponse) GetMessageOk ¶
func (o *GetTokenResponse) GetMessageOk() (*string, 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() *Token
GetToken returns the Token field value
func (*GetTokenResponse) GetTokenOk ¶
func (o *GetTokenResponse) GetTokenOk() (*Token, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetTokenResponse) SetToken ¶
func (o *GetTokenResponse) SetToken(v *Token)
SetToken sets field value
func (GetTokenResponse) ToMap ¶
func (o GetTokenResponse) ToMap() (map[string]interface{}, error)
type ListModelsResponse ¶
type ListModelsResponse struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Models *[]Model `json:"models"`
}
ListModelsResponse struct for ListModelsResponse
func NewListModelsResponse ¶
func NewListModelsResponse(models *[]Model) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListModelsResponse) GetMessageOk ¶
func (o *ListModelsResponse) GetMessageOk() (*string, 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() *[]Model
GetModels returns the Models field value
func (*ListModelsResponse) GetModelsOk ¶
func (o *ListModelsResponse) GetModelsOk() (*[]Model, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListModelsResponse) SetModels ¶
func (o *ListModelsResponse) SetModels(v *[]Model)
SetModels sets field value
func (ListModelsResponse) ToMap ¶
func (o ListModelsResponse) ToMap() (map[string]interface{}, error)
type ListTokenResp ¶
type ListTokenResp struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Tokens *[]Token `json:"tokens"`
}
ListTokenResp struct for ListTokenResp
func NewListTokenResp ¶
func NewListTokenResp(tokens *[]Token) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListTokenResp) GetMessageOk ¶
func (o *ListTokenResp) GetMessageOk() (*string, 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() *[]Token
GetTokens returns the Tokens field value
func (*ListTokenResp) GetTokensOk ¶
func (o *ListTokenResp) GetTokensOk() (*[]Token, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListTokenResp) SetTokens ¶
func (o *ListTokenResp) SetTokens(v *[]Token)
SetTokens sets field value
func (ListTokenResp) ToMap ¶
func (o ListTokenResp) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type MessageResponse ¶
type MessageResponse struct {
Message *string `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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*MessageResponse) GetMessageOk ¶
func (o *MessageResponse) GetMessageOk() (*string, 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 *string)
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 Model ¶
type Model struct {
// REQUIRED
Category *string `json:"category"`
// REQUIRED
Description *string `json:"description"`
// REQUIRED
DisplayedName *string `json:"displayedName"`
// generated uuid to identify a model
// REQUIRED
Id *string `json:"id"`
// huggingface name
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Region *string `json:"region"`
// REQUIRED
Skus *[]SKU `json:"skus"`
Tags *[]string `json:"tags,omitempty"`
// REQUIRED
Type *string `json:"type"`
// url of the model
// REQUIRED
Url *string `json:"url"`
}
Model struct for Model
func NewModel ¶
func NewModel(category *string, description *string, displayedName *string, id *string, name *string, region *string, skus *[]SKU, type_ *string, url *string) *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 ¶
GetCategory returns the Category field value
func (*Model) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*Model) GetDescription ¶
GetDescription returns the Description field value
func (*Model) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Model) GetDisplayedName ¶
GetDisplayedName returns the DisplayedName field value
func (*Model) GetDisplayedNameOk ¶
GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.
func (*Model) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Model) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Model) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Model) GetSkusOk ¶
GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.
func (*Model) GetTagsOk ¶
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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Model) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Model) SetDescription ¶
SetDescription sets field value
func (*Model) SetDisplayedName ¶
SetDisplayedName sets field value
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 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 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 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 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 PartialUpdateTokenPayload ¶
type PartialUpdateTokenPayload struct {
Description *string `json:"description,omitempty"`
Name *string `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() *string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PartialUpdateTokenPayload) GetDescriptionOk ¶
func (o *PartialUpdateTokenPayload) GetDescriptionOk() (*string, 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() *string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateTokenPayload) GetNameOk ¶
func (o *PartialUpdateTokenPayload) GetNameOk() (*string, 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 *string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PartialUpdateTokenPayload) SetName ¶
func (o *PartialUpdateTokenPayload) SetName(v *string)
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 SKU ¶
type SKU struct {
Description *string `json:"description,omitempty"`
// REQUIRED
Id *string `json:"id"`
Type *string `json:"type,omitempty"`
}
SKU struct for SKU
func NewSKU ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*SKU) GetDescriptionOk ¶
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 ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SKU) GetTypeOk ¶
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 ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
type Token ¶
type Token struct {
Description *string `json:"description,omitempty"`
// REQUIRED
Id *string `json:"id"`
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Region *string `json:"region"`
// REQUIRED
State *string `json:"state"`
// REQUIRED
ValidUntil *time.Time `json:"validUntil"`
}
Token struct for Token
func NewToken ¶
func NewToken(id *string, name *string, region *string, state *string, validUntil *time.Time) *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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Token) GetDescriptionOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Token) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Token) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Token) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Token) GetValidUntil ¶
GetValidUntil returns the ValidUntil field value
func (*Token) GetValidUntilOk ¶
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 ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Token) SetValidUntil ¶
SetValidUntil sets field value
type TokenCreated ¶
type TokenCreated struct {
// REQUIRED
Content *string `json:"content"`
Description *string `json:"description,omitempty"`
// REQUIRED
Id *string `json:"id"`
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Region *string `json:"region"`
// REQUIRED
State *string `json:"state"`
// REQUIRED
ValidUntil *time.Time `json:"validUntil"`
}
TokenCreated struct for TokenCreated
func NewTokenCreated ¶
func NewTokenCreated(content *string, id *string, name *string, region *string, state *string, validUntil *time.Time) *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() *string
GetContent returns the Content field value
func (*TokenCreated) GetContentOk ¶
func (o *TokenCreated) GetContentOk() (*string, 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() *string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TokenCreated) GetDescriptionOk ¶
func (o *TokenCreated) GetDescriptionOk() (*string, 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() *string
GetId returns the Id field value
func (*TokenCreated) GetIdOk ¶
func (o *TokenCreated) GetIdOk() (*string, 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() *string
GetName returns the Name field value
func (*TokenCreated) GetNameOk ¶
func (o *TokenCreated) GetNameOk() (*string, 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() *string
GetRegion returns the Region field value
func (*TokenCreated) GetRegionOk ¶
func (o *TokenCreated) GetRegionOk() (*string, 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() *string
GetState returns the State field value
func (*TokenCreated) GetStateOk ¶
func (o *TokenCreated) GetStateOk() (*string, 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() *time.Time
GetValidUntil returns the ValidUntil field value
func (*TokenCreated) GetValidUntilOk ¶
func (o *TokenCreated) GetValidUntilOk() (*time.Time, 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 *string)
SetContent sets field value
func (*TokenCreated) SetDescription ¶
func (o *TokenCreated) SetDescription(v *string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TokenCreated) SetRegion ¶
func (o *TokenCreated) SetRegion(v *string)
SetRegion sets field value
func (*TokenCreated) SetState ¶
func (o *TokenCreated) SetState(v *string)
SetState sets field value
func (*TokenCreated) SetValidUntil ¶
func (o *TokenCreated) SetValidUntil(v *time.Time)
SetValidUntil sets field value
func (TokenCreated) ToMap ¶
func (o TokenCreated) ToMap() (map[string]interface{}, error)
type UpdateTokenResponse ¶
type UpdateTokenResponse struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Token *Token `json:"token"`
}
UpdateTokenResponse struct for UpdateTokenResponse
func NewUpdateTokenResponse ¶
func NewUpdateTokenResponse(token *Token) *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() *string
GetMessage returns the Message field value if set, zero value otherwise.
func (*UpdateTokenResponse) GetMessageOk ¶
func (o *UpdateTokenResponse) GetMessageOk() (*string, 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() *Token
GetToken returns the Token field value
func (*UpdateTokenResponse) GetTokenOk ¶
func (o *UpdateTokenResponse) GetTokenOk() (*Token, 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 *string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*UpdateTokenResponse) SetToken ¶
func (o *UpdateTokenResponse) SetToken(v *Token)
SetToken sets field value
func (UpdateTokenResponse) ToMap ¶
func (o UpdateTokenResponse) ToMap() (map[string]interface{}, error)
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