modelserving

package module
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedChatModelDetailsBitsEnumValues = []ChatModelDetailsBits{
	1,
	2,
	4,
	8,
	16,
}

All allowed values of ChatModelDetails enum

View Source
var AllowedChatModelDetailsCategoryEnumValues = []ChatModelDetailsCategory{
	"standard",
	"plus",
	"premium",
}

All allowed values of ChatModelDetails enum

View Source
var AllowedChatModelDetailsQuantizationMethodEnumValues = []ChatModelDetailsQuantizationMethod{
	"PTQ",
	"QAT",
}

All allowed values of ChatModelDetails enum

View Source
var AllowedEmbeddingModelDetailsCategoryEnumValues = []EmbeddingModelDetailsCategory{
	"standard",
	"plus",
	"premium",
}

All allowed values of EmbeddingModelDetails enum

View Source
var AllowedModelCategoryEnumValues = []ModelCategory{
	"standard",
	"plus",
	"premium",
}

All allowed values of Model enum

View Source
var AllowedModelTypesEnumValues = []ModelTypes{
	"chat",
	"embedding",
}

All allowed values of Model enum

View Source
var AllowedTokenCreatedStateEnumValues = []TokenCreatedState{
	"creating",
	"active",
	"deleting",
}

All allowed values of TokenCreated enum

View Source
var AllowedTokenStateEnumValues = []TokenState{
	"creating",
	"active",
	"deleting",
	"inactive",
}

All allowed values of Token enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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 (a *APIClient) CreateTokenExecute(ctx context.Context, regionId string, projectId string) (*CreateTokenResponse, error)

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 (a *APIClient) DeleteTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*MessageResponse, error)

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 (a *APIClient) GetChatModelExecute(ctx context.Context, regionId string, modelId string) (*GetChatModelResponse, error)

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 (a *APIClient) GetEmbeddingModelExecute(ctx context.Context, regionId string, modelId string) (*GetEmbeddingsModelResp, error)

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 (a *APIClient) GetTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*GetTokenResponse, error)

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 (a *APIClient) ListModelsExecute(ctx context.Context, regionId string) (*ListModelsResponse, error)

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 (a *APIClient) ListTokensExecute(ctx context.Context, regionId string, projectId string) (*ListTokenResp, error)

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

func (a *APIClient) PartialUpdateTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*UpdateTokenResponse, error)

type ApiCreateTokenRequest

type ApiCreateTokenRequest interface {
	CreateTokenPayload(createTokenPayload CreateTokenPayload) ApiCreateTokenRequest
	Execute() (*CreateTokenResponse, error)
}

type ApiDeleteTokenRequest

type ApiDeleteTokenRequest interface {
	Execute() (*MessageResponse, error)
}

type ApiGetChatModelRequest

type ApiGetChatModelRequest interface {
	Execute() (*GetChatModelResponse, error)
}

type ApiGetEmbeddingModelRequest

type ApiGetEmbeddingModelRequest interface {
	Execute() (*GetEmbeddingsModelResp, error)
}

type ApiGetTokenRequest

type ApiGetTokenRequest interface {
	Execute() (*GetTokenResponse, error)
}

type ApiListModelsRequest

type ApiListModelsRequest interface {
	Execute() (*ListModelsResponse, error)
}

type ApiListTokensRequest

type ApiListTokensRequest interface {
	Execute() (*ListTokenResp, error)
}

type ApiPartialUpdateTokenRequest

type ApiPartialUpdateTokenRequest interface {
	PartialUpdateTokenPayload(partialUpdateTokenPayload PartialUpdateTokenPayload) ApiPartialUpdateTokenRequest
	Execute() (*UpdateTokenResponse, error)
}

type ChatModelDetails

type ChatModelDetails struct {
	// Can be cast to int32 without loss of precision.
	Bits ChatModelDetailsGetBitsAttributeType `json:"bits,omitempty"`
	// REQUIRED
	Category ChatModelDetailsGetCategoryAttributeType `json:"category" required:"true"`
	// REQUIRED
	ContextLength ChatModelDetailsGetContextLengthAttributeType `json:"contextLength" required:"true"`
	// REQUIRED
	Description ChatModelDetailsGetDescriptionAttributeType `json:"description" required:"true"`
	// REQUIRED
	DisplayedName ChatModelDetailsGetDisplayedNameAttributeType `json:"displayedName" required:"true"`
	// generated uuid to identify a model
	// REQUIRED
	Id ChatModelDetailsGetIdAttributeType `json:"id" required:"true"`
	// huggingface name
	// REQUIRED
	Name               ChatModelDetailsGetNameAttributeType               `json:"name" required:"true"`
	QuantizationMethod ChatModelDetailsGetQuantizationMethodAttributeType `json:"quantizationMethod,omitempty"`
	// REQUIRED
	Region ChatModelDetailsGetRegionAttributeType `json:"region" required:"true"`
	// model size in bytes
	// REQUIRED
	Size ChatModelDetailsGetSizeAttributeType `json:"size" required:"true"`
	// REQUIRED
	Skus ChatModelDetailsGetSkusAttributeType `json:"skus" required:"true"`
	// REQUIRED
	Tags ChatModelDetailsGetTagsAttributeType `json:"tags" required:"true"`
	// url of the model
	// REQUIRED
	Url ChatModelDetailsGetUrlAttributeType `json:"url" required:"true"`
}

ChatModelDetails struct for ChatModelDetails

func NewChatModelDetails

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

GetBits returns the Bits field value if set, zero value otherwise.

func (*ChatModelDetails) GetBitsOk

func (o *ChatModelDetails) GetBitsOk() (ret ChatModelDetailsGetBitsRetType, ok bool)

GetBitsOk returns a tuple with the Bits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChatModelDetails) GetCategory

GetCategory returns the Category field value

func (*ChatModelDetails) GetCategoryOk

