api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

README

Go API client for api

PromptQL API

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1
  • Package version: 1.0.0
  • Generator version: 7.13.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import api "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value api.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), api.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value api.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), api.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using api.ContextOperationServerIndices and api.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), api.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), api.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultAPI ExecuteProgramExecuteProgramPost Post /execute_program Execute Program
DefaultAPI QueryQueryPost Post /query Query

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), api.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

View Source
const (
	LlmProviderAnthropic = "anthropic"
	LlmProviderHasura    = "hasura"
	LlmProviderOpenAI    = "openai"
)

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

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 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 {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the PromptQL API API v0.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiAnthropicConfig

type ApiAnthropicConfig struct {
	Provider string         `json:"provider"`
	Model    NullableString `json:"model,omitempty"`
	BaseUrl  NullableString `json:"base_url,omitempty"`
	ApiKey   string         `json:"api_key"`
}

ApiAnthropicConfig struct for ApiAnthropicConfig

func NewApiAnthropicConfig

func NewApiAnthropicConfig(provider string, apiKey string) *ApiAnthropicConfig

NewApiAnthropicConfig instantiates a new ApiAnthropicConfig 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 NewApiAnthropicConfigWithDefaults

func NewApiAnthropicConfigWithDefaults() *ApiAnthropicConfig

NewApiAnthropicConfigWithDefaults instantiates a new ApiAnthropicConfig 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 (*ApiAnthropicConfig) GetApiKey

func (o *ApiAnthropicConfig) GetApiKey() string

GetApiKey returns the ApiKey field value

func (*ApiAnthropicConfig) GetApiKeyOk

func (o *ApiAnthropicConfig) GetApiKeyOk() (*string, bool)

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

func (*ApiAnthropicConfig) GetBaseUrl

func (o *ApiAnthropicConfig) GetBaseUrl() string

GetBaseUrl returns the BaseUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiAnthropicConfig) GetBaseUrlOk

func (o *ApiAnthropicConfig) GetBaseUrlOk() (*string, bool)

GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiAnthropicConfig) GetModel

func (o *ApiAnthropicConfig) GetModel() string

GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiAnthropicConfig) GetModelOk

func (o *ApiAnthropicConfig) GetModelOk() (*string, bool)

GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiAnthropicConfig) GetProvider

func (o *ApiAnthropicConfig) GetProvider() string

GetProvider returns the Provider field value

func (*ApiAnthropicConfig) GetProviderOk

func (o *ApiAnthropicConfig) GetProviderOk() (*string, bool)

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

func (*ApiAnthropicConfig) HasBaseUrl

func (o *ApiAnthropicConfig) HasBaseUrl() bool

HasBaseUrl returns a boolean if a field has been set.

func (*ApiAnthropicConfig) HasModel

func (o *ApiAnthropicConfig) HasModel() bool

HasModel returns a boolean if a field has been set.

func (ApiAnthropicConfig) MarshalJSON

func (o ApiAnthropicConfig) MarshalJSON() ([]byte, error)

func (*ApiAnthropicConfig) SetApiKey

func (o *ApiAnthropicConfig) SetApiKey(v string)

SetApiKey sets field value

func (*ApiAnthropicConfig) SetBaseUrl

func (o *ApiAnthropicConfig) SetBaseUrl(v string)

SetBaseUrl gets a reference to the given NullableString and assigns it to the BaseUrl field.

func (*ApiAnthropicConfig) SetBaseUrlNil

func (o *ApiAnthropicConfig) SetBaseUrlNil()

SetBaseUrlNil sets the value for BaseUrl to be an explicit nil

func (*ApiAnthropicConfig) SetModel

func (o *ApiAnthropicConfig) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*ApiAnthropicConfig) SetModelNil

func (o *ApiAnthropicConfig) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*ApiAnthropicConfig) SetProvider

func (o *ApiAnthropicConfig) SetProvider(v string)

SetProvider sets field value

func (ApiAnthropicConfig) ToMap

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

func (*ApiAnthropicConfig) UnmarshalJSON

func (o *ApiAnthropicConfig) UnmarshalJSON(data []byte) (err error)

func (*ApiAnthropicConfig) UnsetBaseUrl

func (o *ApiAnthropicConfig) UnsetBaseUrl()

UnsetBaseUrl ensures that no value is present for BaseUrl, not even an explicit nil

func (*ApiAnthropicConfig) UnsetModel

func (o *ApiAnthropicConfig) UnsetModel()

UnsetModel ensures that no value is present for Model, not even an explicit nil

type ApiExecuteProgramExecuteProgramPostRequest

type ApiExecuteProgramExecuteProgramPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiExecuteProgramExecuteProgramPostRequest) Execute

func (ApiExecuteProgramExecuteProgramPostRequest) ExecuteRequest

type ApiOpenAIConfig

type ApiOpenAIConfig struct {
	Provider string         `json:"provider"`
	Model    NullableString `json:"model,omitempty"`
	BaseUrl  NullableString `json:"base_url,omitempty"`
	ApiKey   string         `json:"api_key"`
}

ApiOpenAIConfig struct for ApiOpenAIConfig

func NewApiOpenAIConfig

func NewApiOpenAIConfig(provider string, apiKey string) *ApiOpenAIConfig

NewApiOpenAIConfig instantiates a new ApiOpenAIConfig 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 NewApiOpenAIConfigWithDefaults

func NewApiOpenAIConfigWithDefaults() *ApiOpenAIConfig

NewApiOpenAIConfigWithDefaults instantiates a new ApiOpenAIConfig 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 (*ApiOpenAIConfig) GetApiKey

func (o *ApiOpenAIConfig) GetApiKey() string

GetApiKey returns the ApiKey field value

func (*ApiOpenAIConfig) GetApiKeyOk

func (o *ApiOpenAIConfig) GetApiKeyOk() (*string, bool)

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

func (*ApiOpenAIConfig) GetBaseUrl

func (o *ApiOpenAIConfig) GetBaseUrl() string

GetBaseUrl returns the BaseUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiOpenAIConfig) GetBaseUrlOk

func (o *ApiOpenAIConfig) GetBaseUrlOk() (*string, bool)

GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiOpenAIConfig) GetModel

func (o *ApiOpenAIConfig) GetModel() string

GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiOpenAIConfig) GetModelOk

func (o *ApiOpenAIConfig) GetModelOk() (*string, bool)

GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiOpenAIConfig) GetProvider

func (o *ApiOpenAIConfig) GetProvider() string

GetProvider returns the Provider field value

func (*ApiOpenAIConfig) GetProviderOk

func (o *ApiOpenAIConfig) GetProviderOk() (*string, bool)

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

func (*ApiOpenAIConfig) HasBaseUrl

func (o *ApiOpenAIConfig) HasBaseUrl() bool

HasBaseUrl returns a boolean if a field has been set.

func (*ApiOpenAIConfig) HasModel

func (o *ApiOpenAIConfig) HasModel() bool

HasModel returns a boolean if a field has been set.

func (ApiOpenAIConfig) MarshalJSON

func (o ApiOpenAIConfig) MarshalJSON() ([]byte, error)

func (*ApiOpenAIConfig) SetApiKey

func (o *ApiOpenAIConfig) SetApiKey(v string)

SetApiKey sets field value

func (*ApiOpenAIConfig) SetBaseUrl

func (o *ApiOpenAIConfig) SetBaseUrl(v string)

SetBaseUrl gets a reference to the given NullableString and assigns it to the BaseUrl field.

func (*ApiOpenAIConfig) SetBaseUrlNil

func (o *ApiOpenAIConfig) SetBaseUrlNil()

SetBaseUrlNil sets the value for BaseUrl to be an explicit nil

func (*ApiOpenAIConfig) SetModel

func (o *ApiOpenAIConfig) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*ApiOpenAIConfig) SetModelNil

func (o *ApiOpenAIConfig) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*ApiOpenAIConfig) SetProvider

func (o *ApiOpenAIConfig) SetProvider(v string)

SetProvider sets field value

func (ApiOpenAIConfig) ToMap

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

func (*ApiOpenAIConfig) UnmarshalJSON

func (o *ApiOpenAIConfig) UnmarshalJSON(data []byte) (err error)

func (*ApiOpenAIConfig) UnsetBaseUrl

func (o *ApiOpenAIConfig) UnsetBaseUrl()

UnsetBaseUrl ensures that no value is present for BaseUrl, not even an explicit nil

func (*ApiOpenAIConfig) UnsetModel

func (o *ApiOpenAIConfig) UnsetModel()

UnsetModel ensures that no value is present for Model, not even an explicit nil

type ApiQueryQueryPostRequest

type ApiQueryQueryPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiQueryQueryPostRequest) Execute

func (ApiQueryQueryPostRequest) QueryRequest

func (r ApiQueryQueryPostRequest) QueryRequest(queryRequest QueryRequest) ApiQueryQueryPostRequest

type ApiThreadAssistantAction added in v0.2.0

type ApiThreadAssistantAction struct {
	Message    NullableString `json:"message,omitempty"`
	Plan       NullableString `json:"plan,omitempty"`
	Code       NullableString `json:"code,omitempty"`
	CodeOutput NullableString `json:"code_output,omitempty"`
	CodeError  NullableString `json:"code_error,omitempty"`
}

ApiThreadAssistantAction struct for ApiThreadAssistantAction

func NewApiThreadAssistantAction added in v0.2.0

func NewApiThreadAssistantAction() *ApiThreadAssistantAction

NewApiThreadAssistantAction instantiates a new ApiThreadAssistantAction 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 NewApiThreadAssistantActionWithDefaults added in v0.2.0

func NewApiThreadAssistantActionWithDefaults() *ApiThreadAssistantAction

NewApiThreadAssistantActionWithDefaults instantiates a new ApiThreadAssistantAction 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 (*ApiThreadAssistantAction) GetCode added in v0.2.0

func (o *ApiThreadAssistantAction) GetCode() string

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiThreadAssistantAction) GetCodeError added in v0.2.0

func (o *ApiThreadAssistantAction) GetCodeError() string

GetCodeError returns the CodeError field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiThreadAssistantAction) GetCodeErrorOk added in v0.2.0

func (o *ApiThreadAssistantAction) GetCodeErrorOk() (*string, bool)

GetCodeErrorOk returns a tuple with the CodeError field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiThreadAssistantAction) GetCodeOk added in v0.2.0

func (o *ApiThreadAssistantAction) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiThreadAssistantAction) GetCodeOutput added in v0.2.0

func (o *ApiThreadAssistantAction) GetCodeOutput() string

GetCodeOutput returns the CodeOutput field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiThreadAssistantAction) GetCodeOutputOk added in v0.2.0

func (o *ApiThreadAssistantAction) GetCodeOutputOk() (*string, bool)

GetCodeOutputOk returns a tuple with the CodeOutput field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiThreadAssistantAction) GetMessage added in v0.2.0

func (o *ApiThreadAssistantAction) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiThreadAssistantAction) GetMessageOk added in v0.2.0

func (o *ApiThreadAssistantAction) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiThreadAssistantAction) GetPlan added in v0.2.0

func (o *ApiThreadAssistantAction) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ApiThreadAssistantAction) GetPlanOk added in v0.2.0

func (o *ApiThreadAssistantAction) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiThreadAssistantAction) HasCode added in v0.2.0

func (o *ApiThreadAssistantAction) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ApiThreadAssistantAction) HasCodeError added in v0.2.0

func (o *ApiThreadAssistantAction) HasCodeError() bool

HasCodeError returns a boolean if a field has been set.

func (*ApiThreadAssistantAction) HasCodeOutput added in v0.2.0

func (o *ApiThreadAssistantAction) HasCodeOutput() bool

HasCodeOutput returns a boolean if a field has been set.

func (*ApiThreadAssistantAction) HasMessage added in v0.2.0

func (o *ApiThreadAssistantAction) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ApiThreadAssistantAction) HasPlan added in v0.2.0

func (o *ApiThreadAssistantAction) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (ApiThreadAssistantAction) MarshalJSON added in v0.2.0

func (o ApiThreadAssistantAction) MarshalJSON() ([]byte, error)

func (*ApiThreadAssistantAction) SetCode added in v0.2.0

func (o *ApiThreadAssistantAction) SetCode(v string)

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*ApiThreadAssistantAction) SetCodeError added in v0.2.0

func (o *ApiThreadAssistantAction) SetCodeError(v string)

SetCodeError gets a reference to the given NullableString and assigns it to the CodeError field.

func (*ApiThreadAssistantAction) SetCodeErrorNil added in v0.2.0

func (o *ApiThreadAssistantAction) SetCodeErrorNil()

SetCodeErrorNil sets the value for CodeError to be an explicit nil

func (*ApiThreadAssistantAction) SetCodeNil added in v0.2.0

func (o *ApiThreadAssistantAction) SetCodeNil()

SetCodeNil sets the value for Code to be an explicit nil

func (*ApiThreadAssistantAction) SetCodeOutput added in v0.2.0

func (o *ApiThreadAssistantAction) SetCodeOutput(v string)

SetCodeOutput gets a reference to the given NullableString and assigns it to the CodeOutput field.

func (*ApiThreadAssistantAction) SetCodeOutputNil added in v0.2.0

func (o *ApiThreadAssistantAction) SetCodeOutputNil()

SetCodeOutputNil sets the value for CodeOutput to be an explicit nil

func (*ApiThreadAssistantAction) SetMessage added in v0.2.0

func (o *ApiThreadAssistantAction) SetMessage(v string)

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

func (*ApiThreadAssistantAction) SetMessageNil added in v0.2.0

func (o *ApiThreadAssistantAction) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (*ApiThreadAssistantAction) SetPlan added in v0.2.0

func (o *ApiThreadAssistantAction) SetPlan(v string)

SetPlan gets a reference to the given NullableString and assigns it to the Plan field.

func (*ApiThreadAssistantAction) SetPlanNil added in v0.2.0

func (o *ApiThreadAssistantAction) SetPlanNil()

SetPlanNil sets the value for Plan to be an explicit nil

func (ApiThreadAssistantAction) ToMap added in v0.2.0

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

func (*ApiThreadAssistantAction) UnsetCode added in v0.2.0

func (o *ApiThreadAssistantAction) UnsetCode()

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*ApiThreadAssistantAction) UnsetCodeError added in v0.2.0

func (o *ApiThreadAssistantAction) UnsetCodeError()

UnsetCodeError ensures that no value is present for CodeError, not even an explicit nil

func (*ApiThreadAssistantAction) UnsetCodeOutput added in v0.2.0

func (o *ApiThreadAssistantAction) UnsetCodeOutput()

UnsetCodeOutput ensures that no value is present for CodeOutput, not even an explicit nil

func (*ApiThreadAssistantAction) UnsetMessage added in v0.2.0

func (o *ApiThreadAssistantAction) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

func (*ApiThreadAssistantAction) UnsetPlan added in v0.2.0

func (o *ApiThreadAssistantAction) UnsetPlan()

UnsetPlan ensures that no value is present for Plan, not even an explicit nil

type ApiThreadInteraction added in v0.2.0

type ApiThreadInteraction struct {
	UserMessage      ApiThreadUserMessage       `json:"user_message"`
	AssistantActions []ApiThreadAssistantAction `json:"assistant_actions,omitempty"`
}

ApiThreadInteraction struct for ApiThreadInteraction

func NewApiThreadInteraction added in v0.2.0

func NewApiThreadInteraction(userMessage ApiThreadUserMessage) *ApiThreadInteraction

NewApiThreadInteraction instantiates a new ApiThreadInteraction 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 NewApiThreadInteractionWithDefaults added in v0.2.0

func NewApiThreadInteractionWithDefaults() *ApiThreadInteraction

NewApiThreadInteractionWithDefaults instantiates a new ApiThreadInteraction 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 (*ApiThreadInteraction) GetAssistantActions added in v0.2.0

func (o *ApiThreadInteraction) GetAssistantActions() []ApiThreadAssistantAction

GetAssistantActions returns the AssistantActions field value if set, zero value otherwise.

func (*ApiThreadInteraction) GetAssistantActionsOk added in v0.2.0

func (o *ApiThreadInteraction) GetAssistantActionsOk() ([]ApiThreadAssistantAction, bool)

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

func (*ApiThreadInteraction) GetUserMessage added in v0.2.0

func (o *ApiThreadInteraction) GetUserMessage() ApiThreadUserMessage

GetUserMessage returns the UserMessage field value

func (*ApiThreadInteraction) GetUserMessageOk added in v0.2.0

func (o *ApiThreadInteraction) GetUserMessageOk() (*ApiThreadUserMessage, bool)

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

func (*ApiThreadInteraction) HasAssistantActions added in v0.2.0

func (o *ApiThreadInteraction) HasAssistantActions() bool

HasAssistantActions returns a boolean if a field has been set.

func (ApiThreadInteraction) MarshalJSON added in v0.2.0

func (o ApiThreadInteraction) MarshalJSON() ([]byte, error)

func (*ApiThreadInteraction) SetAssistantActions added in v0.2.0

func (o *ApiThreadInteraction) SetAssistantActions(v []ApiThreadAssistantAction)

SetAssistantActions gets a reference to the given []ApiThreadAssistantAction and assigns it to the AssistantActions field.

func (*ApiThreadInteraction) SetUserMessage added in v0.2.0

func (o *ApiThreadInteraction) SetUserMessage(v ApiThreadUserMessage)

SetUserMessage sets field value

func (ApiThreadInteraction) ToMap added in v0.2.0

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

func (*ApiThreadInteraction) UnmarshalJSON added in v0.2.0

func (o *ApiThreadInteraction) UnmarshalJSON(data []byte) (err error)

type ApiThreadUserMessage added in v0.2.0

type ApiThreadUserMessage struct {
	Text string `json:"text"`
}

ApiThreadUserMessage struct for ApiThreadUserMessage

func NewApiThreadUserMessage added in v0.2.0

func NewApiThreadUserMessage(text string) *ApiThreadUserMessage

NewApiThreadUserMessage instantiates a new ApiThreadUserMessage 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 NewApiThreadUserMessageWithDefaults added in v0.2.0

func NewApiThreadUserMessageWithDefaults() *ApiThreadUserMessage

NewApiThreadUserMessageWithDefaults instantiates a new ApiThreadUserMessage 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 (*ApiThreadUserMessage) GetText added in v0.2.0

func (o *ApiThreadUserMessage) GetText() string

GetText returns the Text field value

func (*ApiThreadUserMessage) GetTextOk added in v0.2.0

func (o *ApiThreadUserMessage) GetTextOk() (*string, bool)

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

func (ApiThreadUserMessage) MarshalJSON added in v0.2.0

func (o ApiThreadUserMessage) MarshalJSON() ([]byte, error)

func (*ApiThreadUserMessage) SetText added in v0.2.0

func (o *ApiThreadUserMessage) SetText(v string)

SetText sets field value

func (ApiThreadUserMessage) ToMap added in v0.2.0

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

func (*ApiThreadUserMessage) UnmarshalJSON added in v0.2.0

func (o *ApiThreadUserMessage) UnmarshalJSON(data []byte) (err error)

type Artifact

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

Artifact represents a artifact response item that is one of table, table or visualization artifact.

func NewArtifact

func NewArtifact[A ArtifactInterface](v A) Artifact

NewArtifact creates a general Artifact.

func TableArtifactAsArtifact

func TableArtifactAsArtifact(v *TableArtifact) Artifact

TableArtifactAsArtifact is a convenience function that returns TableArtifact wrapped in Artifact.

func TextArtifactAsArtifact

func TextArtifactAsArtifact(v *TextArtifact) Artifact

TextArtifactAsArtifact is a convenience function that returns TextArtifact wrapped in Artifact.

func VisualizationArtifactAsArtifact

func VisualizationArtifactAsArtifact(v *VisualizationArtifact) Artifact

VisualizationArtifactAsArtifact is a convenience function that returns VisualizationArtifact wrapped in Artifact.

func (Artifact) AsTable

func (src Artifact) AsTable() *TableArtifact

AsText converts the instance to a nullable TableArtifact.

func (Artifact) AsText

func (src Artifact) AsText() *TextArtifact

AsText returns the instance as a nullable TextArtifact.

func (Artifact) AsVisualization

func (src Artifact) AsVisualization() *VisualizationArtifact

AsText converts the instance to a nullable VisualizationArtifact.

func (Artifact) GetArtifactType

func (src Artifact) GetArtifactType() ArtifactType

GetArtifactType returns the artifact type of the underlying type.

func (Artifact) GetIdentifier

func (src Artifact) GetIdentifier() string

GetIdentifier returns the identifier of the underlying type.

func (Artifact) Interface

func (src Artifact) Interface() ArtifactInterface

Interface returns the inner interface.

func (Artifact) IsNil

func (src Artifact) IsNil() bool

IsNil checks if the instance is empty.

func (Artifact) MarshalJSON

func (src Artifact) MarshalJSON() ([]byte, error)

MarshalJSON Marshal data from the first non-nil pointers in the struct to JSON.

func (Artifact) String

func (src Artifact) String() string

String prints the instance to string.

func (*Artifact) UnmarshalJSON

func (dst *Artifact) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct.

type ArtifactInterface

type ArtifactInterface interface {
	GetArtifactType() string
	GetIdentifier() string
}

ArtifactInterface abstracts the inner artifact object.

type ArtifactType

type ArtifactType string

ArtifactType represents an artifact type enum.

const (
	ArtifactTypeText          ArtifactType = "text"
	ArtifactTypeTable         ArtifactType = "table"
	ArtifactTypeVisualization ArtifactType = "visualization"
)

func ParseArtifactType

func ParseArtifactType(input string) (ArtifactType, error)

ParseArtifactType parses the artifact type enum from string.

func (*ArtifactType) UnmarshalJSON

func (dst *ArtifactType) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the enum.

type ArtifactUpdateChunk

type ArtifactUpdateChunk struct {
	Type     string   `json:"type"`
	Artifact Artifact `json:"artifact"`
}

ArtifactUpdateChunk struct for ArtifactUpdateChunk

func NewArtifactUpdateChunk

func NewArtifactUpdateChunk(type_ string, artifact Artifact) *ArtifactUpdateChunk

NewArtifactUpdateChunk instantiates a new ArtifactUpdateChunk 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 NewArtifactUpdateChunkWithDefaults

func NewArtifactUpdateChunkWithDefaults() *ArtifactUpdateChunk

NewArtifactUpdateChunkWithDefaults instantiates a new ArtifactUpdateChunk 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 (*ArtifactUpdateChunk) GetArtifact

func (o *ArtifactUpdateChunk) GetArtifact() Artifact

GetArtifact returns the Artifact field value

func (*ArtifactUpdateChunk) GetArtifactOk

func (o *ArtifactUpdateChunk) GetArtifactOk() (*Artifact, bool)

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

func (*ArtifactUpdateChunk) GetType

func (o *ArtifactUpdateChunk) GetType() string

GetType returns the Type field value

func (*ArtifactUpdateChunk) GetTypeOk

func (o *ArtifactUpdateChunk) GetTypeOk() (*string, bool)

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

func (ArtifactUpdateChunk) MarshalJSON

func (o ArtifactUpdateChunk) MarshalJSON() ([]byte, error)

func (*ArtifactUpdateChunk) SetArtifact

func (o *ArtifactUpdateChunk) SetArtifact(v Artifact)

SetArtifact sets field value

func (*ArtifactUpdateChunk) SetType

func (o *ArtifactUpdateChunk) SetType(v string)

SetType sets field value

func (ArtifactUpdateChunk) ToMap

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

func (*ArtifactUpdateChunk) UnmarshalJSON

func (o *ArtifactUpdateChunk) UnmarshalJSON(data []byte) (err error)

type AssistantActionChunk

type AssistantActionChunk struct {
	Message    NullableString `json:"message,omitempty"`
	Plan       NullableString `json:"plan,omitempty"`
	Code       NullableString `json:"code,omitempty"`
	CodeOutput NullableString `json:"code_output,omitempty"`
	CodeError  NullableString `json:"code_error,omitempty"`
	Type       string         `json:"type"`
	Index      int32          `json:"index"`
}

AssistantActionChunk struct for AssistantActionChunk

func NewAssistantActionChunk

func NewAssistantActionChunk(type_ string, index int32) *AssistantActionChunk

NewAssistantActionChunk instantiates a new AssistantActionChunk 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 NewAssistantActionChunkWithDefaults