func (o *ChatModelDetails) GetCategoryOk() (ret ChatModelDetailsGetCategoryRetType, ok bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetContextLength

func (o *ChatModelDetails) GetContextLength() (ret ChatModelDetailsGetContextLengthRetType)

GetContextLength returns the ContextLength field value

func (*ChatModelDetails) GetContextLengthOk

func (o *ChatModelDetails) GetContextLengthOk() (ret ChatModelDetailsGetContextLengthRetType, ok bool)

GetContextLengthOk returns a tuple with the ContextLength field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetDescription

func (o *ChatModelDetails) GetDescription() (ret ChatModelDetailsGetDescriptionRetType)

GetDescription returns the Description field value

func (*ChatModelDetails) GetDescriptionOk

func (o *ChatModelDetails) GetDescriptionOk() (ret ChatModelDetailsGetDescriptionRetType, ok bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetDisplayedName

func (o *ChatModelDetails) GetDisplayedName() (ret ChatModelDetailsGetDisplayedNameRetType)

GetDisplayedName returns the DisplayedName field value

func (*ChatModelDetails) GetDisplayedNameOk

func (o *ChatModelDetails) GetDisplayedNameOk() (ret ChatModelDetailsGetDisplayedNameRetType, ok bool)

GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetId

GetId returns the Id field value

func (*ChatModelDetails) GetIdOk

func (o *ChatModelDetails) GetIdOk() (ret ChatModelDetailsGetIdRetType, ok bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetName

GetName returns the Name field value

func (*ChatModelDetails) GetNameOk

func (o *ChatModelDetails) GetNameOk() (ret ChatModelDetailsGetNameRetType, ok bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetQuantizationMethod

func (o *ChatModelDetails) GetQuantizationMethod() (res ChatModelDetailsGetQuantizationMethodRetType)

GetQuantizationMethod returns the QuantizationMethod field value if set, zero value otherwise.

func (*ChatModelDetails) GetQuantizationMethodOk

func (o *ChatModelDetails) GetQuantizationMethodOk() (ret ChatModelDetailsGetQuantizationMethodRetType, ok bool)

GetQuantizationMethodOk returns a tuple with the QuantizationMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChatModelDetails) GetRegion

GetRegion returns the Region field value

func (*ChatModelDetails) GetRegionOk

func (o *ChatModelDetails) GetRegionOk() (ret ChatModelDetailsGetRegionRetType, ok bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetSize

GetSize returns the Size field value

func (*ChatModelDetails) GetSizeOk

func (o *ChatModelDetails) GetSizeOk() (ret ChatModelDetailsGetSizeRetType, ok bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetSkus

GetSkus returns the Skus field value

func (*ChatModelDetails) GetSkusOk

func (o *ChatModelDetails) GetSkusOk() (ret ChatModelDetailsGetSkusRetType, ok bool)

GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetTags

GetTags returns the Tags field value

func (*ChatModelDetails) GetTagsOk

func (o *ChatModelDetails) GetTagsOk() (ret ChatModelDetailsGetTagsRetType, ok bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*ChatModelDetails) GetUrl

GetUrl returns the Url field value

func (*ChatModelDetails) GetUrlOk

func (o *ChatModelDetails) GetUrlOk() (ret ChatModelDetailsGetUrlRetType, ok bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*ChatModelDetails) HasBits

func (o *ChatModelDetails) HasBits() bool

HasBits returns a boolean if a field has been set.

func (*ChatModelDetails) HasQuantizationMethod

func (o *ChatModelDetails) HasQuantizationMethod() bool

HasQuantizationMethod returns a boolean if a field has been set.

func (*ChatModelDetails) SetBits

SetBits gets a reference to the given int64 and assigns it to the Bits field.

func (*ChatModelDetails) SetCategory

SetCategory sets field value

func (*ChatModelDetails) SetContextLength

SetContextLength sets field value

func (*ChatModelDetails) SetDescription

SetDescription sets field value

func (*ChatModelDetails) SetDisplayedName

SetDisplayedName sets field value

func (*ChatModelDetails) SetId

SetId sets field value

func (*ChatModelDetails) SetName

SetName sets field value

func (*ChatModelDetails) SetQuantizationMethod

SetQuantizationMethod gets a reference to the given string and assigns it to the QuantizationMethod field.

func (*ChatModelDetails) SetRegion

SetRegion sets field value

func (*ChatModelDetails) SetSize

SetSize sets field value

func (*ChatModelDetails) SetSkus

SetSkus sets field value

func (*ChatModelDetails) SetTags

SetTags sets field value

func (*ChatModelDetails) SetUrl

SetUrl sets field value

func (ChatModelDetails) ToMap

func (o ChatModelDetails) ToMap() (map[string]interface{}, error)

type ChatModelDetailsBits added in v0.3.0

type ChatModelDetailsBits int

ChatModelDetailsBits the model 'ChatModelDetails' value type for enums

const (
	CHATMODELDETAILSBITS_1Bit   ChatModelDetailsBits = 1
	CHATMODELDETAILSBITS_2Bits  ChatModelDetailsBits = 2
	CHATMODELDETAILSBITS_4Bits  ChatModelDetailsBits = 4
	CHATMODELDETAILSBITS_8Bits  ChatModelDetailsBits = 8
	CHATMODELDETAILSBITS_16Bits ChatModelDetailsBits = 16
)

List of Bits

func NewChatModelDetailsBitsFromValue added in v0.3.0

func NewChatModelDetailsBitsFromValue(v ChatModelDetailsBits) (*ChatModelDetailsBits, error)

NewChatModelDetailsBitsFromValue returns a pointer to a valid ChatModelDetailsBits for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ChatModelDetailsBits) IsValid added in v0.3.0

func (v ChatModelDetailsBits) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ChatModelDetailsBits) Ptr added in v0.3.0

Ptr returns reference to BitsBits value

func (*ChatModelDetailsBits) UnmarshalJSON added in v0.3.0

func (v *ChatModelDetailsBits) UnmarshalJSON(src []byte) error

type ChatModelDetailsCategory added in v0.3.0

type ChatModelDetailsCategory string

ChatModelDetailsCategory the model 'ChatModelDetails' value type for enums

const (
	CHATMODELDETAILSCATEGORY_STANDARD ChatModelDetailsCategory = "standard"
	CHATMODELDETAILSCATEGORY_PLUS     ChatModelDetailsCategory = "plus"
	CHATMODELDETAILSCATEGORY_PREMIUM  ChatModelDetailsCategory = "premium"
)

List of Category

func NewChatModelDetailsCategoryFromValue added in v0.3.0

func NewChatModelDetailsCategoryFromValue(v ChatModelDetailsCategory) (*ChatModelDetailsCategory, error)

NewChatModelDetailsCategoryFromValue returns a pointer to a valid ChatModelDetailsCategory for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ChatModelDetailsCategory) IsValid added in v0.3.0

func (v ChatModelDetailsCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ChatModelDetailsCategory) Ptr added in v0.3.0

Ptr returns reference to CategoryCategory value

func (*ChatModelDetailsCategory) UnmarshalJSON added in v0.3.0

func (v *ChatModelDetailsCategory) UnmarshalJSON(src []byte) error

type ChatModelDetailsGetBitsArgType added in v0.2.1

type ChatModelDetailsGetBitsArgType = ChatModelDetailsBits

type ChatModelDetailsGetBitsAttributeType added in v0.2.1

type ChatModelDetailsGetBitsAttributeType = *ChatModelDetailsBits

type ChatModelDetailsGetBitsRetType added in v0.2.1

type ChatModelDetailsGetBitsRetType = ChatModelDetailsBits

type ChatModelDetailsGetCategoryArgType added in v0.2.1

type ChatModelDetailsGetCategoryArgType = ChatModelDetailsCategory

type ChatModelDetailsGetCategoryAttributeType added in v0.2.1

type ChatModelDetailsGetCategoryAttributeType = *ChatModelDetailsCategory

type ChatModelDetailsGetCategoryRetType added in v0.2.1

type ChatModelDetailsGetCategoryRetType = ChatModelDetailsCategory

type ChatModelDetailsGetContextLengthArgType added in v0.2.1

type ChatModelDetailsGetContextLengthArgType = int64

type ChatModelDetailsGetContextLengthAttributeType added in v0.2.1

type ChatModelDetailsGetContextLengthAttributeType = *int64

isLong

type ChatModelDetailsGetContextLengthRetType added in v0.2.1

type ChatModelDetailsGetContextLengthRetType = int64

type ChatModelDetailsGetDescriptionArgType added in v0.2.1

type ChatModelDetailsGetDescriptionArgType = string

type ChatModelDetailsGetDescriptionAttributeType added in v0.2.1

type ChatModelDetailsGetDescriptionAttributeType = *string

isNotNullableString

type ChatModelDetailsGetDescriptionRetType added in v0.2.1

type ChatModelDetailsGetDescriptionRetType = string

type ChatModelDetailsGetDisplayedNameArgType added in v0.2.1

type ChatModelDetailsGetDisplayedNameArgType = string

type ChatModelDetailsGetDisplayedNameAttributeType added in v0.2.1

type ChatModelDetailsGetDisplayedNameAttributeType = *string

isNotNullableString

type ChatModelDetailsGetDisplayedNameRetType added in v0.2.1

type ChatModelDetailsGetDisplayedNameRetType = string

type ChatModelDetailsGetIdArgType added in v0.2.1

type ChatModelDetailsGetIdArgType = string

type ChatModelDetailsGetIdAttributeType added in v0.2.1

type ChatModelDetailsGetIdAttributeType = *string

isNotNullableString

type ChatModelDetailsGetIdRetType added in v0.2.1

type ChatModelDetailsGetIdRetType = string

type ChatModelDetailsGetNameArgType added in v0.2.1

type ChatModelDetailsGetNameArgType = string

type ChatModelDetailsGetNameAttributeType added in v0.2.1

type ChatModelDetailsGetNameAttributeType = *string

isNotNullableString

type ChatModelDetailsGetNameRetType added in v0.2.1

type ChatModelDetailsGetNameRetType = string

type ChatModelDetailsGetQuantizationMethodArgType added in v0.2.1

type ChatModelDetailsGetQuantizationMethodArgType = ChatModelDetailsQuantizationMethod

type ChatModelDetailsGetQuantizationMethodAttributeType added in v0.2.1

type ChatModelDetailsGetQuantizationMethodAttributeType = *ChatModelDetailsQuantizationMethod

type ChatModelDetailsGetQuantizationMethodRetType added in v0.2.1

type ChatModelDetailsGetQuantizationMethodRetType = ChatModelDetailsQuantizationMethod

type ChatModelDetailsGetRegionArgType added in v0.2.1

type ChatModelDetailsGetRegionArgType = string

type ChatModelDetailsGetRegionAttributeType added in v0.2.1

type ChatModelDetailsGetRegionAttributeType = *string

isNotNullableString

type ChatModelDetailsGetRegionRetType added in v0.2.1

type ChatModelDetailsGetRegionRetType = string

type ChatModelDetailsGetSizeArgType added in v0.2.1

type ChatModelDetailsGetSizeArgType = int64

type ChatModelDetailsGetSizeAttributeType added in v0.2.1

type ChatModelDetailsGetSizeAttributeType = *int64

isLong

type ChatModelDetailsGetSizeRetType added in v0.2.1

type ChatModelDetailsGetSizeRetType = int64

type ChatModelDetailsGetSkusArgType added in v0.2.1

type ChatModelDetailsGetSkusArgType = []SKU

type ChatModelDetailsGetSkusAttributeType added in v0.2.1

type ChatModelDetailsGetSkusAttributeType = *[]SKU

isArray

type ChatModelDetailsGetSkusRetType added in v0.2.1

type ChatModelDetailsGetSkusRetType = []SKU

type ChatModelDetailsGetTagsArgType added in v0.2.1

type ChatModelDetailsGetTagsArgType = []string

type ChatModelDetailsGetTagsAttributeType added in v0.2.1

type ChatModelDetailsGetTagsAttributeType = *[]string

isArray

type ChatModelDetailsGetTagsRetType added in v0.2.1

type ChatModelDetailsGetTagsRetType = []string

type ChatModelDetailsGetUrlArgType added in v0.2.1

type ChatModelDetailsGetUrlArgType = string

type ChatModelDetailsGetUrlAttributeType added in v0.2.1

type ChatModelDetailsGetUrlAttributeType = *string

isNotNullableString

type ChatModelDetailsGetUrlRetType added in v0.2.1

type ChatModelDetailsGetUrlRetType = string

type ChatModelDetailsQuantizationMethod added in v0.3.0

type ChatModelDetailsQuantizationMethod string

ChatModelDetailsQuantizationMethod the model 'ChatModelDetails' value type for enums

const (
	CHATMODELDETAILSQUANTIZATION_METHOD_PTQ ChatModelDetailsQuantizationMethod = "PTQ"
	CHATMODELDETAILSQUANTIZATION_METHOD_QAT ChatModelDetailsQuantizationMethod = "QAT"
)

List of QuantizationMethod

func NewChatModelDetailsQuantizationMethodFromValue added in v0.3.0

func NewChatModelDetailsQuantizationMethodFromValue(v ChatModelDetailsQuantizationMethod) (*ChatModelDetailsQuantizationMethod, error)

NewChatModelDetailsQuantizationMethodFromValue returns a pointer to a valid ChatModelDetailsQuantizationMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ChatModelDetailsQuantizationMethod) IsValid added in v0.3.0

IsValid return true if the value is valid for the enum, false otherwise

func (ChatModelDetailsQuantizationMethod) Ptr added in v0.3.0

Ptr returns reference to QuantizationMethodQuantizationMethod value

func (*ChatModelDetailsQuantizationMethod) UnmarshalJSON added in v0.3.0

func (v *ChatModelDetailsQuantizationMethod) UnmarshalJSON(src []byte) error

type CreateTokenPayload

type CreateTokenPayload struct {
	Description CreateTokenPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// REQUIRED
	Name CreateTokenPayloadGetNameAttributeType `json:"name" required:"true"`
	// time to live duration. Must be valid duration string. If not set the token will never expire.
	TtlDuration CreateTokenPayloadGetTtlDurationAttributeType `json:"ttlDuration,omitempty"`
}

CreateTokenPayload struct for CreateTokenPayload

func NewCreateTokenPayload

func NewCreateTokenPayload(name CreateTokenPayloadGetNameArgType) *CreateTokenPayload

NewCreateTokenPayload instantiates a new CreateTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTokenPayloadWithDefaults

func NewCreateTokenPayloadWithDefaults() *CreateTokenPayload

NewCreateTokenPayloadWithDefaults instantiates a new CreateTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTokenPayload) GetDescription

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateTokenPayload) GetDescriptionOk

func (o *CreateTokenPayload) GetDescriptionOk() (ret CreateTokenPayloadGetDescriptionRetType, ok bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTokenPayload) GetName

GetName returns the Name field value

func (*CreateTokenPayload) GetNameOk

func (o *CreateTokenPayload) GetNameOk() (ret CreateTokenPayloadGetNameRetType, ok bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateTokenPayload) GetTtlDuration

GetTtlDuration returns the TtlDuration field value if set, zero value otherwise.

func (*CreateTokenPayload) GetTtlDurationOk

func (o *CreateTokenPayload) GetTtlDurationOk() (ret CreateTokenPayloadGetTtlDurationRetType, ok bool)

GetTtlDurationOk returns a tuple with the TtlDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTokenPayload) HasDescription

func (o *CreateTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateTokenPayload) HasTtlDuration

func (o *CreateTokenPayload) HasTtlDuration() bool

HasTtlDuration returns a boolean if a field has been set.

func (*CreateTokenPayload) SetDescription

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateTokenPayload) SetName

SetName sets field value

func (*CreateTokenPayload) SetTtlDuration

SetTtlDuration gets a reference to the given string and assigns it to the TtlDuration field.

func (CreateTokenPayload) ToMap

func (o CreateTokenPayload) ToMap() (map[string]interface{}, error)

type CreateTokenPayloadGetDescriptionArgType added in v0.2.1

type CreateTokenPayloadGetDescriptionArgType = string

type CreateTokenPayloadGetDescriptionAttributeType added in v0.2.1

type CreateTokenPayloadGetDescriptionAttributeType = *string

isNotNullableString

type CreateTokenPayloadGetDescriptionRetType added in v0.2.1

type CreateTokenPayloadGetDescriptionRetType = string

type CreateTokenPayloadGetNameArgType added in v0.2.1

type CreateTokenPayloadGetNameArgType = string

type CreateTokenPayloadGetNameAttributeType added in v0.2.1

type CreateTokenPayloadGetNameAttributeType = *string

isNotNullableString

type CreateTokenPayloadGetNameRetType added in v0.2.1

type CreateTokenPayloadGetNameRetType = string

type CreateTokenPayloadGetTtlDurationArgType added in v0.2.1

type CreateTokenPayloadGetTtlDurationArgType = string

type CreateTokenPayloadGetTtlDurationAttributeType added in v0.2.1

type CreateTokenPayloadGetTtlDurationAttributeType = *string

isNotNullableString

type CreateTokenPayloadGetTtlDurationRetType added in v0.2.1

type CreateTokenPayloadGetTtlDurationRetType = string

type CreateTokenRequest added in v0.4.0

type CreateTokenRequest struct {
	// contains filtered or unexported fields
}

func (CreateTokenRequest) CreateTokenPayload added in v0.4.0

func (r CreateTokenRequest) CreateTokenPayload(createTokenPayload CreateTokenPayload) ApiCreateTokenRequest

func (CreateTokenRequest) Execute added in v0.4.0

type CreateTokenResponse

type CreateTokenResponse struct {
	Message CreateTokenResponseGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Token CreateTokenResponseGetTokenAttributeType `json:"token" required:"true"`
}

CreateTokenResponse struct for CreateTokenResponse

func NewCreateTokenResponse

func NewCreateTokenResponse(token CreateTokenResponseGetTokenArgType) *CreateTokenResponse

NewCreateTokenResponse instantiates a new CreateTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTokenResponseWithDefaults

func NewCreateTokenResponseWithDefaults() *CreateTokenResponse

NewCreateTokenResponseWithDefaults instantiates a new CreateTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTokenResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateTokenResponse) GetMessageOk

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

GetToken returns the Token field value

func (*CreateTokenResponse) GetTokenOk

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

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CreateTokenResponse) SetToken

SetToken sets field value

func (CreateTokenResponse) ToMap

func (o CreateTokenResponse) ToMap() (map[string]interface{}, error)

type CreateTokenResponseGetMessageArgType added in v0.2.1

type CreateTokenResponseGetMessageArgType = string

type CreateTokenResponseGetMessageAttributeType added in v0.2.1

type CreateTokenResponseGetMessageAttributeType = *string

isNotNullableString

type CreateTokenResponseGetMessageRetType added in v0.2.1

type CreateTokenResponseGetMessageRetType = string

type CreateTokenResponseGetTokenArgType added in v0.2.1

type CreateTokenResponseGetTokenArgType = TokenCreated

type CreateTokenResponseGetTokenAttributeType added in v0.2.1

type CreateTokenResponseGetTokenAttributeType = *TokenCreated

isModel

type CreateTokenResponseGetTokenRetType added in v0.2.1

type CreateTokenResponseGetTokenRetType = TokenCreated

type DefaultApi added in v0.4.0

type DefaultApi interface {
	/*
		CreateToken create auth token for shared model use
		create auth token for shared model use

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@return ApiCreateTokenRequest
	*/
	CreateToken(ctx context.Context, regionId string, projectId string) ApiCreateTokenRequest
	/*
		CreateTokenExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@return CreateTokenResponse

	*/
	CreateTokenExecute(ctx context.Context, regionId string, projectId string) (*CreateTokenResponse, error)
	/*
		DeleteToken delete auth token in shared model use
		delete auth token in shared model use

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@param tId token id
		@return ApiDeleteTokenRequest
	*/
	DeleteToken(ctx context.Context, regionId string, projectId string, tId string) ApiDeleteTokenRequest
	/*
		DeleteTokenExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@param tId token id
		@return MessageResponse

	*/
	DeleteTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*MessageResponse, error)
	/*
		GetChatModel details of a llm model
		details of a llm model

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param modelId model id
		@return ApiGetChatModelRequest
	*/
	GetChatModel(ctx context.Context, regionId string, modelId string) ApiGetChatModelRequest
	/*
		GetChatModelExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param modelId model id
		@return GetChatModelResponse

	*/
	GetChatModelExecute(ctx context.Context, regionId string, modelId string) (*GetChatModelResponse, error)
	/*
		GetEmbeddingModel details of an embedding model
		details of an embedding model

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param modelId model id
		@return ApiGetEmbeddingModelRequest
	*/
	GetEmbeddingModel(ctx context.Context, regionId string, modelId string) ApiGetEmbeddingModelRequest
	/*
		GetEmbeddingModelExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param modelId model id
		@return GetEmbeddingsModelResp

	*/
	GetEmbeddingModelExecute(ctx context.Context, regionId string, modelId string) (*GetEmbeddingsModelResp, error)
	/*
		GetToken get auth token for shared model use
		get auth token for shared model use

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@param tId token id
		@return ApiGetTokenRequest
	*/
	GetToken(ctx context.Context, regionId string, projectId string, tId string) ApiGetTokenRequest
	/*
		GetTokenExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@param tId token id
		@return GetTokenResponse

	*/
	GetTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*GetTokenResponse, error)
	/*
		ListModels List of shared model
		List of shared model

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@return ApiListModelsRequest
	*/
	ListModels(ctx context.Context, regionId string) ApiListModelsRequest
	/*
		ListModelsExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@return ListModelsResponse

	*/
	ListModelsExecute(ctx context.Context, regionId string) (*ListModelsResponse, error)
	/*
		ListTokens auth tokens for shared model in non dedicated instances
		auth tokens for shared model in non dedicated instances

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@return ApiListTokensRequest
	*/
	ListTokens(ctx context.Context, regionId string, projectId string) ApiListTokensRequest
	/*
		ListTokensExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@return ListTokenResp

	*/
	ListTokensExecute(ctx context.Context, regionId string, projectId string) (*ListTokenResp, error)
	/*
		PartialUpdateToken partial update auth token for shared model use
		partial update auth token for shared model use

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@param tId token id
		@return ApiPartialUpdateTokenRequest
	*/
	PartialUpdateToken(ctx context.Context, regionId string, projectId string, tId string) ApiPartialUpdateTokenRequest
	/*
		PartialUpdateTokenExecute executes the request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param regionId region name
		@param projectId portal project id
		@param tId token id
		@return UpdateTokenResponse

	*/
	PartialUpdateTokenExecute(ctx context.Context, regionId string, projectId string, tId string) (*UpdateTokenResponse, error)
}

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type DeleteTokenRequest added in v0.4.0

type DeleteTokenRequest struct {
	// contains filtered or unexported fields
}

func (DeleteTokenRequest) Execute added in v0.4.0

func (r DeleteTokenRequest) Execute() (*MessageResponse, error)

type EmbeddingModelDetails

type EmbeddingModelDetails struct {
	// REQUIRED
	Category EmbeddingModelDetailsGetCategoryAttributeType `json:"category" required:"true"`
	// REQUIRED
	Description EmbeddingModelDetailsGetDescriptionAttributeType `json:"description" required:"true"`
	// REQUIRED
	DisplayedName EmbeddingModelDetailsGetDisplayedNameAttributeType `json:"displayedName" required:"true"`
	// generated uuid to identify a model
	// REQUIRED
	Id EmbeddingModelDetailsGetIdAttributeType `json:"id" required:"true"`
	// huggingface name
	// REQUIRED
	Name EmbeddingModelDetailsGetNameAttributeType `json:"name" required:"true"`
	// REQUIRED
	OutputDimension EmbeddingModelDetailsGetOutputDimensionAttributeType `json:"outputDimension" required:"true"`
	// REQUIRED
	Region EmbeddingModelDetailsGetRegionAttributeType `json:"region" required:"true"`
	// REQUIRED
	Skus EmbeddingModelDetailsGetSkusAttributeType `json:"skus" required:"true"`
	Tags EmbeddingModelDetailsGetTagsAttributeType `json:"tags,omitempty"`
	// url of the model
	// REQUIRED
	Url EmbeddingModelDetailsGetUrlAttributeType `json:"url" required:"true"`
}

EmbeddingModelDetails struct for EmbeddingModelDetails

func NewEmbeddingModelDetails

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

GetCategory returns the Category field value

func (*EmbeddingModelDetails) GetCategoryOk

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetDescription

GetDescription returns the Description field value

func (*EmbeddingModelDetails) GetDescriptionOk

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetDisplayedName

GetDisplayedName returns the DisplayedName field value

func (*EmbeddingModelDetails) GetDisplayedNameOk

GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetId

GetId returns the Id field value

func (*EmbeddingModelDetails) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetName

GetName returns the Name field value

func (*EmbeddingModelDetails) GetNameOk

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetOutputDimension

GetOutputDimension returns the OutputDimension field value

func (*EmbeddingModelDetails) GetOutputDimensionOk

GetOutputDimensionOk returns a tuple with the OutputDimension field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetRegion

GetRegion returns the Region field value

func (*EmbeddingModelDetails) GetRegionOk

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetSkus

GetSkus returns the Skus field value

func (*EmbeddingModelDetails) GetSkusOk

GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.

func (*EmbeddingModelDetails) GetTags

GetTags returns the Tags field value if set, zero value otherwise.

func (*EmbeddingModelDetails) 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 (*EmbeddingModelDetails) GetUrl

GetUrl returns the Url field value

func (*EmbeddingModelDetails) GetUrlOk

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

SetCategory sets field value

func (*EmbeddingModelDetails) SetDescription

SetDescription sets field value

func (*EmbeddingModelDetails) SetDisplayedName

SetDisplayedName sets field value

func (*EmbeddingModelDetails) SetId

SetId sets field value

func (*EmbeddingModelDetails) SetName

SetName sets field value

func (*EmbeddingModelDetails) SetOutputDimension

SetOutputDimension sets field value

func (*EmbeddingModelDetails) SetRegion

SetRegion sets field value

func (*EmbeddingModelDetails) SetSkus

SetSkus sets field value

func (*EmbeddingModelDetails) SetTags

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*EmbeddingModelDetails) SetUrl

SetUrl sets field value

func (EmbeddingModelDetails) ToMap

func (o EmbeddingModelDetails) ToMap() (map[string]interface{}, error)

type EmbeddingModelDetailsCategory added in v0.3.0

type EmbeddingModelDetailsCategory string

EmbeddingModelDetailsCategory the model 'EmbeddingModelDetails' value type for enums

const (
	EMBEDDINGMODELDETAILSCATEGORY_STANDARD EmbeddingModelDetailsCategory = "standard"
	EMBEDDINGMODELDETAILSCATEGORY_PLUS     EmbeddingModelDetailsCategory = "plus"
	EMBEDDINGMODELDETAILSCATEGORY_PREMIUM  EmbeddingModelDetailsCategory = "premium"
)

List of Category

func NewEmbeddingModelDetailsCategoryFromValue added in v0.3.0

func NewEmbeddingModelDetailsCategoryFromValue(v EmbeddingModelDetailsCategory) (*EmbeddingModelDetailsCategory, error)

NewEmbeddingModelDetailsCategoryFromValue returns a pointer to a valid EmbeddingModelDetailsCategory for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EmbeddingModelDetailsCategory) IsValid added in v0.3.0

func (v EmbeddingModelDetailsCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (EmbeddingModelDetailsCategory) Ptr added in v0.3.0

Ptr returns reference to CategoryCategory value

func (*EmbeddingModelDetailsCategory) UnmarshalJSON added in v0.3.0

func (v *EmbeddingModelDetailsCategory) UnmarshalJSON(src []byte) error

type EmbeddingModelDetailsGetCategoryArgType added in v0.2.1

type EmbeddingModelDetailsGetCategoryArgType = EmbeddingModelDetailsCategory

type EmbeddingModelDetailsGetCategoryAttributeType added in v0.2.1

type EmbeddingModelDetailsGetCategoryAttributeType = *EmbeddingModelDetailsCategory

type EmbeddingModelDetailsGetCategoryRetType added in v0.2.1

type EmbeddingModelDetailsGetCategoryRetType = EmbeddingModelDetailsCategory

type EmbeddingModelDetailsGetDescriptionArgType added in v0.2.1

type EmbeddingModelDetailsGetDescriptionArgType = string

type EmbeddingModelDetailsGetDescriptionAttributeType added in v0.2.1

type EmbeddingModelDetailsGetDescriptionAttributeType = *string

isNotNullableString

type EmbeddingModelDetailsGetDescriptionRetType added in v0.2.1

type EmbeddingModelDetailsGetDescriptionRetType = string

type EmbeddingModelDetailsGetDisplayedNameArgType added in v0.2.1

type EmbeddingModelDetailsGetDisplayedNameArgType = string

type EmbeddingModelDetailsGetDisplayedNameAttributeType added in v0.2.1

type EmbeddingModelDetailsGetDisplayedNameAttributeType = *string

isNotNullableString

type EmbeddingModelDetailsGetDisplayedNameRetType added in v0.2.1

type EmbeddingModelDetailsGetDisplayedNameRetType = string

type EmbeddingModelDetailsGetIdArgType added in v0.2.1

type EmbeddingModelDetailsGetIdArgType = string

type EmbeddingModelDetailsGetIdAttributeType added in v0.2.1

type EmbeddingModelDetailsGetIdAttributeType = *string

isNotNullableString

type EmbeddingModelDetailsGetIdRetType added in v0.2.1

type EmbeddingModelDetailsGetIdRetType = string

type EmbeddingModelDetailsGetNameArgType added in v0.2.1

type EmbeddingModelDetailsGetNameArgType = string

type EmbeddingModelDetailsGetNameAttributeType added in v0.2.1

type EmbeddingModelDetailsGetNameAttributeType = *string

isNotNullableString

type EmbeddingModelDetailsGetNameRetType added in v0.2.1

type EmbeddingModelDetailsGetNameRetType = string

type EmbeddingModelDetailsGetOutputDimensionArgType added in v0.2.1

type EmbeddingModelDetailsGetOutputDimensionArgType = int64

type EmbeddingModelDetailsGetOutputDimensionAttributeType added in v0.2.1

type EmbeddingModelDetailsGetOutputDimensionAttributeType = *int64

isLong

type EmbeddingModelDetailsGetOutputDimensionRetType added in v0.2.1

type EmbeddingModelDetailsGetOutputDimensionRetType = int64

type EmbeddingModelDetailsGetRegionArgType added in v0.2.1

type EmbeddingModelDetailsGetRegionArgType = string

type EmbeddingModelDetailsGetRegionAttributeType added in v0.2.1

type EmbeddingModelDetailsGetRegionAttributeType = *string

isNotNullableString

type EmbeddingModelDetailsGetRegionRetType added in v0.2.1

type EmbeddingModelDetailsGetRegionRetType = string

type EmbeddingModelDetailsGetSkusArgType added in v0.2.1

type EmbeddingModelDetailsGetSkusArgType = []SKU

type EmbeddingModelDetailsGetSkusAttributeType added in v0.2.1

type EmbeddingModelDetailsGetSkusAttributeType = *[]SKU

isArray

type EmbeddingModelDetailsGetSkusRetType added in v0.2.1

type EmbeddingModelDetailsGetSkusRetType = []SKU

type EmbeddingModelDetailsGetTagsArgType added in v0.2.1

type EmbeddingModelDetailsGetTagsArgType = []string

type EmbeddingModelDetailsGetTagsAttributeType added in v0.2.1

type EmbeddingModelDetailsGetTagsAttributeType = *[]string

isArray

type EmbeddingModelDetailsGetTagsRetType added in v0.2.1

type EmbeddingModelDetailsGetTagsRetType = []string

type EmbeddingModelDetailsGetUrlArgType added in v0.2.1

type EmbeddingModelDetailsGetUrlArgType = string

type EmbeddingModelDetailsGetUrlAttributeType added in v0.2.1

type EmbeddingModelDetailsGetUrlAttributeType = *string

isNotNullableString

type EmbeddingModelDetailsGetUrlRetType added in v0.2.1

type EmbeddingModelDetailsGetUrlRetType = string

type ErrorMessageResponse

type ErrorMessageResponse struct {
	Error   ErrorMessageResponseGetErrorAttributeType   `json:"error,omitempty"`
	Message ErrorMessageResponseGetMessageAttributeType `json:"message,omitempty"`
}

ErrorMessageResponse struct for ErrorMessageResponse

func NewErrorMessageResponse

func NewErrorMessageResponse() *ErrorMessageResponse

NewErrorMessageResponse instantiates a new ErrorMessageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorMessageResponseWithDefaults

func NewErrorMessageResponseWithDefaults() *ErrorMessageResponse

NewErrorMessageResponseWithDefaults instantiates a new ErrorMessageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorMessageResponse) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorMessageResponse) GetErrorOk

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

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorMessageResponse) GetMessageOk

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