func NewAssistantActionChunkWithDefaults() *AssistantActionChunk

NewAssistantActionChunkWithDefaults instantiates a new AssistantActionChunk 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 (*AssistantActionChunk) GetCode

func (o *AssistantActionChunk) GetCode() string

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssistantActionChunk) GetCodeError

func (o *AssistantActionChunk) GetCodeError() string

GetCodeError returns the CodeError field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssistantActionChunk) GetCodeErrorOk

func (o *AssistantActionChunk) GetCodeErrorOk() (*string, bool)

GetCodeErrorOk returns a tuple with the CodeError field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssistantActionChunk) GetCodeOk

func (o *AssistantActionChunk) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssistantActionChunk) GetCodeOutput

func (o *AssistantActionChunk) GetCodeOutput() string

GetCodeOutput returns the CodeOutput field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssistantActionChunk) GetCodeOutputOk

func (o *AssistantActionChunk) GetCodeOutputOk() (*string, bool)

GetCodeOutputOk returns a tuple with the CodeOutput field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssistantActionChunk) GetIndex

func (o *AssistantActionChunk) GetIndex() int32

GetIndex returns the Index field value

func (*AssistantActionChunk) GetIndexOk

func (o *AssistantActionChunk) GetIndexOk() (*int32, bool)

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

func (*AssistantActionChunk) GetMessage

func (o *AssistantActionChunk) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssistantActionChunk) GetMessageOk

func (o *AssistantActionChunk) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssistantActionChunk) GetPlan

func (o *AssistantActionChunk) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssistantActionChunk) GetPlanOk

func (o *AssistantActionChunk) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssistantActionChunk) GetType

func (o *AssistantActionChunk) GetType() string

GetType returns the Type field value

func (*AssistantActionChunk) GetTypeOk

func (o *AssistantActionChunk) GetTypeOk() (*string, bool)

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

func (*AssistantActionChunk) HasCode

func (o *AssistantActionChunk) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*AssistantActionChunk) HasCodeError

func (o *AssistantActionChunk) HasCodeError() bool

HasCodeError returns a boolean if a field has been set.

func (*AssistantActionChunk) HasCodeOutput

func (o *AssistantActionChunk) HasCodeOutput() bool

HasCodeOutput returns a boolean if a field has been set.

func (*AssistantActionChunk) HasMessage

func (o *AssistantActionChunk) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AssistantActionChunk) HasPlan

func (o *AssistantActionChunk) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (AssistantActionChunk) MarshalJSON

func (o AssistantActionChunk) MarshalJSON() ([]byte, error)

func (*AssistantActionChunk) SetCode

func (o *AssistantActionChunk) SetCode(v string)

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*AssistantActionChunk) SetCodeError

func (o *AssistantActionChunk) SetCodeError(v string)

SetCodeError gets a reference to the given NullableString and assigns it to the CodeError field.

func (*AssistantActionChunk) SetCodeErrorNil

func (o *AssistantActionChunk) SetCodeErrorNil()

SetCodeErrorNil sets the value for CodeError to be an explicit nil

func (*AssistantActionChunk) SetCodeNil

func (o *AssistantActionChunk) SetCodeNil()

SetCodeNil sets the value for Code to be an explicit nil

func (*AssistantActionChunk) SetCodeOutput

func (o *AssistantActionChunk) SetCodeOutput(v string)

SetCodeOutput gets a reference to the given NullableString and assigns it to the CodeOutput field.

func (*AssistantActionChunk) SetCodeOutputNil

func (o *AssistantActionChunk) SetCodeOutputNil()

SetCodeOutputNil sets the value for CodeOutput to be an explicit nil

func (*AssistantActionChunk) SetIndex

func (o *AssistantActionChunk) SetIndex(v int32)

SetIndex sets field value

func (*AssistantActionChunk) SetMessage

func (o *AssistantActionChunk) SetMessage(v string)

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

func (*AssistantActionChunk) SetMessageNil

func (o *AssistantActionChunk) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (*AssistantActionChunk) SetPlan

func (o *AssistantActionChunk) SetPlan(v string)

SetPlan gets a reference to the given NullableString and assigns it to the Plan field.

func (*AssistantActionChunk) SetPlanNil

func (o *AssistantActionChunk) SetPlanNil()

SetPlanNil sets the value for Plan to be an explicit nil

func (*AssistantActionChunk) SetType

func (o *AssistantActionChunk) SetType(v string)

SetType sets field value

func (AssistantActionChunk) ToMap

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

func (*AssistantActionChunk) UnmarshalJSON

func (o *AssistantActionChunk) UnmarshalJSON(data []byte) (err error)

func (*AssistantActionChunk) UnsetCode

func (o *AssistantActionChunk) UnsetCode()

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*AssistantActionChunk) UnsetCodeError

func (o *AssistantActionChunk) UnsetCodeError()

UnsetCodeError ensures that no value is present for CodeError, not even an explicit nil

func (*AssistantActionChunk) UnsetCodeOutput

func (o *AssistantActionChunk) UnsetCodeOutput()

UnsetCodeOutput ensures that no value is present for CodeOutput, not even an explicit nil

func (*AssistantActionChunk) UnsetMessage

func (o *AssistantActionChunk) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

func (*AssistantActionChunk) UnsetPlan

func (o *AssistantActionChunk) UnsetPlan()

UnsetPlan ensures that no value is present for Plan, not even an explicit nil

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       Doer
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DdnConfig

type DdnConfig struct {
	// URL of the /sql endpoint on Hasura DDN
	Url string `json:"url"`
	// HTTP headers that should be forwarded to DDN
	Headers map[string]string `json:"headers,omitempty"`
}

DdnConfig struct for DdnConfig

func NewDdnConfig

func NewDdnConfig(url string) *DdnConfig

NewDdnConfig instantiates a new DdnConfig 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 NewDdnConfigWithDefaults

func NewDdnConfigWithDefaults() *DdnConfig

NewDdnConfigWithDefaults instantiates a new DdnConfig 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 (*DdnConfig) GetHeaders

func (o *DdnConfig) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*DdnConfig) GetHeadersOk

func (o *DdnConfig) GetHeadersOk() (map[string]string, bool)

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

func (*DdnConfig) GetUrl

func (o *DdnConfig) GetUrl() string

GetUrl returns the Url field value

func (*DdnConfig) GetUrlOk

func (o *DdnConfig) GetUrlOk() (*string, bool)

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

func (*DdnConfig) HasHeaders

func (o *DdnConfig) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (DdnConfig) MarshalJSON

func (o DdnConfig) MarshalJSON() ([]byte, error)

func (*DdnConfig) SetHeaders

func (o *DdnConfig) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*DdnConfig) SetUrl

func (o *DdnConfig) SetUrl(v string)

SetUrl sets field value

func (DdnConfig) ToMap

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

func (*DdnConfig) UnmarshalJSON

func (o *DdnConfig) UnmarshalJSON(data []byte) (err error)

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) ExecuteProgramExecuteProgramPost

func (a *DefaultAPIService) ExecuteProgramExecuteProgramPost(ctx context.Context) ApiExecuteProgramExecuteProgramPostRequest

ExecuteProgramExecuteProgramPost Execute Program

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

func (*DefaultAPIService) ExecuteProgramExecuteProgramPostExecute

func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostExecute(r ApiExecuteProgramExecuteProgramPostRequest) (*PromptQlExecutionResult, *http.Response, error)

Execute executes the request

@return PromptQlExecutionResult

func (*DefaultAPIService) ExecuteProgramExecuteProgramPostExecuteRequest

func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostExecuteRequest(req *http.Request) (*http.Response, error)

ExecuteProgramExecuteProgramPostExecuteRequest executes the http request. Returns the http response.

func (*DefaultAPIService) ExecuteProgramExecuteProgramPostRequest

func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostRequest(r ApiExecuteProgramExecuteProgramPostRequest) (*http.Request, error)

ExecuteProgramExecuteProgramPostRequest creates an http request. @return PromptQlExecutionResult

func (*DefaultAPIService) QueryQueryPost

QueryQueryPost Query

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

func (*DefaultAPIService) QueryQueryPostExecute

func (a *DefaultAPIService) QueryQueryPostExecute(r ApiQueryQueryPostRequest) (*QueryResponse, *http.Response, error)

Execute executes the request

@return QueryResponse

func (*DefaultAPIService) QueryQueryPostExecuteRequest

func (a *DefaultAPIService) QueryQueryPostExecuteRequest(req *http.Request) (*http.Response, error)

QueryQueryPostExecuteRequest executes the http request. Returns the http response.

func (*DefaultAPIService) QueryQueryPostRequest

func (a *DefaultAPIService) QueryQueryPostRequest(r ApiQueryQueryPostRequest) (*http.Request, error)

QueryQueryPostRequest creates an http request. @return QueryResponse

type Doer