SetError gets a reference to the given string and assigns it to the Error field.

func (*ErrorMessageResponse) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorMessageResponse) ToMap

func (o ErrorMessageResponse) ToMap() (map[string]interface{}, error)

type ErrorMessageResponseGetErrorArgType added in v0.2.1

type ErrorMessageResponseGetErrorArgType = string

type ErrorMessageResponseGetErrorAttributeType added in v0.2.1

type ErrorMessageResponseGetErrorAttributeType = *string

isNotNullableString

type ErrorMessageResponseGetErrorRetType added in v0.2.1

type ErrorMessageResponseGetErrorRetType = string

type ErrorMessageResponseGetMessageArgType added in v0.2.1

type ErrorMessageResponseGetMessageArgType = string

type ErrorMessageResponseGetMessageAttributeType added in v0.2.1

type ErrorMessageResponseGetMessageAttributeType = *string

isNotNullableString

type ErrorMessageResponseGetMessageRetType added in v0.2.1

type ErrorMessageResponseGetMessageRetType = string

type GetChatModelRequest added in v0.4.0

type GetChatModelRequest struct {
	// contains filtered or unexported fields
}

func (GetChatModelRequest) Execute added in v0.4.0

type GetChatModelResponse

type GetChatModelResponse struct {
	Message GetChatModelResponseGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Model GetChatModelResponseGetModelAttributeType `json:"model" required:"true"`
}

GetChatModelResponse struct for GetChatModelResponse

func NewGetChatModelResponse

func NewGetChatModelResponse(model GetChatModelResponseGetModelArgType) *GetChatModelResponse

NewGetChatModelResponse instantiates a new GetChatModelResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetChatModelResponseWithDefaults

func NewGetChatModelResponseWithDefaults() *GetChatModelResponse

NewGetChatModelResponseWithDefaults instantiates a new GetChatModelResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetChatModelResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetChatModelResponse) GetMessageOk

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

GetModel returns the Model field value

func (*GetChatModelResponse) GetModelOk

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

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetChatModelResponse) SetModel

SetModel sets field value

func (GetChatModelResponse) ToMap

func (o GetChatModelResponse) ToMap() (map[string]interface{}, error)

type GetChatModelResponseGetMessageArgType added in v0.2.1

type GetChatModelResponseGetMessageArgType = string

type GetChatModelResponseGetMessageAttributeType added in v0.2.1

type GetChatModelResponseGetMessageAttributeType = *string

isNotNullableString

type GetChatModelResponseGetMessageRetType added in v0.2.1

type GetChatModelResponseGetMessageRetType = string

type GetChatModelResponseGetModelArgType added in v0.2.1

type GetChatModelResponseGetModelArgType = ChatModelDetails

type GetChatModelResponseGetModelAttributeType added in v0.2.1

type GetChatModelResponseGetModelAttributeType = *ChatModelDetails

isModel

type GetChatModelResponseGetModelRetType added in v0.2.1

type GetChatModelResponseGetModelRetType = ChatModelDetails

type GetEmbeddingModelRequest added in v0.4.0

type GetEmbeddingModelRequest struct {
	// contains filtered or unexported fields
}

func (GetEmbeddingModelRequest) Execute added in v0.4.0

type GetEmbeddingsModelResp

type GetEmbeddingsModelResp struct {
	Message GetEmbeddingsModelRespGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Model GetEmbeddingsModelRespGetModelAttributeType `json:"model" required:"true"`
}

GetEmbeddingsModelResp struct for GetEmbeddingsModelResp

func NewGetEmbeddingsModelResp

func NewGetEmbeddingsModelResp(model GetEmbeddingsModelRespGetModelArgType) *GetEmbeddingsModelResp

NewGetEmbeddingsModelResp instantiates a new GetEmbeddingsModelResp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetEmbeddingsModelRespWithDefaults

func NewGetEmbeddingsModelRespWithDefaults() *GetEmbeddingsModelResp

NewGetEmbeddingsModelRespWithDefaults instantiates a new GetEmbeddingsModelResp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetEmbeddingsModelResp) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetEmbeddingsModelResp) GetMessageOk

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

GetModel returns the Model field value

func (*GetEmbeddingsModelResp) GetModelOk

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

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetEmbeddingsModelResp) SetModel

SetModel sets field value

func (GetEmbeddingsModelResp) ToMap

func (o GetEmbeddingsModelResp) ToMap() (map[string]interface{}, error)

type GetEmbeddingsModelRespGetMessageArgType added in v0.2.1

type GetEmbeddingsModelRespGetMessageArgType = string

type GetEmbeddingsModelRespGetMessageAttributeType added in v0.2.1

type GetEmbeddingsModelRespGetMessageAttributeType = *string

isNotNullableString

type GetEmbeddingsModelRespGetMessageRetType added in v0.2.1

type GetEmbeddingsModelRespGetMessageRetType = string

type GetEmbeddingsModelRespGetModelArgType added in v0.2.1

type GetEmbeddingsModelRespGetModelArgType = EmbeddingModelDetails

type GetEmbeddingsModelRespGetModelAttributeType added in v0.2.1

type GetEmbeddingsModelRespGetModelAttributeType = *EmbeddingModelDetails

isModel

type GetEmbeddingsModelRespGetModelRetType added in v0.2.1

type GetEmbeddingsModelRespGetModelRetType = EmbeddingModelDetails

type GetTokenRequest added in v0.4.0

type GetTokenRequest struct {
	// contains filtered or unexported fields
}

func (GetTokenRequest) Execute added in v0.4.0

func (r GetTokenRequest) Execute() (*GetTokenResponse, error)

type GetTokenResponse

type GetTokenResponse struct {
	Message GetTokenResponseGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Token GetTokenResponseGetTokenAttributeType `json:"token" required:"true"`
}

GetTokenResponse struct for GetTokenResponse

func NewGetTokenResponse

func NewGetTokenResponse(token GetTokenResponseGetTokenArgType) *GetTokenResponse

NewGetTokenResponse instantiates a new GetTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetTokenResponseWithDefaults

func NewGetTokenResponseWithDefaults() *GetTokenResponse

NewGetTokenResponseWithDefaults instantiates a new GetTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetTokenResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetTokenResponse) GetMessageOk

func (o *GetTokenResponse) GetMessageOk() (ret GetTokenResponseGetMessageRetType, ok bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTokenResponse) GetToken

GetToken returns the Token field value

func (*GetTokenResponse) GetTokenOk

func (o *GetTokenResponse) GetTokenOk() (ret GetTokenResponseGetTokenRetType, ok bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*GetTokenResponse) HasMessage

func (o *GetTokenResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GetTokenResponse) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetTokenResponse) SetToken

SetToken sets field value

func (GetTokenResponse) ToMap

func (o GetTokenResponse) ToMap() (map[string]interface{}, error)

type GetTokenResponseGetMessageArgType added in v0.2.1

type GetTokenResponseGetMessageArgType = string

type GetTokenResponseGetMessageAttributeType added in v0.2.1

type GetTokenResponseGetMessageAttributeType = *string

isNotNullableString

type GetTokenResponseGetMessageRetType added in v0.2.1

type GetTokenResponseGetMessageRetType = string

type GetTokenResponseGetTokenArgType added in v0.2.1

type GetTokenResponseGetTokenArgType = Token

type GetTokenResponseGetTokenAttributeType added in v0.2.1

type GetTokenResponseGetTokenAttributeType = *Token

isModel

type GetTokenResponseGetTokenRetType added in v0.2.1

type GetTokenResponseGetTokenRetType = Token

type ListModelsRequest added in v0.4.0

type ListModelsRequest struct {
	// contains filtered or unexported fields
}

func (ListModelsRequest) Execute added in v0.4.0

func (r ListModelsRequest) Execute() (*ListModelsResponse, error)

type ListModelsResponse

type ListModelsResponse struct {
	Message ListModelsResponseGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Models ListModelsResponseGetModelsAttributeType `json:"models" required:"true"`
}

ListModelsResponse struct for ListModelsResponse

func NewListModelsResponse

func NewListModelsResponse(models ListModelsResponseGetModelsArgType) *ListModelsResponse

NewListModelsResponse instantiates a new ListModelsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListModelsResponseWithDefaults

func NewListModelsResponseWithDefaults() *ListModelsResponse

NewListModelsResponseWithDefaults instantiates a new ListModelsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListModelsResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListModelsResponse) GetMessageOk

func (o *ListModelsResponse) GetMessageOk() (ret ListModelsResponseGetMessageRetType, ok bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListModelsResponse) GetModels

GetModels returns the Models field value

func (*ListModelsResponse) GetModelsOk

func (o *ListModelsResponse) GetModelsOk() (ret ListModelsResponseGetModelsRetType, ok bool)

GetModelsOk returns a tuple with the Models field value and a boolean to check if the value has been set.

func (*ListModelsResponse) HasMessage

func (o *ListModelsResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListModelsResponse) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListModelsResponse) SetModels

SetModels sets field value

func (ListModelsResponse) ToMap

func (o ListModelsResponse) ToMap() (map[string]interface{}, error)

type ListModelsResponseGetMessageArgType added in v0.2.1

type ListModelsResponseGetMessageArgType = string

type ListModelsResponseGetMessageAttributeType added in v0.2.1

type ListModelsResponseGetMessageAttributeType = *string

isNotNullableString

type ListModelsResponseGetMessageRetType added in v0.2.1

type ListModelsResponseGetMessageRetType = string

type ListModelsResponseGetModelsArgType added in v0.2.1

type ListModelsResponseGetModelsArgType = []Model

type ListModelsResponseGetModelsAttributeType added in v0.2.1

type ListModelsResponseGetModelsAttributeType = *[]Model

isArray

type ListModelsResponseGetModelsRetType added in v0.2.1

type ListModelsResponseGetModelsRetType = []Model

type ListTokenResp

type ListTokenResp struct {
	Message ListTokenRespGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Tokens ListTokenRespGetTokensAttributeType `json:"tokens" required:"true"`
}

ListTokenResp struct for ListTokenResp

func NewListTokenResp

func NewListTokenResp(tokens ListTokenRespGetTokensArgType) *ListTokenResp

NewListTokenResp instantiates a new ListTokenResp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTokenRespWithDefaults

func NewListTokenRespWithDefaults() *ListTokenResp

NewListTokenRespWithDefaults instantiates a new ListTokenResp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTokenResp) GetMessage

func (o *ListTokenResp) GetMessage() (res ListTokenRespGetMessageRetType)

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListTokenResp) GetMessageOk

func (o *ListTokenResp) GetMessageOk() (ret ListTokenRespGetMessageRetType, ok bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListTokenResp) GetTokens

func (o *ListTokenResp) GetTokens() (ret ListTokenRespGetTokensRetType)

GetTokens returns the Tokens field value

func (*ListTokenResp) GetTokensOk

func (o *ListTokenResp) GetTokensOk() (ret ListTokenRespGetTokensRetType, ok bool)

GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.

func (*ListTokenResp) HasMessage

func (o *ListTokenResp) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListTokenResp) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListTokenResp) SetTokens

SetTokens sets field value

func (ListTokenResp) ToMap

func (o ListTokenResp) ToMap() (map[string]interface{}, error)

type ListTokenRespGetMessageArgType added in v0.2.1

type ListTokenRespGetMessageArgType = string

type ListTokenRespGetMessageAttributeType added in v0.2.1

type ListTokenRespGetMessageAttributeType = *string

isNotNullableString

type ListTokenRespGetMessageRetType added in v0.2.1

type ListTokenRespGetMessageRetType = string

type ListTokenRespGetTokensArgType added in v0.2.1

type ListTokenRespGetTokensArgType = []Token

type ListTokenRespGetTokensAttributeType added in v0.2.1

type ListTokenRespGetTokensAttributeType = *[]Token

isArray

type ListTokenRespGetTokensRetType added in v0.2.1

type ListTokenRespGetTokensRetType = []Token

type ListTokensRequest added in v0.4.0

type ListTokensRequest struct {
	// contains filtered or unexported fields
}

func (ListTokensRequest) Execute added in v0.4.0

func (r ListTokensRequest) Execute() (*ListTokenResp, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MessageResponse

type MessageResponse struct {
	Message MessageResponseGetMessageAttributeType `json:"message,omitempty"`
}

MessageResponse struct for MessageResponse

func NewMessageResponse

func NewMessageResponse() *MessageResponse

NewMessageResponse instantiates a new MessageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMessageResponseWithDefaults

func NewMessageResponseWithDefaults() *MessageResponse

NewMessageResponseWithDefaults instantiates a new MessageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MessageResponse) GetMessage

func (o *MessageResponse) GetMessage() (res MessageResponseGetMessageRetType)

GetMessage returns the Message field value if set, zero value otherwise.

func (*MessageResponse) GetMessageOk

func (o *MessageResponse) GetMessageOk() (ret MessageResponseGetMessageRetType, ok bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageResponse) HasMessage

func (o *MessageResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*MessageResponse) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (MessageResponse) ToMap

func (o MessageResponse) ToMap() (map[string]interface{}, error)

type MessageResponseGetMessageArgType added in v0.2.1

type MessageResponseGetMessageArgType = string

type MessageResponseGetMessageAttributeType added in v0.2.1

type MessageResponseGetMessageAttributeType = *string

isNotNullableString

type MessageResponseGetMessageRetType added in v0.2.1

type MessageResponseGetMessageRetType = string

type Model

type Model struct {
	// REQUIRED
	Category ModelGetCategoryAttributeType `json:"category" required:"true"`
	// REQUIRED
	Description ModelGetDescriptionAttributeType `json:"description" required:"true"`
	// REQUIRED
	DisplayedName ModelGetDisplayedNameAttributeType `json:"displayedName" required:"true"`
	// generated uuid to identify a model
	// REQUIRED
	Id ModelGetIdAttributeType `json:"id" required:"true"`
	// huggingface name
	// REQUIRED
	Name ModelGetNameAttributeType `json:"name" required:"true"`
	// REQUIRED
	Region ModelGetRegionAttributeType `json:"region" required:"true"`
	// REQUIRED
	Skus ModelGetSkusAttributeType `json:"skus" required:"true"`
	Tags ModelGetTagsAttributeType `json:"tags,omitempty"`
	// REQUIRED
	Type ModelGetTypeAttributeType `json:"type" required:"true"`
	// url of the model
	// REQUIRED
	Url ModelGetUrlAttributeType `json:"url" required:"true"`
}

Model struct for Model

func NewModel

NewModel instantiates a new Model object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModelWithDefaults

func NewModelWithDefaults() *Model

NewModelWithDefaults instantiates a new Model object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Model) GetCategory

func (o *Model) GetCategory() (ret ModelGetCategoryRetType)

GetCategory returns the Category field value

func (*Model) GetCategoryOk

func (o *Model) GetCategoryOk() (ret ModelGetCategoryRetType, ok bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*Model) GetDescription

func (o *Model) GetDescription() (ret ModelGetDescriptionRetType)

GetDescription returns the Description field value

func (*Model) GetDescriptionOk

func (o *Model) GetDescriptionOk() (ret ModelGetDescriptionRetType, ok bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*Model) GetDisplayedName

func (o *Model) GetDisplayedName() (ret ModelGetDisplayedNameRetType)

GetDisplayedName returns the DisplayedName field value

func (*Model) GetDisplayedNameOk

func (o *Model) GetDisplayedNameOk() (ret ModelGetDisplayedNameRetType, ok bool)

GetDisplayedNameOk returns a tuple with the DisplayedName field value and a boolean to check if the value has been set.

func (*Model) GetId

func (o *Model) GetId() (ret ModelGetIdRetType)

GetId returns the Id field value

func (*Model) GetIdOk

func (o *Model) GetIdOk() (ret ModelGetIdRetType, ok bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Model) GetName

func (o *Model) GetName() (ret ModelGetNameRetType)

GetName returns the Name field value

func (*Model) GetNameOk

func (o *Model) GetNameOk() (ret ModelGetNameRetType, ok bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Model) GetRegion

func (o *Model) GetRegion() (ret ModelGetRegionRetType)

GetRegion returns the Region field value

func (*Model) GetRegionOk

func (o *Model) GetRegionOk() (ret ModelGetRegionRetType, ok bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*Model) GetSkus

func (o *Model) GetSkus() (ret ModelGetSkusRetType)

GetSkus returns the Skus field value

func (*Model) GetSkusOk

func (o *Model) GetSkusOk() (ret ModelGetSkusRetType, ok bool)

GetSkusOk returns a tuple with the Skus field value and a boolean to check if the value has been set.

func (*Model) GetTags

func (o *Model) GetTags() (res ModelGetTagsRetType)

GetTags returns the Tags field value if set, zero value otherwise.

func (*Model) GetTagsOk

func (o *Model) GetTagsOk() (ret ModelGetTagsRetType, ok bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model) GetType

func (o *Model) GetType() (ret ModelGetTypeRetType)

GetType returns the Type field value

func (*Model) GetTypeOk

func (o *Model) GetTypeOk() (ret ModelGetTypeRetType, ok bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Model) GetUrl

func (o *Model) GetUrl() (ret ModelGetUrlRetType)

GetUrl returns the Url field value

func (*Model) GetUrlOk

func (o *Model) GetUrlOk() (ret ModelGetUrlRetType, ok bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*Model) HasTags

func (o *Model) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Model) SetCategory

func (o *Model) SetCategory(v ModelGetCategoryRetType)

SetCategory sets field value

func (*Model) SetDescription

func (o *Model) SetDescription(v ModelGetDescriptionRetType)

SetDescription sets field value

func (*Model) SetDisplayedName

func (o *Model) SetDisplayedName(v ModelGetDisplayedNameRetType)

SetDisplayedName sets field value

func (*Model) SetId

func (o *Model) SetId(v ModelGetIdRetType)

SetId sets field value

func (*Model) SetName

func (o *Model) SetName(v ModelGetNameRetType)

SetName sets field value

func (*Model) SetRegion

func (o *Model) SetRegion(v ModelGetRegionRetType)

SetRegion sets field value

func (*Model) SetSkus

func (o *Model) SetSkus(v ModelGetSkusRetType)

SetSkus sets field value

func (*Model) SetTags

func (o *Model) SetTags(v ModelGetTagsRetType)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Model) SetType

func (o *Model) SetType(v ModelGetTypeRetType)

SetType sets field value

func (*Model) SetUrl

func (o *Model) SetUrl(v ModelGetUrlRetType)

SetUrl sets field value

func (Model) ToMap

func (o Model) ToMap() (map[string]interface{}, error)

type ModelCategory added in v0.3.0

type ModelCategory string

ModelCategory the model 'Model' value type for enums

const (
	MODELCATEGORY_STANDARD ModelCategory = "standard"
	MODELCATEGORY_PLUS     ModelCategory = "plus"
	MODELCATEGORY_PREMIUM  ModelCategory = "premium"
)

List of Category

func NewModelCategoryFromValue added in v0.3.0

func NewModelCategoryFromValue(v ModelCategory) (*ModelCategory, error)

NewModelCategoryFromValue returns a pointer to a valid ModelCategory for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ModelCategory) IsValid added in v0.3.0

func (v ModelCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ModelCategory) Ptr added in v0.3.0

func (v ModelCategory) Ptr() *ModelCategory

Ptr returns reference to CategoryCategory value

func (*ModelCategory) UnmarshalJSON added in v0.3.0

func (v *ModelCategory) UnmarshalJSON(src []byte) error

type ModelGetCategoryArgType added in v0.2.1

type ModelGetCategoryArgType = ModelCategory

type ModelGetCategoryAttributeType added in v0.2.1

type ModelGetCategoryAttributeType = *ModelCategory

type ModelGetCategoryRetType added in v0.2.1

type ModelGetCategoryRetType = ModelCategory

type ModelGetDescriptionArgType added in v0.2.1

type ModelGetDescriptionArgType = string

type ModelGetDescriptionAttributeType added in v0.2.1

type ModelGetDescriptionAttributeType = *string

isNotNullableString

type ModelGetDescriptionRetType added in v0.2.1

type ModelGetDescriptionRetType = string

type ModelGetDisplayedNameArgType added in v0.2.1

type ModelGetDisplayedNameArgType = string

type ModelGetDisplayedNameAttributeType added in v0.2.1

type ModelGetDisplayedNameAttributeType = *string

isNotNullableString

type ModelGetDisplayedNameRetType added in v0.2.1

type ModelGetDisplayedNameRetType = string

type ModelGetIdArgType added in v0.2.1

type ModelGetIdArgType = string

type ModelGetIdAttributeType added in v0.2.1

type ModelGetIdAttributeType = *string

isNotNullableString

type ModelGetIdRetType added in v0.2.1

type ModelGetIdRetType = string

type ModelGetNameArgType added in v0.2.1

type ModelGetNameArgType = string

type ModelGetNameAttributeType added in v0.2.1

type ModelGetNameAttributeType = *string

isNotNullableString

type ModelGetNameRetType added in v0.2.1

type ModelGetNameRetType = string

type ModelGetRegionArgType added in v0.2.1

type ModelGetRegionArgType = string

type ModelGetRegionAttributeType added in v0.2.1

type ModelGetRegionAttributeType = *string

isNotNullableString

type ModelGetRegionRetType added in v0.2.1

type ModelGetRegionRetType = string

type ModelGetSkusArgType added in v0.2.1

type ModelGetSkusArgType = []SKU

type ModelGetSkusAttributeType added in v0.2.1

type ModelGetSkusAttributeType = *[]SKU

isArray

type ModelGetSkusRetType added in v0.2.1

type ModelGetSkusRetType = []SKU

type ModelGetTagsArgType added in v0.2.1

type ModelGetTagsArgType = []string

type ModelGetTagsAttributeType added in v0.2.1

type ModelGetTagsAttributeType = *[]string

isArray

type ModelGetTagsRetType added in v0.2.1