type Doer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer interface has the method required to use a type as custom http client. The net/*http.Client type satisfies this interface.

type ErrorChunk

type ErrorChunk struct {
	Type  string `json:"type"`
	Error string `json:"error"`
}

ErrorChunk struct for ErrorChunk

func NewErrorChunk

func NewErrorChunk(type_ string, error_ string) *ErrorChunk

NewErrorChunk instantiates a new ErrorChunk 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 NewErrorChunkWithDefaults

func NewErrorChunkWithDefaults() *ErrorChunk

NewErrorChunkWithDefaults instantiates a new ErrorChunk 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 (*ErrorChunk) GetError

func (o *ErrorChunk) GetError() string

GetError returns the Error field value

func (*ErrorChunk) GetErrorOk

func (o *ErrorChunk) GetErrorOk() (*string, bool)

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

func (*ErrorChunk) GetType

func (o *ErrorChunk) GetType() string

GetType returns the Type field value

func (*ErrorChunk) GetTypeOk

func (o *ErrorChunk) GetTypeOk() (*string, bool)

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

func (ErrorChunk) MarshalJSON

func (o ErrorChunk) MarshalJSON() ([]byte, error)

func (*ErrorChunk) SetError

func (o *ErrorChunk) SetError(v string)

SetError sets field value

func (*ErrorChunk) SetType

func (o *ErrorChunk) SetType(v string)

SetType sets field value

func (ErrorChunk) ToMap

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

func (*ErrorChunk) UnmarshalJSON

func (o *ErrorChunk) UnmarshalJSON(data []byte) (err error)

type ExecuteRequest

type ExecuteRequest struct {
	Code            string                                `json:"code"`
	PromptqlApiKey  NullableString                        `json:"promptql_api_key,omitempty"`
	AiPrimitivesLlm NullableExecuteRequestAiPrimitivesLlm `json:"ai_primitives_llm"`
	Ddn             NullableDdnConfig                     `json:"ddn"`
	Artifacts       []ExecuteRequestArtifactsInner        `json:"artifacts"`
}

ExecuteRequest struct for ExecuteRequest

func NewExecuteRequest

func NewExecuteRequest(code string, aiPrimitivesLlm NullableExecuteRequestAiPrimitivesLlm, ddn NullableDdnConfig, artifacts []ExecuteRequestArtifactsInner) *ExecuteRequest

NewExecuteRequest instantiates a new ExecuteRequest 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 NewExecuteRequestWithDefaults

func NewExecuteRequestWithDefaults() *ExecuteRequest

NewExecuteRequestWithDefaults instantiates a new ExecuteRequest 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 (*ExecuteRequest) GetAiPrimitivesLlm

func (o *ExecuteRequest) GetAiPrimitivesLlm() ExecuteRequestAiPrimitivesLlm

GetAiPrimitivesLlm returns the AiPrimitivesLlm field value If the value is explicit nil, the zero value for ExecuteRequestAiPrimitivesLlm will be returned

func (*ExecuteRequest) GetAiPrimitivesLlmOk

func (o *ExecuteRequest) GetAiPrimitivesLlmOk() (*ExecuteRequestAiPrimitivesLlm, bool)

GetAiPrimitivesLlmOk returns a tuple with the AiPrimitivesLlm field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ExecuteRequest) GetArtifacts

func (o *ExecuteRequest) GetArtifacts() []ExecuteRequestArtifactsInner

GetArtifacts returns the Artifacts field value

func (*ExecuteRequest) GetArtifactsOk

func (o *ExecuteRequest) GetArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)

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

func (*ExecuteRequest) GetCode

func (o *ExecuteRequest) GetCode() string

GetCode returns the Code field value

func (*ExecuteRequest) GetCodeOk

func (o *ExecuteRequest) GetCodeOk() (*string, bool)

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

func (*ExecuteRequest) GetDdn

func (o *ExecuteRequest) GetDdn() DdnConfig

GetDdn returns the Ddn field value If the value is explicit nil, the zero value for DdnConfig will be returned

func (*ExecuteRequest) GetDdnOk

func (o *ExecuteRequest) GetDdnOk() (*DdnConfig, bool)

GetDdnOk returns a tuple with the Ddn field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ExecuteRequest) GetPromptqlApiKey

func (o *ExecuteRequest) GetPromptqlApiKey() string

GetPromptqlApiKey returns the PromptqlApiKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ExecuteRequest) GetPromptqlApiKeyOk

func (o *ExecuteRequest) GetPromptqlApiKeyOk() (*string, bool)

GetPromptqlApiKeyOk returns a tuple with the PromptqlApiKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ExecuteRequest) HasPromptqlApiKey

func (o *ExecuteRequest) HasPromptqlApiKey() bool

HasPromptqlApiKey returns a boolean if a field has been set.

func (ExecuteRequest) MarshalJSON

func (o ExecuteRequest) MarshalJSON() ([]byte, error)

func (*ExecuteRequest) SetAiPrimitivesLlm

func (o *ExecuteRequest) SetAiPrimitivesLlm(v ExecuteRequestAiPrimitivesLlm)

SetAiPrimitivesLlm sets field value

func (*ExecuteRequest) SetArtifacts

func (o *ExecuteRequest) SetArtifacts(v []ExecuteRequestArtifactsInner)

SetArtifacts sets field value

func (*ExecuteRequest) SetCode

func (o *ExecuteRequest) SetCode(v string)

SetCode sets field value

func (*ExecuteRequest) SetDdn

func (o *ExecuteRequest) SetDdn(v DdnConfig)

SetDdn sets field value

func (*ExecuteRequest) SetPromptqlApiKey

func (o *ExecuteRequest) SetPromptqlApiKey(v string)

SetPromptqlApiKey gets a reference to the given NullableString and assigns it to the PromptqlApiKey field.

func (*ExecuteRequest) SetPromptqlApiKeyNil

func (o *ExecuteRequest) SetPromptqlApiKeyNil()

SetPromptqlApiKeyNil sets the value for PromptqlApiKey to be an explicit nil

func (ExecuteRequest) ToMap

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

func (*ExecuteRequest) UnmarshalJSON

func (o *ExecuteRequest) UnmarshalJSON(data []byte) (err error)

func (*ExecuteRequest) UnsetPromptqlApiKey

func (o *ExecuteRequest) UnsetPromptqlApiKey()

UnsetPromptqlApiKey ensures that no value is present for PromptqlApiKey, not even an explicit nil

type ExecuteRequestAiPrimitivesLlm

type ExecuteRequestAiPrimitivesLlm Llm

ExecuteRequestAiPrimitivesLlm - struct for ExecuteRequestAiPrimitivesLlm.

func ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm

func ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm(
	v *ApiAnthropicConfig,
) ExecuteRequestAiPrimitivesLlm

ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm is a convenience function that returns ApiAnthropicConfig wrapped in ExecuteRequestAiPrimitivesLlm.

func ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm

func ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm(
	v *ApiOpenAIConfig,
) ExecuteRequestAiPrimitivesLlm

ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm is a convenience function that returns ApiOpenAIConfig wrapped in ExecuteRequestAiPrimitivesLlm.

func HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm

func HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm(
	v *HasuraLlmConfig,
) ExecuteRequestAiPrimitivesLlm

HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm is a convenience function that returns HasuraLlmConfig wrapped in ExecuteRequestAiPrimitivesLlm.

func NewExecuteRequestAiPrimitivesLlm

func NewExecuteRequestAiPrimitivesLlm(inner LlmInterface) ExecuteRequestAiPrimitivesLlm

NewExecuteRequestAiPrimitivesLlm creates a generic ExecuteRequestAiPrimitivesLlm instance.

func (ExecuteRequestAiPrimitivesLlm) IsNil

func (src ExecuteRequestAiPrimitivesLlm) IsNil() bool

IsNil checks if the instance is empty.

func (ExecuteRequestAiPrimitivesLlm) MarshalJSON

func (src ExecuteRequestAiPrimitivesLlm) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON.

func (*ExecuteRequestAiPrimitivesLlm) UnmarshalJSON

func (dst *ExecuteRequestAiPrimitivesLlm) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct.

type ExecuteRequestArtifactsInner

type ExecuteRequestArtifactsInner Artifact

ExecuteRequestArtifactsInner - struct for ExecuteRequestArtifactsInner.

func TableArtifactAsExecuteRequestArtifactsInner

func TableArtifactAsExecuteRequestArtifactsInner(v *TableArtifact) ExecuteRequestArtifactsInner

TableArtifactAsExecuteRequestArtifactsInner is a convenience function that returns TableArtifact wrapped in ExecuteRequestArtifactsInner.

func TextArtifactAsExecuteRequestArtifactsInner

func TextArtifactAsExecuteRequestArtifactsInner(v *TextArtifact) ExecuteRequestArtifactsInner

TextArtifactAsExecuteRequestArtifactsInner is a convenience function that returns TextArtifact wrapped in ExecuteRequestArtifactsInner.

func VisualizationArtifactAsExecuteRequestArtifactsInner

func VisualizationArtifactAsExecuteRequestArtifactsInner(
	v *VisualizationArtifact,
) ExecuteRequestArtifactsInner

VisualizationArtifactAsExecuteRequestArtifactsInner is a convenience function that returns VisualizationArtifact wrapped in ExecuteRequestArtifactsInner.

func (ExecuteRequestArtifactsInner) AsTable

AsText converts the instance to a nullable TableArtifact.

func (ExecuteRequestArtifactsInner) AsText

AsText returns the instance as a nullable TextArtifact.

func (ExecuteRequestArtifactsInner) AsVisualization

func (src ExecuteRequestArtifactsInner) AsVisualization() *VisualizationArtifact

AsText converts the instance to a nullable VisualizationArtifact.

func (ExecuteRequestArtifactsInner) GetArtifactType

func (src ExecuteRequestArtifactsInner) GetArtifactType() ArtifactType

GetArtifactType returns the artifact type of the underlying type.

func (ExecuteRequestArtifactsInner) GetIdentifier

func (src ExecuteRequestArtifactsInner) GetIdentifier() string

GetIdentifier returns the identifier of the underlying type.

func (ExecuteRequestArtifactsInner) Interface

Interface returns the inner interface.

func (ExecuteRequestArtifactsInner) IsNil

func (src ExecuteRequestArtifactsInner) IsNil() bool

IsNil checks if the instance is empty.

func (ExecuteRequestArtifactsInner) MarshalJSON

func (src ExecuteRequestArtifactsInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON.

func (*ExecuteRequestArtifactsInner) UnmarshalJSON

func (dst *ExecuteRequestArtifactsInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct.

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HTTPValidationError

type HTTPValidationError struct {
	Detail []ValidationError `json:"detail,omitempty"`
}

HTTPValidationError struct for HTTPValidationError

func NewHTTPValidationError

func NewHTTPValidationError() *HTTPValidationError

NewHTTPValidationError instantiates a new HTTPValidationError 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 NewHTTPValidationErrorWithDefaults

func NewHTTPValidationErrorWithDefaults() *HTTPValidationError

NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError 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 (*HTTPValidationError) GetDetail

func (o *HTTPValidationError) GetDetail() []ValidationError

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPValidationError) GetDetailOk

func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)

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

func (*HTTPValidationError) HasDetail

func (o *HTTPValidationError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (HTTPValidationError) MarshalJSON

func (o HTTPValidationError) MarshalJSON() ([]byte, error)

func (*HTTPValidationError) SetDetail

func (o *HTTPValidationError) SetDetail(v []ValidationError)

SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.

func (HTTPValidationError) ToMap

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

type HasuraLlmConfig

type HasuraLlmConfig struct {
	Provider string `json:"provider"`
}

HasuraLlmConfig struct for HasuraLlmConfig

func NewHasuraLlmConfig

func NewHasuraLlmConfig(provider string) *HasuraLlmConfig

NewHasuraLlmConfig instantiates a new HasuraLlmConfig 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 NewHasuraLlmConfigWithDefaults

func NewHasuraLlmConfigWithDefaults() *HasuraLlmConfig

NewHasuraLlmConfigWithDefaults instantiates a new HasuraLlmConfig 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 (*HasuraLlmConfig) GetProvider

func (o *HasuraLlmConfig) GetProvider() string

GetProvider returns the Provider field value

func (*HasuraLlmConfig) GetProviderOk

func (o *HasuraLlmConfig) GetProviderOk() (*string, bool)

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

func (HasuraLlmConfig) MarshalJSON

func (o HasuraLlmConfig) MarshalJSON() ([]byte, error)

func (*HasuraLlmConfig) SetProvider

func (o *HasuraLlmConfig) SetProvider(v string)

SetProvider sets field value

func (HasuraLlmConfig) ToMap

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

func (*HasuraLlmConfig) UnmarshalJSON

func (o *HasuraLlmConfig) UnmarshalJSON(data []byte) (err error)

type Llm

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

Llm - struct for Llm.

func ApiAnthropicConfigAsLlm

func ApiAnthropicConfigAsLlm(v *ApiAnthropicConfig) Llm

ApiAnthropicConfigAsLlm is a convenience function that returns ApiAnthropicConfig wrapped in Llm.

func ApiOpenAIConfigAsLlm

func ApiOpenAIConfigAsLlm(v *ApiOpenAIConfig) Llm

ApiOpenAIConfigAsLlm is a convenience function that returns ApiOpenAIConfig wrapped in Llm.

func HasuraLlmConfigAsLlm

func HasuraLlmConfigAsLlm(v *HasuraLlmConfig) Llm

HasuraLlmConfigAsLlm is a convenience function that returns HasuraLlmConfig wrapped in Llm.

func NewLlm

func NewLlm[L LlmInterface](inner L) Llm

NewLlm creates an Llm instance.

func (Llm) AsAnthropic

func (src Llm) AsAnthropic() *ApiAnthropicConfig

AsAnthropic returns the instance as a nullable ApiAnthropicConfig.

func (Llm) AsHasura

func (src Llm) AsHasura() *HasuraLlmConfig

AsHasura returns the instance as a nullable HasuraLlmConfig.

func (Llm) AsOpenAI

func (src Llm) AsOpenAI() *ApiOpenAIConfig

AsOpenAI returns the instance as a nullable ApiOpenAIConfig.

func (Llm) Interface

func (src Llm) Interface() LlmInterface

Interface returns the inner interface.

func (Llm) IsNil

func (src Llm) IsNil() bool

IsNil checks if the instance is empty.

func (Llm) MarshalJSON

func (src Llm) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON.

func (Llm) String

func (src Llm) String() string

String prints the instance to string.

func (*Llm) UnmarshalJSON

func (dst *Llm) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct.

type LlmInterface

type LlmInterface interface {
	GetProvider() string
}

LlmInterface abstracts the LLM model as an interface.

type LlmProviderType

type LlmProviderType string

LlmProviderType represents a LLM provider type enum.

func ParseLlmProviderType

func ParseLlmProviderType(input string) (LlmProviderType, error)

ParseLlmProviderType parses the LLM provider type enum from string.

func (*LlmProviderType) UnmarshalJSON

func (dst *LlmProviderType) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the enum.

type LlmUsage

type LlmUsage struct {
	Provider     *string `json:"provider,omitempty"`
	Model        *string `json:"model,omitempty"`
	InputTokens  *int32  `json:"input_tokens,omitempty"`
	OutputTokens *int32  `json:"output_tokens,omitempty"`
}

LlmUsage struct for LlmUsage

func NewLlmUsage

func NewLlmUsage() *LlmUsage

NewLlmUsage instantiates a new LlmUsage 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 NewLlmUsageWithDefaults

func NewLlmUsageWithDefaults() *LlmUsage

NewLlmUsageWithDefaults instantiates a new LlmUsage 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 (*LlmUsage) GetInputTokens

func (o *LlmUsage) GetInputTokens() int32

GetInputTokens returns the InputTokens field value if set, zero value otherwise.

func (*LlmUsage) GetInputTokensOk

func (o *LlmUsage) GetInputTokensOk() (*int32, bool)

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

func (*LlmUsage) GetModel

func (o *LlmUsage) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*LlmUsage) GetModelOk

func (o *LlmUsage) GetModelOk() (*string, bool)

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

func (*LlmUsage) GetOutputTokens

func (o *LlmUsage) GetOutputTokens() int32

GetOutputTokens returns the OutputTokens field value if set, zero value otherwise.

func (*LlmUsage) GetOutputTokensOk

func (o *LlmUsage) GetOutputTokensOk() (*int32, bool)

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

func (*LlmUsage) GetProvider

func (o *LlmUsage) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*LlmUsage) GetProviderOk

func (o *LlmUsage) GetProviderOk() (*string, bool)

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

func (*LlmUsage) HasInputTokens

func (o *LlmUsage) HasInputTokens() bool

HasInputTokens returns a boolean if a field has been set.

func (*LlmUsage) HasModel

func (o *LlmUsage) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*LlmUsage) HasOutputTokens

func (o *LlmUsage) HasOutputTokens() bool

HasOutputTokens returns a boolean if a field has been set.

func (*LlmUsage) HasProvider

func (o *LlmUsage) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (LlmUsage) MarshalJSON

func (o LlmUsage) MarshalJSON() ([]byte, error)

func (*LlmUsage) SetInputTokens

func (o *LlmUsage) SetInputTokens(v int32)

SetInputTokens gets a reference to the given int32 and assigns it to the InputTokens field.

func (*LlmUsage) SetModel

func (o *LlmUsage) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*LlmUsage) SetOutputTokens

func (o *LlmUsage) SetOutputTokens(v int32)

SetOutputTokens gets a reference to the given int32 and assigns it to the OutputTokens field.

func (*LlmUsage) SetProvider

func (o *LlmUsage) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (LlmUsage) ToMap

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

type MappedNullable

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

type NullableApiAnthropicConfig

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

func NewNullableApiAnthropicConfig

func NewNullableApiAnthropicConfig(val *ApiAnthropicConfig) *NullableApiAnthropicConfig

func (NullableApiAnthropicConfig) Get

func (NullableApiAnthropicConfig) IsSet

func (v NullableApiAnthropicConfig) IsSet() bool

func (NullableApiAnthropicConfig) MarshalJSON

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

func (*NullableApiAnthropicConfig) Set

func (*NullableApiAnthropicConfig) UnmarshalJSON

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

func (*NullableApiAnthropicConfig) Unset

func (v *NullableApiAnthropicConfig) Unset()

type NullableApiOpenAIConfig

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

func NewNullableApiOpenAIConfig

func NewNullableApiOpenAIConfig(val *ApiOpenAIConfig) *NullableApiOpenAIConfig

func (NullableApiOpenAIConfig) Get

func (NullableApiOpenAIConfig) IsSet

func (v NullableApiOpenAIConfig) IsSet() bool

func (NullableApiOpenAIConfig) MarshalJSON

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

func (*NullableApiOpenAIConfig) Set

func (*NullableApiOpenAIConfig) UnmarshalJSON

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

func (*NullableApiOpenAIConfig) Unset

func (v *NullableApiOpenAIConfig) Unset()

type NullableApiThreadAssistantAction added in v0.2.0

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

func NewNullableApiThreadAssistantAction added in v0.2.0

func NewNullableApiThreadAssistantAction(val *ApiThreadAssistantAction) *NullableApiThreadAssistantAction

func (NullableApiThreadAssistantAction) Get added in v0.2.0

func (NullableApiThreadAssistantAction) IsSet added in v0.2.0

func (NullableApiThreadAssistantAction) MarshalJSON added in v0.2.0

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

func (*NullableApiThreadAssistantAction) Set added in v0.2.0

func (*NullableApiThreadAssistantAction) UnmarshalJSON added in v0.2.0

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

func (*NullableApiThreadAssistantAction) Unset added in v0.2.0

type NullableApiThreadInteraction added in v0.2.0

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

func NewNullableApiThreadInteraction added in v0.2.0

func NewNullableApiThreadInteraction(val *ApiThreadInteraction) *NullableApiThreadInteraction

func (NullableApiThreadInteraction) Get added in v0.2.0

func (NullableApiThreadInteraction) IsSet added in v0.2.0

func (NullableApiThreadInteraction) MarshalJSON added in v0.2.0

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

func (*NullableApiThreadInteraction) Set added in v0.2.0

func (*NullableApiThreadInteraction) UnmarshalJSON added in v0.2.0

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

func (*NullableApiThreadInteraction) Unset added in v0.2.0

func (v *NullableApiThreadInteraction) Unset()

type NullableApiThreadUserMessage added in v0.2.0

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

func NewNullableApiThreadUserMessage added in v0.2.0

func NewNullableApiThreadUserMessage(val *ApiThreadUserMessage) *NullableApiThreadUserMessage

func (NullableApiThreadUserMessage) Get added in v0.2.0

func (NullableApiThreadUserMessage) IsSet added in v0.2.0

func (NullableApiThreadUserMessage) MarshalJSON added in v0.2.0

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

func (*NullableApiThreadUserMessage) Set added in v0.2.0

func (*NullableApiThreadUserMessage) UnmarshalJSON added in v0.2.0

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

func (*NullableApiThreadUserMessage) Unset added in v0.2.0

func (v *NullableApiThreadUserMessage) Unset()

type NullableArtifactUpdateChunk

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

func NewNullableArtifactUpdateChunk

func NewNullableArtifactUpdateChunk(val *ArtifactUpdateChunk) *NullableArtifactUpdateChunk

func (NullableArtifactUpdateChunk) Get

func (NullableArtifactUpdateChunk) IsSet

func (NullableArtifactUpdateChunk) MarshalJSON

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

func (*NullableArtifactUpdateChunk) Set

func (*NullableArtifactUpdateChunk) UnmarshalJSON

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

func (*NullableArtifactUpdateChunk) Unset

func (v *NullableArtifactUpdateChunk) Unset()

type NullableAssistantActionChunk

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

func NewNullableAssistantActionChunk

func NewNullableAssistantActionChunk(val *AssistantActionChunk) *NullableAssistantActionChunk

func (NullableAssistantActionChunk) Get

func (NullableAssistantActionChunk) IsSet

func (NullableAssistantActionChunk) MarshalJSON

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

func (*NullableAssistantActionChunk) Set

func (*NullableAssistantActionChunk) UnmarshalJSON

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

func (*NullableAssistantActionChunk) Unset

func (v *NullableAssistantActionChunk) Unset()

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 NullableDdnConfig

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

func NewNullableDdnConfig

func NewNullableDdnConfig(val *DdnConfig) *NullableDdnConfig

func (NullableDdnConfig) Get

func (v NullableDdnConfig) Get() *DdnConfig

func (NullableDdnConfig) IsSet

func (v NullableDdnConfig) IsSet() bool

func (NullableDdnConfig) MarshalJSON

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

func (*NullableDdnConfig) Set

func (v *NullableDdnConfig) Set(val *DdnConfig)

func (*NullableDdnConfig) UnmarshalJSON

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

func (*NullableDdnConfig) Unset

func (v *NullableDdnConfig) Unset()

type NullableErrorChunk

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

func NewNullableErrorChunk

func NewNullableErrorChunk(val *ErrorChunk) *NullableErrorChunk

func (NullableErrorChunk) Get

func (v NullableErrorChunk) Get() *ErrorChunk

func (NullableErrorChunk) IsSet

func (v NullableErrorChunk) IsSet() bool

func (NullableErrorChunk) MarshalJSON

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

func (*NullableErrorChunk) Set

func (v *NullableErrorChunk) Set(val *ErrorChunk)

func (*NullableErrorChunk) UnmarshalJSON

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

func (*NullableErrorChunk) Unset

func (v *NullableErrorChunk) Unset()

type NullableExecuteRequest

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

func NewNullableExecuteRequest

func NewNullableExecuteRequest(val *ExecuteRequest) *NullableExecuteRequest

func (NullableExecuteRequest) Get

func (NullableExecuteRequest) IsSet

func (v NullableExecuteRequest) IsSet() bool

func (NullableExecuteRequest) MarshalJSON

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

func (*NullableExecuteRequest) Set

func (*NullableExecuteRequest) UnmarshalJSON

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

func (*NullableExecuteRequest) Unset

func (v *NullableExecuteRequest) Unset()

type NullableExecuteRequestAiPrimitivesLlm

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

func (NullableExecuteRequestAiPrimitivesLlm) Get

func (NullableExecuteRequestAiPrimitivesLlm) IsSet

func (NullableExecuteRequestAiPrimitivesLlm) MarshalJSON

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

func (*NullableExecuteRequestAiPrimitivesLlm) Set

func (*NullableExecuteRequestAiPrimitivesLlm) UnmarshalJSON

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

func (*NullableExecuteRequestAiPrimitivesLlm) Unset

type NullableExecuteRequestArtifactsInner

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

func (NullableExecuteRequestArtifactsInner) Get

func (NullableExecuteRequestArtifactsInner) IsSet

func (NullableExecuteRequestArtifactsInner) MarshalJSON

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

func (*NullableExecuteRequestArtifactsInner) Set

func (*NullableExecuteRequestArtifactsInner) UnmarshalJSON

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

func (*NullableExecuteRequestArtifactsInner) 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 NullableHTTPValidationError

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

func NewNullableHTTPValidationError

func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError

func (NullableHTTPValidationError) Get

func (NullableHTTPValidationError) IsSet

func (NullableHTTPValidationError) MarshalJSON

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

func (*NullableHTTPValidationError) Set

func (*NullableHTTPValidationError) UnmarshalJSON

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

func (*NullableHTTPValidationError) Unset

func (v *NullableHTTPValidationError) Unset()

type NullableHasuraLlmConfig

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

func NewNullableHasuraLlmConfig

func NewNullableHasuraLlmConfig(val *HasuraLlmConfig) *NullableHasuraLlmConfig

func (NullableHasuraLlmConfig) Get

func (NullableHasuraLlmConfig) IsSet

func (v NullableHasuraLlmConfig) IsSet() bool

func (NullableHasuraLlmConfig) MarshalJSON

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

func (*NullableHasuraLlmConfig) Set

func (*NullableHasuraLlmConfig) UnmarshalJSON

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

func (*NullableHasuraLlmConfig) Unset

func (v *NullableHasuraLlmConfig) 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 NullableLlmUsage

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

func NewNullableLlmUsage

func NewNullableLlmUsage(val *LlmUsage) *NullableLlmUsage

func (NullableLlmUsage) Get

func (v NullableLlmUsage) Get() *LlmUsage

func (NullableLlmUsage) IsSet

func (v NullableLlmUsage) IsSet() bool

func (NullableLlmUsage) MarshalJSON

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

func (*NullableLlmUsage) Set

func (v *NullableLlmUsage) Set(val *LlmUsage)

func (*NullableLlmUsage) UnmarshalJSON

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

func (*NullableLlmUsage) Unset

func (v *NullableLlmUsage) Unset()

type NullablePromptQlExecutionResult

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

func (NullablePromptQlExecutionResult) Get

func (NullablePromptQlExecutionResult) IsSet

func (NullablePromptQlExecutionResult) MarshalJSON

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

func (*NullablePromptQlExecutionResult) Set

func (*NullablePromptQlExecutionResult) UnmarshalJSON

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

func (*NullablePromptQlExecutionResult) Unset

type NullableQueryRequest

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

func NewNullableQueryRequest

func NewNullableQueryRequest(val *QueryRequest) *NullableQueryRequest

func (NullableQueryRequest) Get

func (NullableQueryRequest) IsSet

func (v NullableQueryRequest) IsSet() bool

func (NullableQueryRequest) MarshalJSON

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

func (*NullableQueryRequest) Set

func (v *NullableQueryRequest) Set(val *QueryRequest)

func (*NullableQueryRequest) UnmarshalJSON

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

func (*NullableQueryRequest) Unset

func (v *NullableQueryRequest) Unset()

type NullableQueryResponse

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

func NewNullableQueryResponse

func NewNullableQueryResponse(val *QueryResponse) *NullableQueryResponse

func (NullableQueryResponse) Get

func (NullableQueryResponse) IsSet

func (v NullableQueryResponse) IsSet() bool

func (NullableQueryResponse) MarshalJSON

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

func (*NullableQueryResponse) Set

func (v *NullableQueryResponse) Set(val *QueryResponse)

func (*NullableQueryResponse) UnmarshalJSON

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

func (*NullableQueryResponse) Unset

func (v *NullableQueryResponse) Unset()

type NullableQueryResponseChunk added in v0.2.0

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

func NewNullableQueryResponseChunk added in v0.2.0

func NewNullableQueryResponseChunk(val *QueryResponseChunk) *NullableQueryResponseChunk

func (NullableQueryResponseChunk) Get added in v0.2.0

func (NullableQueryResponseChunk) IsSet added in v0.2.0

func (v NullableQueryResponseChunk) IsSet() bool

func (NullableQueryResponseChunk) MarshalJSON added in v0.2.0

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

func (*NullableQueryResponseChunk) Set added in v0.2.0

func (*NullableQueryResponseChunk) UnmarshalJSON added in v0.2.0

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

func (*NullableQueryResponseChunk) Unset added in v0.2.0

func (v *NullableQueryResponseChunk) 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 NullableTableArtifact

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

func NewNullableTableArtifact

func NewNullableTableArtifact(val *TableArtifact) *NullableTableArtifact

func (NullableTableArtifact) Get

func (NullableTableArtifact) IsSet

func (v NullableTableArtifact) IsSet() bool

func (NullableTableArtifact) MarshalJSON

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

func (*NullableTableArtifact) Set

func (v *NullableTableArtifact) Set(val *TableArtifact)

func (*NullableTableArtifact) UnmarshalJSON

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

func (*NullableTableArtifact) Unset

func (v *NullableTableArtifact) Unset()

type NullableTextArtifact

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

func NewNullableTextArtifact

func NewNullableTextArtifact(val *TextArtifact) *NullableTextArtifact

func (NullableTextArtifact) Get

func (NullableTextArtifact) IsSet

func (v NullableTextArtifact) IsSet() bool

func (NullableTextArtifact) MarshalJSON

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

func (*NullableTextArtifact) Set

func (v *NullableTextArtifact) Set(val *TextArtifact)

func (*NullableTextArtifact) UnmarshalJSON

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

func (*NullableTextArtifact) Unset

func (v *NullableTextArtifact) Unset()

type NullableThreadMetadataChunk added in v0.2.0

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

func NewNullableThreadMetadataChunk added in v0.2.0

func NewNullableThreadMetadataChunk(val *ThreadMetadataChunk) *NullableThreadMetadataChunk

func (NullableThreadMetadataChunk) Get added in v0.2.0

func (NullableThreadMetadataChunk) IsSet added in v0.2.0

func (NullableThreadMetadataChunk) MarshalJSON added in v0.2.0

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

func (*NullableThreadMetadataChunk) Set added in v0.2.0

func (*NullableThreadMetadataChunk) UnmarshalJSON added in v0.2.0

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

func (*NullableThreadMetadataChunk) Unset added in v0.2.0

func (v *NullableThreadMetadataChunk) 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 NullableValidationError

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

func NewNullableValidationError

func NewNullableValidationError(val *ValidationError) *NullableValidationError

func (NullableValidationError) Get

func (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

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

func (*NullableValidationError) Set

func (*NullableValidationError) UnmarshalJSON

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

func (*NullableValidationError) Unset

func (v *NullableValidationError) Unset()

type NullableValidationErrorLocInner

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

func (NullableValidationErrorLocInner) Get

func (NullableValidationErrorLocInner) IsSet

func (NullableValidationErrorLocInner) MarshalJSON

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

func (*NullableValidationErrorLocInner) Set

func (*NullableValidationErrorLocInner) UnmarshalJSON

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

func (*NullableValidationErrorLocInner) Unset

type NullableVisualizationArtifact

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

func (NullableVisualizationArtifact) Get

func (NullableVisualizationArtifact) IsSet

func (NullableVisualizationArtifact) MarshalJSON

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

func (*NullableVisualizationArtifact) Set

func (*NullableVisualizationArtifact) UnmarshalJSON

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

func (*NullableVisualizationArtifact) Unset

func (v *NullableVisualizationArtifact) Unset()

type NullableVisualizationArtifactData

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

func (NullableVisualizationArtifactData) Get

func (NullableVisualizationArtifactData) IsSet

func (NullableVisualizationArtifactData) MarshalJSON

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

func (*NullableVisualizationArtifactData) Set

func (*NullableVisualizationArtifactData) UnmarshalJSON

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

func (*NullableVisualizationArtifactData) Unset

type PromptQlExecutionResult

type PromptQlExecutionResult struct {
	Output              string                         `json:"output"`
	Error               NullableString                 `json:"error"`
	AccessedArtifactIds []string                       `json:"accessed_artifact_ids"`
	ModifiedArtifacts   []ExecuteRequestArtifactsInner `json:"modified_artifacts"`
	LlmUsages           []LlmUsage                     `json:"llm_usages"`
}

PromptQlExecutionResult struct for PromptQlExecutionResult

func NewPromptQlExecutionResult

func NewPromptQlExecutionResult(output string, error_ NullableString, accessedArtifactIds []string, modifiedArtifacts []ExecuteRequestArtifactsInner, llmUsages []LlmUsage) *PromptQlExecutionResult

NewPromptQlExecutionResult instantiates a new PromptQlExecutionResult 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 NewPromptQlExecutionResultWithDefaults

func NewPromptQlExecutionResultWithDefaults() *PromptQlExecutionResult

NewPromptQlExecutionResultWithDefaults instantiates a new PromptQlExecutionResult 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 (*PromptQlExecutionResult) GetAccessedArtifactIds

func (o *PromptQlExecutionResult) GetAccessedArtifactIds() []string

GetAccessedArtifactIds returns the AccessedArtifactIds field value

func (*PromptQlExecutionResult) GetAccessedArtifactIdsOk

func (o *PromptQlExecutionResult) GetAccessedArtifactIdsOk() ([]string, bool)

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

func (*PromptQlExecutionResult) GetError

func (o *PromptQlExecutionResult) GetError() string

GetError returns the Error field value If the value is explicit nil, the zero value for string will be returned

func (*PromptQlExecutionResult) GetErrorOk

func (o *PromptQlExecutionResult) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PromptQlExecutionResult) GetLlmUsages

func (o *PromptQlExecutionResult) GetLlmUsages() []LlmUsage

GetLlmUsages returns the LlmUsages field value

func (*PromptQlExecutionResult) GetLlmUsagesOk

func (o *PromptQlExecutionResult) GetLlmUsagesOk() ([]LlmUsage, bool)

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

func (*PromptQlExecutionResult) GetModifiedArtifacts

func (o *PromptQlExecutionResult) GetModifiedArtifacts() []ExecuteRequestArtifactsInner

GetModifiedArtifacts returns the ModifiedArtifacts field value

func (*PromptQlExecutionResult) GetModifiedArtifactsOk

func (o *PromptQlExecutionResult) GetModifiedArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)

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

func (*PromptQlExecutionResult) GetOutput

func (o *PromptQlExecutionResult) GetOutput() string

GetOutput returns the Output field value

func (*PromptQlExecutionResult) GetOutputOk

func (o *PromptQlExecutionResult) GetOutputOk() (*string, bool)

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

func (PromptQlExecutionResult) MarshalJSON

func (o PromptQlExecutionResult) MarshalJSON() ([]byte, error)

func (*PromptQlExecutionResult) SetAccessedArtifactIds

func (o *PromptQlExecutionResult) SetAccessedArtifactIds(v []string)

SetAccessedArtifactIds sets field value

func (*PromptQlExecutionResult) SetError

func (o *PromptQlExecutionResult) SetError(v string)

SetError sets field value

func (*PromptQlExecutionResult) SetLlmUsages

func (o *PromptQlExecutionResult) SetLlmUsages(v []LlmUsage)

SetLlmUsages sets field value

func (*PromptQlExecutionResult) SetModifiedArtifacts

func (o *PromptQlExecutionResult) SetModifiedArtifacts(v []ExecuteRequestArtifactsInner)

SetModifiedArtifacts sets field value

func (*PromptQlExecutionResult) SetOutput

func (o *PromptQlExecutionResult) SetOutput(v string)

SetOutput sets field value

func (PromptQlExecutionResult) ToMap

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

func (*PromptQlExecutionResult) UnmarshalJSON

func (o *PromptQlExecutionResult) UnmarshalJSON(data []byte) (err error)

type QueryRequest

type QueryRequest struct {
	Version            string                                `json:"version"`
	PromptqlApiKey     NullableString                        `json:"promptql_api_key,omitempty"`
	Llm                *Llm                                  `json:"llm,omitempty"`
	AiPrimitivesLlm    NullableExecuteRequestAiPrimitivesLlm `json:"ai_primitives_llm,omitempty"`
	Ddn                DdnConfig                             `json:"ddn"`
	Artifacts          []ExecuteRequestArtifactsInner        `json:"artifacts,omitempty"`
	SystemInstructions NullableString                        `json:"system_instructions,omitempty"`
	// An IANA timezone used to interpret queries that implicitly require timezones
	Timezone     string                 `json:"timezone"`
	Interactions []ApiThreadInteraction `json:"interactions"`
	Stream       bool                   `json:"stream"`
}

QueryRequest struct for QueryRequest

func NewQueryRequest

func NewQueryRequest(version string, ddn DdnConfig, timezone string, interactions []ApiThreadInteraction, stream bool) *QueryRequest

NewQueryRequest instantiates a new QueryRequest 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 NewQueryRequestWithDefaults

func NewQueryRequestWithDefaults() *QueryRequest

NewQueryRequestWithDefaults instantiates a new QueryRequest 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 (*QueryRequest) GetAiPrimitivesLlm

func (o *QueryRequest) GetAiPrimitivesLlm() ExecuteRequestAiPrimitivesLlm

GetAiPrimitivesLlm returns the AiPrimitivesLlm field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QueryRequest) GetAiPrimitivesLlmOk

func (o *QueryRequest) GetAiPrimitivesLlmOk() (*ExecuteRequestAiPrimitivesLlm, bool)

GetAiPrimitivesLlmOk returns a tuple with the AiPrimitivesLlm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*QueryRequest) GetArtifacts

func (o *QueryRequest) GetArtifacts() []ExecuteRequestArtifactsInner

GetArtifacts returns the Artifacts field value if set, zero value otherwise.

func (*QueryRequest) GetArtifactsOk

func (o *QueryRequest) GetArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)

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

func (*QueryRequest) GetDdn

func (o *QueryRequest) GetDdn() DdnConfig

GetDdn returns the Ddn field value

func (*QueryRequest) GetDdnOk

func (o *QueryRequest) GetDdnOk() (*DdnConfig, bool)

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

func (*QueryRequest) GetInteractions

func (o *QueryRequest) GetInteractions() []ApiThreadInteraction

GetInteractions returns the Interactions field value

func (*QueryRequest) GetInteractionsOk

func (o *QueryRequest) GetInteractionsOk() ([]ApiThreadInteraction, bool)

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

func (*QueryRequest) GetLlm

func (o *QueryRequest) GetLlm() Llm

GetLlm returns the Llm field value if set, zero value otherwise.

func (*QueryRequest) GetLlmOk

func (o *QueryRequest) GetLlmOk() (*Llm, bool)

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

func (*QueryRequest) GetPromptqlApiKey

func (o *QueryRequest) GetPromptqlApiKey() string

GetPromptqlApiKey returns the PromptqlApiKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QueryRequest) GetPromptqlApiKeyOk

func (o *QueryRequest) GetPromptqlApiKeyOk() (*string, bool)

GetPromptqlApiKeyOk returns a tuple with the PromptqlApiKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*QueryRequest) GetStream

func (o *QueryRequest) GetStream() bool

GetStream returns the Stream field value

func (*QueryRequest) GetStreamOk

func (o *QueryRequest) GetStreamOk() (*bool, bool)

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

func (*QueryRequest) GetSystemInstructions

func (o *QueryRequest) GetSystemInstructions() string

GetSystemInstructions returns the SystemInstructions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QueryRequest) GetSystemInstructionsOk

func (o *QueryRequest) GetSystemInstructionsOk() (*string, bool)

GetSystemInstructionsOk returns a tuple with the SystemInstructions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*QueryRequest) GetTimezone

func (o *QueryRequest) GetTimezone() string

GetTimezone returns the Timezone field value

func (*QueryRequest) GetTimezoneOk

func (o *QueryRequest) GetTimezoneOk() (*string, bool)

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

func (*QueryRequest) GetVersion

func (o *QueryRequest) GetVersion() string

GetVersion returns the Version field value

func (*QueryRequest) GetVersionOk

func (o *QueryRequest) GetVersionOk() (*string, bool)

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

func (*QueryRequest) HasAiPrimitivesLlm

func (o *QueryRequest) HasAiPrimitivesLlm() bool

HasAiPrimitivesLlm returns a boolean if a field has been set.

func (*QueryRequest) HasArtifacts

func (o *QueryRequest) HasArtifacts() bool

HasArtifacts returns a boolean if a field has been set.

func (*QueryRequest) HasLlm

func (o *QueryRequest) HasLlm() bool

HasLlm returns a boolean if a field has been set.

func (*QueryRequest) HasPromptqlApiKey

func (o *QueryRequest) HasPromptqlApiKey() bool

HasPromptqlApiKey returns a boolean if a field has been set.

func (*QueryRequest) HasSystemInstructions

func (o *QueryRequest) HasSystemInstructions() bool

HasSystemInstructions returns a boolean if a field has been set.

func (QueryRequest) MarshalJSON

func (o QueryRequest) MarshalJSON() ([]byte, error)

func (*QueryRequest) SetAiPrimitivesLlm

func (o *QueryRequest) SetAiPrimitivesLlm(v ExecuteRequestAiPrimitivesLlm)

SetAiPrimitivesLlm gets a reference to the given NullableExecuteRequestAiPrimitivesLlm and assigns it to the AiPrimitivesLlm field.

func (*QueryRequest) SetAiPrimitivesLlmNil

func (o *QueryRequest) SetAiPrimitivesLlmNil()

SetAiPrimitivesLlmNil sets the value for AiPrimitivesLlm to be an explicit nil

func (*QueryRequest) SetArtifacts

func (o *QueryRequest) SetArtifacts(v []ExecuteRequestArtifactsInner)

SetArtifacts gets a reference to the given []ExecuteRequestArtifactsInner and assigns it to the Artifacts field.

func (*QueryRequest) SetDdn

func (o *QueryRequest) SetDdn(v DdnConfig)

SetDdn sets field value

func (*QueryRequest) SetInteractions

func (o *QueryRequest) SetInteractions(v []ApiThreadInteraction)

SetInteractions sets field value

func (*QueryRequest) SetLlm

func (o *QueryRequest) SetLlm(v Llm)

SetLlm gets a reference to the given Llm and assigns it to the Llm field.

func (*QueryRequest) SetPromptqlApiKey

func (o *QueryRequest) SetPromptqlApiKey(v string)

SetPromptqlApiKey gets a reference to the given NullableString and assigns it to the PromptqlApiKey field.

func (*QueryRequest) SetPromptqlApiKeyNil

func (o *QueryRequest) SetPromptqlApiKeyNil()

SetPromptqlApiKeyNil sets the value for PromptqlApiKey to be an explicit nil

func (*QueryRequest) SetStream

func (o *QueryRequest) SetStream(v bool)

SetStream sets field value

func (*QueryRequest) SetSystemInstructions

func (o *QueryRequest) SetSystemInstructions(v string)

SetSystemInstructions gets a reference to the given NullableString and assigns it to the SystemInstructions field.

func (*QueryRequest) SetSystemInstructionsNil

func (o *QueryRequest) SetSystemInstructionsNil()

SetSystemInstructionsNil sets the value for SystemInstructions to be an explicit nil

func (*QueryRequest) SetTimezone

func (o *QueryRequest) SetTimezone(v string)

SetTimezone sets field value

func (*QueryRequest) SetVersion

func (o *QueryRequest) SetVersion(v string)

SetVersion sets field value

func (QueryRequest) ToMap

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

func (*QueryRequest) UnmarshalJSON

func (o *QueryRequest) UnmarshalJSON(data []byte) (err error)

func (*QueryRequest) UnsetAiPrimitivesLlm

func (o *QueryRequest) UnsetAiPrimitivesLlm()

UnsetAiPrimitivesLlm ensures that no value is present for AiPrimitivesLlm, not even an explicit nil

func (*QueryRequest) UnsetPromptqlApiKey

func (o *QueryRequest) UnsetPromptqlApiKey()

UnsetPromptqlApiKey ensures that no value is present for PromptqlApiKey, not even an explicit nil

func (*QueryRequest) UnsetSystemInstructions

func (o *QueryRequest) UnsetSystemInstructions()

UnsetSystemInstructions ensures that no value is present for SystemInstructions, not even an explicit nil

type QueryResponse

type QueryResponse struct {
	ThreadId         string                     `json:"thread_id"`
	AssistantActions []ApiThreadAssistantAction `json:"assistant_actions"`
	// List of artifacts created or updated in this request. May contain duplicate artifact identifiers.
	ModifiedArtifacts []ExecuteRequestArtifactsInner `json:"modified_artifacts"`
}

QueryResponse struct for QueryResponse

func NewQueryResponse

func NewQueryResponse(threadId string, assistantActions []ApiThreadAssistantAction, modifiedArtifacts []ExecuteRequestArtifactsInner) *QueryResponse

NewQueryResponse instantiates a new QueryResponse 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 NewQueryResponseWithDefaults

func NewQueryResponseWithDefaults() *QueryResponse

NewQueryResponseWithDefaults instantiates a new QueryResponse 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 (*QueryResponse) GetAssistantActions

func (o *QueryResponse) GetAssistantActions() []ApiThreadAssistantAction

GetAssistantActions returns the AssistantActions field value

func (*QueryResponse) GetAssistantActionsOk

func (o *QueryResponse) GetAssistantActionsOk() ([]ApiThreadAssistantAction, bool)

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

func (*QueryResponse) GetModifiedArtifacts

func (o *QueryResponse) GetModifiedArtifacts() []ExecuteRequestArtifactsInner

GetModifiedArtifacts returns the ModifiedArtifacts field value

func (*QueryResponse) GetModifiedArtifactsOk

func (o *QueryResponse) GetModifiedArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)

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

func (*QueryResponse) GetThreadId added in v0.2.0

func (o *QueryResponse) GetThreadId() string

GetThreadId returns the ThreadId field value

func (*QueryResponse) GetThreadIdOk added in v0.2.0

func (o *QueryResponse) GetThreadIdOk() (*string, bool)

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

func (QueryResponse) MarshalJSON

func (o QueryResponse) MarshalJSON() ([]byte, error)

func (*QueryResponse) SetAssistantActions

func (o *QueryResponse) SetAssistantActions(v []ApiThreadAssistantAction)

SetAssistantActions sets field value

func (*QueryResponse) SetModifiedArtifacts

func (o *QueryResponse) SetModifiedArtifacts(v []ExecuteRequestArtifactsInner)

SetModifiedArtifacts sets field value

func (*QueryResponse) SetThreadId added in v0.2.0

func (o *QueryResponse) SetThreadId(v string)

SetThreadId sets field value

func (QueryResponse) ToMap

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

func (*QueryResponse) UnmarshalJSON

func (o *QueryResponse) UnmarshalJSON(data []byte) (err error)

type QueryResponseChunk

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

QueryResponseChunk the streaming response sends chunks of data in Server-Sent Events (SSE) format.

func ArtifactUpdateChunkAsQueryResponseChunk

func ArtifactUpdateChunkAsQueryResponseChunk(v *ArtifactUpdateChunk) QueryResponseChunk

ArtifactUpdateChunkAsQueryResponseChunk is a convenience function that returns ArtifactUpdateChunk wrapped in QueryResponseChunk.

func AssistantActionChunkAsQueryResponseChunk

func AssistantActionChunkAsQueryResponseChunk(v *AssistantActionChunk) QueryResponseChunk

AssistantActionChunkAsQueryResponseChunk is a convenience function that returns AssistantActionChunk wrapped in QueryResponseChunk.

func ErrorChunkAsQueryResponseChunk

func ErrorChunkAsQueryResponseChunk(v *ErrorChunk) QueryResponseChunk

ErrorChunkAsQueryResponseChunk is a convenience function that returns ErrorChunk wrapped in QueryResponseChunk.

func ThreadMetadataChunkAsQueryResponseChunk added in v0.2.0

func ThreadMetadataChunkAsQueryResponseChunk(v *ThreadMetadataChunk) QueryResponseChunk

ThreadMetadataChunkAsQueryResponseChunk is a convenience function that returns ThreadMetadataChunk wrapped in QueryResponseChunk

func (QueryResponseChunk) AsArtifactUpdateChunk

func (src QueryResponseChunk) AsArtifactUpdateChunk() *ArtifactUpdateChunk

AsArtifactUpdateChunk returns the instance as a nullable ArtifactUpdateChunk.

func (QueryResponseChunk) AsAssistantActionChunk

func (src QueryResponseChunk) AsAssistantActionChunk() *AssistantActionChunk

AsAssistantActionChunk returns the instance as a nullable AssistantActionChunk.

func (QueryResponseChunk) AsErrorChunk

func (src QueryResponseChunk) AsErrorChunk() *ErrorChunk

AsErrorChunk returns the instance as a nullable ErrorChunk.

func (QueryResponseChunk) AsThreadMetadataChunk added in v0.2.0

func (src QueryResponseChunk) AsThreadMetadataChunk() *ThreadMetadataChunk

AsThreadMetadataChunk returns the instance as a nullable ThreadMetadataChunk.

func (QueryResponseChunk) Interface

Interface returns the inner interface.

func (QueryResponseChunk) IsNil

func (src QueryResponseChunk) IsNil() bool

IsNil checks if the instance is empty.

func (QueryResponseChunk) MarshalJSON

func (src QueryResponseChunk) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON.

func (QueryResponseChunk) String

func (src QueryResponseChunk) String() string

String prints the instance to string.

func (*QueryResponseChunk) UnmarshalJSON

func (dst *QueryResponseChunk) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct.

type QueryResponseChunkInterface

type QueryResponseChunkInterface interface {
	GetType() string
}

QueryResponseChunkInterface abstracts an underlying QueryResponseChunk struct.

type QueryResponseChunkType

type QueryResponseChunkType string

QueryResponseChunkType represents a query response chunk type enum.

const (
	QueryResponseTypeAssistantActionChunk QueryResponseChunkType = "assistant_action_chunk"
	QueryResponseTypeArtifactUpdateChunk  QueryResponseChunkType = "artifact_update_chunk"
	QueryResponseTypeErrorChunk           QueryResponseChunkType = "error_chunk"
	QueryResponseTypeThreadMetadataChunk  QueryResponseChunkType = "thread_metadata_chunk"
)

func ParseQueryResponseChunkType

func ParseQueryResponseChunkType(input string) (QueryResponseChunkType, error)

ParseQueryResponseChunkType parses the QueryResponseChunk type enum from string.

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TableArtifact

type TableArtifact struct {
	Identifier   string `json:"identifier"`
	Title        string `json:"title"`
	ArtifactType string `json:"artifact_type"`
	// Table data as a list of objects, with the object keys being column names
	Data []map[string]interface{} `json:"data"`
}

TableArtifact struct for TableArtifact

func NewTableArtifact

func NewTableArtifact(identifier string, title string, artifactType string, data []map[string]interface{}) *TableArtifact

NewTableArtifact instantiates a new TableArtifact 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 NewTableArtifactWithDefaults

func NewTableArtifactWithDefaults() *TableArtifact

NewTableArtifactWithDefaults instantiates a new TableArtifact 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 (*TableArtifact) GetArtifactType

func (o *TableArtifact) GetArtifactType() string

GetArtifactType returns the ArtifactType field value

func (*TableArtifact) GetArtifactTypeOk

func (o *TableArtifact) GetArtifactTypeOk() (*string, bool)

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

func (*TableArtifact) GetData

func (o *TableArtifact) GetData() []map[string]interface{}

GetData returns the Data field value

func (*TableArtifact) GetDataOk

func (o *TableArtifact) GetDataOk() ([]map[string]interface{}, bool)

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

func (*TableArtifact) GetIdentifier

func (o *TableArtifact) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*TableArtifact) GetIdentifierOk

func (o *TableArtifact) GetIdentifierOk() (*string, bool)

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

func (*TableArtifact) GetTitle

func (o *TableArtifact) GetTitle() string

GetTitle returns the Title field value

func (*TableArtifact) GetTitleOk

func (o *TableArtifact) GetTitleOk() (*string, bool)

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

func (TableArtifact) MarshalJSON

func (o TableArtifact) MarshalJSON() ([]byte, error)

func (*TableArtifact) SetArtifactType

func (o *TableArtifact) SetArtifactType(v string)

SetArtifactType sets field value

func (*TableArtifact) SetData

func (o *TableArtifact) SetData(v []map[string]interface{})

SetData sets field value

func (*TableArtifact) SetIdentifier

func (o *TableArtifact) SetIdentifier(v string)

SetIdentifier sets field value

func (*TableArtifact) SetTitle

func (o *TableArtifact) SetTitle(v string)

SetTitle sets field value

func (TableArtifact) ToMap

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

func (*TableArtifact) UnmarshalJSON

func (o *TableArtifact) UnmarshalJSON(data []byte) (err error)

type TextArtifact

type TextArtifact struct {
	Identifier   string `json:"identifier"`
	Title        string `json:"title"`
	ArtifactType string `json:"artifact_type"`
	Data         string `json:"data"`
}

TextArtifact struct for TextArtifact

func NewTextArtifact

func NewTextArtifact(identifier string, title string, artifactType string, data string) *TextArtifact

NewTextArtifact instantiates a new TextArtifact 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 NewTextArtifactWithDefaults

func NewTextArtifactWithDefaults() *TextArtifact

NewTextArtifactWithDefaults instantiates a new TextArtifact 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 (*TextArtifact) GetArtifactType

func (o *TextArtifact) GetArtifactType() string

GetArtifactType returns the ArtifactType field value

func (*TextArtifact) GetArtifactTypeOk

func (o *TextArtifact) GetArtifactTypeOk() (*string, bool)

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

func (*TextArtifact) GetData

func (o *TextArtifact) GetData() string

GetData returns the Data field value

func (*TextArtifact) GetDataOk

func (o *TextArtifact) GetDataOk() (*string, bool)

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

func (*TextArtifact) GetIdentifier

func (o *TextArtifact) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*TextArtifact) GetIdentifierOk

func (o *TextArtifact) GetIdentifierOk() (*string, bool)

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

func (*TextArtifact) GetTitle

func (o *TextArtifact) GetTitle() string

GetTitle returns the Title field value

func (*TextArtifact) GetTitleOk

func (o *TextArtifact) GetTitleOk() (*string, bool)

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

func (TextArtifact) MarshalJSON

func (o TextArtifact) MarshalJSON() ([]byte, error)

func (*TextArtifact) SetArtifactType

func (o *TextArtifact) SetArtifactType(v string)

SetArtifactType sets field value

func (*TextArtifact) SetData

func (o *TextArtifact) SetData(v string)

SetData sets field value

func (*TextArtifact) SetIdentifier

func (o *TextArtifact) SetIdentifier(v string)

SetIdentifier sets field value

func (*TextArtifact) SetTitle

func (o *TextArtifact) SetTitle(v string)

SetTitle sets field value

func (TextArtifact) ToMap

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

func (*TextArtifact) UnmarshalJSON

func (o *TextArtifact) UnmarshalJSON(data []byte) (err error)

type ThreadMetadataChunk added in v0.2.0

type ThreadMetadataChunk struct {
	Type     string `json:"type"`
	ThreadId string `json:"thread_id"`
}

ThreadMetadataChunk struct for ThreadMetadataChunk

func NewThreadMetadataChunk added in v0.2.0

func NewThreadMetadataChunk(type_ string, threadId string) *ThreadMetadataChunk

NewThreadMetadataChunk instantiates a new ThreadMetadataChunk 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 NewThreadMetadataChunkWithDefaults added in v0.2.0

func NewThreadMetadataChunkWithDefaults() *ThreadMetadataChunk

NewThreadMetadataChunkWithDefaults instantiates a new ThreadMetadataChunk 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 (*ThreadMetadataChunk) GetThreadId added in v0.2.0

func (o *ThreadMetadataChunk) GetThreadId() string

GetThreadId returns the ThreadId field value

func (*ThreadMetadataChunk) GetThreadIdOk added in v0.2.0

func (o *ThreadMetadataChunk) GetThreadIdOk() (*string, bool)

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

func (*ThreadMetadataChunk) GetType added in v0.2.0

func (o *ThreadMetadataChunk) GetType() string

GetType returns the Type field value

func (*ThreadMetadataChunk) GetTypeOk added in v0.2.0

func (o *ThreadMetadataChunk) GetTypeOk() (*string, bool)

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

func (ThreadMetadataChunk) MarshalJSON added in v0.2.0

func (o ThreadMetadataChunk) MarshalJSON() ([]byte, error)

func (*ThreadMetadataChunk) SetThreadId added in v0.2.0

func (o *ThreadMetadataChunk) SetThreadId(v string)

SetThreadId sets field value

func (*ThreadMetadataChunk) SetType added in v0.2.0

func (o *ThreadMetadataChunk) SetType(v string)

SetType sets field value

func (ThreadMetadataChunk) ToMap added in v0.2.0

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

func (*ThreadMetadataChunk) UnmarshalJSON added in v0.2.0

func (o *ThreadMetadataChunk) UnmarshalJSON(data []byte) (err error)

type ValidationError

type ValidationError struct {
	Loc  []ValidationErrorLocInner `json:"loc"`
	Msg  string                    `json:"msg"`
	Type string                    `json:"type"`
}

ValidationError struct for ValidationError

func NewValidationError

func NewValidationError(loc []ValidationErrorLocInner, msg string, type_ string) *ValidationError

NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults

func NewValidationErrorWithDefaults() *ValidationError

NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetLoc

GetLoc returns the Loc field value

func (*ValidationError) GetLocOk

func (o *ValidationError) GetLocOk() ([]ValidationErrorLocInner, bool)

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

func (*ValidationError) GetMsg

func (o *ValidationError) GetMsg() string

GetMsg returns the Msg field value

func (*ValidationError) GetMsgOk

func (o *ValidationError) GetMsgOk() (*string, bool)

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

func (*ValidationError) GetType

func (o *ValidationError) GetType() string

GetType returns the Type field value

func (*ValidationError) GetTypeOk

func (o *ValidationError) GetTypeOk() (*string, bool)

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

func (ValidationError) MarshalJSON

func (o ValidationError) MarshalJSON() ([]byte, error)

func (*ValidationError) SetLoc

SetLoc sets field value

func (*ValidationError) SetMsg

func (o *ValidationError) SetMsg(v string)

SetMsg sets field value

func (*ValidationError) SetType

func (o *ValidationError) SetType(v string)

SetType sets field value

func (ValidationError) ToMap

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

func (*ValidationError) UnmarshalJSON

func (o *ValidationError) UnmarshalJSON(data []byte) (err error)

type ValidationErrorLocInner

type ValidationErrorLocInner struct {
	Int32  *int32
	String *string
}

ValidationErrorLocInner struct for ValidationErrorLocInner

func (ValidationErrorLocInner) MarshalJSON

func (src ValidationErrorLocInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ValidationErrorLocInner) UnmarshalJSON

func (dst *ValidationErrorLocInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type VisualizationArtifact

type VisualizationArtifact struct {
	Identifier   string `json:"identifier"`
	Title        string `json:"title"`
	ArtifactType string `json:"artifact_type"`
	// Visualization data containing HTML and visualization data
	Data VisualizationArtifactData `json:"data"`
}

VisualizationArtifact struct for VisualizationArtifact

func NewVisualizationArtifact

func NewVisualizationArtifact(identifier string, title string, artifactType string, data VisualizationArtifactData) *VisualizationArtifact

NewVisualizationArtifact instantiates a new VisualizationArtifact 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 NewVisualizationArtifactWithDefaults

func NewVisualizationArtifactWithDefaults() *VisualizationArtifact

NewVisualizationArtifactWithDefaults instantiates a new VisualizationArtifact 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 (*VisualizationArtifact) GetArtifactType

func (o *VisualizationArtifact) GetArtifactType() string

GetArtifactType returns the ArtifactType field value

func (*VisualizationArtifact) GetArtifactTypeOk

func (o *VisualizationArtifact) GetArtifactTypeOk() (*string, bool)

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

func (*VisualizationArtifact) GetData

GetData returns the Data field value

func (*VisualizationArtifact) GetDataOk

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

func (*VisualizationArtifact) GetIdentifier

func (o *VisualizationArtifact) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*VisualizationArtifact) GetIdentifierOk

func (o *VisualizationArtifact) GetIdentifierOk() (*string, bool)

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

func (*VisualizationArtifact) GetTitle

func (o *VisualizationArtifact) GetTitle() string

GetTitle returns the Title field value

func (*VisualizationArtifact) GetTitleOk

func (o *VisualizationArtifact) GetTitleOk() (*string, bool)

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

func (VisualizationArtifact) MarshalJSON

func (o VisualizationArtifact) MarshalJSON() ([]byte, error)

func (*VisualizationArtifact) SetArtifactType

func (o *VisualizationArtifact) SetArtifactType(v string)

SetArtifactType sets field value

func (*VisualizationArtifact) SetData

SetData sets field value

func (*VisualizationArtifact) SetIdentifier

func (o *VisualizationArtifact) SetIdentifier(v string)

SetIdentifier sets field value

func (*VisualizationArtifact) SetTitle

func (o *VisualizationArtifact) SetTitle(v string)

SetTitle sets field value

func (VisualizationArtifact) ToMap

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

func (*VisualizationArtifact) UnmarshalJSON

func (o *VisualizationArtifact) UnmarshalJSON(data []byte) (err error)

type VisualizationArtifactData

type VisualizationArtifactData struct {
	Html              string      `json:"html"`
	VisualizationData interface{} `json:"visualization_data"`
}

VisualizationArtifactData Data structure for visualization artifacts containing HTML and associated data. Attributes: html: The HTML markup for rendering the visualization visualization_data: The underlying data used to generate the visualization

func NewVisualizationArtifactData

func NewVisualizationArtifactData(html string, visualizationData interface{}) *VisualizationArtifactData

NewVisualizationArtifactData instantiates a new VisualizationArtifactData 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 NewVisualizationArtifactDataWithDefaults

func NewVisualizationArtifactDataWithDefaults() *VisualizationArtifactData

NewVisualizationArtifactDataWithDefaults instantiates a new VisualizationArtifactData 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 (*VisualizationArtifactData) GetHtml

func (o *VisualizationArtifactData) GetHtml() string

GetHtml returns the Html field value

func (*VisualizationArtifactData) GetHtmlOk

func (o *VisualizationArtifactData) GetHtmlOk() (*string, bool)

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

func (*VisualizationArtifactData) GetVisualizationData

func (o *VisualizationArtifactData) GetVisualizationData() interface{}

GetVisualizationData returns the VisualizationData field value If the value is explicit nil, the zero value for interface{} will be returned

func (*VisualizationArtifactData) GetVisualizationDataOk

func (o *VisualizationArtifactData) GetVisualizationDataOk() (*interface{}, bool)

GetVisualizationDataOk returns a tuple with the VisualizationData field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (VisualizationArtifactData) MarshalJSON

func (o VisualizationArtifactData) MarshalJSON() ([]byte, error)

func (*VisualizationArtifactData) SetHtml

func (o *VisualizationArtifactData) SetHtml(v string)

SetHtml sets field value

func (*VisualizationArtifactData) SetVisualizationData

func (o *VisualizationArtifactData) SetVisualizationData(v interface{})

SetVisualizationData sets field value

func (VisualizationArtifactData) ToMap

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

func (*VisualizationArtifactData) UnmarshalJSON

func (o *VisualizationArtifactData) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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