type ModelGetTagsRetType = []string

type ModelGetTypeArgType added in v0.2.1

type ModelGetTypeArgType = ModelTypes

type ModelGetTypeAttributeType added in v0.2.1

type ModelGetTypeAttributeType = *ModelTypes

type ModelGetTypeRetType added in v0.2.1

type ModelGetTypeRetType = ModelTypes

type ModelGetUrlArgType added in v0.2.1

type ModelGetUrlArgType = string

type ModelGetUrlAttributeType added in v0.2.1

type ModelGetUrlAttributeType = *string

isNotNullableString

type ModelGetUrlRetType added in v0.2.1

type ModelGetUrlRetType = string

type ModelTypes added in v0.3.0

type ModelTypes string

ModelTypes the model 'Model' value type for enums

const (
	MODELTYPE_CHAT      ModelTypes = "chat"
	MODELTYPE_EMBEDDING ModelTypes = "embedding"
)

List of Type

func NewModelTypesFromValue added in v0.3.0

func NewModelTypesFromValue(v ModelTypes) (*ModelTypes, error)

NewModelTypesFromValue returns a pointer to a valid ModelTypes for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ModelTypes) IsValid added in v0.3.0

func (v ModelTypes) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ModelTypes) Ptr added in v0.3.0

func (v ModelTypes) Ptr() *ModelTypes

Ptr returns reference to TypeTypes value

func (*ModelTypes) UnmarshalJSON added in v0.3.0

func (v *ModelTypes) UnmarshalJSON(src []byte) error

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableChatModelDetails

type NullableChatModelDetails struct {
	// contains filtered or unexported fields
}

func NewNullableChatModelDetails

func NewNullableChatModelDetails(val *ChatModelDetails) *NullableChatModelDetails

func (NullableChatModelDetails) Get

func (NullableChatModelDetails) IsSet

func (v NullableChatModelDetails) IsSet() bool

func (NullableChatModelDetails) MarshalJSON

func (v NullableChatModelDetails) MarshalJSON() ([]byte, error)

func (*NullableChatModelDetails) Set

func (*NullableChatModelDetails) UnmarshalJSON

func (v *NullableChatModelDetails) UnmarshalJSON(src []byte) error

func (*NullableChatModelDetails) Unset

func (v *NullableChatModelDetails) Unset()

type NullableChatModelDetailsBits added in v0.3.0

type NullableChatModelDetailsBits struct {
	// contains filtered or unexported fields
}

func NewNullableChatModelDetailsBits added in v0.3.0

func NewNullableChatModelDetailsBits(val *ChatModelDetailsBits) *NullableChatModelDetailsBits

func (NullableChatModelDetailsBits) Get added in v0.3.0

func (NullableChatModelDetailsBits) IsSet added in v0.3.0

func (NullableChatModelDetailsBits) MarshalJSON added in v0.3.0

func (v NullableChatModelDetailsBits) MarshalJSON() ([]byte, error)

func (*NullableChatModelDetailsBits) Set added in v0.3.0

func (*NullableChatModelDetailsBits) UnmarshalJSON added in v0.3.0

func (v *NullableChatModelDetailsBits) UnmarshalJSON(src []byte) error

func (*NullableChatModelDetailsBits) Unset added in v0.3.0

func (v *NullableChatModelDetailsBits) Unset()

type NullableChatModelDetailsCategory added in v0.3.0

type NullableChatModelDetailsCategory struct {
	// contains filtered or unexported fields
}

func NewNullableChatModelDetailsCategory added in v0.3.0

func NewNullableChatModelDetailsCategory(val *ChatModelDetailsCategory) *NullableChatModelDetailsCategory

func (NullableChatModelDetailsCategory) Get added in v0.3.0

func (NullableChatModelDetailsCategory) IsSet added in v0.3.0

func (NullableChatModelDetailsCategory) MarshalJSON added in v0.3.0

func (v NullableChatModelDetailsCategory) MarshalJSON() ([]byte, error)

func (*NullableChatModelDetailsCategory) Set added in v0.3.0

func (*NullableChatModelDetailsCategory) UnmarshalJSON added in v0.3.0

func (v *NullableChatModelDetailsCategory) UnmarshalJSON(src []byte) error

func (*NullableChatModelDetailsCategory) Unset added in v0.3.0

type NullableChatModelDetailsQuantizationMethod added in v0.3.0

type NullableChatModelDetailsQuantizationMethod struct {
	// contains filtered or unexported fields
}

func NewNullableChatModelDetailsQuantizationMethod added in v0.3.0

func NewNullableChatModelDetailsQuantizationMethod(val *ChatModelDetailsQuantizationMethod) *NullableChatModelDetailsQuantizationMethod

func (NullableChatModelDetailsQuantizationMethod) Get added in v0.3.0

func (NullableChatModelDetailsQuantizationMethod) IsSet added in v0.3.0

func (NullableChatModelDetailsQuantizationMethod) MarshalJSON added in v0.3.0

func (*NullableChatModelDetailsQuantizationMethod) Set added in v0.3.0

func (*NullableChatModelDetailsQuantizationMethod) UnmarshalJSON added in v0.3.0

func (v *NullableChatModelDetailsQuantizationMethod) UnmarshalJSON(src []byte) error

func (*NullableChatModelDetailsQuantizationMethod) Unset added in v0.3.0

type NullableCreateTokenPayload

type NullableCreateTokenPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateTokenPayload

func NewNullableCreateTokenPayload(val *CreateTokenPayload) *NullableCreateTokenPayload

func (NullableCreateTokenPayload) Get

func (NullableCreateTokenPayload) IsSet

func (v NullableCreateTokenPayload) IsSet() bool

func (NullableCreateTokenPayload) MarshalJSON

func (v NullableCreateTokenPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateTokenPayload) Set

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 (NullableCreateTokenResponse) IsSet

func (NullableCreateTokenResponse) MarshalJSON

func (v NullableCreateTokenResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateTokenResponse) Set

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 (NullableEmbeddingModelDetails) Get

func (NullableEmbeddingModelDetails) IsSet

func (NullableEmbeddingModelDetails) MarshalJSON

func (v NullableEmbeddingModelDetails) MarshalJSON() ([]byte, error)

func (*NullableEmbeddingModelDetails) Set

func (*NullableEmbeddingModelDetails) UnmarshalJSON

func (v *NullableEmbeddingModelDetails) UnmarshalJSON(src []byte) error

func (*NullableEmbeddingModelDetails) Unset

func (v *NullableEmbeddingModelDetails) Unset()

type NullableEmbeddingModelDetailsCategory added in v0.3.0

type NullableEmbeddingModelDetailsCategory struct {
	// contains filtered or unexported fields
}

func NewNullableEmbeddingModelDetailsCategory added in v0.3.0

func NewNullableEmbeddingModelDetailsCategory(val *EmbeddingModelDetailsCategory) *NullableEmbeddingModelDetailsCategory

func (NullableEmbeddingModelDetailsCategory) Get added in v0.3.0

func (NullableEmbeddingModelDetailsCategory) IsSet added in v0.3.0

func (NullableEmbeddingModelDetailsCategory) MarshalJSON added in v0.3.0

func (v NullableEmbeddingModelDetailsCategory) MarshalJSON() ([]byte, error)

func (*NullableEmbeddingModelDetailsCategory) Set added in v0.3.0

func (*NullableEmbeddingModelDetailsCategory) UnmarshalJSON added in v0.3.0

func (v *NullableEmbeddingModelDetailsCategory) UnmarshalJSON(src []byte) error

func (*NullableEmbeddingModelDetailsCategory) Unset added in v0.3.0

type NullableErrorMessageResponse

type NullableErrorMessageResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorMessageResponse

func NewNullableErrorMessageResponse(val *ErrorMessageResponse) *NullableErrorMessageResponse

func (NullableErrorMessageResponse) Get

func (NullableErrorMessageResponse) IsSet

func (NullableErrorMessageResponse) MarshalJSON

func (v NullableErrorMessageResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorMessageResponse) Set

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 (NullableGetChatModelResponse) IsSet

func (NullableGetChatModelResponse) MarshalJSON

func (v NullableGetChatModelResponse) MarshalJSON() ([]byte, error)

func (*NullableGetChatModelResponse) Set

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 (NullableGetEmbeddingsModelResp) Get

func (NullableGetEmbeddingsModelResp) IsSet

func (NullableGetEmbeddingsModelResp) MarshalJSON

func (v NullableGetEmbeddingsModelResp) MarshalJSON() ([]byte, error)

func (*NullableGetEmbeddingsModelResp) Set

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 (NullableGetTokenResponse) IsSet

func (v NullableGetTokenResponse) IsSet() bool

func (NullableGetTokenResponse) MarshalJSON

func (v NullableGetTokenResponse) MarshalJSON() ([]byte, error)

func (*NullableGetTokenResponse) Set

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 (NullableListModelsResponse) IsSet

func (v NullableListModelsResponse) IsSet() bool

func (NullableListModelsResponse) MarshalJSON

func (v NullableListModelsResponse) MarshalJSON() ([]byte, error)

func (*NullableListModelsResponse) Set

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 (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 (NullableMessageResponse) IsSet

func (v NullableMessageResponse) IsSet() bool

func (NullableMessageResponse) MarshalJSON

func (v NullableMessageResponse) MarshalJSON() ([]byte, error)

func (*NullableMessageResponse) Set

func (*NullableMessageResponse) UnmarshalJSON

func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error

func (*NullableMessageResponse) Unset

func (v *NullableMessageResponse) Unset()

type NullableModel

type NullableModel struct {
	// contains filtered or unexported fields
}

func NewNullableModel

func NewNullableModel(val *Model) *NullableModel

func (NullableModel) Get

func (v NullableModel) Get() *Model

func (NullableModel) IsSet

func (v NullableModel) IsSet() bool

func (NullableModel) MarshalJSON

func (v NullableModel) MarshalJSON() ([]byte, error)

func (*NullableModel) Set

func (v *NullableModel) Set(val *Model)

func (*NullableModel) UnmarshalJSON

func (v *NullableModel) UnmarshalJSON(src []byte) error

func (*NullableModel) Unset

func (v *NullableModel) Unset()

type NullableModelCategory added in v0.3.0

type NullableModelCategory struct {
	// contains filtered or unexported fields
}

func NewNullableModelCategory added in v0.3.0

func NewNullableModelCategory(val *ModelCategory) *NullableModelCategory

func (NullableModelCategory) Get added in v0.3.0

func (NullableModelCategory) IsSet added in v0.3.0

func (v NullableModelCategory) IsSet() bool

func (NullableModelCategory) MarshalJSON added in v0.3.0

func (v NullableModelCategory) MarshalJSON() ([]byte, error)

func (*NullableModelCategory) Set added in v0.3.0

func (v *NullableModelCategory) Set(val *ModelCategory)

func (*NullableModelCategory) UnmarshalJSON added in v0.3.0

func (v *NullableModelCategory) UnmarshalJSON(src []byte) error

func (*NullableModelCategory) Unset added in v0.3.0

func (v *NullableModelCategory) Unset()

type NullableModelTypes added in v0.3.0

type NullableModelTypes struct {
	// contains filtered or unexported fields
}

func NewNullableModelTypes added in v0.3.0

func NewNullableModelTypes(val *ModelTypes) *NullableModelTypes

func (NullableModelTypes) Get added in v0.3.0

func (v NullableModelTypes) Get() *ModelTypes

func (NullableModelTypes) IsSet added in v0.3.0

func (v NullableModelTypes) IsSet() bool

func (NullableModelTypes) MarshalJSON added in v0.3.0

func (v NullableModelTypes) MarshalJSON() ([]byte, error)

func (*NullableModelTypes) Set added in v0.3.0

func (v *NullableModelTypes) Set(val *ModelTypes)

func (*NullableModelTypes) UnmarshalJSON added in v0.3.0

func (v *NullableModelTypes) UnmarshalJSON(src []byte) error

func (*NullableModelTypes) Unset added in v0.3.0

func (v *NullableModelTypes) Unset()

type NullablePartialUpdateTokenPayload

type NullablePartialUpdateTokenPayload struct {
	// contains filtered or unexported fields
}

func (NullablePartialUpdateTokenPayload) Get

func (NullablePartialUpdateTokenPayload) IsSet

func (NullablePartialUpdateTokenPayload) MarshalJSON

func (v NullablePartialUpdateTokenPayload) MarshalJSON() ([]byte, error)

func (*NullablePartialUpdateTokenPayload) Set

func (*NullablePartialUpdateTokenPayload) UnmarshalJSON

func (v *NullablePartialUpdateTokenPayload) UnmarshalJSON(src []byte) error

func (*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 (NullableTokenCreated) IsSet

func (v NullableTokenCreated) IsSet() bool

func (NullableTokenCreated) MarshalJSON

func (v NullableTokenCreated) MarshalJSON() ([]byte, error)

func (*NullableTokenCreated) Set

func (v *NullableTokenCreated) Set(val *TokenCreated)

func (*NullableTokenCreated) UnmarshalJSON

func (v *NullableTokenCreated) UnmarshalJSON(src []byte) error

func (*NullableTokenCreated) Unset

func (v *NullableTokenCreated) Unset()

type NullableTokenCreatedState added in v0.3.0

type NullableTokenCreatedState struct {
	// contains filtered or unexported fields
}

func NewNullableTokenCreatedState added in v0.3.0

func NewNullableTokenCreatedState(val *TokenCreatedState) *NullableTokenCreatedState

func (NullableTokenCreatedState) Get added in v0.3.0

func (NullableTokenCreatedState) IsSet added in v0.3.0

func (v NullableTokenCreatedState) IsSet() bool

func (NullableTokenCreatedState) MarshalJSON added in v0.3.0

func (v NullableTokenCreatedState) MarshalJSON() ([]byte, error)

func (*NullableTokenCreatedState) Set added in v0.3.0

func (*NullableTokenCreatedState) UnmarshalJSON added in v0.3.0

func (v *NullableTokenCreatedState) UnmarshalJSON(src []byte) error

func (*NullableTokenCreatedState) Unset added in v0.3.0

func (v *NullableTokenCreatedState) Unset()

type NullableTokenState added in v0.3.0

type NullableTokenState struct {
	// contains filtered or unexported fields
}

func NewNullableTokenState added in v0.3.0

func NewNullableTokenState(val *TokenState) *NullableTokenState

func (NullableTokenState) Get added in v0.3.0

func (v NullableTokenState) Get() *TokenState

func (NullableTokenState) IsSet added in v0.3.0

func (v NullableTokenState) IsSet() bool

func (NullableTokenState) MarshalJSON added in v0.3.0

func (v NullableTokenState) MarshalJSON() ([]byte, error)

func (*NullableTokenState) Set added in v0.3.0

func (v *NullableTokenState) Set(val *TokenState)

func (*NullableTokenState) UnmarshalJSON added in v0.3.0

func (v *NullableTokenState) UnmarshalJSON(src []byte) error

func (*NullableTokenState) Unset added in v0.3.0

func (v *NullableTokenState) Unset()

type NullableUpdateTokenResponse

type NullableUpdateTokenResponse struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateTokenResponse

func NewNullableUpdateTokenResponse(val *UpdateTokenResponse) *NullableUpdateTokenResponse

func (NullableUpdateTokenResponse) Get

func (NullableUpdateTokenResponse) IsSet

func (NullableUpdateTokenResponse) MarshalJSON

func (v NullableUpdateTokenResponse) MarshalJSON() ([]byte, error)

func (*NullableUpdateTokenResponse) Set

func (*NullableUpdateTokenResponse) UnmarshalJSON

func (v *NullableUpdateTokenResponse) UnmarshalJSON(src []byte) error

func (*NullableUpdateTokenResponse) Unset

func (v *NullableUpdateTokenResponse) Unset()

type NullableValue added in v0.2.1

type NullableValue[T any] struct {
	// contains filtered or unexported fields
}

func (NullableValue[T]) Get added in v0.2.1

func (v NullableValue[T]) Get() *T

func (NullableValue[T]) IsSet added in v0.2.1

func (v NullableValue[T]) IsSet() bool

func (*NullableValue[T]) Set added in v0.2.1

func (v *NullableValue[T]) Set(val *T)

func (*NullableValue[T]) Unset added in v0.2.1

func (v *NullableValue[T]) Unset()

type PartialUpdateTokenPayload

type PartialUpdateTokenPayload struct {
	Description PartialUpdateTokenPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	Name        PartialUpdateTokenPayloadGetNameAttributeType        `json:"name,omitempty"`
}

PartialUpdateTokenPayload struct for PartialUpdateTokenPayload

func NewPartialUpdateTokenPayload

func NewPartialUpdateTokenPayload() *PartialUpdateTokenPayload

NewPartialUpdateTokenPayload instantiates a new PartialUpdateTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateTokenPayloadWithDefaults

func NewPartialUpdateTokenPayloadWithDefaults() *PartialUpdateTokenPayload

NewPartialUpdateTokenPayloadWithDefaults instantiates a new PartialUpdateTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateTokenPayload) GetDescription

GetDescription returns the Description field value if set, zero value otherwise.

func (*PartialUpdateTokenPayload) 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 (*PartialUpdateTokenPayload) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateTokenPayload) GetNameOk

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

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*PartialUpdateTokenPayload) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (PartialUpdateTokenPayload) ToMap

func (o PartialUpdateTokenPayload) ToMap() (map[string]interface{}, error)

type PartialUpdateTokenPayloadGetDescriptionArgType added in v0.2.1

type PartialUpdateTokenPayloadGetDescriptionArgType = string

type PartialUpdateTokenPayloadGetDescriptionAttributeType added in v0.2.1

type PartialUpdateTokenPayloadGetDescriptionAttributeType = *string

isNotNullableString

type PartialUpdateTokenPayloadGetDescriptionRetType added in v0.2.1

type PartialUpdateTokenPayloadGetDescriptionRetType = string

type PartialUpdateTokenPayloadGetNameArgType added in v0.2.1

type PartialUpdateTokenPayloadGetNameArgType = string

type PartialUpdateTokenPayloadGetNameAttributeType added in v0.2.1

type PartialUpdateTokenPayloadGetNameAttributeType = *string

isNotNullableString

type PartialUpdateTokenPayloadGetNameRetType added in v0.2.1

type PartialUpdateTokenPayloadGetNameRetType = string

type PartialUpdateTokenRequest added in v0.4.0

type PartialUpdateTokenRequest struct {
	// contains filtered or unexported fields
}

func (PartialUpdateTokenRequest) Execute added in v0.4.0

func (PartialUpdateTokenRequest) PartialUpdateTokenPayload added in v0.4.0

func (r PartialUpdateTokenRequest) PartialUpdateTokenPayload(partialUpdateTokenPayload PartialUpdateTokenPayload) ApiPartialUpdateTokenRequest

type SKU

type SKU struct {
	Description SKUGetDescriptionAttributeType `json:"description,omitempty"`
	// REQUIRED
	Id   SKUGetIdAttributeType   `json:"id" required:"true"`
	Type SKUGetTypeAttributeType `json:"type,omitempty"`
}

SKU struct for SKU

func NewSKU

func NewSKU(id SKUGetIdArgType) *SKU

NewSKU instantiates a new SKU object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSKUWithDefaults

func NewSKUWithDefaults() *SKU

NewSKUWithDefaults instantiates a new SKU object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SKU) GetDescription

func (o *SKU) GetDescription() (res SKUGetDescriptionRetType)

GetDescription returns the Description field value if set, zero value otherwise.

func (*SKU) GetDescriptionOk

func (o *SKU) GetDescriptionOk() (ret SKUGetDescriptionRetType, ok bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SKU) GetId

func (o *SKU) GetId() (ret SKUGetIdRetType)

GetId returns the Id field value

func (*SKU) GetIdOk

func (o *SKU) GetIdOk() (ret SKUGetIdRetType, ok bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SKU) GetType

func (o *SKU) GetType() (res SKUGetTypeRetType)

GetType returns the Type field value if set, zero value otherwise.

func (*SKU) GetTypeOk

func (o *SKU) GetTypeOk() (ret SKUGetTypeRetType, ok bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SKU) HasDescription

func (o *SKU) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SKU) HasType

func (o *SKU) HasType() bool

HasType returns a boolean if a field has been set.

func (*SKU) SetDescription

func (o *SKU) SetDescription(v SKUGetDescriptionRetType)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SKU) SetId

func (o *SKU) SetId(v SKUGetIdRetType)

SetId sets field value

func (*SKU) SetType

func (o *SKU) SetType(v SKUGetTypeRetType)

SetType gets a reference to the given string and assigns it to the Type field.

func (SKU) ToMap

func (o SKU) ToMap() (map[string]interface{}, error)

type SKUGetDescriptionArgType added in v0.2.1

type SKUGetDescriptionArgType = string

type SKUGetDescriptionAttributeType added in v0.2.1

type SKUGetDescriptionAttributeType = *string

isNotNullableString

type SKUGetDescriptionRetType added in v0.2.1

type SKUGetDescriptionRetType = string

type SKUGetIdArgType added in v0.2.1

type SKUGetIdArgType = string

type SKUGetIdAttributeType added in v0.2.1

type SKUGetIdAttributeType = *string

isNotNullableString

type SKUGetIdRetType added in v0.2.1

type SKUGetIdRetType = string

type SKUGetTypeArgType added in v0.2.1

type SKUGetTypeArgType = string

type SKUGetTypeAttributeType added in v0.2.1

type SKUGetTypeAttributeType = *string

isNotNullableString

type SKUGetTypeRetType added in v0.2.1

type SKUGetTypeRetType = string

type Token

type Token struct {
	Description TokenGetDescriptionAttributeType `json:"description,omitempty"`
	// REQUIRED
	Id TokenGetIdAttributeType `json:"id" required:"true"`
	// REQUIRED
	Name TokenGetNameAttributeType `json:"name" required:"true"`
	// REQUIRED
	Region TokenGetRegionAttributeType `json:"region" required:"true"`
	// REQUIRED
	State TokenGetStateAttributeType `json:"state" required:"true"`
	// REQUIRED
	ValidUntil TokenGetValidUntilAttributeType `json:"validUntil" required:"true"`
}

Token struct for Token

func NewToken

NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenWithDefaults

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Token) GetDescription

func (o *Token) GetDescription() (res TokenGetDescriptionRetType)

GetDescription returns the Description field value if set, zero value otherwise.

func (*Token) GetDescriptionOk

func (o *Token) GetDescriptionOk() (ret TokenGetDescriptionRetType, ok bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Token) GetId

func (o *Token) GetId() (ret TokenGetIdRetType)

GetId returns the Id field value

func (*Token) GetIdOk

func (o *Token) GetIdOk() (ret TokenGetIdRetType, ok bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Token) GetName

func (o *Token) GetName() (ret TokenGetNameRetType)

GetName returns the Name field value

func (*Token) GetNameOk

func (o *Token) GetNameOk() (ret TokenGetNameRetType, ok bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Token) GetRegion

func (o *Token) GetRegion() (ret TokenGetRegionRetType)

GetRegion returns the Region field value

func (*Token) GetRegionOk

func (o *Token) GetRegionOk() (ret TokenGetRegionRetType, ok bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*Token) GetState

func (o *Token) GetState() (ret TokenGetStateRetType)

GetState returns the State field value

func (*Token) GetStateOk

func (o *Token) GetStateOk() (ret TokenGetStateRetType, ok bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Token) GetValidUntil

func (o *Token) GetValidUntil() (ret TokenGetValidUntilRetType)

GetValidUntil returns the ValidUntil field value

func (*Token) GetValidUntilOk

func (o *Token) GetValidUntilOk() (ret TokenGetValidUntilRetType, ok bool)

GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.

func (*Token) HasDescription

func (o *Token) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Token) SetDescription

func (o *Token) SetDescription(v TokenGetDescriptionRetType)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Token) SetId

func (o *Token) SetId(v TokenGetIdRetType)

SetId sets field value

func (*Token) SetName

func (o *Token) SetName(v TokenGetNameRetType)

SetName sets field value

func (*Token) SetRegion

func (o *Token) SetRegion(v TokenGetRegionRetType)

SetRegion sets field value

func (*Token) SetState

func (o *Token) SetState(v TokenGetStateRetType)

SetState sets field value

func (*Token) SetValidUntil

func (o *Token) SetValidUntil(v TokenGetValidUntilRetType)

SetValidUntil sets field value

func (Token) ToMap

func (o Token) ToMap() (map[string]interface{}, error)

type TokenCreated

type TokenCreated struct {
	// REQUIRED
	Content     TokenCreatedGetContentAttributeType     `json:"content" required:"true"`
	Description TokenCreatedGetDescriptionAttributeType `json:"description,omitempty"`
	// REQUIRED
	Id TokenCreatedGetIdAttributeType `json:"id" required:"true"`
	// REQUIRED
	Name TokenCreatedGetNameAttributeType `json:"name" required:"true"`
	// REQUIRED
	Region TokenCreatedGetRegionAttributeType `json:"region" required:"true"`
	// REQUIRED
	State TokenCreatedGetStateAttributeType `json:"state" required:"true"`
	// REQUIRED
	ValidUntil TokenCreatedGetValidUntilAttributeType `json:"validUntil" required:"true"`
}

TokenCreated struct for TokenCreated

func NewTokenCreated

NewTokenCreated instantiates a new TokenCreated object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenCreatedWithDefaults

func NewTokenCreatedWithDefaults() *TokenCreated

NewTokenCreatedWithDefaults instantiates a new TokenCreated object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenCreated) GetContent

func (o *TokenCreated) GetContent() (ret TokenCreatedGetContentRetType)

GetContent returns the Content field value

func (*TokenCreated) GetContentOk

func (o *TokenCreated) GetContentOk() (ret TokenCreatedGetContentRetType, ok bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*TokenCreated) GetDescription

func (o *TokenCreated) GetDescription() (res TokenCreatedGetDescriptionRetType)

GetDescription returns the Description field value if set, zero value otherwise.

func (*TokenCreated) GetDescriptionOk

func (o *TokenCreated) GetDescriptionOk() (ret TokenCreatedGetDescriptionRetType, ok bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreated) GetId

func (o *TokenCreated) GetId() (ret TokenCreatedGetIdRetType)

GetId returns the Id field value

func (*TokenCreated) GetIdOk

func (o *TokenCreated) GetIdOk() (ret TokenCreatedGetIdRetType, ok bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TokenCreated) GetName

func (o *TokenCreated) GetName() (ret TokenCreatedGetNameRetType)

GetName returns the Name field value

func (*TokenCreated) GetNameOk

func (o *TokenCreated) GetNameOk() (ret TokenCreatedGetNameRetType, ok bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TokenCreated) GetRegion

func (o *TokenCreated) GetRegion() (ret TokenCreatedGetRegionRetType)

GetRegion returns the Region field value

func (*TokenCreated) GetRegionOk

func (o *TokenCreated) GetRegionOk() (ret TokenCreatedGetRegionRetType, ok bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (*TokenCreated) GetState

func (o *TokenCreated) GetState() (ret TokenCreatedGetStateRetType)

GetState returns the State field value

func (*TokenCreated) GetStateOk

func (o *TokenCreated) GetStateOk() (ret TokenCreatedGetStateRetType, ok bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*TokenCreated) GetValidUntil

func (o *TokenCreated) GetValidUntil() (ret TokenCreatedGetValidUntilRetType)

GetValidUntil returns the ValidUntil field value

func (*TokenCreated) GetValidUntilOk

func (o *TokenCreated) GetValidUntilOk() (ret TokenCreatedGetValidUntilRetType, ok bool)

GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.

func (*TokenCreated) HasDescription

func (o *TokenCreated) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TokenCreated) SetContent

SetContent sets field value

func (*TokenCreated) SetDescription

func (o *TokenCreated) SetDescription(v TokenCreatedGetDescriptionRetType)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TokenCreated) SetId

SetId sets field value

func (*TokenCreated) SetName

SetName sets field value

func (*TokenCreated) SetRegion

SetRegion sets field value

func (*TokenCreated) SetState

SetState sets field value

func (*TokenCreated) SetValidUntil

func (o *TokenCreated) SetValidUntil(v TokenCreatedGetValidUntilRetType)

SetValidUntil sets field value

func (TokenCreated) ToMap

func (o TokenCreated) ToMap() (map[string]interface{}, error)

type TokenCreatedGetContentArgType added in v0.2.1

type TokenCreatedGetContentArgType = string

type TokenCreatedGetContentAttributeType added in v0.2.1

type TokenCreatedGetContentAttributeType = *string

isNotNullableString

type TokenCreatedGetContentRetType added in v0.2.1

type TokenCreatedGetContentRetType = string

type TokenCreatedGetDescriptionArgType added in v0.2.1

type TokenCreatedGetDescriptionArgType = string

type TokenCreatedGetDescriptionAttributeType added in v0.2.1

type TokenCreatedGetDescriptionAttributeType = *string

isNotNullableString

type TokenCreatedGetDescriptionRetType added in v0.2.1

type TokenCreatedGetDescriptionRetType = string

type TokenCreatedGetIdArgType added in v0.2.1

type TokenCreatedGetIdArgType = string

type TokenCreatedGetIdAttributeType added in v0.2.1

type TokenCreatedGetIdAttributeType = *string

isNotNullableString

type TokenCreatedGetIdRetType added in v0.2.1

type TokenCreatedGetIdRetType = string

type TokenCreatedGetNameArgType added in v0.2.1

type TokenCreatedGetNameArgType = string

type TokenCreatedGetNameAttributeType added in v0.2.1

type TokenCreatedGetNameAttributeType = *string

isNotNullableString

type TokenCreatedGetNameRetType added in v0.2.1

type TokenCreatedGetNameRetType = string

type TokenCreatedGetRegionArgType added in v0.2.1

type TokenCreatedGetRegionArgType = string

type TokenCreatedGetRegionAttributeType added in v0.2.1

type TokenCreatedGetRegionAttributeType = *string

isNotNullableString

type TokenCreatedGetRegionRetType added in v0.2.1

type TokenCreatedGetRegionRetType = string

type TokenCreatedGetStateArgType added in v0.2.1

type TokenCreatedGetStateArgType = TokenCreatedState

type TokenCreatedGetStateAttributeType added in v0.2.1

type TokenCreatedGetStateAttributeType = *TokenCreatedState

type TokenCreatedGetStateRetType added in v0.2.1

type TokenCreatedGetStateRetType = TokenCreatedState

type TokenCreatedGetValidUntilArgType added in v0.2.1

type TokenCreatedGetValidUntilArgType = time.Time

type TokenCreatedGetValidUntilAttributeType added in v0.2.1

type TokenCreatedGetValidUntilAttributeType = *time.Time

isDateTime

type TokenCreatedGetValidUntilRetType added in v0.2.1

type TokenCreatedGetValidUntilRetType = time.Time

type TokenCreatedState added in v0.3.0

type TokenCreatedState string

TokenCreatedState the model 'TokenCreated' value type for enums

const (
	TOKENCREATEDSTATE_CREATING TokenCreatedState = "creating"
	TOKENCREATEDSTATE_ACTIVE   TokenCreatedState = "active"
	TOKENCREATEDSTATE_DELETING TokenCreatedState = "deleting"
)

List of State

func NewTokenCreatedStateFromValue added in v0.3.0

func NewTokenCreatedStateFromValue(v TokenCreatedState) (*TokenCreatedState, error)

NewTokenCreatedStateFromValue returns a pointer to a valid TokenCreatedState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TokenCreatedState) IsValid added in v0.3.0

func (v TokenCreatedState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TokenCreatedState) Ptr added in v0.3.0

Ptr returns reference to StateState value

func (*TokenCreatedState) UnmarshalJSON added in v0.3.0

func (v *TokenCreatedState) UnmarshalJSON(src []byte) error

type TokenGetDescriptionArgType added in v0.2.1

type TokenGetDescriptionArgType = string

type TokenGetDescriptionAttributeType added in v0.2.1

type TokenGetDescriptionAttributeType = *string

isNotNullableString

type TokenGetDescriptionRetType added in v0.2.1

type TokenGetDescriptionRetType = string

type TokenGetIdArgType added in v0.2.1

type TokenGetIdArgType = string

type TokenGetIdAttributeType added in v0.2.1

type TokenGetIdAttributeType = *string

isNotNullableString

type TokenGetIdRetType added in v0.2.1

type TokenGetIdRetType = string

type TokenGetNameArgType added in v0.2.1

type TokenGetNameArgType = string

type TokenGetNameAttributeType added in v0.2.1

type TokenGetNameAttributeType = *string

isNotNullableString

type TokenGetNameRetType added in v0.2.1

type TokenGetNameRetType = string

type TokenGetRegionArgType added in v0.2.1

type TokenGetRegionArgType = string

type TokenGetRegionAttributeType added in v0.2.1

type TokenGetRegionAttributeType = *string

isNotNullableString

type TokenGetRegionRetType added in v0.2.1

type TokenGetRegionRetType = string

type TokenGetStateArgType added in v0.2.1

type TokenGetStateArgType = TokenState

type TokenGetStateAttributeType added in v0.2.1

type TokenGetStateAttributeType = *TokenState

type TokenGetStateRetType added in v0.2.1

type TokenGetStateRetType = TokenState

type TokenGetValidUntilArgType added in v0.2.1

type TokenGetValidUntilArgType = time.Time

type TokenGetValidUntilAttributeType added in v0.2.1

type TokenGetValidUntilAttributeType = *time.Time

isDateTime

type TokenGetValidUntilRetType added in v0.2.1

type TokenGetValidUntilRetType = time.Time

type TokenState added in v0.3.0

type TokenState string

TokenState the model 'Token' value type for enums

const (
	TOKENSTATE_CREATING TokenState = "creating"
	TOKENSTATE_ACTIVE   TokenState = "active"
	TOKENSTATE_DELETING TokenState = "deleting"
	TOKENSTATE_INACTIVE TokenState = "inactive"
)

List of State

func NewTokenStateFromValue added in v0.3.0

func NewTokenStateFromValue(v TokenState) (*TokenState, error)

NewTokenStateFromValue returns a pointer to a valid TokenState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TokenState) IsValid added in v0.3.0

func (v TokenState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TokenState) Ptr added in v0.3.0

func (v TokenState) Ptr() *TokenState

Ptr returns reference to StateState value

func (*TokenState) UnmarshalJSON added in v0.3.0

func (v *TokenState) UnmarshalJSON(src []byte) error

type UpdateTokenResponse

type UpdateTokenResponse struct {
	Message UpdateTokenResponseGetMessageAttributeType `json:"message,omitempty"`
	// REQUIRED
	Token UpdateTokenResponseGetTokenAttributeType `json:"token" required:"true"`
}

UpdateTokenResponse struct for UpdateTokenResponse

func NewUpdateTokenResponse

func NewUpdateTokenResponse(token UpdateTokenResponseGetTokenArgType) *UpdateTokenResponse

NewUpdateTokenResponse instantiates a new UpdateTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateTokenResponseWithDefaults

func NewUpdateTokenResponseWithDefaults() *UpdateTokenResponse

NewUpdateTokenResponseWithDefaults instantiates a new UpdateTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateTokenResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateTokenResponse) GetMessageOk

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

GetToken returns the Token field value

func (*UpdateTokenResponse) GetTokenOk

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

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UpdateTokenResponse) SetToken

SetToken sets field value

func (UpdateTokenResponse) ToMap

func (o UpdateTokenResponse) ToMap() (map[string]interface{}, error)

type UpdateTokenResponseGetMessageArgType added in v0.2.1

type UpdateTokenResponseGetMessageArgType = string

type UpdateTokenResponseGetMessageAttributeType added in v0.2.1

type UpdateTokenResponseGetMessageAttributeType = *string

isNotNullableString

type UpdateTokenResponseGetMessageRetType added in v0.2.1

type UpdateTokenResponseGetMessageRetType = string

type UpdateTokenResponseGetTokenArgType added in v0.2.1

type UpdateTokenResponseGetTokenArgType = Token

type UpdateTokenResponseGetTokenAttributeType added in v0.2.1

type UpdateTokenResponseGetTokenAttributeType = *Token

isModel

type UpdateTokenResponseGetTokenRetType added in v0.2.1

type UpdateTokenResponseGetTokenRetType = Token

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL