openapi

package
v0.0.0-...-e744b49 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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 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 {
	CollectionsApi *CollectionsApiService

	EventsApi *EventsApiService

	PipelinesApi *PipelinesApiService

	PromotionsApi *PromotionsApiService

	RecordsApi *RecordsApiService

	RedirectsApi *RedirectsApiService

	SchemaApi *SchemaApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Search.io API API vv4 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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ActivePromotion

type ActivePromotion struct {
	// The records that are excluded from the result set by the active promotion.
	ActiveExclusions *[]PromotionExclusion `json:"active_exclusions,omitempty"`
	// The pins that belong to the active promotion. Note that the positions in these pins are the positions specified at pin creation time, which is not necessarily the position that a pin ends up in. For example, if a pin is created at position 2, but the query that the pin is active in has zero results, the pinned result actually appears in position 1.
	ActivePins *[]PromotionPin `json:"active_pins,omitempty"`
	// The ID of the active promotion.
	PromotionId *string `json:"promotion_id,omitempty"`
}

ActivePromotion ActivePromotion is a promotion that is active for a given search.

func NewActivePromotion

func NewActivePromotion() *ActivePromotion

NewActivePromotion instantiates a new ActivePromotion 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 NewActivePromotionWithDefaults

func NewActivePromotionWithDefaults() *ActivePromotion

NewActivePromotionWithDefaults instantiates a new ActivePromotion 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 (*ActivePromotion) GetActiveExclusions

func (o *ActivePromotion) GetActiveExclusions() []PromotionExclusion

GetActiveExclusions returns the ActiveExclusions field value if set, zero value otherwise.

func (*ActivePromotion) GetActiveExclusionsOk

func (o *ActivePromotion) GetActiveExclusionsOk() (*[]PromotionExclusion, bool)

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

func (*ActivePromotion) GetActivePins

func (o *ActivePromotion) GetActivePins() []PromotionPin

GetActivePins returns the ActivePins field value if set, zero value otherwise.

func (*ActivePromotion) GetActivePinsOk

func (o *ActivePromotion) GetActivePinsOk() (*[]PromotionPin, bool)

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

func (*ActivePromotion) GetPromotionId

func (o *ActivePromotion) GetPromotionId() string

GetPromotionId returns the PromotionId field value if set, zero value otherwise.

func (*ActivePromotion) GetPromotionIdOk

func (o *ActivePromotion) GetPromotionIdOk() (*string, bool)

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

func (*ActivePromotion) HasActiveExclusions

func (o *ActivePromotion) HasActiveExclusions() bool

HasActiveExclusions returns a boolean if a field has been set.

func (*ActivePromotion) HasActivePins

func (o *ActivePromotion) HasActivePins() bool

HasActivePins returns a boolean if a field has been set.

func (*ActivePromotion) HasPromotionId

func (o *ActivePromotion) HasPromotionId() bool

HasPromotionId returns a boolean if a field has been set.

func (ActivePromotion) MarshalJSON

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

func (*ActivePromotion) SetActiveExclusions

func (o *ActivePromotion) SetActiveExclusions(v []PromotionExclusion)

SetActiveExclusions gets a reference to the given []PromotionExclusion and assigns it to the ActiveExclusions field.

func (*ActivePromotion) SetActivePins

func (o *ActivePromotion) SetActivePins(v []PromotionPin)

SetActivePins gets a reference to the given []PromotionPin and assigns it to the ActivePins field.

func (*ActivePromotion) SetPromotionId

func (o *ActivePromotion) SetPromotionId(v string)

SetPromotionId gets a reference to the given string and assigns it to the PromotionId field.

type ApiBatchCreateSchemaFieldsRequest

type ApiBatchCreateSchemaFieldsRequest struct {
	ApiService *SchemaApiService
	// contains filtered or unexported fields
}

func (ApiBatchCreateSchemaFieldsRequest) BatchCreateSchemaFieldsRequest

func (r ApiBatchCreateSchemaFieldsRequest) BatchCreateSchemaFieldsRequest(batchCreateSchemaFieldsRequest BatchCreateSchemaFieldsRequest) ApiBatchCreateSchemaFieldsRequest

func (ApiBatchCreateSchemaFieldsRequest) Execute

type ApiBatchUpsertRecordsRequest

type ApiBatchUpsertRecordsRequest struct {
	ApiService *RecordsApiService
	// contains filtered or unexported fields
}

func (ApiBatchUpsertRecordsRequest) BatchUpsertRecordsRequest

func (r ApiBatchUpsertRecordsRequest) BatchUpsertRecordsRequest(batchUpsertRecordsRequest BatchUpsertRecordsRequest) ApiBatchUpsertRecordsRequest

func (ApiBatchUpsertRecordsRequest) Execute

type ApiCreateCollectionRequest

type ApiCreateCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateCollectionRequest) Collection

func (ApiCreateCollectionRequest) CollectionId

func (r ApiCreateCollectionRequest) CollectionId(collectionId string) ApiCreateCollectionRequest

func (ApiCreateCollectionRequest) Execute

type ApiCreatePipelineRequest

type ApiCreatePipelineRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiCreatePipelineRequest) Execute

func (ApiCreatePipelineRequest) Pipeline

type ApiCreatePromotionRequest

type ApiCreatePromotionRequest struct {
	ApiService *PromotionsApiService
	// contains filtered or unexported fields
}

func (ApiCreatePromotionRequest) Execute

func (ApiCreatePromotionRequest) Promotion

type ApiCreateRedirectRequest

type ApiCreateRedirectRequest struct {
	ApiService *RedirectsApiService
	// contains filtered or unexported fields
}

func (ApiCreateRedirectRequest) Execute

func (ApiCreateRedirectRequest) Redirect

type ApiCreateSchemaFieldRequest

type ApiCreateSchemaFieldRequest struct {
	ApiService *SchemaApiService
	// contains filtered or unexported fields
}

func (ApiCreateSchemaFieldRequest) Execute

func (ApiCreateSchemaFieldRequest) SchemaField

type ApiDeleteCollectionRequest

type ApiDeleteCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCollectionRequest) Execute

func (r ApiDeleteCollectionRequest) Execute() (interface{}, *_nethttp.Response, error)

type ApiDeletePromotionRequest

type ApiDeletePromotionRequest struct {
	ApiService *PromotionsApiService
	// contains filtered or unexported fields
}

func (ApiDeletePromotionRequest) Execute

func (r ApiDeletePromotionRequest) Execute() (interface{}, *_nethttp.Response, error)

type ApiDeleteRecordRequest

type ApiDeleteRecordRequest struct {
	ApiService *RecordsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRecordRequest) DeleteRecordRequest

func (r ApiDeleteRecordRequest) DeleteRecordRequest(deleteRecordRequest DeleteRecordRequest) ApiDeleteRecordRequest

func (ApiDeleteRecordRequest) Execute

func (r ApiDeleteRecordRequest) Execute() (interface{}, *_nethttp.Response, error)

type ApiDeleteRedirectRequest

type ApiDeleteRedirectRequest struct {
	ApiService *RedirectsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRedirectRequest) Execute

func (r ApiDeleteRedirectRequest) Execute() (interface{}, *_nethttp.Response, error)

type ApiGeneratePipelinesRequest

type ApiGeneratePipelinesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiGeneratePipelinesRequest) Execute

func (ApiGeneratePipelinesRequest) GeneratePipelinesRequest

func (r ApiGeneratePipelinesRequest) GeneratePipelinesRequest(generatePipelinesRequest GeneratePipelinesRequest) ApiGeneratePipelinesRequest

type ApiGetCollectionRequest

type ApiGetCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiGetCollectionRequest) Execute

type ApiGetDefaultPipelineRequest

type ApiGetDefaultPipelineRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiGetDefaultPipelineRequest) Execute

func (ApiGetDefaultPipelineRequest) Type_

type ApiGetDefaultVersionRequest

type ApiGetDefaultVersionRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiGetDefaultVersionRequest) Execute

func (ApiGetDefaultVersionRequest) View

type ApiGetPipelineRequest

type ApiGetPipelineRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiGetPipelineRequest) Execute

func (ApiGetPipelineRequest) View

type ApiGetPromotionRequest

type ApiGetPromotionRequest struct {
	ApiService *PromotionsApiService
	// contains filtered or unexported fields
}

func (ApiGetPromotionRequest) Execute

type ApiGetRecordRequest

type ApiGetRecordRequest struct {
	ApiService *RecordsApiService
	// contains filtered or unexported fields
}

func (ApiGetRecordRequest) Execute

func (r ApiGetRecordRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiGetRecordRequest) GetRecordRequest

func (r ApiGetRecordRequest) GetRecordRequest(getRecordRequest GetRecordRequest) ApiGetRecordRequest

type ApiGetRedirectRequest

type ApiGetRedirectRequest struct {
	ApiService *RedirectsApiService
	// contains filtered or unexported fields
}

func (ApiGetRedirectRequest) Execute

type ApiListCollectionsRequest

type ApiListCollectionsRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiListCollectionsRequest) Execute

func (ApiListCollectionsRequest) PageSize

func (ApiListCollectionsRequest) PageToken

type ApiListPipelinesRequest

type ApiListPipelinesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiListPipelinesRequest) Execute

func (ApiListPipelinesRequest) PageSize

func (ApiListPipelinesRequest) PageToken

func (ApiListPipelinesRequest) View

type ApiListPromotionsRequest

type ApiListPromotionsRequest struct {
	ApiService *PromotionsApiService
	// contains filtered or unexported fields
}

func (ApiListPromotionsRequest) Execute

func (ApiListPromotionsRequest) PageSize

func (ApiListPromotionsRequest) PageToken

type ApiListRedirectsRequest

type ApiListRedirectsRequest struct {
	ApiService *RedirectsApiService
	// contains filtered or unexported fields
}

func (ApiListRedirectsRequest) Execute

func (ApiListRedirectsRequest) PageSize

func (ApiListRedirectsRequest) PageToken

type ApiListSchemaFieldsRequest

type ApiListSchemaFieldsRequest struct {
	ApiService *SchemaApiService
	// contains filtered or unexported fields
}

func (ApiListSchemaFieldsRequest) Execute

func (ApiListSchemaFieldsRequest) PageSize

func (ApiListSchemaFieldsRequest) PageToken

type ApiQueryCollection2Request

type ApiQueryCollection2Request struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiQueryCollection2Request) Execute

func (ApiQueryCollection2Request) QueryCollectionRequest

func (r ApiQueryCollection2Request) QueryCollectionRequest(queryCollectionRequest QueryCollectionRequest) ApiQueryCollection2Request

type ApiQueryCollectionRequest

type ApiQueryCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiQueryCollectionRequest) Execute

func (ApiQueryCollectionRequest) QueryCollectionRequest

func (r ApiQueryCollectionRequest) QueryCollectionRequest(queryCollectionRequest QueryCollectionRequest) ApiQueryCollectionRequest

type ApiSendEvent2Request

type ApiSendEvent2Request struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiSendEvent2Request) Execute

func (r ApiSendEvent2Request) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiSendEvent2Request) SendEventRequest

func (r ApiSendEvent2Request) SendEventRequest(sendEventRequest SendEventRequest) ApiSendEvent2Request

type ApiSendEventRequest

type ApiSendEventRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiSendEventRequest) Execute

func (r ApiSendEventRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiSendEventRequest) SendEventRequest

func (r ApiSendEventRequest) SendEventRequest(sendEventRequest SendEventRequest) ApiSendEventRequest

type ApiSetDefaultPipelineRequest

type ApiSetDefaultPipelineRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiSetDefaultPipelineRequest) Execute

func (r ApiSetDefaultPipelineRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiSetDefaultPipelineRequest) SetDefaultPipelineRequest

func (r ApiSetDefaultPipelineRequest) SetDefaultPipelineRequest(setDefaultPipelineRequest SetDefaultPipelineRequest) ApiSetDefaultPipelineRequest

type ApiSetDefaultVersionRequest

type ApiSetDefaultVersionRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiSetDefaultVersionRequest) Execute

func (r ApiSetDefaultVersionRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiSetDefaultVersionRequest) SetDefaultVersionRequest

func (r ApiSetDefaultVersionRequest) SetDefaultVersionRequest(setDefaultVersionRequest SetDefaultVersionRequest) ApiSetDefaultVersionRequest

type ApiUpdateCollectionRequest

type ApiUpdateCollectionRequest struct {
	ApiService *CollectionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCollectionRequest) Collection

func (ApiUpdateCollectionRequest) Execute

func (ApiUpdateCollectionRequest) UpdateMask

type ApiUpdatePromotionRequest

type ApiUpdatePromotionRequest struct {
	ApiService *PromotionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdatePromotionRequest) Execute

func (ApiUpdatePromotionRequest) Promotion

func (ApiUpdatePromotionRequest) UpdateMask

type ApiUpdateRecordRequest

type ApiUpdateRecordRequest struct {
	ApiService *RecordsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRecordRequest) Execute

func (r ApiUpdateRecordRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiUpdateRecordRequest) UpdateRecordRequest

func (r ApiUpdateRecordRequest) UpdateRecordRequest(updateRecordRequest UpdateRecordRequest) ApiUpdateRecordRequest

type ApiUpdateRedirectRequest

type ApiUpdateRedirectRequest struct {
	ApiService *RedirectsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRedirectRequest) Execute

func (ApiUpdateRedirectRequest) Redirect

func (ApiUpdateRedirectRequest) UpdateMask

func (r ApiUpdateRedirectRequest) UpdateMask(updateMask string) ApiUpdateRedirectRequest

type ApiUpsertRecordRequest

type ApiUpsertRecordRequest struct {
	ApiService *RecordsApiService
	// contains filtered or unexported fields
}

func (ApiUpsertRecordRequest) Execute

func (ApiUpsertRecordRequest) UpsertRecordRequest

func (r ApiUpsertRecordRequest) UpsertRecordRequest(upsertRecordRequest UpsertRecordRequest) ApiUpsertRecordRequest

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 BatchCreateSchemaFieldsRequest

type BatchCreateSchemaFieldsRequest struct {
	// A list of fields to create.  A maximum of 1000 fields can be created in a batch.
	Fields []SchemaField `json:"fields"`
}

BatchCreateSchemaFieldsRequest struct for BatchCreateSchemaFieldsRequest

func NewBatchCreateSchemaFieldsRequest

func NewBatchCreateSchemaFieldsRequest(fields []SchemaField) *BatchCreateSchemaFieldsRequest

NewBatchCreateSchemaFieldsRequest instantiates a new BatchCreateSchemaFieldsRequest 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 NewBatchCreateSchemaFieldsRequestWithDefaults

func NewBatchCreateSchemaFieldsRequestWithDefaults() *BatchCreateSchemaFieldsRequest

NewBatchCreateSchemaFieldsRequestWithDefaults instantiates a new BatchCreateSchemaFieldsRequest 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 (*BatchCreateSchemaFieldsRequest) GetFields

GetFields returns the Fields field value

func (*BatchCreateSchemaFieldsRequest) GetFieldsOk

func (o *BatchCreateSchemaFieldsRequest) GetFieldsOk() (*[]SchemaField, bool)

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

func (BatchCreateSchemaFieldsRequest) MarshalJSON

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

func (*BatchCreateSchemaFieldsRequest) SetFields

func (o *BatchCreateSchemaFieldsRequest) SetFields(v []SchemaField)

SetFields sets field value

type BatchCreateSchemaFieldsResponse

type BatchCreateSchemaFieldsResponse struct {
	// Errors that occurred.
	Errors *[]BatchCreateSchemaFieldsResponseError `json:"errors,omitempty"`
	// Schema fields created.
	Fields *[]SchemaField `json:"fields,omitempty"`
}

BatchCreateSchemaFieldsResponse struct for BatchCreateSchemaFieldsResponse

func NewBatchCreateSchemaFieldsResponse

func NewBatchCreateSchemaFieldsResponse() *BatchCreateSchemaFieldsResponse

NewBatchCreateSchemaFieldsResponse instantiates a new BatchCreateSchemaFieldsResponse 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 NewBatchCreateSchemaFieldsResponseWithDefaults

func NewBatchCreateSchemaFieldsResponseWithDefaults() *BatchCreateSchemaFieldsResponse

NewBatchCreateSchemaFieldsResponseWithDefaults instantiates a new BatchCreateSchemaFieldsResponse 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 (*BatchCreateSchemaFieldsResponse) GetErrors

GetErrors returns the Errors field value if set, zero value otherwise.

func (*BatchCreateSchemaFieldsResponse) GetErrorsOk

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

func (*BatchCreateSchemaFieldsResponse) GetFields

GetFields returns the Fields field value if set, zero value otherwise.

func (*BatchCreateSchemaFieldsResponse) GetFieldsOk

func (o *BatchCreateSchemaFieldsResponse) GetFieldsOk() (*[]SchemaField, bool)

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

func (*BatchCreateSchemaFieldsResponse) HasErrors

func (o *BatchCreateSchemaFieldsResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*BatchCreateSchemaFieldsResponse) HasFields

func (o *BatchCreateSchemaFieldsResponse) HasFields() bool

HasFields returns a boolean if a field has been set.

func (BatchCreateSchemaFieldsResponse) MarshalJSON

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

func (*BatchCreateSchemaFieldsResponse) SetErrors

SetErrors gets a reference to the given []BatchCreateSchemaFieldsResponseError and assigns it to the Errors field.

func (*BatchCreateSchemaFieldsResponse) SetFields

func (o *BatchCreateSchemaFieldsResponse) SetFields(v []SchemaField)

SetFields gets a reference to the given []SchemaField and assigns it to the Fields field.

type BatchCreateSchemaFieldsResponseError

type BatchCreateSchemaFieldsResponseError struct {
	// Index of the schema field in `fields` that this error corresponds to.
	Index  *int32  `json:"index,omitempty"`
	Status *Status `json:"status,omitempty"`
}

BatchCreateSchemaFieldsResponseError struct for BatchCreateSchemaFieldsResponseError

func NewBatchCreateSchemaFieldsResponseError

func NewBatchCreateSchemaFieldsResponseError() *BatchCreateSchemaFieldsResponseError

NewBatchCreateSchemaFieldsResponseError instantiates a new BatchCreateSchemaFieldsResponseError 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 NewBatchCreateSchemaFieldsResponseErrorWithDefaults

func NewBatchCreateSchemaFieldsResponseErrorWithDefaults() *BatchCreateSchemaFieldsResponseError

NewBatchCreateSchemaFieldsResponseErrorWithDefaults instantiates a new BatchCreateSchemaFieldsResponseError 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 (*BatchCreateSchemaFieldsResponseError) GetIndex

GetIndex returns the Index field value if set, zero value otherwise.

func (*BatchCreateSchemaFieldsResponseError) GetIndexOk

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

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

func (*BatchCreateSchemaFieldsResponseError) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*BatchCreateSchemaFieldsResponseError) GetStatusOk

func (o *BatchCreateSchemaFieldsResponseError) GetStatusOk() (*Status, bool)

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

func (*BatchCreateSchemaFieldsResponseError) HasIndex

HasIndex returns a boolean if a field has been set.

func (*BatchCreateSchemaFieldsResponseError) HasStatus

HasStatus returns a boolean if a field has been set.

func (BatchCreateSchemaFieldsResponseError) MarshalJSON

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

func (*BatchCreateSchemaFieldsResponseError) SetIndex

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*BatchCreateSchemaFieldsResponseError) SetStatus

SetStatus gets a reference to the given Status and assigns it to the Status field.

type BatchUpsertRecordsRequest

type BatchUpsertRecordsRequest struct {
	Pipeline *BatchUpsertRecordsRequestPipeline `json:"pipeline,omitempty"`
	// A list of records to upsert.  A maximum of 200 records can be upsert in a batch.
	Records []map[string]interface{} `json:"records"`
	// The initial values for the variables the pipeline operates on and transforms throughout its steps.
	Variables *map[string]map[string]interface{} `json:"variables,omitempty"`
}

BatchUpsertRecordsRequest struct for BatchUpsertRecordsRequest

func NewBatchUpsertRecordsRequest

func NewBatchUpsertRecordsRequest(records []map[string]interface{}) *BatchUpsertRecordsRequest

NewBatchUpsertRecordsRequest instantiates a new BatchUpsertRecordsRequest 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 NewBatchUpsertRecordsRequestWithDefaults

func NewBatchUpsertRecordsRequestWithDefaults() *BatchUpsertRecordsRequest

NewBatchUpsertRecordsRequestWithDefaults instantiates a new BatchUpsertRecordsRequest 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 (*BatchUpsertRecordsRequest) GetPipeline

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*BatchUpsertRecordsRequest) GetPipelineOk

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

func (*BatchUpsertRecordsRequest) GetRecords

func (o *BatchUpsertRecordsRequest) GetRecords() []map[string]interface{}

GetRecords returns the Records field value

func (*BatchUpsertRecordsRequest) GetRecordsOk

func (o *BatchUpsertRecordsRequest) GetRecordsOk() (*[]map[string]interface{}, bool)

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

func (*BatchUpsertRecordsRequest) GetVariables

func (o *BatchUpsertRecordsRequest) GetVariables() map[string]map[string]interface{}

GetVariables returns the Variables field value if set, zero value otherwise.

func (*BatchUpsertRecordsRequest) GetVariablesOk

func (o *BatchUpsertRecordsRequest) GetVariablesOk() (*map[string]map[string]interface{}, bool)

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

func (*BatchUpsertRecordsRequest) HasPipeline

func (o *BatchUpsertRecordsRequest) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (*BatchUpsertRecordsRequest) HasVariables

func (o *BatchUpsertRecordsRequest) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (BatchUpsertRecordsRequest) MarshalJSON

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

func (*BatchUpsertRecordsRequest) SetPipeline

SetPipeline gets a reference to the given BatchUpsertRecordsRequestPipeline and assigns it to the Pipeline field.

func (*BatchUpsertRecordsRequest) SetRecords

func (o *BatchUpsertRecordsRequest) SetRecords(v []map[string]interface{})

SetRecords sets field value

func (*BatchUpsertRecordsRequest) SetVariables

func (o *BatchUpsertRecordsRequest) SetVariables(v map[string]map[string]interface{})

SetVariables gets a reference to the given map[string]map[string]interface{} and assigns it to the Variables field.

type BatchUpsertRecordsRequestPipeline

type BatchUpsertRecordsRequestPipeline struct {
	// The record pipeline's name, e.g. `my-pipeline`.
	Name string `json:"name"`
	// The record pipeline's version, e.g. `42`.  If not provided the default version is used.
	Version *string `json:"version,omitempty"`
}

BatchUpsertRecordsRequestPipeline The pipeline to use when upserting the records. If not provided the default record pipeline is used.

func NewBatchUpsertRecordsRequestPipeline

func NewBatchUpsertRecordsRequestPipeline(name string) *BatchUpsertRecordsRequestPipeline

NewBatchUpsertRecordsRequestPipeline instantiates a new BatchUpsertRecordsRequestPipeline 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 NewBatchUpsertRecordsRequestPipelineWithDefaults

func NewBatchUpsertRecordsRequestPipelineWithDefaults() *BatchUpsertRecordsRequestPipeline

NewBatchUpsertRecordsRequestPipelineWithDefaults instantiates a new BatchUpsertRecordsRequestPipeline 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 (*BatchUpsertRecordsRequestPipeline) GetName

GetName returns the Name field value

func (*BatchUpsertRecordsRequestPipeline) GetNameOk

func (o *BatchUpsertRecordsRequestPipeline) GetNameOk() (*string, bool)

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

func (*BatchUpsertRecordsRequestPipeline) GetVersion

func (o *BatchUpsertRecordsRequestPipeline) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*BatchUpsertRecordsRequestPipeline) GetVersionOk

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

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

func (*BatchUpsertRecordsRequestPipeline) HasVersion

func (o *BatchUpsertRecordsRequestPipeline) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (BatchUpsertRecordsRequestPipeline) MarshalJSON

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

func (*BatchUpsertRecordsRequestPipeline) SetName

SetName sets field value

func (*BatchUpsertRecordsRequestPipeline) SetVersion

func (o *BatchUpsertRecordsRequestPipeline) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

type BatchUpsertRecordsResponse

type BatchUpsertRecordsResponse struct {
	// Errors that occurred.
	Errors *[]BatchUpsertRecordsResponseError `json:"errors,omitempty"`
	// A list of keys of the records that were inserted.  If a record was inserted, keys contains an entry containing the index of the inserted record from `records` and the key. You can use the key if you need to retrieve or delete the record.  If a record was updated, keys contains no such entry for the updated record.
	Keys *[]BatchUpsertRecordsResponseKey `json:"keys,omitempty"`
	// A list of modified variables returned by the pipeline after it has finished processing each record.
	Variables *[]BatchUpsertRecordsResponseVariables `json:"variables,omitempty"`
}

BatchUpsertRecordsResponse struct for BatchUpsertRecordsResponse

func NewBatchUpsertRecordsResponse

func NewBatchUpsertRecordsResponse() *BatchUpsertRecordsResponse

NewBatchUpsertRecordsResponse instantiates a new BatchUpsertRecordsResponse 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 NewBatchUpsertRecordsResponseWithDefaults

func NewBatchUpsertRecordsResponseWithDefaults() *BatchUpsertRecordsResponse

NewBatchUpsertRecordsResponseWithDefaults instantiates a new BatchUpsertRecordsResponse 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 (*BatchUpsertRecordsResponse) GetErrors

GetErrors returns the Errors field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponse) GetErrorsOk

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

func (*BatchUpsertRecordsResponse) GetKeys

GetKeys returns the Keys field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponse) GetKeysOk

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

func (*BatchUpsertRecordsResponse) GetVariables

GetVariables returns the Variables field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponse) GetVariablesOk

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

func (*BatchUpsertRecordsResponse) HasErrors

func (o *BatchUpsertRecordsResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*BatchUpsertRecordsResponse) HasKeys

func (o *BatchUpsertRecordsResponse) HasKeys() bool

HasKeys returns a boolean if a field has been set.

func (*BatchUpsertRecordsResponse) HasVariables

func (o *BatchUpsertRecordsResponse) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (BatchUpsertRecordsResponse) MarshalJSON

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

func (*BatchUpsertRecordsResponse) SetErrors

SetErrors gets a reference to the given []BatchUpsertRecordsResponseError and assigns it to the Errors field.

func (*BatchUpsertRecordsResponse) SetKeys

SetKeys gets a reference to the given []BatchUpsertRecordsResponseKey and assigns it to the Keys field.

func (*BatchUpsertRecordsResponse) SetVariables

SetVariables gets a reference to the given []BatchUpsertRecordsResponseVariables and assigns it to the Variables field.

type BatchUpsertRecordsResponseError

type BatchUpsertRecordsResponseError struct {
	// Index of the record in `records` that this error corresponds to.
	Index  *int32  `json:"index,omitempty"`
	Status *Status `json:"status,omitempty"`
}

BatchUpsertRecordsResponseError struct for BatchUpsertRecordsResponseError

func NewBatchUpsertRecordsResponseError

func NewBatchUpsertRecordsResponseError() *BatchUpsertRecordsResponseError

NewBatchUpsertRecordsResponseError instantiates a new BatchUpsertRecordsResponseError 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 NewBatchUpsertRecordsResponseErrorWithDefaults

func NewBatchUpsertRecordsResponseErrorWithDefaults() *BatchUpsertRecordsResponseError

NewBatchUpsertRecordsResponseErrorWithDefaults instantiates a new BatchUpsertRecordsResponseError 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 (*BatchUpsertRecordsResponseError) GetIndex

func (o *BatchUpsertRecordsResponseError) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponseError) GetIndexOk

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

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

func (*BatchUpsertRecordsResponseError) GetStatus

func (o *BatchUpsertRecordsResponseError) GetStatus() Status

GetStatus returns the Status field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponseError) GetStatusOk

func (o *BatchUpsertRecordsResponseError) GetStatusOk() (*Status, bool)

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

func (*BatchUpsertRecordsResponseError) HasIndex

func (o *BatchUpsertRecordsResponseError) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*BatchUpsertRecordsResponseError) HasStatus

func (o *BatchUpsertRecordsResponseError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (BatchUpsertRecordsResponseError) MarshalJSON

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

func (*BatchUpsertRecordsResponseError) SetIndex

func (o *BatchUpsertRecordsResponseError) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*BatchUpsertRecordsResponseError) SetStatus

func (o *BatchUpsertRecordsResponseError) SetStatus(v Status)

SetStatus gets a reference to the given Status and assigns it to the Status field.

type BatchUpsertRecordsResponseKey

type BatchUpsertRecordsResponseKey struct {
	// Index of the record in `records` that this key corresponds to.
	Index *int32     `json:"index,omitempty"`
	Key   *RecordKey `json:"key,omitempty"`
}

BatchUpsertRecordsResponseKey struct for BatchUpsertRecordsResponseKey

func NewBatchUpsertRecordsResponseKey

func NewBatchUpsertRecordsResponseKey() *BatchUpsertRecordsResponseKey

NewBatchUpsertRecordsResponseKey instantiates a new BatchUpsertRecordsResponseKey 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 NewBatchUpsertRecordsResponseKeyWithDefaults

func NewBatchUpsertRecordsResponseKeyWithDefaults() *BatchUpsertRecordsResponseKey

NewBatchUpsertRecordsResponseKeyWithDefaults instantiates a new BatchUpsertRecordsResponseKey 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 (*BatchUpsertRecordsResponseKey) GetIndex

func (o *BatchUpsertRecordsResponseKey) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponseKey) GetIndexOk

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

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

func (*BatchUpsertRecordsResponseKey) GetKey

GetKey returns the Key field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponseKey) GetKeyOk

func (o *BatchUpsertRecordsResponseKey) GetKeyOk() (*RecordKey, bool)

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

func (*BatchUpsertRecordsResponseKey) HasIndex

func (o *BatchUpsertRecordsResponseKey) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*BatchUpsertRecordsResponseKey) HasKey

func (o *BatchUpsertRecordsResponseKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (BatchUpsertRecordsResponseKey) MarshalJSON

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

func (*BatchUpsertRecordsResponseKey) SetIndex

func (o *BatchUpsertRecordsResponseKey) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*BatchUpsertRecordsResponseKey) SetKey

SetKey gets a reference to the given RecordKey and assigns it to the Key field.

type BatchUpsertRecordsResponseVariables

type BatchUpsertRecordsResponseVariables struct {
	// Index of the record in `records` that these variables correspond to.
	Index *int32 `json:"index,omitempty"`
	// The variables.
	Variables *map[string]map[string]interface{} `json:"variables,omitempty"`
}

BatchUpsertRecordsResponseVariables struct for BatchUpsertRecordsResponseVariables

func NewBatchUpsertRecordsResponseVariables

func NewBatchUpsertRecordsResponseVariables() *BatchUpsertRecordsResponseVariables

NewBatchUpsertRecordsResponseVariables instantiates a new BatchUpsertRecordsResponseVariables 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 NewBatchUpsertRecordsResponseVariablesWithDefaults

func NewBatchUpsertRecordsResponseVariablesWithDefaults() *BatchUpsertRecordsResponseVariables

NewBatchUpsertRecordsResponseVariablesWithDefaults instantiates a new BatchUpsertRecordsResponseVariables 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 (*BatchUpsertRecordsResponseVariables) GetIndex

GetIndex returns the Index field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponseVariables) GetIndexOk

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

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

func (*BatchUpsertRecordsResponseVariables) GetVariables

func (o *BatchUpsertRecordsResponseVariables) GetVariables() map[string]map[string]interface{}

GetVariables returns the Variables field value if set, zero value otherwise.

func (*BatchUpsertRecordsResponseVariables) GetVariablesOk

func (o *BatchUpsertRecordsResponseVariables) GetVariablesOk() (*map[string]map[string]interface{}, bool)

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

func (*BatchUpsertRecordsResponseVariables) HasIndex

HasIndex returns a boolean if a field has been set.

func (*BatchUpsertRecordsResponseVariables) HasVariables

func (o *BatchUpsertRecordsResponseVariables) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (BatchUpsertRecordsResponseVariables) MarshalJSON

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

func (*BatchUpsertRecordsResponseVariables) SetIndex

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*BatchUpsertRecordsResponseVariables) SetVariables

func (o *BatchUpsertRecordsResponseVariables) SetVariables(v map[string]map[string]interface{})

SetVariables gets a reference to the given map[string]map[string]interface{} and assigns it to the Variables field.

type Collection

type Collection struct {
	// Output only. The ID of the account that owns this collection.
	AccountId *string `json:"account_id,omitempty"`
	// The list of authorized query domains for the collection.  Client-side / browser requests to the [QueryCollection](/api#operation/QueryCollection) call can be made by any authorized query domain or any of its subdomains. This allows your interface to make search requests without having to provide an API key in the client-side request.
	AuthorizedQueryDomains *[]string `json:"authorized_query_domains,omitempty"`
	// Output only. Time the collection was created.
	CreateTime *time.Time `json:"create_time,omitempty"`
	// The collection's display name. You can change this at any time.
	DisplayName string `json:"display_name"`
	// Output only. The collection's ID.
	Id *string `json:"id,omitempty"`
}

Collection struct for Collection

func NewCollection

func NewCollection(displayName string) *Collection

NewCollection instantiates a new Collection 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 NewCollectionWithDefaults

func NewCollectionWithDefaults() *Collection

NewCollectionWithDefaults instantiates a new Collection 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 (*Collection) GetAccountId

func (o *Collection) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*Collection) GetAccountIdOk

func (o *Collection) GetAccountIdOk() (*string, bool)

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

func (*Collection) GetAuthorizedQueryDomains

func (o *Collection) GetAuthorizedQueryDomains() []string

GetAuthorizedQueryDomains returns the AuthorizedQueryDomains field value if set, zero value otherwise.

func (*Collection) GetAuthorizedQueryDomainsOk

func (o *Collection) GetAuthorizedQueryDomainsOk() (*[]string, bool)

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

func (*Collection) GetCreateTime

func (o *Collection) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value if set, zero value otherwise.

func (*Collection) GetCreateTimeOk

func (o *Collection) GetCreateTimeOk() (*time.Time, bool)

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

func (*Collection) GetDisplayName

func (o *Collection) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Collection) GetDisplayNameOk

func (o *Collection) GetDisplayNameOk() (*string, bool)

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

func (*Collection) GetId

func (o *Collection) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Collection) GetIdOk

func (o *Collection) GetIdOk() (*string, bool)

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

func (*Collection) HasAccountId

func (o *Collection) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*Collection) HasAuthorizedQueryDomains

func (o *Collection) HasAuthorizedQueryDomains() bool

HasAuthorizedQueryDomains returns a boolean if a field has been set.

func (*Collection) HasCreateTime

func (o *Collection) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

func (*Collection) HasId

func (o *Collection) HasId() bool

HasId returns a boolean if a field has been set.

func (Collection) MarshalJSON

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

func (*Collection) SetAccountId

func (o *Collection) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*Collection) SetAuthorizedQueryDomains

func (o *Collection) SetAuthorizedQueryDomains(v []string)

SetAuthorizedQueryDomains gets a reference to the given []string and assigns it to the AuthorizedQueryDomains field.

func (*Collection) SetCreateTime

func (o *Collection) SetCreateTime(v time.Time)

SetCreateTime gets a reference to the given time.Time and assigns it to the CreateTime field.

func (*Collection) SetDisplayName

func (o *Collection) SetDisplayName(v string)

SetDisplayName sets field value

func (*Collection) SetId

func (o *Collection) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

type CollectionsApiService

type CollectionsApiService service

CollectionsApiService CollectionsApi service

func (*CollectionsApiService) CreateCollection

  • CreateCollection Create collection
  • Create an empty collection.

Before records can be added to a collection, the schema and pipelines for the collection have to be set up. Consider setting up new collections via the Search.io Console, which handles the creation of the schema and pipelines for you.

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

func (*CollectionsApiService) CreateCollectionExecute

* Execute executes the request * @return Collection

func (*CollectionsApiService) DeleteCollection

func (a *CollectionsApiService) DeleteCollection(ctx _context.Context, collectionId string) ApiDeleteCollectionRequest
  • DeleteCollection Delete collection
  • Delete a collection and all of its associated data.

> Note: This operation cannot be reversed.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to delete, e.g. `my-collection`.
  • @return ApiDeleteCollectionRequest

func (*CollectionsApiService) DeleteCollectionExecute

func (a *CollectionsApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (interface{}, *_nethttp.Response, error)

* Execute executes the request * @return interface{}

func (*CollectionsApiService) GetCollection

func (a *CollectionsApiService) GetCollection(ctx _context.Context, collectionId string) ApiGetCollectionRequest

* GetCollection Get collection * Retrieve the details of a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection to retrieve, e.g. `my-collection`. * @return ApiGetCollectionRequest

func (*CollectionsApiService) GetCollectionExecute

* Execute executes the request * @return Collection

func (*CollectionsApiService) ListCollections

* ListCollections List collections * Retrieve a list of collections in an account. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListCollectionsRequest

func (*CollectionsApiService) ListCollectionsExecute

* Execute executes the request * @return ListCollectionsResponse

func (*CollectionsApiService) QueryCollection

func (a *CollectionsApiService) QueryCollection(ctx _context.Context, collectionId string) ApiQueryCollectionRequest
  • QueryCollection Query collection
  • Query the collection to search for records.

The following example demonstrates how to run a simple search for a particular string:

```json

{
  "variables": { "q": "search terms" }
}

```

For more information:

- See [filtering content](https://docs.search.io/documentation/fundamentals/integrating-search/filters-and-sort-options) - See [tracking in the Go SDK](https://github.com/sajari/sdk-go/blob/v2/session.go) - See [tracking in the JS SDK](https://github.com/sajari/sajari-sdk-js/blob/master/src/session.ts)

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to query, e.g. `my-collection`.
  • @return ApiQueryCollectionRequest

func (*CollectionsApiService) QueryCollection2

func (a *CollectionsApiService) QueryCollection2(ctx _context.Context, collectionId string) ApiQueryCollection2Request
  • QueryCollection2 Query collection
  • Query the collection to search for records.

The following example demonstrates how to run a simple search for a particular string:

```json

{
  "variables": { "q": "search terms" }
}

```

For more information:

- See [filtering content](https://docs.search.io/documentation/fundamentals/integrating-search/filters-and-sort-options) - See [tracking in the Go SDK](https://github.com/sajari/sdk-go/blob/v2/session.go) - See [tracking in the JS SDK](https://github.com/sajari/sajari-sdk-js/blob/master/src/session.ts)

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to query, e.g. `my-collection`.
  • @return ApiQueryCollection2Request

func (*CollectionsApiService) QueryCollection2Execute

* Execute executes the request * @return QueryCollectionResponse

func (*CollectionsApiService) QueryCollectionExecute

* Execute executes the request * @return QueryCollectionResponse

func (*CollectionsApiService) UpdateCollection

func (a *CollectionsApiService) UpdateCollection(ctx _context.Context, collectionId string) ApiUpdateCollectionRequest

* UpdateCollection Update collection * Update the details of a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection to update, e.g. `my-collection`. * @return ApiUpdateCollectionRequest

func (*CollectionsApiService) UpdateCollectionExecute

* Execute executes the request * @return Collection

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       *http.Client
}

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 DeleteRecordRequest

type DeleteRecordRequest struct {
	Key RecordKey `json:"key"`
}

DeleteRecordRequest struct for DeleteRecordRequest

func NewDeleteRecordRequest

func NewDeleteRecordRequest(key RecordKey) *DeleteRecordRequest

NewDeleteRecordRequest instantiates a new DeleteRecordRequest 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 NewDeleteRecordRequestWithDefaults

func NewDeleteRecordRequestWithDefaults() *DeleteRecordRequest

NewDeleteRecordRequestWithDefaults instantiates a new DeleteRecordRequest 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 (*DeleteRecordRequest) GetKey

func (o *DeleteRecordRequest) GetKey() RecordKey

GetKey returns the Key field value

func (*DeleteRecordRequest) GetKeyOk

func (o *DeleteRecordRequest) GetKeyOk() (*RecordKey, bool)

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

func (DeleteRecordRequest) MarshalJSON

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

func (*DeleteRecordRequest) SetKey

func (o *DeleteRecordRequest) SetKey(v RecordKey)

SetKey sets field value

type Error

type Error struct {
	Code    *int32         `json:"code,omitempty"`
	Details *[]ProtobufAny `json:"details,omitempty"`
	Message *string        `json:"message,omitempty"`
}

Error struct for Error

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetCode

func (o *Error) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*int32, 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.

func (*Error) GetDetails

func (o *Error) GetDetails() []ProtobufAny

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error) GetDetailsOk

func (o *Error) GetDetailsOk() (*[]ProtobufAny, bool)

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

func (*Error) GetMessage

func (o *Error) GetMessage() string

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

func (*Error) GetMessageOk

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

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

func (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasDetails

func (o *Error) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error) HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCode

func (o *Error) SetCode(v int32)

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

func (*Error) SetDetails

func (o *Error) SetDetails(v []ProtobufAny)

SetDetails gets a reference to the given []ProtobufAny and assigns it to the Details field.

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

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

type EventsApiService

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) SendEvent

  • SendEvent Send event
  • Send an event to the ranking system after a user interacts with a search

result.

When querying a collection, you can set the tracking type of the query request. When it is `CLICK` or `POS_NEG`, a token is generated for each result in the query response. You can use this token to provide feedback to the ranking system. Each time you want to record an event on a particular search result, use the send event call and provide:

- The `name` of the event, e.g. `click`, `purchase`. - The `token` from the search result. - The `weight` to assign to the event, e.g. `1`. - An object containing any additional `metadata`.

For example, to send an event where a customer purchased a product, use the following call:

```json

{
  "name": "purchase",
  "token": "eyJ...",
  "weight": 1,
  "metadata": {
    "discount": 0.2,
    "margin": 30.0,
    "customer_id": "12345",
    "ui_test_segment": "A"
  }
}

```

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

func (*EventsApiService) SendEvent2

  • SendEvent2 Send event
  • Send an event to the ranking system after a user interacts with a search

result.

When querying a collection, you can set the tracking type of the query request. When it is `CLICK` or `POS_NEG`, a token is generated for each result in the query response. You can use this token to provide feedback to the ranking system. Each time you want to record an event on a particular search result, use the send event call and provide:

- The `name` of the event, e.g. `click`, `purchase`. - The `token` from the search result. - The `weight` to assign to the event, e.g. `1`. - An object containing any additional `metadata`.

For example, to send an event where a customer purchased a product, use the following call:

```json

{
  "name": "purchase",
  "token": "eyJ...",
  "weight": 1,
  "metadata": {
    "discount": 0.2,
    "margin": 30.0,
    "customer_id": "12345",
    "ui_test_segment": "A"
  }
}

```

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

func (*EventsApiService) SendEvent2Execute

func (a *EventsApiService) SendEvent2Execute(r ApiSendEvent2Request) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*EventsApiService) SendEventExecute

func (a *EventsApiService) SendEventExecute(r ApiSendEventRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

type GeneratePipelinesRequest

type GeneratePipelinesRequest struct {
	// List of fields to train query suggestions from.
	QueryTrainingFields *[]string `json:"query_training_fields,omitempty"`
	// Prioritized list of fields to search.
	SearchableFields []string `json:"searchable_fields"`
}

GeneratePipelinesRequest struct for GeneratePipelinesRequest

func NewGeneratePipelinesRequest

func NewGeneratePipelinesRequest(searchableFields []string) *GeneratePipelinesRequest

NewGeneratePipelinesRequest instantiates a new GeneratePipelinesRequest 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 NewGeneratePipelinesRequestWithDefaults

func NewGeneratePipelinesRequestWithDefaults() *GeneratePipelinesRequest

NewGeneratePipelinesRequestWithDefaults instantiates a new GeneratePipelinesRequest 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 (*GeneratePipelinesRequest) GetQueryTrainingFields

func (o *GeneratePipelinesRequest) GetQueryTrainingFields() []string

GetQueryTrainingFields returns the QueryTrainingFields field value if set, zero value otherwise.

func (*GeneratePipelinesRequest) GetQueryTrainingFieldsOk

func (o *GeneratePipelinesRequest) GetQueryTrainingFieldsOk() (*[]string, bool)

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

func (*GeneratePipelinesRequest) GetSearchableFields

func (o *GeneratePipelinesRequest) GetSearchableFields() []string

GetSearchableFields returns the SearchableFields field value

func (*GeneratePipelinesRequest) GetSearchableFieldsOk

func (o *GeneratePipelinesRequest) GetSearchableFieldsOk() (*[]string, bool)

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

func (*GeneratePipelinesRequest) HasQueryTrainingFields

func (o *GeneratePipelinesRequest) HasQueryTrainingFields() bool

HasQueryTrainingFields returns a boolean if a field has been set.

func (GeneratePipelinesRequest) MarshalJSON

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

func (*GeneratePipelinesRequest) SetQueryTrainingFields

func (o *GeneratePipelinesRequest) SetQueryTrainingFields(v []string)

SetQueryTrainingFields gets a reference to the given []string and assigns it to the QueryTrainingFields field.

func (*GeneratePipelinesRequest) SetSearchableFields

func (o *GeneratePipelinesRequest) SetSearchableFields(v []string)

SetSearchableFields sets field value

type GeneratePipelinesResponse

type GeneratePipelinesResponse struct {
	AutocompletePipeline *Pipeline `json:"autocomplete_pipeline,omitempty"`
	QueryPipeline        *Pipeline `json:"query_pipeline,omitempty"`
	RecordPipeline       *Pipeline `json:"record_pipeline,omitempty"`
}

GeneratePipelinesResponse struct for GeneratePipelinesResponse

func NewGeneratePipelinesResponse

func NewGeneratePipelinesResponse() *GeneratePipelinesResponse

NewGeneratePipelinesResponse instantiates a new GeneratePipelinesResponse 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 NewGeneratePipelinesResponseWithDefaults

func NewGeneratePipelinesResponseWithDefaults() *GeneratePipelinesResponse

NewGeneratePipelinesResponseWithDefaults instantiates a new GeneratePipelinesResponse 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 (*GeneratePipelinesResponse) GetAutocompletePipeline

func (o *GeneratePipelinesResponse) GetAutocompletePipeline() Pipeline

GetAutocompletePipeline returns the AutocompletePipeline field value if set, zero value otherwise.

func (*GeneratePipelinesResponse) GetAutocompletePipelineOk

func (o *GeneratePipelinesResponse) GetAutocompletePipelineOk() (*Pipeline, bool)

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

func (*GeneratePipelinesResponse) GetQueryPipeline

func (o *GeneratePipelinesResponse) GetQueryPipeline() Pipeline

GetQueryPipeline returns the QueryPipeline field value if set, zero value otherwise.

func (*GeneratePipelinesResponse) GetQueryPipelineOk

func (o *GeneratePipelinesResponse) GetQueryPipelineOk() (*Pipeline, bool)

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

func (*GeneratePipelinesResponse) GetRecordPipeline

func (o *GeneratePipelinesResponse) GetRecordPipeline() Pipeline

GetRecordPipeline returns the RecordPipeline field value if set, zero value otherwise.

func (*GeneratePipelinesResponse) GetRecordPipelineOk

func (o *GeneratePipelinesResponse) GetRecordPipelineOk() (*Pipeline, bool)

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

func (*GeneratePipelinesResponse) HasAutocompletePipeline

func (o *GeneratePipelinesResponse) HasAutocompletePipeline() bool

HasAutocompletePipeline returns a boolean if a field has been set.

func (*GeneratePipelinesResponse) HasQueryPipeline

func (o *GeneratePipelinesResponse) HasQueryPipeline() bool

HasQueryPipeline returns a boolean if a field has been set.

func (*GeneratePipelinesResponse) HasRecordPipeline

func (o *GeneratePipelinesResponse) HasRecordPipeline() bool

HasRecordPipeline returns a boolean if a field has been set.

func (GeneratePipelinesResponse) MarshalJSON

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

func (*GeneratePipelinesResponse) SetAutocompletePipeline

func (o *GeneratePipelinesResponse) SetAutocompletePipeline(v Pipeline)

SetAutocompletePipeline gets a reference to the given Pipeline and assigns it to the AutocompletePipeline field.

func (*GeneratePipelinesResponse) SetQueryPipeline

func (o *GeneratePipelinesResponse) SetQueryPipeline(v Pipeline)

SetQueryPipeline gets a reference to the given Pipeline and assigns it to the QueryPipeline field.

func (*GeneratePipelinesResponse) SetRecordPipeline

func (o *GeneratePipelinesResponse) SetRecordPipeline(v Pipeline)

SetRecordPipeline gets a reference to the given Pipeline and assigns it to the RecordPipeline field.

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 GetDefaultPipelineResponse

type GetDefaultPipelineResponse struct {
	// The name of the pipeline to use when not otherwise specified.
	Pipeline *string `json:"pipeline,omitempty"`
}

GetDefaultPipelineResponse struct for GetDefaultPipelineResponse

func NewGetDefaultPipelineResponse

func NewGetDefaultPipelineResponse() *GetDefaultPipelineResponse

NewGetDefaultPipelineResponse instantiates a new GetDefaultPipelineResponse 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 NewGetDefaultPipelineResponseWithDefaults

func NewGetDefaultPipelineResponseWithDefaults() *GetDefaultPipelineResponse

NewGetDefaultPipelineResponseWithDefaults instantiates a new GetDefaultPipelineResponse 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 (*GetDefaultPipelineResponse) GetPipeline

func (o *GetDefaultPipelineResponse) GetPipeline() string

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*GetDefaultPipelineResponse) GetPipelineOk

func (o *GetDefaultPipelineResponse) GetPipelineOk() (*string, bool)

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

func (*GetDefaultPipelineResponse) HasPipeline

func (o *GetDefaultPipelineResponse) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (GetDefaultPipelineResponse) MarshalJSON

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

func (*GetDefaultPipelineResponse) SetPipeline

func (o *GetDefaultPipelineResponse) SetPipeline(v string)

SetPipeline gets a reference to the given string and assigns it to the Pipeline field.

type GetDefaultVersionRequestView

type GetDefaultVersionRequestView string

GetDefaultVersionRequestView - VIEW_UNSPECIFIED: The default / unset value. The API defaults to the `BASIC` view. - BASIC: Include basic information including type, name, version and description but not the full step configuration. This is the default value (for both [ListPipelines](/api#operation/ListPipelines) and [GetPipeline](/api#operation/GetPipeline)). - FULL: Include the information from `BASIC`, plus full step configuration.

const (
	GETDEFAULTVERSIONREQUESTVIEW_VIEW_UNSPECIFIED GetDefaultVersionRequestView = "VIEW_UNSPECIFIED"
	GETDEFAULTVERSIONREQUESTVIEW_BASIC            GetDefaultVersionRequestView = "BASIC"
	GETDEFAULTVERSIONREQUESTVIEW_FULL             GetDefaultVersionRequestView = "FULL"
)

List of GetDefaultVersionRequestView

func (GetDefaultVersionRequestView) Ptr

Ptr returns reference to GetDefaultVersionRequestView value

func (*GetDefaultVersionRequestView) UnmarshalJSON

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

type GetPipelineRequestView

type GetPipelineRequestView string

GetPipelineRequestView - VIEW_UNSPECIFIED: The default / unset value. The API defaults to the `BASIC` view. - BASIC: Include basic information including type, name, version and description but not the full step configuration. This is the default value (for both [ListPipelines](/api#operation/ListPipelines) and [GetPipeline](/api#operation/GetPipeline)). - FULL: Include the information from `BASIC`, plus full step configuration.

const (
	GETPIPELINEREQUESTVIEW_VIEW_UNSPECIFIED GetPipelineRequestView = "VIEW_UNSPECIFIED"
	GETPIPELINEREQUESTVIEW_BASIC            GetPipelineRequestView = "BASIC"
	GETPIPELINEREQUESTVIEW_FULL             GetPipelineRequestView = "FULL"
)

List of GetPipelineRequestView

func (GetPipelineRequestView) Ptr

Ptr returns reference to GetPipelineRequestView value

func (*GetPipelineRequestView) UnmarshalJSON

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

type GetRecordRequest

type GetRecordRequest struct {
	Key RecordKey `json:"key"`
}

GetRecordRequest struct for GetRecordRequest

func NewGetRecordRequest

func NewGetRecordRequest(key RecordKey) *GetRecordRequest

NewGetRecordRequest instantiates a new GetRecordRequest 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 NewGetRecordRequestWithDefaults

func NewGetRecordRequestWithDefaults() *GetRecordRequest

NewGetRecordRequestWithDefaults instantiates a new GetRecordRequest 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 (*GetRecordRequest) GetKey

func (o *GetRecordRequest) GetKey() RecordKey

GetKey returns the Key field value

func (*GetRecordRequest) GetKeyOk

func (o *GetRecordRequest) GetKeyOk() (*RecordKey, bool)

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

func (GetRecordRequest) MarshalJSON

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

func (*GetRecordRequest) SetKey

func (o *GetRecordRequest) SetKey(v RecordKey)

SetKey sets field value

type Integration

type Integration struct {
	// Output only. The ID of the account that owns the collection, e.g. `1618535966441231024`.
	AccountId *string `json:"account_id,omitempty"`
	// Output only. The ID of the collection that owns this integration, e.g. `my-collection`.
	CollectionId *string `json:"collection_id,omitempty"`
	// The integration's config.
	Config map[string]interface{} `json:"config"`
	// Output only. The time the integration was created.
	CreateTime *time.Time `json:"create_time,omitempty"`
	// The integration's display name.
	DisplayName string `json:"display_name"`
	// Output only. The integration's ID.
	Id *string `json:"id,omitempty"`
	// Output only. The time the integration was last updated.
	UpdateTime *time.Time `json:"update_time,omitempty"`
}

Integration Integration contains integration config, e.g. filters and sort options.

func NewIntegration

func NewIntegration(config map[string]interface{}, displayName string) *Integration

NewIntegration instantiates a new Integration 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 NewIntegrationWithDefaults

func NewIntegrationWithDefaults() *Integration

NewIntegrationWithDefaults instantiates a new Integration 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 (*Integration) GetAccountId

func (o *Integration) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*Integration) GetAccountIdOk

func (o *Integration) GetAccountIdOk() (*string, bool)

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

func (*Integration) GetCollectionId

func (o *Integration) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Integration) GetCollectionIdOk

func (o *Integration) GetCollectionIdOk() (*string, bool)

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

func (*Integration) GetConfig

func (o *Integration) GetConfig() map[string]interface{}

GetConfig returns the Config field value

func (*Integration) GetConfigOk

func (o *Integration) GetConfigOk() (*map[string]interface{}, bool)

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

func (*Integration) GetCreateTime

func (o *Integration) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value if set, zero value otherwise.

func (*Integration) GetCreateTimeOk

func (o *Integration) GetCreateTimeOk() (*time.Time, bool)

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

func (*Integration) GetDisplayName

func (o *Integration) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Integration) GetDisplayNameOk

func (o *Integration) GetDisplayNameOk() (*string, bool)

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

func (*Integration) GetId

func (o *Integration) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Integration) GetIdOk

func (o *Integration) GetIdOk() (*string, bool)

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

func (*Integration) GetUpdateTime

func (o *Integration) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime field value if set, zero value otherwise.

func (*Integration) GetUpdateTimeOk

func (o *Integration) GetUpdateTimeOk() (*time.Time, bool)

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

func (*Integration) HasAccountId

func (o *Integration) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*Integration) HasCollectionId

func (o *Integration) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Integration) HasCreateTime

func (o *Integration) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

func (*Integration) HasId

func (o *Integration) HasId() bool

HasId returns a boolean if a field has been set.

func (*Integration) HasUpdateTime

func (o *Integration) HasUpdateTime() bool

HasUpdateTime returns a boolean if a field has been set.

func (Integration) MarshalJSON

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

func (*Integration) SetAccountId

func (o *Integration) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*Integration) SetCollectionId

func (o *Integration) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Integration) SetConfig

func (o *Integration) SetConfig(v map[string]interface{})

SetConfig sets field value

func (*Integration) SetCreateTime

func (o *Integration) SetCreateTime(v time.Time)

SetCreateTime gets a reference to the given time.Time and assigns it to the CreateTime field.

func (*Integration) SetDisplayName

func (o *Integration) SetDisplayName(v string)

SetDisplayName sets field value

func (*Integration) SetId

func (o *Integration) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Integration) SetUpdateTime

func (o *Integration) SetUpdateTime(v time.Time)

SetUpdateTime gets a reference to the given time.Time and assigns it to the UpdateTime field.

type ListCollectionsResponse

type ListCollectionsResponse struct {
	// The collections from the specified account.
	Collections *[]Collection `json:"collections,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.  If this field is omitted, there are no subsequent pages.
	NextPageToken *string `json:"next_page_token,omitempty"`
}

ListCollectionsResponse struct for ListCollectionsResponse

func NewListCollectionsResponse

func NewListCollectionsResponse() *ListCollectionsResponse

NewListCollectionsResponse instantiates a new ListCollectionsResponse 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 NewListCollectionsResponseWithDefaults

func NewListCollectionsResponseWithDefaults() *ListCollectionsResponse

NewListCollectionsResponseWithDefaults instantiates a new ListCollectionsResponse 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 (*ListCollectionsResponse) GetCollections

func (o *ListCollectionsResponse) GetCollections() []Collection

GetCollections returns the Collections field value if set, zero value otherwise.

func (*ListCollectionsResponse) GetCollectionsOk

func (o *ListCollectionsResponse) GetCollectionsOk() (*[]Collection, bool)

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

func (*ListCollectionsResponse) GetNextPageToken

func (o *ListCollectionsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListCollectionsResponse) GetNextPageTokenOk

func (o *ListCollectionsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListCollectionsResponse) HasCollections

func (o *ListCollectionsResponse) HasCollections() bool

HasCollections returns a boolean if a field has been set.

func (*ListCollectionsResponse) HasNextPageToken

func (o *ListCollectionsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (ListCollectionsResponse) MarshalJSON

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

func (*ListCollectionsResponse) SetCollections

func (o *ListCollectionsResponse) SetCollections(v []Collection)

SetCollections gets a reference to the given []Collection and assigns it to the Collections field.

func (*ListCollectionsResponse) SetNextPageToken

func (o *ListCollectionsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

type ListIntegrationsResponse

type ListIntegrationsResponse struct {
	// The integrations.
	Integrations *[]Integration `json:"integrations,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.  If this field is omitted, there are no subsequent pages.
	NextPageToken *string `json:"next_page_token,omitempty"`
}

ListIntegrationsResponse ListIntegrations response.

func NewListIntegrationsResponse

func NewListIntegrationsResponse() *ListIntegrationsResponse

NewListIntegrationsResponse instantiates a new ListIntegrationsResponse 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 NewListIntegrationsResponseWithDefaults

func NewListIntegrationsResponseWithDefaults() *ListIntegrationsResponse

NewListIntegrationsResponseWithDefaults instantiates a new ListIntegrationsResponse 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 (*ListIntegrationsResponse) GetIntegrations

func (o *ListIntegrationsResponse) GetIntegrations() []Integration

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*ListIntegrationsResponse) GetIntegrationsOk

func (o *ListIntegrationsResponse) GetIntegrationsOk() (*[]Integration, bool)

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

func (*ListIntegrationsResponse) GetNextPageToken

func (o *ListIntegrationsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListIntegrationsResponse) GetNextPageTokenOk

func (o *ListIntegrationsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListIntegrationsResponse) HasIntegrations

func (o *ListIntegrationsResponse) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (*ListIntegrationsResponse) HasNextPageToken

func (o *ListIntegrationsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (ListIntegrationsResponse) MarshalJSON

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

func (*ListIntegrationsResponse) SetIntegrations

func (o *ListIntegrationsResponse) SetIntegrations(v []Integration)

SetIntegrations gets a reference to the given []Integration and assigns it to the Integrations field.

func (*ListIntegrationsResponse) SetNextPageToken

func (o *ListIntegrationsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

type ListPipelinesRequestView

type ListPipelinesRequestView string

ListPipelinesRequestView - VIEW_UNSPECIFIED: The default / unset value. The API defaults to the `BASIC` view. - BASIC: Include basic information including type, name, version and description but not the full step configuration. This is the default value (for both [ListPipelines](/api#operation/ListPipelines) and [GetPipeline](/api#operation/GetPipeline)). - FULL: Include the information from `BASIC`, plus full step configuration.

const (
	LISTPIPELINESREQUESTVIEW_VIEW_UNSPECIFIED ListPipelinesRequestView = "VIEW_UNSPECIFIED"
	LISTPIPELINESREQUESTVIEW_BASIC            ListPipelinesRequestView = "BASIC"
	LISTPIPELINESREQUESTVIEW_FULL             ListPipelinesRequestView = "FULL"
)

List of ListPipelinesRequestView

func (ListPipelinesRequestView) Ptr

Ptr returns reference to ListPipelinesRequestView value

func (*ListPipelinesRequestView) UnmarshalJSON

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

type ListPipelinesResponse

type ListPipelinesResponse struct {
	// A token, which can be sent as `page_token` to retrieve the next page.  If this field is omitted, there are no subsequent pages.
	NextPageToken *string `json:"next_page_token,omitempty"`
	// The pipelines from the specified collection.
	Pipelines *[]Pipeline `json:"pipelines,omitempty"`
}

ListPipelinesResponse struct for ListPipelinesResponse

func NewListPipelinesResponse

func NewListPipelinesResponse() *ListPipelinesResponse

NewListPipelinesResponse instantiates a new ListPipelinesResponse 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 NewListPipelinesResponseWithDefaults

func NewListPipelinesResponseWithDefaults() *ListPipelinesResponse

NewListPipelinesResponseWithDefaults instantiates a new ListPipelinesResponse 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 (*ListPipelinesResponse) GetNextPageToken

func (o *ListPipelinesResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListPipelinesResponse) GetNextPageTokenOk

func (o *ListPipelinesResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListPipelinesResponse) GetPipelines

func (o *ListPipelinesResponse) GetPipelines() []Pipeline

GetPipelines returns the Pipelines field value if set, zero value otherwise.

func (*ListPipelinesResponse) GetPipelinesOk

func (o *ListPipelinesResponse) GetPipelinesOk() (*[]Pipeline, bool)

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

func (*ListPipelinesResponse) HasNextPageToken

func (o *ListPipelinesResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (*ListPipelinesResponse) HasPipelines

func (o *ListPipelinesResponse) HasPipelines() bool

HasPipelines returns a boolean if a field has been set.

func (ListPipelinesResponse) MarshalJSON

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

func (*ListPipelinesResponse) SetNextPageToken

func (o *ListPipelinesResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ListPipelinesResponse) SetPipelines

func (o *ListPipelinesResponse) SetPipelines(v []Pipeline)

SetPipelines gets a reference to the given []Pipeline and assigns it to the Pipelines field.

type ListPromotionsResponse

type ListPromotionsResponse struct {
	// A token, which can be sent as `page_token` to retrieve the next page.  If this field is omitted, there are no subsequent pages.
	NextPageToken *string `json:"next_page_token,omitempty"`
	// The promotions.
	Promotions *[]Promotion `json:"promotions,omitempty"`
}

ListPromotionsResponse struct for ListPromotionsResponse

func NewListPromotionsResponse

func NewListPromotionsResponse() *ListPromotionsResponse

NewListPromotionsResponse instantiates a new ListPromotionsResponse 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 NewListPromotionsResponseWithDefaults

func NewListPromotionsResponseWithDefaults() *ListPromotionsResponse

NewListPromotionsResponseWithDefaults instantiates a new ListPromotionsResponse 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 (*ListPromotionsResponse) GetNextPageToken

func (o *ListPromotionsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListPromotionsResponse) GetNextPageTokenOk

func (o *ListPromotionsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListPromotionsResponse) GetPromotions

func (o *ListPromotionsResponse) GetPromotions() []Promotion

GetPromotions returns the Promotions field value if set, zero value otherwise.

func (*ListPromotionsResponse) GetPromotionsOk

func (o *ListPromotionsResponse) GetPromotionsOk() (*[]Promotion, bool)

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

func (*ListPromotionsResponse) HasNextPageToken

func (o *ListPromotionsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (*ListPromotionsResponse) HasPromotions

func (o *ListPromotionsResponse) HasPromotions() bool

HasPromotions returns a boolean if a field has been set.

func (ListPromotionsResponse) MarshalJSON

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

func (*ListPromotionsResponse) SetNextPageToken

func (o *ListPromotionsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ListPromotionsResponse) SetPromotions

func (o *ListPromotionsResponse) SetPromotions(v []Promotion)

SetPromotions gets a reference to the given []Promotion and assigns it to the Promotions field.

type ListRedirectsResponse

type ListRedirectsResponse struct {
	// A token, which can be sent as `page_token` to retrieve the next page.  If this field is omitted, there are no subsequent pages.
	NextPageToken *string `json:"next_page_token,omitempty"`
	// The redirects.
	Redirects *[]Redirect `json:"redirects,omitempty"`
}

ListRedirectsResponse struct for ListRedirectsResponse

func NewListRedirectsResponse

func NewListRedirectsResponse() *ListRedirectsResponse

NewListRedirectsResponse instantiates a new ListRedirectsResponse 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 NewListRedirectsResponseWithDefaults

func NewListRedirectsResponseWithDefaults() *ListRedirectsResponse

NewListRedirectsResponseWithDefaults instantiates a new ListRedirectsResponse 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 (*ListRedirectsResponse) GetNextPageToken

func (o *ListRedirectsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListRedirectsResponse) GetNextPageTokenOk

func (o *ListRedirectsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListRedirectsResponse) GetRedirects

func (o *ListRedirectsResponse) GetRedirects() []Redirect

GetRedirects returns the Redirects field value if set, zero value otherwise.

func (*ListRedirectsResponse) GetRedirectsOk

func (o *ListRedirectsResponse) GetRedirectsOk() (*[]Redirect, bool)

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

func (*ListRedirectsResponse) HasNextPageToken

func (o *ListRedirectsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (*ListRedirectsResponse) HasRedirects

func (o *ListRedirectsResponse) HasRedirects() bool

HasRedirects returns a boolean if a field has been set.

func (ListRedirectsResponse) MarshalJSON

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

func (*ListRedirectsResponse) SetNextPageToken

func (o *ListRedirectsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ListRedirectsResponse) SetRedirects

func (o *ListRedirectsResponse) SetRedirects(v []Redirect)

SetRedirects gets a reference to the given []Redirect and assigns it to the Redirects field.

type ListSchemaFieldsResponse

type ListSchemaFieldsResponse struct {
	// A token, which can be sent as `page_token` to retrieve the next page.  If this field is omitted, there are no subsequent pages.
	NextPageToken *string `json:"next_page_token,omitempty"`
	// The schema fields.
	SchemaFields *[]SchemaField `json:"schema_fields,omitempty"`
	// Maximum number of fields to return.
	TotalSize *int32 `json:"total_size,omitempty"`
}

ListSchemaFieldsResponse struct for ListSchemaFieldsResponse

func NewListSchemaFieldsResponse

func NewListSchemaFieldsResponse() *ListSchemaFieldsResponse

NewListSchemaFieldsResponse instantiates a new ListSchemaFieldsResponse 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 NewListSchemaFieldsResponseWithDefaults

func NewListSchemaFieldsResponseWithDefaults() *ListSchemaFieldsResponse

NewListSchemaFieldsResponseWithDefaults instantiates a new ListSchemaFieldsResponse 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 (*ListSchemaFieldsResponse) GetNextPageToken

func (o *ListSchemaFieldsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListSchemaFieldsResponse) GetNextPageTokenOk

func (o *ListSchemaFieldsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListSchemaFieldsResponse) GetSchemaFields

func (o *ListSchemaFieldsResponse) GetSchemaFields() []SchemaField

GetSchemaFields returns the SchemaFields field value if set, zero value otherwise.

func (*ListSchemaFieldsResponse) GetSchemaFieldsOk

func (o *ListSchemaFieldsResponse) GetSchemaFieldsOk() (*[]SchemaField, bool)

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

func (*ListSchemaFieldsResponse) GetTotalSize

func (o *ListSchemaFieldsResponse) GetTotalSize() int32

GetTotalSize returns the TotalSize field value if set, zero value otherwise.

func (*ListSchemaFieldsResponse) GetTotalSizeOk

func (o *ListSchemaFieldsResponse) GetTotalSizeOk() (*int32, bool)

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

func (*ListSchemaFieldsResponse) HasNextPageToken

func (o *ListSchemaFieldsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (*ListSchemaFieldsResponse) HasSchemaFields

func (o *ListSchemaFieldsResponse) HasSchemaFields() bool

HasSchemaFields returns a boolean if a field has been set.

func (*ListSchemaFieldsResponse) HasTotalSize

func (o *ListSchemaFieldsResponse) HasTotalSize() bool

HasTotalSize returns a boolean if a field has been set.

func (ListSchemaFieldsResponse) MarshalJSON

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

func (*ListSchemaFieldsResponse) SetNextPageToken

func (o *ListSchemaFieldsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ListSchemaFieldsResponse) SetSchemaFields

func (o *ListSchemaFieldsResponse) SetSchemaFields(v []SchemaField)

SetSchemaFields gets a reference to the given []SchemaField and assigns it to the SchemaFields field.

func (*ListSchemaFieldsResponse) SetTotalSize

func (o *ListSchemaFieldsResponse) SetTotalSize(v int32)

SetTotalSize gets a reference to the given int32 and assigns it to the TotalSize field.

type NullableActivePromotion

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

func NewNullableActivePromotion

func NewNullableActivePromotion(val *ActivePromotion) *NullableActivePromotion

func (NullableActivePromotion) Get

func (NullableActivePromotion) IsSet

func (v NullableActivePromotion) IsSet() bool

func (NullableActivePromotion) MarshalJSON

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

func (*NullableActivePromotion) Set

func (*NullableActivePromotion) UnmarshalJSON

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

func (*NullableActivePromotion) Unset

func (v *NullableActivePromotion) Unset()

type NullableBatchCreateSchemaFieldsRequest

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

func (NullableBatchCreateSchemaFieldsRequest) Get

func (NullableBatchCreateSchemaFieldsRequest) IsSet

func (NullableBatchCreateSchemaFieldsRequest) MarshalJSON

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

func (*NullableBatchCreateSchemaFieldsRequest) Set

func (*NullableBatchCreateSchemaFieldsRequest) UnmarshalJSON

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

func (*NullableBatchCreateSchemaFieldsRequest) Unset

type NullableBatchCreateSchemaFieldsResponse

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

func (NullableBatchCreateSchemaFieldsResponse) Get

func (NullableBatchCreateSchemaFieldsResponse) IsSet

func (NullableBatchCreateSchemaFieldsResponse) MarshalJSON

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

func (*NullableBatchCreateSchemaFieldsResponse) Set

func (*NullableBatchCreateSchemaFieldsResponse) UnmarshalJSON

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

func (*NullableBatchCreateSchemaFieldsResponse) Unset

type NullableBatchCreateSchemaFieldsResponseError

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

func (NullableBatchCreateSchemaFieldsResponseError) Get

func (NullableBatchCreateSchemaFieldsResponseError) IsSet

func (NullableBatchCreateSchemaFieldsResponseError) MarshalJSON

func (*NullableBatchCreateSchemaFieldsResponseError) Set

func (*NullableBatchCreateSchemaFieldsResponseError) UnmarshalJSON

func (*NullableBatchCreateSchemaFieldsResponseError) Unset

type NullableBatchUpsertRecordsRequest

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

func (NullableBatchUpsertRecordsRequest) Get

func (NullableBatchUpsertRecordsRequest) IsSet

func (NullableBatchUpsertRecordsRequest) MarshalJSON

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

func (*NullableBatchUpsertRecordsRequest) Set

func (*NullableBatchUpsertRecordsRequest) UnmarshalJSON

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

func (*NullableBatchUpsertRecordsRequest) Unset

type NullableBatchUpsertRecordsRequestPipeline

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

func (NullableBatchUpsertRecordsRequestPipeline) Get

func (NullableBatchUpsertRecordsRequestPipeline) IsSet

func (NullableBatchUpsertRecordsRequestPipeline) MarshalJSON

func (*NullableBatchUpsertRecordsRequestPipeline) Set

func (*NullableBatchUpsertRecordsRequestPipeline) UnmarshalJSON

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

func (*NullableBatchUpsertRecordsRequestPipeline) Unset

type NullableBatchUpsertRecordsResponse

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

func (NullableBatchUpsertRecordsResponse) Get

func (NullableBatchUpsertRecordsResponse) IsSet

func (NullableBatchUpsertRecordsResponse) MarshalJSON

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

func (*NullableBatchUpsertRecordsResponse) Set

func (*NullableBatchUpsertRecordsResponse) UnmarshalJSON

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

func (*NullableBatchUpsertRecordsResponse) Unset

type NullableBatchUpsertRecordsResponseError

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

func (NullableBatchUpsertRecordsResponseError) Get

func (NullableBatchUpsertRecordsResponseError) IsSet

func (NullableBatchUpsertRecordsResponseError) MarshalJSON

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

func (*NullableBatchUpsertRecordsResponseError) Set

func (*NullableBatchUpsertRecordsResponseError) UnmarshalJSON

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

func (*NullableBatchUpsertRecordsResponseError) Unset

type NullableBatchUpsertRecordsResponseKey

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

func (NullableBatchUpsertRecordsResponseKey) Get

func (NullableBatchUpsertRecordsResponseKey) IsSet

func (NullableBatchUpsertRecordsResponseKey) MarshalJSON

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

func (*NullableBatchUpsertRecordsResponseKey) Set

func (*NullableBatchUpsertRecordsResponseKey) UnmarshalJSON

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

func (*NullableBatchUpsertRecordsResponseKey) Unset

type NullableBatchUpsertRecordsResponseVariables

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

func (NullableBatchUpsertRecordsResponseVariables) Get

func (NullableBatchUpsertRecordsResponseVariables) IsSet

func (NullableBatchUpsertRecordsResponseVariables) MarshalJSON

func (*NullableBatchUpsertRecordsResponseVariables) Set

func (*NullableBatchUpsertRecordsResponseVariables) UnmarshalJSON

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

func (*NullableBatchUpsertRecordsResponseVariables) 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 NullableCollection

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

func NewNullableCollection

func NewNullableCollection(val *Collection) *NullableCollection

func (NullableCollection) Get

func (v NullableCollection) Get() *Collection

func (NullableCollection) IsSet

func (v NullableCollection) IsSet() bool

func (NullableCollection) MarshalJSON

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

func (*NullableCollection) Set

func (v *NullableCollection) Set(val *Collection)

func (*NullableCollection) UnmarshalJSON

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

func (*NullableCollection) Unset

func (v *NullableCollection) Unset()

type NullableDeleteRecordRequest

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

func NewNullableDeleteRecordRequest

func NewNullableDeleteRecordRequest(val *DeleteRecordRequest) *NullableDeleteRecordRequest

func (NullableDeleteRecordRequest) Get

func (NullableDeleteRecordRequest) IsSet

func (NullableDeleteRecordRequest) MarshalJSON

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

func (*NullableDeleteRecordRequest) Set

func (*NullableDeleteRecordRequest) UnmarshalJSON

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

func (*NullableDeleteRecordRequest) Unset

func (v *NullableDeleteRecordRequest) Unset()

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) 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 NullableGeneratePipelinesRequest

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

func (NullableGeneratePipelinesRequest) Get

func (NullableGeneratePipelinesRequest) IsSet

func (NullableGeneratePipelinesRequest) MarshalJSON

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

func (*NullableGeneratePipelinesRequest) Set

func (*NullableGeneratePipelinesRequest) UnmarshalJSON

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

func (*NullableGeneratePipelinesRequest) Unset

type NullableGeneratePipelinesResponse

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

func (NullableGeneratePipelinesResponse) Get

func (NullableGeneratePipelinesResponse) IsSet

func (NullableGeneratePipelinesResponse) MarshalJSON

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

func (*NullableGeneratePipelinesResponse) Set

func (*NullableGeneratePipelinesResponse) UnmarshalJSON

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

func (*NullableGeneratePipelinesResponse) Unset

type NullableGetDefaultPipelineResponse

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

func (NullableGetDefaultPipelineResponse) Get

func (NullableGetDefaultPipelineResponse) IsSet

func (NullableGetDefaultPipelineResponse) MarshalJSON

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

func (*NullableGetDefaultPipelineResponse) Set

func (*NullableGetDefaultPipelineResponse) UnmarshalJSON

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

func (*NullableGetDefaultPipelineResponse) Unset

type NullableGetDefaultVersionRequestView

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

func (NullableGetDefaultVersionRequestView) Get

func (NullableGetDefaultVersionRequestView) IsSet

func (NullableGetDefaultVersionRequestView) MarshalJSON

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

func (*NullableGetDefaultVersionRequestView) Set

func (*NullableGetDefaultVersionRequestView) UnmarshalJSON

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

func (*NullableGetDefaultVersionRequestView) Unset

type NullableGetPipelineRequestView

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

func (NullableGetPipelineRequestView) Get

func (NullableGetPipelineRequestView) IsSet

func (NullableGetPipelineRequestView) MarshalJSON

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

func (*NullableGetPipelineRequestView) Set

func (*NullableGetPipelineRequestView) UnmarshalJSON

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

func (*NullableGetPipelineRequestView) Unset

func (v *NullableGetPipelineRequestView) Unset()

type NullableGetRecordRequest

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

func NewNullableGetRecordRequest

func NewNullableGetRecordRequest(val *GetRecordRequest) *NullableGetRecordRequest

func (NullableGetRecordRequest) Get

func (NullableGetRecordRequest) IsSet

func (v NullableGetRecordRequest) IsSet() bool

func (NullableGetRecordRequest) MarshalJSON

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

func (*NullableGetRecordRequest) Set

func (*NullableGetRecordRequest) UnmarshalJSON

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

func (*NullableGetRecordRequest) Unset

func (v *NullableGetRecordRequest) 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 NullableIntegration

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

func NewNullableIntegration

func NewNullableIntegration(val *Integration) *NullableIntegration

func (NullableIntegration) Get

func (NullableIntegration) IsSet

func (v NullableIntegration) IsSet() bool

func (NullableIntegration) MarshalJSON

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

func (*NullableIntegration) Set

func (v *NullableIntegration) Set(val *Integration)

func (*NullableIntegration) UnmarshalJSON

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

func (*NullableIntegration) Unset

func (v *NullableIntegration) Unset()

type NullableListCollectionsResponse

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

func (NullableListCollectionsResponse) Get

func (NullableListCollectionsResponse) IsSet

func (NullableListCollectionsResponse) MarshalJSON

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

func (*NullableListCollectionsResponse) Set

func (*NullableListCollectionsResponse) UnmarshalJSON

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

func (*NullableListCollectionsResponse) Unset

type NullableListIntegrationsResponse

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

func (NullableListIntegrationsResponse) Get

func (NullableListIntegrationsResponse) IsSet

func (NullableListIntegrationsResponse) MarshalJSON

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

func (*NullableListIntegrationsResponse) Set

func (*NullableListIntegrationsResponse) UnmarshalJSON

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

func (*NullableListIntegrationsResponse) Unset

type NullableListPipelinesRequestView

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

func (NullableListPipelinesRequestView) Get

func (NullableListPipelinesRequestView) IsSet

func (NullableListPipelinesRequestView) MarshalJSON

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

func (*NullableListPipelinesRequestView) Set

func (*NullableListPipelinesRequestView) UnmarshalJSON

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

func (*NullableListPipelinesRequestView) Unset

type NullableListPipelinesResponse

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

func (NullableListPipelinesResponse) Get

func (NullableListPipelinesResponse) IsSet

func (NullableListPipelinesResponse) MarshalJSON

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

func (*NullableListPipelinesResponse) Set

func (*NullableListPipelinesResponse) UnmarshalJSON

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

func (*NullableListPipelinesResponse) Unset

func (v *NullableListPipelinesResponse) Unset()

type NullableListPromotionsResponse

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

func (NullableListPromotionsResponse) Get

func (NullableListPromotionsResponse) IsSet

func (NullableListPromotionsResponse) MarshalJSON

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

func (*NullableListPromotionsResponse) Set

func (*NullableListPromotionsResponse) UnmarshalJSON

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

func (*NullableListPromotionsResponse) Unset

func (v *NullableListPromotionsResponse) Unset()

type NullableListRedirectsResponse

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

func (NullableListRedirectsResponse) Get

func (NullableListRedirectsResponse) IsSet

func (NullableListRedirectsResponse) MarshalJSON

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

func (*NullableListRedirectsResponse) Set

func (*NullableListRedirectsResponse) UnmarshalJSON

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

func (*NullableListRedirectsResponse) Unset

func (v *NullableListRedirectsResponse) Unset()

type NullableListSchemaFieldsResponse

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

func (NullableListSchemaFieldsResponse) Get

func (NullableListSchemaFieldsResponse) IsSet

func (NullableListSchemaFieldsResponse) MarshalJSON

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

func (*NullableListSchemaFieldsResponse) Set

func (*NullableListSchemaFieldsResponse) UnmarshalJSON

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

func (*NullableListSchemaFieldsResponse) Unset

type NullablePercentileDataPoint

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

func NewNullablePercentileDataPoint

func NewNullablePercentileDataPoint(val *PercentileDataPoint) *NullablePercentileDataPoint

func (NullablePercentileDataPoint) Get

func (NullablePercentileDataPoint) IsSet

func (NullablePercentileDataPoint) MarshalJSON

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

func (*NullablePercentileDataPoint) Set

func (*NullablePercentileDataPoint) UnmarshalJSON

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

func (*NullablePercentileDataPoint) Unset

func (v *NullablePercentileDataPoint) Unset()

type NullablePipeline

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

func NewNullablePipeline

func NewNullablePipeline(val *Pipeline) *NullablePipeline

func (NullablePipeline) Get

func (v NullablePipeline) Get() *Pipeline

func (NullablePipeline) IsSet

func (v NullablePipeline) IsSet() bool

func (NullablePipeline) MarshalJSON

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

func (*NullablePipeline) Set

func (v *NullablePipeline) Set(val *Pipeline)

func (*NullablePipeline) UnmarshalJSON

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

func (*NullablePipeline) Unset

func (v *NullablePipeline) Unset()

type NullablePipelineStep

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

func NewNullablePipelineStep

func NewNullablePipelineStep(val *PipelineStep) *NullablePipelineStep

func (NullablePipelineStep) Get

func (NullablePipelineStep) IsSet

func (v NullablePipelineStep) IsSet() bool

func (NullablePipelineStep) MarshalJSON

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

func (*NullablePipelineStep) Set

func (v *NullablePipelineStep) Set(val *PipelineStep)

func (*NullablePipelineStep) UnmarshalJSON

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

func (*NullablePipelineStep) Unset

func (v *NullablePipelineStep) Unset()

type NullablePipelineStepParamBinding

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

func (NullablePipelineStepParamBinding) Get

func (NullablePipelineStepParamBinding) IsSet

func (NullablePipelineStepParamBinding) MarshalJSON

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

func (*NullablePipelineStepParamBinding) Set

func (*NullablePipelineStepParamBinding) UnmarshalJSON

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

func (*NullablePipelineStepParamBinding) Unset

type NullablePipelineType

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

func NewNullablePipelineType

func NewNullablePipelineType(val *PipelineType) *NullablePipelineType

func (NullablePipelineType) Get

func (NullablePipelineType) IsSet

func (v NullablePipelineType) IsSet() bool

func (NullablePipelineType) MarshalJSON

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

func (*NullablePipelineType) Set

func (v *NullablePipelineType) Set(val *PipelineType)

func (*NullablePipelineType) UnmarshalJSON

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

func (*NullablePipelineType) Unset

func (v *NullablePipelineType) Unset()

type NullablePromotion

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

func NewNullablePromotion

func NewNullablePromotion(val *Promotion) *NullablePromotion

func (NullablePromotion) Get

func (v NullablePromotion) Get() *Promotion

func (NullablePromotion) IsSet

func (v NullablePromotion) IsSet() bool

func (NullablePromotion) MarshalJSON

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

func (*NullablePromotion) Set

func (v *NullablePromotion) Set(val *Promotion)

func (*NullablePromotion) UnmarshalJSON

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

func (*NullablePromotion) Unset

func (v *NullablePromotion) Unset()

type NullablePromotionExclusion

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

func NewNullablePromotionExclusion

func NewNullablePromotionExclusion(val *PromotionExclusion) *NullablePromotionExclusion

func (NullablePromotionExclusion) Get

func (NullablePromotionExclusion) IsSet

func (v NullablePromotionExclusion) IsSet() bool

func (NullablePromotionExclusion) MarshalJSON

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

func (*NullablePromotionExclusion) Set

func (*NullablePromotionExclusion) UnmarshalJSON

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

func (*NullablePromotionExclusion) Unset

func (v *NullablePromotionExclusion) Unset()

type NullablePromotionFilterBoost

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

func NewNullablePromotionFilterBoost

func NewNullablePromotionFilterBoost(val *PromotionFilterBoost) *NullablePromotionFilterBoost

func (NullablePromotionFilterBoost) Get

func (NullablePromotionFilterBoost) IsSet

func (NullablePromotionFilterBoost) MarshalJSON

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

func (*NullablePromotionFilterBoost) Set

func (*NullablePromotionFilterBoost) UnmarshalJSON

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

func (*NullablePromotionFilterBoost) Unset

func (v *NullablePromotionFilterBoost) Unset()

type NullablePromotionFilterCondition

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

func (NullablePromotionFilterCondition) Get

func (NullablePromotionFilterCondition) IsSet

func (NullablePromotionFilterCondition) MarshalJSON

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

func (*NullablePromotionFilterCondition) Set

func (*NullablePromotionFilterCondition) UnmarshalJSON

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

func (*NullablePromotionFilterCondition) Unset

type NullablePromotionPin

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

func NewNullablePromotionPin

func NewNullablePromotionPin(val *PromotionPin) *NullablePromotionPin

func (NullablePromotionPin) Get

func (NullablePromotionPin) IsSet

func (v NullablePromotionPin) IsSet() bool

func (NullablePromotionPin) MarshalJSON

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

func (*NullablePromotionPin) Set

func (v *NullablePromotionPin) Set(val *PromotionPin)

func (*NullablePromotionPin) UnmarshalJSON

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

func (*NullablePromotionPin) Unset

func (v *NullablePromotionPin) Unset()

type NullablePromotionRangeBoost

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

func NewNullablePromotionRangeBoost

func NewNullablePromotionRangeBoost(val *PromotionRangeBoost) *NullablePromotionRangeBoost

func (NullablePromotionRangeBoost) Get

func (NullablePromotionRangeBoost) IsSet

func (NullablePromotionRangeBoost) MarshalJSON

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

func (*NullablePromotionRangeBoost) Set

func (*NullablePromotionRangeBoost) UnmarshalJSON

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

func (*NullablePromotionRangeBoost) Unset

func (v *NullablePromotionRangeBoost) Unset()

type NullableProtobufAny

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

func NewNullableProtobufAny

func NewNullableProtobufAny(val *ProtobufAny) *NullableProtobufAny

func (NullableProtobufAny) Get

func (NullableProtobufAny) IsSet

func (v NullableProtobufAny) IsSet() bool

func (NullableProtobufAny) MarshalJSON

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

func (*NullableProtobufAny) Set

func (v *NullableProtobufAny) Set(val *ProtobufAny)

func (*NullableProtobufAny) UnmarshalJSON

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

func (*NullableProtobufAny) Unset

func (v *NullableProtobufAny) Unset()

type NullableProtobufNullValue

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

func NewNullableProtobufNullValue

func NewNullableProtobufNullValue(val *ProtobufNullValue) *NullableProtobufNullValue

func (NullableProtobufNullValue) Get

func (NullableProtobufNullValue) IsSet

func (v NullableProtobufNullValue) IsSet() bool

func (NullableProtobufNullValue) MarshalJSON

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

func (*NullableProtobufNullValue) Set

func (*NullableProtobufNullValue) UnmarshalJSON

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

func (*NullableProtobufNullValue) Unset

func (v *NullableProtobufNullValue) Unset()

type NullableQueryAggregateResult

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

func NewNullableQueryAggregateResult

func NewNullableQueryAggregateResult(val *QueryAggregateResult) *NullableQueryAggregateResult

func (NullableQueryAggregateResult) Get

func (NullableQueryAggregateResult) IsSet

func (NullableQueryAggregateResult) MarshalJSON

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

func (*NullableQueryAggregateResult) Set

func (*NullableQueryAggregateResult) UnmarshalJSON

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

func (*NullableQueryAggregateResult) Unset

func (v *NullableQueryAggregateResult) Unset()

type NullableQueryAggregateResultAnalysis

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

func (NullableQueryAggregateResultAnalysis) Get

func (NullableQueryAggregateResultAnalysis) IsSet

func (NullableQueryAggregateResultAnalysis) MarshalJSON

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

func (*NullableQueryAggregateResultAnalysis) Set

func (*NullableQueryAggregateResultAnalysis) UnmarshalJSON

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

func (*NullableQueryAggregateResultAnalysis) Unset

type NullableQueryAggregateResultBuckets

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

func (NullableQueryAggregateResultBuckets) Get

func (NullableQueryAggregateResultBuckets) IsSet

func (NullableQueryAggregateResultBuckets) MarshalJSON

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

func (*NullableQueryAggregateResultBuckets) Set

func (*NullableQueryAggregateResultBuckets) UnmarshalJSON

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

func (*NullableQueryAggregateResultBuckets) Unset

type NullableQueryAggregateResultBucketsBucket

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

func (NullableQueryAggregateResultBucketsBucket) Get

func (NullableQueryAggregateResultBucketsBucket) IsSet

func (NullableQueryAggregateResultBucketsBucket) MarshalJSON

func (*NullableQueryAggregateResultBucketsBucket) Set

func (*NullableQueryAggregateResultBucketsBucket) UnmarshalJSON

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

func (*NullableQueryAggregateResultBucketsBucket) Unset

type NullableQueryAggregateResultCount

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

func (NullableQueryAggregateResultCount) Get

func (NullableQueryAggregateResultCount) IsSet

func (NullableQueryAggregateResultCount) MarshalJSON

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

func (*NullableQueryAggregateResultCount) Set

func (*NullableQueryAggregateResultCount) UnmarshalJSON

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

func (*NullableQueryAggregateResultCount) Unset

type NullableQueryAggregateResultDate

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

func (NullableQueryAggregateResultDate) Get

func (NullableQueryAggregateResultDate) IsSet

func (NullableQueryAggregateResultDate) MarshalJSON

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

func (*NullableQueryAggregateResultDate) Set

func (*NullableQueryAggregateResultDate) UnmarshalJSON

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

func (*NullableQueryAggregateResultDate) Unset

type NullableQueryAggregateResultMetric

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

func (NullableQueryAggregateResultMetric) Get

func (NullableQueryAggregateResultMetric) IsSet

func (NullableQueryAggregateResultMetric) MarshalJSON

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

func (*NullableQueryAggregateResultMetric) Set

func (*NullableQueryAggregateResultMetric) UnmarshalJSON

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

func (*NullableQueryAggregateResultMetric) Unset

type NullableQueryAggregateResultPercentile

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

func (NullableQueryAggregateResultPercentile) Get

func (NullableQueryAggregateResultPercentile) IsSet

func (NullableQueryAggregateResultPercentile) MarshalJSON

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

func (*NullableQueryAggregateResultPercentile) Set

func (*NullableQueryAggregateResultPercentile) UnmarshalJSON

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

func (*NullableQueryAggregateResultPercentile) Unset

type NullableQueryCollectionRequest

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

func (NullableQueryCollectionRequest) Get

func (NullableQueryCollectionRequest) IsSet

func (NullableQueryCollectionRequest) MarshalJSON

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

func (*NullableQueryCollectionRequest) Set

func (*NullableQueryCollectionRequest) UnmarshalJSON

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

func (*NullableQueryCollectionRequest) Unset

func (v *NullableQueryCollectionRequest) Unset()

type NullableQueryCollectionRequestPipeline

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

func (NullableQueryCollectionRequestPipeline) Get

func (NullableQueryCollectionRequestPipeline) IsSet

func (NullableQueryCollectionRequestPipeline) MarshalJSON

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

func (*NullableQueryCollectionRequestPipeline) Set

func (*NullableQueryCollectionRequestPipeline) UnmarshalJSON

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

func (*NullableQueryCollectionRequestPipeline) Unset

type NullableQueryCollectionRequestTracking

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

func (NullableQueryCollectionRequestTracking) Get

func (NullableQueryCollectionRequestTracking) IsSet

func (NullableQueryCollectionRequestTracking) MarshalJSON

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

func (*NullableQueryCollectionRequestTracking) Set

func (*NullableQueryCollectionRequestTracking) UnmarshalJSON

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

func (*NullableQueryCollectionRequestTracking) Unset

type NullableQueryCollectionRequestTrackingType

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

func (NullableQueryCollectionRequestTrackingType) Get

func (NullableQueryCollectionRequestTrackingType) IsSet

func (NullableQueryCollectionRequestTrackingType) MarshalJSON

func (*NullableQueryCollectionRequestTrackingType) Set

func (*NullableQueryCollectionRequestTrackingType) UnmarshalJSON

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

func (*NullableQueryCollectionRequestTrackingType) Unset

type NullableQueryCollectionResponse

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

func (NullableQueryCollectionResponse) Get

func (NullableQueryCollectionResponse) IsSet

func (NullableQueryCollectionResponse) MarshalJSON

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

func (*NullableQueryCollectionResponse) Set

func (*NullableQueryCollectionResponse) UnmarshalJSON

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

func (*NullableQueryCollectionResponse) Unset

type NullableQueryCollectionResponsePipeline

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

func (NullableQueryCollectionResponsePipeline) Get

func (NullableQueryCollectionResponsePipeline) IsSet

func (NullableQueryCollectionResponsePipeline) MarshalJSON

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

func (*NullableQueryCollectionResponsePipeline) Set

func (*NullableQueryCollectionResponsePipeline) UnmarshalJSON

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

func (*NullableQueryCollectionResponsePipeline) Unset

type NullableQueryResult

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

func NewNullableQueryResult

func NewNullableQueryResult(val *QueryResult) *NullableQueryResult

func (NullableQueryResult) Get

func (NullableQueryResult) IsSet

func (v NullableQueryResult) IsSet() bool

func (NullableQueryResult) MarshalJSON

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

func (*NullableQueryResult) Set

func (v *NullableQueryResult) Set(val *QueryResult)

func (*NullableQueryResult) UnmarshalJSON

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

func (*NullableQueryResult) Unset

func (v *NullableQueryResult) Unset()

type NullableQueryResultToken

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

func NewNullableQueryResultToken

func NewNullableQueryResultToken(val *QueryResultToken) *NullableQueryResultToken

func (NullableQueryResultToken) Get

func (NullableQueryResultToken) IsSet

func (v NullableQueryResultToken) IsSet() bool

func (NullableQueryResultToken) MarshalJSON

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

func (*NullableQueryResultToken) Set

func (*NullableQueryResultToken) UnmarshalJSON

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

func (*NullableQueryResultToken) Unset

func (v *NullableQueryResultToken) Unset()

type NullableQueryResultTokenClick

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

func (NullableQueryResultTokenClick) Get

func (NullableQueryResultTokenClick) IsSet

func (NullableQueryResultTokenClick) MarshalJSON

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

func (*NullableQueryResultTokenClick) Set

func (*NullableQueryResultTokenClick) UnmarshalJSON

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

func (*NullableQueryResultTokenClick) Unset

func (v *NullableQueryResultTokenClick) Unset()

type NullableQueryResultTokenPosNeg

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

func (NullableQueryResultTokenPosNeg) Get

func (NullableQueryResultTokenPosNeg) IsSet

func (NullableQueryResultTokenPosNeg) MarshalJSON

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

func (*NullableQueryResultTokenPosNeg) Set

func (*NullableQueryResultTokenPosNeg) UnmarshalJSON

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

func (*NullableQueryResultTokenPosNeg) Unset

func (v *NullableQueryResultTokenPosNeg) Unset()

type NullableRecordKey

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

func NewNullableRecordKey

func NewNullableRecordKey(val *RecordKey) *NullableRecordKey

func (NullableRecordKey) Get

func (v NullableRecordKey) Get() *RecordKey

func (NullableRecordKey) IsSet

func (v NullableRecordKey) IsSet() bool

func (NullableRecordKey) MarshalJSON

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

func (*NullableRecordKey) Set

func (v *NullableRecordKey) Set(val *RecordKey)

func (*NullableRecordKey) UnmarshalJSON

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

func (*NullableRecordKey) Unset

func (v *NullableRecordKey) Unset()

type NullableRedirect

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

func NewNullableRedirect

func NewNullableRedirect(val *Redirect) *NullableRedirect

func (NullableRedirect) Get

func (v NullableRedirect) Get() *Redirect

func (NullableRedirect) IsSet

func (v NullableRedirect) IsSet() bool

func (NullableRedirect) MarshalJSON

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

func (*NullableRedirect) Set

func (v *NullableRedirect) Set(val *Redirect)

func (*NullableRedirect) UnmarshalJSON

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

func (*NullableRedirect) Unset

func (v *NullableRedirect) Unset()

type NullableRedirectResult

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

func NewNullableRedirectResult

func NewNullableRedirectResult(val *RedirectResult) *NullableRedirectResult

func (NullableRedirectResult) Get

func (NullableRedirectResult) IsSet

func (v NullableRedirectResult) IsSet() bool

func (NullableRedirectResult) MarshalJSON

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

func (*NullableRedirectResult) Set

func (*NullableRedirectResult) UnmarshalJSON

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

func (*NullableRedirectResult) Unset

func (v *NullableRedirectResult) Unset()

type NullableSchemaField

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

func NewNullableSchemaField

func NewNullableSchemaField(val *SchemaField) *NullableSchemaField

func (NullableSchemaField) Get

func (NullableSchemaField) IsSet

func (v NullableSchemaField) IsSet() bool

func (NullableSchemaField) MarshalJSON

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

func (*NullableSchemaField) Set

func (v *NullableSchemaField) Set(val *SchemaField)

func (*NullableSchemaField) UnmarshalJSON

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

func (*NullableSchemaField) Unset

func (v *NullableSchemaField) Unset()

type NullableSchemaFieldMode

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

func NewNullableSchemaFieldMode

func NewNullableSchemaFieldMode(val *SchemaFieldMode) *NullableSchemaFieldMode

func (NullableSchemaFieldMode) Get

func (NullableSchemaFieldMode) IsSet

func (v NullableSchemaFieldMode) IsSet() bool

func (NullableSchemaFieldMode) MarshalJSON

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

func (*NullableSchemaFieldMode) Set

func (*NullableSchemaFieldMode) UnmarshalJSON

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

func (*NullableSchemaFieldMode) Unset

func (v *NullableSchemaFieldMode) Unset()

type NullableSchemaFieldType

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

func NewNullableSchemaFieldType

func NewNullableSchemaFieldType(val *SchemaFieldType) *NullableSchemaFieldType

func (NullableSchemaFieldType) Get

func (NullableSchemaFieldType) IsSet

func (v NullableSchemaFieldType) IsSet() bool

func (NullableSchemaFieldType) MarshalJSON

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

func (*NullableSchemaFieldType) Set

func (*NullableSchemaFieldType) UnmarshalJSON

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

func (*NullableSchemaFieldType) Unset

func (v *NullableSchemaFieldType) Unset()

type NullableSendEventRequest

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

func NewNullableSendEventRequest

func NewNullableSendEventRequest(val *SendEventRequest) *NullableSendEventRequest

func (NullableSendEventRequest) Get

func (NullableSendEventRequest) IsSet

func (v NullableSendEventRequest) IsSet() bool

func (NullableSendEventRequest) MarshalJSON

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

func (*NullableSendEventRequest) Set

func (*NullableSendEventRequest) UnmarshalJSON

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

func (*NullableSendEventRequest) Unset

func (v *NullableSendEventRequest) Unset()

type NullableSetDefaultPipelineRequest

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

func (NullableSetDefaultPipelineRequest) Get

func (NullableSetDefaultPipelineRequest) IsSet

func (NullableSetDefaultPipelineRequest) MarshalJSON

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

func (*NullableSetDefaultPipelineRequest) Set

func (*NullableSetDefaultPipelineRequest) UnmarshalJSON

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

func (*NullableSetDefaultPipelineRequest) Unset

type NullableSetDefaultVersionRequest

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

func (NullableSetDefaultVersionRequest) Get

func (NullableSetDefaultVersionRequest) IsSet

func (NullableSetDefaultVersionRequest) MarshalJSON

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

func (*NullableSetDefaultVersionRequest) Set

func (*NullableSetDefaultVersionRequest) UnmarshalJSON

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

func (*NullableSetDefaultVersionRequest) Unset

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateRecordRequest

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

func NewNullableUpdateRecordRequest

func NewNullableUpdateRecordRequest(val *UpdateRecordRequest) *NullableUpdateRecordRequest

func (NullableUpdateRecordRequest) Get

func (NullableUpdateRecordRequest) IsSet

func (NullableUpdateRecordRequest) MarshalJSON

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

func (*NullableUpdateRecordRequest) Set

func (*NullableUpdateRecordRequest) UnmarshalJSON

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

func (*NullableUpdateRecordRequest) Unset

func (v *NullableUpdateRecordRequest) Unset()

type NullableUpsertRecordRequest

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

func NewNullableUpsertRecordRequest

func NewNullableUpsertRecordRequest(val *UpsertRecordRequest) *NullableUpsertRecordRequest

func (NullableUpsertRecordRequest) Get

func (NullableUpsertRecordRequest) IsSet

func (NullableUpsertRecordRequest) MarshalJSON

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

func (*NullableUpsertRecordRequest) Set

func (*NullableUpsertRecordRequest) UnmarshalJSON

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

func (*NullableUpsertRecordRequest) Unset

func (v *NullableUpsertRecordRequest) Unset()

type NullableUpsertRecordRequestPipeline

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

func (NullableUpsertRecordRequestPipeline) Get

func (NullableUpsertRecordRequestPipeline) IsSet

func (NullableUpsertRecordRequestPipeline) MarshalJSON

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

func (*NullableUpsertRecordRequestPipeline) Set

func (*NullableUpsertRecordRequestPipeline) UnmarshalJSON

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

func (*NullableUpsertRecordRequestPipeline) Unset

type NullableUpsertRecordResponse

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

func NewNullableUpsertRecordResponse

func NewNullableUpsertRecordResponse(val *UpsertRecordResponse) *NullableUpsertRecordResponse

func (NullableUpsertRecordResponse) Get

func (NullableUpsertRecordResponse) IsSet

func (NullableUpsertRecordResponse) MarshalJSON

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

func (*NullableUpsertRecordResponse) Set

func (*NullableUpsertRecordResponse) UnmarshalJSON

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

func (*NullableUpsertRecordResponse) Unset

func (v *NullableUpsertRecordResponse) Unset()

type PercentileDataPoint

type PercentileDataPoint struct {
	// The input point.
	Point *float64 `json:"point,omitempty"`
	// The corresponding value for the given point.
	Value *float64 `json:"value,omitempty"`
}

PercentileDataPoint struct for PercentileDataPoint

func NewPercentileDataPoint

func NewPercentileDataPoint() *PercentileDataPoint

NewPercentileDataPoint instantiates a new PercentileDataPoint 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 NewPercentileDataPointWithDefaults

func NewPercentileDataPointWithDefaults() *PercentileDataPoint

NewPercentileDataPointWithDefaults instantiates a new PercentileDataPoint 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 (*PercentileDataPoint) GetPoint

func (o *PercentileDataPoint) GetPoint() float64

GetPoint returns the Point field value if set, zero value otherwise.

func (*PercentileDataPoint) GetPointOk

func (o *PercentileDataPoint) GetPointOk() (*float64, bool)

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

func (*PercentileDataPoint) GetValue

func (o *PercentileDataPoint) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*PercentileDataPoint) GetValueOk

func (o *PercentileDataPoint) GetValueOk() (*float64, bool)

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

func (*PercentileDataPoint) HasPoint

func (o *PercentileDataPoint) HasPoint() bool

HasPoint returns a boolean if a field has been set.

func (*PercentileDataPoint) HasValue

func (o *PercentileDataPoint) HasValue() bool

HasValue returns a boolean if a field has been set.

func (PercentileDataPoint) MarshalJSON

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

func (*PercentileDataPoint) SetPoint

func (o *PercentileDataPoint) SetPoint(v float64)

SetPoint gets a reference to the given float64 and assigns it to the Point field.

func (*PercentileDataPoint) SetValue

func (o *PercentileDataPoint) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

type Pipeline

type Pipeline struct {
	// Output only. Indicates if the pipeline is the collection default pipeline.
	CollectionDefault *bool `json:"collection_default,omitempty"`
	// Output only. Time the pipeline was created.
	CreateTime *time.Time `json:"create_time,omitempty"`
	// Output only. Indicates if the pipeline is the default version.
	DefaultVersion *bool `json:"default_version,omitempty"`
	// Description of the pipeline.
	Description *string `json:"description,omitempty"`
	// The pipeline's name.  Must start with an alphanumeric character followed by one or more alphanumeric, `_`, `-` or `.` characters. Strictly speaking, it must match the regular expression: `^[a-zA-Z0-9][a-zA-Z0-9_\\-\\.]+$`.
	Name string `json:"name"`
	// The post-steps that are run after an indexing operation or query request has been sent to the search index.  For indexing operations, the post-steps only run when creating new records. They do not run when updating records.  For querying, the post-steps have access to the result-set. This makes it possible to act on the results before sending them back to the caller.
	PostSteps *[]PipelineStep `json:"post_steps,omitempty"`
	// The pre-steps that are run before an indexing operation or query request is sent to the search index.
	PreSteps *[]PipelineStep `json:"pre_steps,omitempty"`
	Type     PipelineType    `json:"type"`
	// The pipeline's version.  Must start with an alphanumeric character followed by one or more alphanumeric, `_`, `-` or `.` characters. Strictly speaking, it must match the regular expression: `^[a-zA-Z0-9][a-zA-Z0-9_\\-\\.]+$`.
	Version string `json:"version"`
}

Pipeline struct for Pipeline

func NewPipeline

func NewPipeline(name string, type_ PipelineType, version string) *Pipeline

NewPipeline instantiates a new Pipeline 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 NewPipelineWithDefaults

func NewPipelineWithDefaults() *Pipeline

NewPipelineWithDefaults instantiates a new Pipeline 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 (*Pipeline) GetCollectionDefault

func (o *Pipeline) GetCollectionDefault() bool

GetCollectionDefault returns the CollectionDefault field value if set, zero value otherwise.

func (*Pipeline) GetCollectionDefaultOk

func (o *Pipeline) GetCollectionDefaultOk() (*bool, bool)

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

func (*Pipeline) GetCreateTime

func (o *Pipeline) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value if set, zero value otherwise.

func (*Pipeline) GetCreateTimeOk

func (o *Pipeline) GetCreateTimeOk() (*time.Time, bool)

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

func (*Pipeline) GetDefaultVersion

func (o *Pipeline) GetDefaultVersion() bool

GetDefaultVersion returns the DefaultVersion field value if set, zero value otherwise.

func (*Pipeline) GetDefaultVersionOk

func (o *Pipeline) GetDefaultVersionOk() (*bool, bool)

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

func (*Pipeline) GetDescription

func (o *Pipeline) GetDescription() string

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

func (*Pipeline) GetDescriptionOk

func (o *Pipeline) GetDescriptionOk() (*string, bool)

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

func (*Pipeline) GetName

func (o *Pipeline) GetName() string

GetName returns the Name field value

func (*Pipeline) GetNameOk

func (o *Pipeline) GetNameOk() (*string, bool)

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

func (*Pipeline) GetPostSteps

func (o *Pipeline) GetPostSteps() []PipelineStep

GetPostSteps returns the PostSteps field value if set, zero value otherwise.

func (*Pipeline) GetPostStepsOk

func (o *Pipeline) GetPostStepsOk() (*[]PipelineStep, bool)

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

func (*Pipeline) GetPreSteps

func (o *Pipeline) GetPreSteps() []PipelineStep

GetPreSteps returns the PreSteps field value if set, zero value otherwise.

func (*Pipeline) GetPreStepsOk

func (o *Pipeline) GetPreStepsOk() (*[]PipelineStep, bool)

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

func (*Pipeline) GetType

func (o *Pipeline) GetType() PipelineType

GetType returns the Type field value

func (*Pipeline) GetTypeOk

func (o *Pipeline) GetTypeOk() (*PipelineType, bool)

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

func (*Pipeline) GetVersion

func (o *Pipeline) GetVersion() string

GetVersion returns the Version field value

func (*Pipeline) GetVersionOk

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

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

func (*Pipeline) HasCollectionDefault

func (o *Pipeline) HasCollectionDefault() bool

HasCollectionDefault returns a boolean if a field has been set.

func (*Pipeline) HasCreateTime

func (o *Pipeline) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

func (*Pipeline) HasDefaultVersion

func (o *Pipeline) HasDefaultVersion() bool

HasDefaultVersion returns a boolean if a field has been set.

func (*Pipeline) HasDescription

func (o *Pipeline) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Pipeline) HasPostSteps

func (o *Pipeline) HasPostSteps() bool

HasPostSteps returns a boolean if a field has been set.

func (*Pipeline) HasPreSteps

func (o *Pipeline) HasPreSteps() bool

HasPreSteps returns a boolean if a field has been set.

func (Pipeline) MarshalJSON

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

func (*Pipeline) SetCollectionDefault

func (o *Pipeline) SetCollectionDefault(v bool)

SetCollectionDefault gets a reference to the given bool and assigns it to the CollectionDefault field.

func (*Pipeline) SetCreateTime

func (o *Pipeline) SetCreateTime(v time.Time)

SetCreateTime gets a reference to the given time.Time and assigns it to the CreateTime field.

func (*Pipeline) SetDefaultVersion

func (o *Pipeline) SetDefaultVersion(v bool)

SetDefaultVersion gets a reference to the given bool and assigns it to the DefaultVersion field.

func (*Pipeline) SetDescription

func (o *Pipeline) SetDescription(v string)

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

func (*Pipeline) SetName

func (o *Pipeline) SetName(v string)

SetName sets field value

func (*Pipeline) SetPostSteps

func (o *Pipeline) SetPostSteps(v []PipelineStep)

SetPostSteps gets a reference to the given []PipelineStep and assigns it to the PostSteps field.

func (*Pipeline) SetPreSteps

func (o *Pipeline) SetPreSteps(v []PipelineStep)

SetPreSteps gets a reference to the given []PipelineStep and assigns it to the PreSteps field.

func (*Pipeline) SetType

func (o *Pipeline) SetType(v PipelineType)

SetType sets field value

func (*Pipeline) SetVersion

func (o *Pipeline) SetVersion(v string)

SetVersion sets field value

type PipelineStep

type PipelineStep struct {
	// Annotations added to the request when the step is run.
	Annotations *[]string `json:"annotations,omitempty"`
	// A condition expression to determine if the step should be run.  This is a filter expression much like the query filter expression, but it acts upon the pipeline variables.  For example, to only run the step if the pipeline `q` variable is not empty, set this to `q != ”`.
	Condition *string `json:"condition,omitempty"`
	// Description for the step. Overrides the default description.
	Description *string `json:"description,omitempty"`
	// ID of the step template.
	Id string `json:"id"`
	// Bindings for the step parameters.
	Params *map[string]PipelineStepParamBinding `json:"params,omitempty"`
	// Title for the step. Overrides the default title.
	Title *string `json:"title,omitempty"`
}

PipelineStep Step creates a pipeline step.

func NewPipelineStep

func NewPipelineStep(id string) *PipelineStep

NewPipelineStep instantiates a new PipelineStep 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 NewPipelineStepWithDefaults

func NewPipelineStepWithDefaults() *PipelineStep

NewPipelineStepWithDefaults instantiates a new PipelineStep 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 (*PipelineStep) GetAnnotations

func (o *PipelineStep) GetAnnotations() []string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*PipelineStep) GetAnnotationsOk

func (o *PipelineStep) GetAnnotationsOk() (*[]string, bool)

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

func (*PipelineStep) GetCondition

func (o *PipelineStep) GetCondition() string

GetCondition returns the Condition field value if set, zero value otherwise.

func (*PipelineStep) GetConditionOk

func (o *PipelineStep) GetConditionOk() (*string, bool)

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

func (*PipelineStep) GetDescription

func (o *PipelineStep) GetDescription() string

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

func (*PipelineStep) GetDescriptionOk

func (o *PipelineStep) GetDescriptionOk() (*string, bool)

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

func (*PipelineStep) GetId

func (o *PipelineStep) GetId() string

GetId returns the Id field value

func (*PipelineStep) GetIdOk

func (o *PipelineStep) GetIdOk() (*string, bool)

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

func (*PipelineStep) GetParams

func (o *PipelineStep) GetParams() map[string]PipelineStepParamBinding

GetParams returns the Params field value if set, zero value otherwise.

func (*PipelineStep) GetParamsOk

func (o *PipelineStep) GetParamsOk() (*map[string]PipelineStepParamBinding, bool)

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

func (*PipelineStep) GetTitle

func (o *PipelineStep) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*PipelineStep) GetTitleOk

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

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

func (*PipelineStep) HasAnnotations

func (o *PipelineStep) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*PipelineStep) HasCondition

func (o *PipelineStep) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*PipelineStep) HasDescription

func (o *PipelineStep) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PipelineStep) HasParams

func (o *PipelineStep) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*PipelineStep) HasTitle

func (o *PipelineStep) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (PipelineStep) MarshalJSON

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

func (*PipelineStep) SetAnnotations

func (o *PipelineStep) SetAnnotations(v []string)

SetAnnotations gets a reference to the given []string and assigns it to the Annotations field.

func (*PipelineStep) SetCondition

func (o *PipelineStep) SetCondition(v string)

SetCondition gets a reference to the given string and assigns it to the Condition field.

func (*PipelineStep) SetDescription

func (o *PipelineStep) SetDescription(v string)

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

func (*PipelineStep) SetId

func (o *PipelineStep) SetId(v string)

SetId sets field value

func (*PipelineStep) SetParams

func (o *PipelineStep) SetParams(v map[string]PipelineStepParamBinding)

SetParams gets a reference to the given map[string]PipelineStepParamBinding and assigns it to the Params field.

func (*PipelineStep) SetTitle

func (o *PipelineStep) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

type PipelineStepParamBinding

type PipelineStepParamBinding struct {
	// Bind the step parameter to a pipeline variable.
	Bind *string `json:"bind,omitempty"`
	// Bind the step parameter to a constant value.
	Constant *string `json:"constant,omitempty"`
	// Set a default value for the step parameter.  This allows you to set a default value for the step parameter when it is not bound to a pipeline variable.
	DefaultValue *string `json:"default_value,omitempty"`
	// Set the description of the step parameter.
	Description *string `json:"description,omitempty"`
}

PipelineStepParamBinding struct for PipelineStepParamBinding

func NewPipelineStepParamBinding

func NewPipelineStepParamBinding() *PipelineStepParamBinding

NewPipelineStepParamBinding instantiates a new PipelineStepParamBinding 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 NewPipelineStepParamBindingWithDefaults

func NewPipelineStepParamBindingWithDefaults() *PipelineStepParamBinding

NewPipelineStepParamBindingWithDefaults instantiates a new PipelineStepParamBinding 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 (*PipelineStepParamBinding) GetBind

func (o *PipelineStepParamBinding) GetBind() string

GetBind returns the Bind field value if set, zero value otherwise.

func (*PipelineStepParamBinding) GetBindOk

func (o *PipelineStepParamBinding) GetBindOk() (*string, bool)

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

func (*PipelineStepParamBinding) GetConstant

func (o *PipelineStepParamBinding) GetConstant() string

GetConstant returns the Constant field value if set, zero value otherwise.

func (*PipelineStepParamBinding) GetConstantOk

func (o *PipelineStepParamBinding) GetConstantOk() (*string, bool)

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

func (*PipelineStepParamBinding) GetDefaultValue

func (o *PipelineStepParamBinding) GetDefaultValue() string

GetDefaultValue returns the DefaultValue field value if set, zero value otherwise.

func (*PipelineStepParamBinding) GetDefaultValueOk

func (o *PipelineStepParamBinding) GetDefaultValueOk() (*string, bool)

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

func (*PipelineStepParamBinding) GetDescription

func (o *PipelineStepParamBinding) GetDescription() string

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

func (*PipelineStepParamBinding) GetDescriptionOk

func (o *PipelineStepParamBinding) GetDescriptionOk() (*string, bool)

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

func (*PipelineStepParamBinding) HasBind

func (o *PipelineStepParamBinding) HasBind() bool

HasBind returns a boolean if a field has been set.

func (*PipelineStepParamBinding) HasConstant

func (o *PipelineStepParamBinding) HasConstant() bool

HasConstant returns a boolean if a field has been set.

func (*PipelineStepParamBinding) HasDefaultValue

func (o *PipelineStepParamBinding) HasDefaultValue() bool

HasDefaultValue returns a boolean if a field has been set.

func (*PipelineStepParamBinding) HasDescription

func (o *PipelineStepParamBinding) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (PipelineStepParamBinding) MarshalJSON

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

func (*PipelineStepParamBinding) SetBind

func (o *PipelineStepParamBinding) SetBind(v string)

SetBind gets a reference to the given string and assigns it to the Bind field.

func (*PipelineStepParamBinding) SetConstant

func (o *PipelineStepParamBinding) SetConstant(v string)

SetConstant gets a reference to the given string and assigns it to the Constant field.

func (*PipelineStepParamBinding) SetDefaultValue

func (o *PipelineStepParamBinding) SetDefaultValue(v string)

SetDefaultValue gets a reference to the given string and assigns it to the DefaultValue field.

func (*PipelineStepParamBinding) SetDescription

func (o *PipelineStepParamBinding) SetDescription(v string)

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

type PipelineType

type PipelineType string

PipelineType - TYPE_UNSPECIFIED: Pipeline type not specified. - RECORD: Record pipeline. - QUERY: Query pipeline.

const (
	PIPELINETYPE_TYPE_UNSPECIFIED PipelineType = "TYPE_UNSPECIFIED"
	PIPELINETYPE_RECORD           PipelineType = "RECORD"
	PIPELINETYPE_QUERY            PipelineType = "QUERY"
)

List of PipelineType

func (PipelineType) Ptr

func (v PipelineType) Ptr() *PipelineType

Ptr returns reference to PipelineType value

func (*PipelineType) UnmarshalJSON

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

type PipelinesApiService

type PipelinesApiService service

PipelinesApiService PipelinesApi service

func (*PipelinesApiService) CreatePipeline

func (a *PipelinesApiService) CreatePipeline(ctx _context.Context, collectionId string) ApiCreatePipelineRequest
  • CreatePipeline Create pipeline
  • Create a new pipeline.

Pipelines are immutable once created. If you want to change a pipeline e.g. to add or change some steps, you need to create a new version of that pipeline.

To start using a new pipeline you need to update your record ingestion calls and/or your query calls to specify the new pipeline.

To create the pipeline from YAML, set the request's `Content-Type` header to `application/yaml` and submit the pipeline's YAML in the request body.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to create the pipeline in, e.g. `my-collection`.
  • @return ApiCreatePipelineRequest

func (*PipelinesApiService) CreatePipelineExecute

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) GeneratePipelines

func (a *PipelinesApiService) GeneratePipelines(ctx _context.Context, collectionId string) ApiGeneratePipelinesRequest
  • GeneratePipelines Generate pipelines
  • Generate basic record, query and autocomplete pipeline templates.

Use these templates as a starting point for your collection's pipelines.

This call returns a set of pipelines that you can pass directly to the create pipeline call.

The generated templates can be returned in JSON, the default, or YAML. To return the generated pipelines in YAML, set the request's `Accept` header to `application/yaml`. The three pipelines in the YAML response are separated by three dashes (`---`).

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection, e.g. `my-collection`.
  • @return ApiGeneratePipelinesRequest

func (*PipelinesApiService) GeneratePipelinesExecute

* Execute executes the request * @return GeneratePipelinesResponse

func (*PipelinesApiService) GetDefaultPipeline

func (a *PipelinesApiService) GetDefaultPipeline(ctx _context.Context, collectionId string) ApiGetDefaultPipelineRequest
  • GetDefaultPipeline Get default pipeline
  • Get the default pipeline for a collection.

Every collection has a default record pipeline and a default query pipeline.

When a pipeline is required to complete an operation, it can be omitted from the request if a default pipeline has been set. When adding a record to a collection, the default record pipeline is used if none is provided. When querying a collection, the default query pipeline is used if none is provided.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to get the default query pipeline of, e.g. `my-collection`.
  • @return ApiGetDefaultPipelineRequest

func (*PipelinesApiService) GetDefaultPipelineExecute

* Execute executes the request * @return GetDefaultPipelineResponse

func (*PipelinesApiService) GetDefaultVersion

func (a *PipelinesApiService) GetDefaultVersion(ctx _context.Context, collectionId string, type_ string, name string) ApiGetDefaultVersionRequest
  • GetDefaultVersion Get default pipeline version
  • Get the default version for a given pipeline.

The default version of a pipeline is used when a pipeline is referred to without specifying a version.

This allows you to change the pipeline version used for requests without having to change your code.

To retrieve the pipeline in YAML, set the request's `Accept` header to `application/yaml`.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection that owns the pipeline to get the default version of, e.g. `my-collection`.
  • @param type_ The type of the pipeline to get the default version of.
  • @param name The name of the pipeline to get the default version of, e.g. `my-pipeline`.
  • @return ApiGetDefaultVersionRequest

func (*PipelinesApiService) GetDefaultVersionExecute

func (a *PipelinesApiService) GetDefaultVersionExecute(r ApiGetDefaultVersionRequest) (Pipeline, *_nethttp.Response, error)

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) GetPipeline

func (a *PipelinesApiService) GetPipeline(ctx _context.Context, collectionId string, type_ string, name string, version string) ApiGetPipelineRequest
  • GetPipeline Get pipeline
  • Retrieve the details of a pipeline. Supply the type, name and version.

To retrieve the pipeline in YAML, set the request's `Accept` header to `application/yaml`.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection that owns the pipeline, e.g. `my-collection`.
  • @param type_ The type of the pipeline to retrieve.
  • @param name The name of the pipeline to retrieve, e.g. `my-pipeline`.
  • @param version The version of the pipeline to retrieve, e.g. `42`.
  • @return ApiGetPipelineRequest

func (*PipelinesApiService) GetPipelineExecute

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) ListPipelines

func (a *PipelinesApiService) ListPipelines(ctx _context.Context, collectionId string) ApiListPipelinesRequest

* ListPipelines List pipelines * Retrieve a list of pipelines in a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that owns this set of pipelines, e.g. `my-collection`. * @return ApiListPipelinesRequest

func (*PipelinesApiService) ListPipelinesExecute

* Execute executes the request * @return ListPipelinesResponse

func (*PipelinesApiService) SetDefaultPipeline

func (a *PipelinesApiService) SetDefaultPipeline(ctx _context.Context, collectionId string) ApiSetDefaultPipelineRequest
  • SetDefaultPipeline Set default pipeline
  • Set the default pipeline for a collection.

Every collection has a default record pipeline and a default query pipeline.

When a pipeline is required to complete an operation, it can be omitted from the request if a default pipeline has been set. When adding a record to a collection, the default record pipeline is used if none is provided. When querying a collection, the default query pipeline is used if none is provided.

Once a default pipeline has been set it cannot be cleared, only set to another pipeline.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to set the default query pipeline of, e.g. `my-collection`.
  • @return ApiSetDefaultPipelineRequest

func (*PipelinesApiService) SetDefaultPipelineExecute

func (a *PipelinesApiService) SetDefaultPipelineExecute(r ApiSetDefaultPipelineRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*PipelinesApiService) SetDefaultVersion

func (a *PipelinesApiService) SetDefaultVersion(ctx _context.Context, collectionId string, type_ string, name string) ApiSetDefaultVersionRequest
  • SetDefaultVersion Set default pipeline version
  • Set the default version for a given pipeline.

The default version of a pipeline is used when a pipeline is referred to without specifying a version.

This allows you to change the pipeline version used for requests without having to change your code.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection that owns the pipeline to set the default version of, e.g. `my-collection`.
  • @param type_ The type of the pipeline to set the default version of.
  • @param name The name of the pipeline to set the default version of, e.g. `my-pipeline`.
  • @return ApiSetDefaultVersionRequest

func (*PipelinesApiService) SetDefaultVersionExecute

func (a *PipelinesApiService) SetDefaultVersionExecute(r ApiSetDefaultVersionRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

type Promotion

type Promotion struct {
	// Output only. The ID of the collection that owns this promotion.
	CollectionId *string `json:"collection_id,omitempty"`
	// A condition expression applied to a search request that determines which searches the promotion is active for.  For example, to apply the promotion's pins and boosts whenever a user searches for 'shoes' set condition to `q = 'shoes'`.
	Condition string `json:"condition"`
	// Output only. Time the promotion was created.
	CreateTime *time.Time `json:"create_time,omitempty"`
	// If disabled, the promotion is never triggered.
	Disabled *bool `json:"disabled,omitempty"`
	// The promotion's display name.
	DisplayName string `json:"display_name"`
	// If specified, the promotion is considered disabled after this time.
	EndTime *time.Time `json:"end_time,omitempty"`
	// The records to exclude from search results, if the promotion is enabled.
	Exclusions *[]PromotionExclusion `json:"exclusions,omitempty"`
	// The filter boosts to apply to searches, if the promotion is enabled.
	FilterBoosts *[]PromotionFilterBoost `json:"filter_boosts,omitempty"`
	// The conditions applied to the filters passed from the user. A query must match at least one of these in order to trigger the promotion.
	FilterConditions *[]PromotionFilterCondition `json:"filter_conditions,omitempty"`
	// The promotion's ID.
	Id *string `json:"id,omitempty"`
	// The items to fix to specific positions in the search results.
	Pins *[]PromotionPin `json:"pins,omitempty"`
	// The range boosts to apply to searches, if the promotion is enabled.
	RangeBoosts *[]PromotionRangeBoost `json:"range_boosts,omitempty"`
	// If specified, the promotion is considered disabled before this time.
	StartTime *time.Time `json:"start_time,omitempty"`
	// Output only. Time the promotion was last updated.
	UpdateTime *time.Time `json:"update_time,omitempty"`
}

Promotion Promotion contains a trigger, determining which searches it should be active for, and a list of alterations that should be made to search results when it is active.

func NewPromotion

func NewPromotion(condition string, displayName string) *Promotion

NewPromotion instantiates a new Promotion 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 NewPromotionWithDefaults

func NewPromotionWithDefaults() *Promotion

NewPromotionWithDefaults instantiates a new Promotion 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 (*Promotion) GetCollectionId

func (o *Promotion) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Promotion) GetCollectionIdOk

func (o *Promotion) GetCollectionIdOk() (*string, bool)

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

func (*Promotion) GetCondition

func (o *Promotion) GetCondition() string

GetCondition returns the Condition field value

func (*Promotion) GetConditionOk

func (o *Promotion) GetConditionOk() (*string, bool)

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

func (*Promotion) GetCreateTime

func (o *Promotion) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value if set, zero value otherwise.

func (*Promotion) GetCreateTimeOk

func (o *Promotion) GetCreateTimeOk() (*time.Time, bool)

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

func (*Promotion) GetDisabled

func (o *Promotion) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*Promotion) GetDisabledOk

func (o *Promotion) GetDisabledOk() (*bool, bool)

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

func (*Promotion) GetDisplayName

func (o *Promotion) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Promotion) GetDisplayNameOk

func (o *Promotion) GetDisplayNameOk() (*string, bool)

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

func (*Promotion) GetEndTime

func (o *Promotion) GetEndTime() time.Time

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*Promotion) GetEndTimeOk

func (o *Promotion) GetEndTimeOk() (*time.Time, bool)

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

func (*Promotion) GetExclusions

func (o *Promotion) GetExclusions() []PromotionExclusion

GetExclusions returns the Exclusions field value if set, zero value otherwise.

func (*Promotion) GetExclusionsOk

func (o *Promotion) GetExclusionsOk() (*[]PromotionExclusion, bool)

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

func (*Promotion) GetFilterBoosts

func (o *Promotion) GetFilterBoosts() []PromotionFilterBoost

GetFilterBoosts returns the FilterBoosts field value if set, zero value otherwise.

func (*Promotion) GetFilterBoostsOk

func (o *Promotion) GetFilterBoostsOk() (*[]PromotionFilterBoost, bool)

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

func (*Promotion) GetFilterConditions

func (o *Promotion) GetFilterConditions() []PromotionFilterCondition

GetFilterConditions returns the FilterConditions field value if set, zero value otherwise.

func (*Promotion) GetFilterConditionsOk

func (o *Promotion) GetFilterConditionsOk() (*[]PromotionFilterCondition, bool)

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

func (*Promotion) GetId

func (o *Promotion) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Promotion) GetIdOk

func (o *Promotion) GetIdOk() (*string, bool)

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

func (*Promotion) GetPins

func (o *Promotion) GetPins() []PromotionPin

GetPins returns the Pins field value if set, zero value otherwise.

func (*Promotion) GetPinsOk

func (o *Promotion) GetPinsOk() (*[]PromotionPin, bool)

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

func (*Promotion) GetRangeBoosts

func (o *Promotion) GetRangeBoosts() []PromotionRangeBoost

GetRangeBoosts returns the RangeBoosts field value if set, zero value otherwise.

func (*Promotion) GetRangeBoostsOk

func (o *Promotion) GetRangeBoostsOk() (*[]PromotionRangeBoost, bool)

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

func (*Promotion) GetStartTime

func (o *Promotion) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*Promotion) GetStartTimeOk

func (o *Promotion) GetStartTimeOk() (*time.Time, bool)

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

func (*Promotion) GetUpdateTime

func (o *Promotion) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime field value if set, zero value otherwise.

func (*Promotion) GetUpdateTimeOk

func (o *Promotion) GetUpdateTimeOk() (*time.Time, bool)

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

func (*Promotion) HasCollectionId

func (o *Promotion) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Promotion) HasCreateTime

func (o *Promotion) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

func (*Promotion) HasDisabled

func (o *Promotion) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*Promotion) HasEndTime

func (o *Promotion) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*Promotion) HasExclusions

func (o *Promotion) HasExclusions() bool

HasExclusions returns a boolean if a field has been set.

func (*Promotion) HasFilterBoosts

func (o *Promotion) HasFilterBoosts() bool

HasFilterBoosts returns a boolean if a field has been set.

func (*Promotion) HasFilterConditions

func (o *Promotion) HasFilterConditions() bool

HasFilterConditions returns a boolean if a field has been set.

func (*Promotion) HasId

func (o *Promotion) HasId() bool

HasId returns a boolean if a field has been set.

func (*Promotion) HasPins

func (o *Promotion) HasPins() bool

HasPins returns a boolean if a field has been set.

func (*Promotion) HasRangeBoosts

func (o *Promotion) HasRangeBoosts() bool

HasRangeBoosts returns a boolean if a field has been set.

func (*Promotion) HasStartTime

func (o *Promotion) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*Promotion) HasUpdateTime

func (o *Promotion) HasUpdateTime() bool

HasUpdateTime returns a boolean if a field has been set.

func (Promotion) MarshalJSON

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

func (*Promotion) SetCollectionId

func (o *Promotion) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Promotion) SetCondition

func (o *Promotion) SetCondition(v string)

SetCondition sets field value

func (*Promotion) SetCreateTime

func (o *Promotion) SetCreateTime(v time.Time)

SetCreateTime gets a reference to the given time.Time and assigns it to the CreateTime field.

func (*Promotion) SetDisabled

func (o *Promotion) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*Promotion) SetDisplayName

func (o *Promotion) SetDisplayName(v string)

SetDisplayName sets field value

func (*Promotion) SetEndTime

func (o *Promotion) SetEndTime(v time.Time)

SetEndTime gets a reference to the given time.Time and assigns it to the EndTime field.

func (*Promotion) SetExclusions

func (o *Promotion) SetExclusions(v []PromotionExclusion)

SetExclusions gets a reference to the given []PromotionExclusion and assigns it to the Exclusions field.

func (*Promotion) SetFilterBoosts

func (o *Promotion) SetFilterBoosts(v []PromotionFilterBoost)

SetFilterBoosts gets a reference to the given []PromotionFilterBoost and assigns it to the FilterBoosts field.

func (*Promotion) SetFilterConditions

func (o *Promotion) SetFilterConditions(v []PromotionFilterCondition)

SetFilterConditions gets a reference to the given []PromotionFilterCondition and assigns it to the FilterConditions field.

func (*Promotion) SetId

func (o *Promotion) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Promotion) SetPins

func (o *Promotion) SetPins(v []PromotionPin)

SetPins gets a reference to the given []PromotionPin and assigns it to the Pins field.

func (*Promotion) SetRangeBoosts

func (o *Promotion) SetRangeBoosts(v []PromotionRangeBoost)

SetRangeBoosts gets a reference to the given []PromotionRangeBoost and assigns it to the RangeBoosts field.

func (*Promotion) SetStartTime

func (o *Promotion) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

func (*Promotion) SetUpdateTime

func (o *Promotion) SetUpdateTime(v time.Time)

SetUpdateTime gets a reference to the given time.Time and assigns it to the UpdateTime field.

type PromotionExclusion

type PromotionExclusion struct {
	Key *RecordKey `json:"key,omitempty"`
}

PromotionExclusion struct for PromotionExclusion

func NewPromotionExclusion

func NewPromotionExclusion() *PromotionExclusion

NewPromotionExclusion instantiates a new PromotionExclusion 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 NewPromotionExclusionWithDefaults

func NewPromotionExclusionWithDefaults() *PromotionExclusion

NewPromotionExclusionWithDefaults instantiates a new PromotionExclusion 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 (*PromotionExclusion) GetKey

func (o *PromotionExclusion) GetKey() RecordKey

GetKey returns the Key field value if set, zero value otherwise.

func (*PromotionExclusion) GetKeyOk

func (o *PromotionExclusion) GetKeyOk() (*RecordKey, bool)

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

func (*PromotionExclusion) HasKey

func (o *PromotionExclusion) HasKey() bool

HasKey returns a boolean if a field has been set.

func (PromotionExclusion) MarshalJSON

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

func (*PromotionExclusion) SetKey

func (o *PromotionExclusion) SetKey(v RecordKey)

SetKey gets a reference to the given RecordKey and assigns it to the Key field.

type PromotionFilterBoost

type PromotionFilterBoost struct {
	// Number that determines the size of the boost that is applied to matching records.  Must be greater than or equal to 0 and less than or equal to 1.
	Boost *float32 `json:"boost,omitempty"`
	// Filter expression that applies a relevance boost to records matching this filter.  This is a filter expression much like the query filter expression.
	Filter *string `json:"filter,omitempty"`
}

PromotionFilterBoost struct for PromotionFilterBoost

func NewPromotionFilterBoost

func NewPromotionFilterBoost() *PromotionFilterBoost

NewPromotionFilterBoost instantiates a new PromotionFilterBoost 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 NewPromotionFilterBoostWithDefaults

func NewPromotionFilterBoostWithDefaults() *PromotionFilterBoost

NewPromotionFilterBoostWithDefaults instantiates a new PromotionFilterBoost 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 (*PromotionFilterBoost) GetBoost

func (o *PromotionFilterBoost) GetBoost() float32

GetBoost returns the Boost field value if set, zero value otherwise.

func (*PromotionFilterBoost) GetBoostOk

func (o *PromotionFilterBoost) GetBoostOk() (*float32, bool)

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

func (*PromotionFilterBoost) GetFilter

func (o *PromotionFilterBoost) GetFilter() string

GetFilter returns the Filter field value if set, zero value otherwise.

func (*PromotionFilterBoost) GetFilterOk

func (o *PromotionFilterBoost) GetFilterOk() (*string, bool)

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

func (*PromotionFilterBoost) HasBoost

func (o *PromotionFilterBoost) HasBoost() bool

HasBoost returns a boolean if a field has been set.

func (*PromotionFilterBoost) HasFilter

func (o *PromotionFilterBoost) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (PromotionFilterBoost) MarshalJSON

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

func (*PromotionFilterBoost) SetBoost

func (o *PromotionFilterBoost) SetBoost(v float32)

SetBoost gets a reference to the given float32 and assigns it to the Boost field.

func (*PromotionFilterBoost) SetFilter

func (o *PromotionFilterBoost) SetFilter(v string)

SetFilter gets a reference to the given string and assigns it to the Filter field.

type PromotionFilterCondition

type PromotionFilterCondition struct {
	// A filter of the form `field = 'value'`.
	Filter *[]string `json:"filter,omitempty"`
}

PromotionFilterCondition A set of filters of the form `field = 'value'`. Matches a query if the set of filters in the condition matches exactly the set of filters associated with it.

func NewPromotionFilterCondition

func NewPromotionFilterCondition() *PromotionFilterCondition

NewPromotionFilterCondition instantiates a new PromotionFilterCondition 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 NewPromotionFilterConditionWithDefaults

func NewPromotionFilterConditionWithDefaults() *PromotionFilterCondition

NewPromotionFilterConditionWithDefaults instantiates a new PromotionFilterCondition 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 (*PromotionFilterCondition) GetFilter

func (o *PromotionFilterCondition) GetFilter() []string

GetFilter returns the Filter field value if set, zero value otherwise.

func (*PromotionFilterCondition) GetFilterOk

func (o *PromotionFilterCondition) GetFilterOk() (*[]string, bool)

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

func (*PromotionFilterCondition) HasFilter

func (o *PromotionFilterCondition) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (PromotionFilterCondition) MarshalJSON

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

func (*PromotionFilterCondition) SetFilter

func (o *PromotionFilterCondition) SetFilter(v []string)

SetFilter gets a reference to the given []string and assigns it to the Filter field.

type PromotionPin

type PromotionPin struct {
	Key *RecordKey `json:"key,omitempty"`
	// Position the record should occupy in search results. The top position is position 1.  Doesn't need to be contiguous with other pins, i.e. there can be gaps in the pinned set that are filled with organic results.  In the case where there are insufficient search results pinned items are collapsed.
	Position *int32 `json:"position,omitempty"`
}

PromotionPin struct for PromotionPin

func NewPromotionPin

func NewPromotionPin() *PromotionPin

NewPromotionPin instantiates a new PromotionPin 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 NewPromotionPinWithDefaults

func NewPromotionPinWithDefaults() *PromotionPin

NewPromotionPinWithDefaults instantiates a new PromotionPin 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 (*PromotionPin) GetKey

func (o *PromotionPin) GetKey() RecordKey

GetKey returns the Key field value if set, zero value otherwise.

func (*PromotionPin) GetKeyOk

func (o *PromotionPin) GetKeyOk() (*RecordKey, bool)

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

func (*PromotionPin) GetPosition

func (o *PromotionPin) GetPosition() int32

GetPosition returns the Position field value if set, zero value otherwise.

func (*PromotionPin) GetPositionOk

func (o *PromotionPin) GetPositionOk() (*int32, bool)

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

func (*PromotionPin) HasKey

func (o *PromotionPin) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PromotionPin) HasPosition

func (o *PromotionPin) HasPosition() bool

HasPosition returns a boolean if a field has been set.

func (PromotionPin) MarshalJSON

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

func (*PromotionPin) SetKey

func (o *PromotionPin) SetKey(v RecordKey)

SetKey gets a reference to the given RecordKey and assigns it to the Key field.

func (*PromotionPin) SetPosition

func (o *PromotionPin) SetPosition(v int32)

SetPosition gets a reference to the given int32 and assigns it to the Position field.

type PromotionRangeBoost

type PromotionRangeBoost struct {
	// Number that determines the size of the boost that is applied to matching records. Must be greater than or equal to 0 and less than or equal to 1.
	Boost *float32 `json:"boost,omitempty"`
	// The end value to apply 1 boost to.
	End *float32 `json:"end,omitempty"`
	// The field to apply the boost to.
	Field *string `json:"field,omitempty"`
	// The boost given to null/empty values. Must be greater than or equal to 0 and less than or equal to 1. The default value is 0.
	NullBoost *float32 `json:"null_boost,omitempty"`
	// The start value to apply 0 boost to.
	Start *float32 `json:"start,omitempty"`
}

PromotionRangeBoost struct for PromotionRangeBoost

func NewPromotionRangeBoost

func NewPromotionRangeBoost() *PromotionRangeBoost

NewPromotionRangeBoost instantiates a new PromotionRangeBoost 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 NewPromotionRangeBoostWithDefaults

func NewPromotionRangeBoostWithDefaults() *PromotionRangeBoost

NewPromotionRangeBoostWithDefaults instantiates a new PromotionRangeBoost 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 (*PromotionRangeBoost) GetBoost

func (o *PromotionRangeBoost) GetBoost() float32

GetBoost returns the Boost field value if set, zero value otherwise.

func (*PromotionRangeBoost) GetBoostOk

func (o *PromotionRangeBoost) GetBoostOk() (*float32, bool)

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

func (*PromotionRangeBoost) GetEnd

func (o *PromotionRangeBoost) GetEnd() float32

GetEnd returns the End field value if set, zero value otherwise.

func (*PromotionRangeBoost) GetEndOk

func (o *PromotionRangeBoost) GetEndOk() (*float32, bool)

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

func (*PromotionRangeBoost) GetField

func (o *PromotionRangeBoost) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*PromotionRangeBoost) GetFieldOk

func (o *PromotionRangeBoost) GetFieldOk() (*string, bool)

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

func (*PromotionRangeBoost) GetNullBoost

func (o *PromotionRangeBoost) GetNullBoost() float32

GetNullBoost returns the NullBoost field value if set, zero value otherwise.

func (*PromotionRangeBoost) GetNullBoostOk

func (o *PromotionRangeBoost) GetNullBoostOk() (*float32, bool)

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

func (*PromotionRangeBoost) GetStart

func (o *PromotionRangeBoost) GetStart() float32

GetStart returns the Start field value if set, zero value otherwise.

func (*PromotionRangeBoost) GetStartOk

func (o *PromotionRangeBoost) GetStartOk() (*float32, bool)

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

func (*PromotionRangeBoost) HasBoost

func (o *PromotionRangeBoost) HasBoost() bool

HasBoost returns a boolean if a field has been set.

func (*PromotionRangeBoost) HasEnd

func (o *PromotionRangeBoost) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*PromotionRangeBoost) HasField

func (o *PromotionRangeBoost) HasField() bool

HasField returns a boolean if a field has been set.

func (*PromotionRangeBoost) HasNullBoost

func (o *PromotionRangeBoost) HasNullBoost() bool

HasNullBoost returns a boolean if a field has been set.

func (*PromotionRangeBoost) HasStart

func (o *PromotionRangeBoost) HasStart() bool

HasStart returns a boolean if a field has been set.

func (PromotionRangeBoost) MarshalJSON

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

func (*PromotionRangeBoost) SetBoost

func (o *PromotionRangeBoost) SetBoost(v float32)

SetBoost gets a reference to the given float32 and assigns it to the Boost field.

func (*PromotionRangeBoost) SetEnd

func (o *PromotionRangeBoost) SetEnd(v float32)

SetEnd gets a reference to the given float32 and assigns it to the End field.

func (*PromotionRangeBoost) SetField

func (o *PromotionRangeBoost) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*PromotionRangeBoost) SetNullBoost

func (o *PromotionRangeBoost) SetNullBoost(v float32)

SetNullBoost gets a reference to the given float32 and assigns it to the NullBoost field.

func (*PromotionRangeBoost) SetStart

func (o *PromotionRangeBoost) SetStart(v float32)

SetStart gets a reference to the given float32 and assigns it to the Start field.

type PromotionsApiService

type PromotionsApiService service

PromotionsApiService PromotionsApi service

func (*PromotionsApiService) CreatePromotion

func (a *PromotionsApiService) CreatePromotion(ctx _context.Context, collectionId string) ApiCreatePromotionRequest

* CreatePromotion Create promotion * Create a new promotion in a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection to create a promotion in, e.g. `my-collection`. * @return ApiCreatePromotionRequest

func (*PromotionsApiService) CreatePromotionExecute

* Execute executes the request * @return Promotion

func (*PromotionsApiService) DeletePromotion

func (a *PromotionsApiService) DeletePromotion(ctx _context.Context, collectionId string, promotionId string) ApiDeletePromotionRequest
  • DeletePromotion Delete promotion
  • Delete a promotion and all of its associated data.

> Note: This operation cannot be reversed.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection the promotion belongs to, e.g. `my-collection`.
  • @param promotionId The promotion to delete, e.g. `1234`.
  • @return ApiDeletePromotionRequest

func (*PromotionsApiService) DeletePromotionExecute

func (a *PromotionsApiService) DeletePromotionExecute(r ApiDeletePromotionRequest) (interface{}, *_nethttp.Response, error)

* Execute executes the request * @return interface{}

func (*PromotionsApiService) GetPromotion

func (a *PromotionsApiService) GetPromotion(ctx _context.Context, collectionId string, promotionId string) ApiGetPromotionRequest

* GetPromotion Get promotion * Retrieve the details of a promotion. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that owns the promotion, e.g. `my-collection`. * @param promotionId The promotion to retrieve, e.g. `1234`. * @return ApiGetPromotionRequest

func (*PromotionsApiService) GetPromotionExecute

* Execute executes the request * @return Promotion

func (*PromotionsApiService) ListPromotions

func (a *PromotionsApiService) ListPromotions(ctx _context.Context, collectionId string) ApiListPromotionsRequest
  • ListPromotions List promotions
  • Retrieve a list of promotions in a collection.

Promotion pins, exclusions and filter boosts are not returned in this call.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection that owns this set of promotions, e.g. `my-collection`.
  • @return ApiListPromotionsRequest

func (*PromotionsApiService) ListPromotionsExecute

* Execute executes the request * @return ListPromotionsResponse

func (*PromotionsApiService) UpdatePromotion

func (a *PromotionsApiService) UpdatePromotion(ctx _context.Context, collectionId string, promotionId string) ApiUpdatePromotionRequest
  • UpdatePromotion Update promotion
  • Update the details of a promotion.

Pass each field that you want to update in the request body. Also specify the name of each field that you want to update in the `update_mask` in the request URL query string. Separate multiple fields with a comma. Fields included in the request body, but not included in the field mask are not updated.

For example, to update the `display_name` and `start_time` fields, make a `PATCH` request to the URL:

``` /v4/collections/{collection_id}/promotions/{promotion_id}?update_mask=display_name,start_time ```

With the JSON body:

```

{
  "display_name": "new value",
  "start_time": "2006-01-02T15:04:05Z07:00",
  "end_time": "2006-01-02T15:04:05Z07:00"
}

```

> Note: In this example `end_time` is not updated because it is not specified in the `update_mask`.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection the promotion belongs to, e.g. `my-collection`.
  • @param promotionId The promotion to update, e.g. `1234`.
  • @return ApiUpdatePromotionRequest

func (*PromotionsApiService) UpdatePromotionExecute

* Execute executes the request * @return Promotion

type ProtobufAny

type ProtobufAny struct {
	// A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted).  In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:  * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][]   value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the   URL, or have them precompiled into a binary to avoid any   lookup. Therefore, binary compatibility needs to be preserved   on changes to types. (Use versioned type names to manage   breaking changes.)  Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.  Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics.
	TypeUrl *string `json:"type_url,omitempty"`
	// Must be a valid serialized protocol buffer of the above specified type.
	Value *string `json:"value,omitempty"`
}

ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": <string>, \"lastName\": <string> } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }

func NewProtobufAny

func NewProtobufAny() *ProtobufAny

NewProtobufAny instantiates a new ProtobufAny 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 NewProtobufAnyWithDefaults

func NewProtobufAnyWithDefaults() *ProtobufAny

NewProtobufAnyWithDefaults instantiates a new ProtobufAny 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 (*ProtobufAny) GetTypeUrl

func (o *ProtobufAny) GetTypeUrl() string

GetTypeUrl returns the TypeUrl field value if set, zero value otherwise.

func (*ProtobufAny) GetTypeUrlOk

func (o *ProtobufAny) GetTypeUrlOk() (*string, bool)

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

func (*ProtobufAny) GetValue

func (o *ProtobufAny) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*ProtobufAny) GetValueOk

func (o *ProtobufAny) GetValueOk() (*string, bool)

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

func (*ProtobufAny) HasTypeUrl

func (o *ProtobufAny) HasTypeUrl() bool

HasTypeUrl returns a boolean if a field has been set.

func (*ProtobufAny) HasValue

func (o *ProtobufAny) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ProtobufAny) MarshalJSON

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

func (*ProtobufAny) SetTypeUrl

func (o *ProtobufAny) SetTypeUrl(v string)

SetTypeUrl gets a reference to the given string and assigns it to the TypeUrl field.

func (*ProtobufAny) SetValue

func (o *ProtobufAny) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

type ProtobufNullValue

type ProtobufNullValue string

ProtobufNullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value.

const (
	PROTOBUFNULLVALUE_NULL_VALUE ProtobufNullValue = "NULL_VALUE"
)

List of protobufNullValue

func (ProtobufNullValue) Ptr

Ptr returns reference to protobufNullValue value

func (*ProtobufNullValue) UnmarshalJSON

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

type QueryAggregateResult

type QueryAggregateResult struct {
	Analysis   *QueryAggregateResultAnalysis   `json:"analysis,omitempty"`
	Buckets    *QueryAggregateResultBuckets    `json:"buckets,omitempty"`
	Count      *QueryAggregateResultCount      `json:"count,omitempty"`
	Date       *QueryAggregateResultDate       `json:"date,omitempty"`
	Metric     *QueryAggregateResultMetric     `json:"metric,omitempty"`
	Percentile *QueryAggregateResultPercentile `json:"percentile,omitempty"`
}

QueryAggregateResult A query aggregate result contains results of aggregations.

func NewQueryAggregateResult

func NewQueryAggregateResult() *QueryAggregateResult

NewQueryAggregateResult instantiates a new QueryAggregateResult 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 NewQueryAggregateResultWithDefaults

func NewQueryAggregateResultWithDefaults() *QueryAggregateResult

NewQueryAggregateResultWithDefaults instantiates a new QueryAggregateResult 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 (*QueryAggregateResult) GetAnalysis

GetAnalysis returns the Analysis field value if set, zero value otherwise.

func (*QueryAggregateResult) GetAnalysisOk

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

func (*QueryAggregateResult) GetBuckets

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*QueryAggregateResult) GetBucketsOk

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

func (*QueryAggregateResult) GetCount

GetCount returns the Count field value if set, zero value otherwise.

func (*QueryAggregateResult) GetCountOk

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

func (*QueryAggregateResult) GetDate

GetDate returns the Date field value if set, zero value otherwise.

func (*QueryAggregateResult) GetDateOk

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

func (*QueryAggregateResult) GetMetric

GetMetric returns the Metric field value if set, zero value otherwise.

func (*QueryAggregateResult) GetMetricOk

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

func (*QueryAggregateResult) GetPercentile

GetPercentile returns the Percentile field value if set, zero value otherwise.

func (*QueryAggregateResult) GetPercentileOk

func (o *QueryAggregateResult) GetPercentileOk() (*QueryAggregateResultPercentile, bool)

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

func (*QueryAggregateResult) HasAnalysis

func (o *QueryAggregateResult) HasAnalysis() bool

HasAnalysis returns a boolean if a field has been set.

func (*QueryAggregateResult) HasBuckets

func (o *QueryAggregateResult) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (*QueryAggregateResult) HasCount

func (o *QueryAggregateResult) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*QueryAggregateResult) HasDate

func (o *QueryAggregateResult) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*QueryAggregateResult) HasMetric

func (o *QueryAggregateResult) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*QueryAggregateResult) HasPercentile

func (o *QueryAggregateResult) HasPercentile() bool

HasPercentile returns a boolean if a field has been set.

func (QueryAggregateResult) MarshalJSON

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

func (*QueryAggregateResult) SetAnalysis

SetAnalysis gets a reference to the given QueryAggregateResultAnalysis and assigns it to the Analysis field.

func (*QueryAggregateResult) SetBuckets

SetBuckets gets a reference to the given QueryAggregateResultBuckets and assigns it to the Buckets field.

func (*QueryAggregateResult) SetCount

SetCount gets a reference to the given QueryAggregateResultCount and assigns it to the Count field.

func (*QueryAggregateResult) SetDate

SetDate gets a reference to the given QueryAggregateResultDate and assigns it to the Date field.

func (*QueryAggregateResult) SetMetric

SetMetric gets a reference to the given QueryAggregateResultMetric and assigns it to the Metric field.

func (*QueryAggregateResult) SetPercentile

SetPercentile gets a reference to the given QueryAggregateResultPercentile and assigns it to the Percentile field.

type QueryAggregateResultAnalysis

type QueryAggregateResultAnalysis struct {
	// Average number of items in an array field.
	AvgLength *float32 `json:"avg_length,omitempty"`
	// Cardinality is the number of different values in a field.
	Cardinality *int32 `json:"cardinality,omitempty"`
	// Coverage is the number of records which have a value set.
	Coverage *int32 `json:"coverage,omitempty"`
	// Maximum number of values in an array field.
	MaxLength *int32 `json:"max_length,omitempty"`
	// Minimum length of an array field.
	MinLength *int32 `json:"min_length,omitempty"`
}

QueryAggregateResultAnalysis struct for QueryAggregateResultAnalysis

func NewQueryAggregateResultAnalysis

func NewQueryAggregateResultAnalysis() *QueryAggregateResultAnalysis

NewQueryAggregateResultAnalysis instantiates a new QueryAggregateResultAnalysis 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 NewQueryAggregateResultAnalysisWithDefaults

func NewQueryAggregateResultAnalysisWithDefaults() *QueryAggregateResultAnalysis

NewQueryAggregateResultAnalysisWithDefaults instantiates a new QueryAggregateResultAnalysis 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 (*QueryAggregateResultAnalysis) GetAvgLength

func (o *QueryAggregateResultAnalysis) GetAvgLength() float32

GetAvgLength returns the AvgLength field value if set, zero value otherwise.

func (*QueryAggregateResultAnalysis) GetAvgLengthOk

func (o *QueryAggregateResultAnalysis) GetAvgLengthOk() (*float32, bool)

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

func (*QueryAggregateResultAnalysis) GetCardinality

func (o *QueryAggregateResultAnalysis) GetCardinality() int32

GetCardinality returns the Cardinality field value if set, zero value otherwise.

func (*QueryAggregateResultAnalysis) GetCardinalityOk

func (o *QueryAggregateResultAnalysis) GetCardinalityOk() (*int32, bool)

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

func (*QueryAggregateResultAnalysis) GetCoverage

func (o *QueryAggregateResultAnalysis) GetCoverage() int32

GetCoverage returns the Coverage field value if set, zero value otherwise.

func (*QueryAggregateResultAnalysis) GetCoverageOk

func (o *QueryAggregateResultAnalysis) GetCoverageOk() (*int32, bool)

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

func (*QueryAggregateResultAnalysis) GetMaxLength

func (o *QueryAggregateResultAnalysis) GetMaxLength() int32

GetMaxLength returns the MaxLength field value if set, zero value otherwise.

func (*QueryAggregateResultAnalysis) GetMaxLengthOk

func (o *QueryAggregateResultAnalysis) GetMaxLengthOk() (*int32, bool)

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

func (*QueryAggregateResultAnalysis) GetMinLength

func (o *QueryAggregateResultAnalysis) GetMinLength() int32

GetMinLength returns the MinLength field value if set, zero value otherwise.

func (*QueryAggregateResultAnalysis) GetMinLengthOk

func (o *QueryAggregateResultAnalysis) GetMinLengthOk() (*int32, bool)

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

func (*QueryAggregateResultAnalysis) HasAvgLength

func (o *QueryAggregateResultAnalysis) HasAvgLength() bool

HasAvgLength returns a boolean if a field has been set.

func (*QueryAggregateResultAnalysis) HasCardinality

func (o *QueryAggregateResultAnalysis) HasCardinality() bool

HasCardinality returns a boolean if a field has been set.

func (*QueryAggregateResultAnalysis) HasCoverage

func (o *QueryAggregateResultAnalysis) HasCoverage() bool

HasCoverage returns a boolean if a field has been set.

func (*QueryAggregateResultAnalysis) HasMaxLength

func (o *QueryAggregateResultAnalysis) HasMaxLength() bool

HasMaxLength returns a boolean if a field has been set.

func (*QueryAggregateResultAnalysis) HasMinLength

func (o *QueryAggregateResultAnalysis) HasMinLength() bool

HasMinLength returns a boolean if a field has been set.

func (QueryAggregateResultAnalysis) MarshalJSON

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

func (*QueryAggregateResultAnalysis) SetAvgLength

func (o *QueryAggregateResultAnalysis) SetAvgLength(v float32)

SetAvgLength gets a reference to the given float32 and assigns it to the AvgLength field.

func (*QueryAggregateResultAnalysis) SetCardinality

func (o *QueryAggregateResultAnalysis) SetCardinality(v int32)

SetCardinality gets a reference to the given int32 and assigns it to the Cardinality field.

func (*QueryAggregateResultAnalysis) SetCoverage

func (o *QueryAggregateResultAnalysis) SetCoverage(v int32)

SetCoverage gets a reference to the given int32 and assigns it to the Coverage field.

func (*QueryAggregateResultAnalysis) SetMaxLength

func (o *QueryAggregateResultAnalysis) SetMaxLength(v int32)

SetMaxLength gets a reference to the given int32 and assigns it to the MaxLength field.

func (*QueryAggregateResultAnalysis) SetMinLength

func (o *QueryAggregateResultAnalysis) SetMinLength(v int32)

SetMinLength gets a reference to the given int32 and assigns it to the MinLength field.

type QueryAggregateResultBuckets

type QueryAggregateResultBuckets struct {
	Buckets *map[string]QueryAggregateResultBucketsBucket `json:"buckets,omitempty"`
}

QueryAggregateResultBuckets Buckets is a full set of buckets computed in an aggregation.

func NewQueryAggregateResultBuckets

func NewQueryAggregateResultBuckets() *QueryAggregateResultBuckets

NewQueryAggregateResultBuckets instantiates a new QueryAggregateResultBuckets 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 NewQueryAggregateResultBucketsWithDefaults

func NewQueryAggregateResultBucketsWithDefaults() *QueryAggregateResultBuckets

NewQueryAggregateResultBucketsWithDefaults instantiates a new QueryAggregateResultBuckets 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 (*QueryAggregateResultBuckets) GetBuckets

GetBuckets returns the Buckets field value if set, zero value otherwise.

func (*QueryAggregateResultBuckets) GetBucketsOk

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

func (*QueryAggregateResultBuckets) HasBuckets

func (o *QueryAggregateResultBuckets) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

func (QueryAggregateResultBuckets) MarshalJSON

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

func (*QueryAggregateResultBuckets) SetBuckets

SetBuckets gets a reference to the given map[string]QueryAggregateResultBucketsBucket and assigns it to the Buckets field.

type QueryAggregateResultBucketsBucket

type QueryAggregateResultBucketsBucket struct {
	// Number of records in the bucket.
	Count *int32 `json:"count,omitempty"`
	// Name of bucket.
	Name *string `json:"name,omitempty"`
}

QueryAggregateResultBucketsBucket Bucket is the result of a bucket aggregate.

func NewQueryAggregateResultBucketsBucket

func NewQueryAggregateResultBucketsBucket() *QueryAggregateResultBucketsBucket

NewQueryAggregateResultBucketsBucket instantiates a new QueryAggregateResultBucketsBucket 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 NewQueryAggregateResultBucketsBucketWithDefaults

func NewQueryAggregateResultBucketsBucketWithDefaults() *QueryAggregateResultBucketsBucket

NewQueryAggregateResultBucketsBucketWithDefaults instantiates a new QueryAggregateResultBucketsBucket 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 (*QueryAggregateResultBucketsBucket) GetCount

GetCount returns the Count field value if set, zero value otherwise.

func (*QueryAggregateResultBucketsBucket) GetCountOk

func (o *QueryAggregateResultBucketsBucket) GetCountOk() (*int32, bool)

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

func (*QueryAggregateResultBucketsBucket) GetName

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

func (*QueryAggregateResultBucketsBucket) GetNameOk

func (o *QueryAggregateResultBucketsBucket) GetNameOk() (*string, bool)

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

func (*QueryAggregateResultBucketsBucket) HasCount

HasCount returns a boolean if a field has been set.

func (*QueryAggregateResultBucketsBucket) HasName

HasName returns a boolean if a field has been set.

func (QueryAggregateResultBucketsBucket) MarshalJSON

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

func (*QueryAggregateResultBucketsBucket) SetCount

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*QueryAggregateResultBucketsBucket) SetName

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

type QueryAggregateResultCount

type QueryAggregateResultCount struct {
	Counts *map[string]int32 `json:"counts,omitempty"`
}

QueryAggregateResultCount Count contains the counts for the set of values returned.

func NewQueryAggregateResultCount

func NewQueryAggregateResultCount() *QueryAggregateResultCount

NewQueryAggregateResultCount instantiates a new QueryAggregateResultCount 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 NewQueryAggregateResultCountWithDefaults

func NewQueryAggregateResultCountWithDefaults() *QueryAggregateResultCount

NewQueryAggregateResultCountWithDefaults instantiates a new QueryAggregateResultCount 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 (*QueryAggregateResultCount) GetCounts

func (o *QueryAggregateResultCount) GetCounts() map[string]int32

GetCounts returns the Counts field value if set, zero value otherwise.

func (*QueryAggregateResultCount) GetCountsOk

func (o *QueryAggregateResultCount) GetCountsOk() (*map[string]int32, bool)

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

func (*QueryAggregateResultCount) HasCounts

func (o *QueryAggregateResultCount) HasCounts() bool

HasCounts returns a boolean if a field has been set.

func (QueryAggregateResultCount) MarshalJSON

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

func (*QueryAggregateResultCount) SetCounts

func (o *QueryAggregateResultCount) SetCounts(v map[string]int32)

SetCounts gets a reference to the given map[string]int32 and assigns it to the Counts field.

type QueryAggregateResultDate

type QueryAggregateResultDate struct {
	Dates *map[string]int32 `json:"dates,omitempty"`
}

QueryAggregateResultDate struct for QueryAggregateResultDate

func NewQueryAggregateResultDate

func NewQueryAggregateResultDate() *QueryAggregateResultDate

NewQueryAggregateResultDate instantiates a new QueryAggregateResultDate 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 NewQueryAggregateResultDateWithDefaults

func NewQueryAggregateResultDateWithDefaults() *QueryAggregateResultDate

NewQueryAggregateResultDateWithDefaults instantiates a new QueryAggregateResultDate 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 (*QueryAggregateResultDate) GetDates

func (o *QueryAggregateResultDate) GetDates() map[string]int32

GetDates returns the Dates field value if set, zero value otherwise.

func (*QueryAggregateResultDate) GetDatesOk

func (o *QueryAggregateResultDate) GetDatesOk() (*map[string]int32, bool)

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

func (*QueryAggregateResultDate) HasDates

func (o *QueryAggregateResultDate) HasDates() bool

HasDates returns a boolean if a field has been set.

func (QueryAggregateResultDate) MarshalJSON

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

func (*QueryAggregateResultDate) SetDates

func (o *QueryAggregateResultDate) SetDates(v map[string]int32)

SetDates gets a reference to the given map[string]int32 and assigns it to the Dates field.

type QueryAggregateResultMetric

type QueryAggregateResultMetric struct {
	Value *float64 `json:"value,omitempty"`
}

QueryAggregateResultMetric Metric represents the metric type requested, represented by an Enumeration Type.

func NewQueryAggregateResultMetric

func NewQueryAggregateResultMetric() *QueryAggregateResultMetric

NewQueryAggregateResultMetric instantiates a new QueryAggregateResultMetric 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 NewQueryAggregateResultMetricWithDefaults

func NewQueryAggregateResultMetricWithDefaults() *QueryAggregateResultMetric

NewQueryAggregateResultMetricWithDefaults instantiates a new QueryAggregateResultMetric 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 (*QueryAggregateResultMetric) GetValue

func (o *QueryAggregateResultMetric) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise.

func (*QueryAggregateResultMetric) GetValueOk

func (o *QueryAggregateResultMetric) GetValueOk() (*float64, bool)

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

func (*QueryAggregateResultMetric) HasValue

func (o *QueryAggregateResultMetric) HasValue() bool

HasValue returns a boolean if a field has been set.

func (QueryAggregateResultMetric) MarshalJSON

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

func (*QueryAggregateResultMetric) SetValue

func (o *QueryAggregateResultMetric) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

type QueryAggregateResultPercentile

type QueryAggregateResultPercentile struct {
	// The cumulative distribution function (CDF) data points.
	Cdf *[]PercentileDataPoint `json:"cdf,omitempty"`
	// The percentile data points.
	Percentiles *[]PercentileDataPoint `json:"percentiles,omitempty"`
}

QueryAggregateResultPercentile Percentile contains the data points returned in a percentile aggregate step.

func NewQueryAggregateResultPercentile

func NewQueryAggregateResultPercentile() *QueryAggregateResultPercentile

NewQueryAggregateResultPercentile instantiates a new QueryAggregateResultPercentile 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 NewQueryAggregateResultPercentileWithDefaults

func NewQueryAggregateResultPercentileWithDefaults() *QueryAggregateResultPercentile

NewQueryAggregateResultPercentileWithDefaults instantiates a new QueryAggregateResultPercentile 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 (*QueryAggregateResultPercentile) GetCdf

GetCdf returns the Cdf field value if set, zero value otherwise.

func (*QueryAggregateResultPercentile) GetCdfOk

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

func (*QueryAggregateResultPercentile) GetPercentiles

GetPercentiles returns the Percentiles field value if set, zero value otherwise.

func (*QueryAggregateResultPercentile) GetPercentilesOk

func (o *QueryAggregateResultPercentile) GetPercentilesOk() (*[]PercentileDataPoint, bool)

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

func (*QueryAggregateResultPercentile) HasCdf

HasCdf returns a boolean if a field has been set.

func (*QueryAggregateResultPercentile) HasPercentiles

func (o *QueryAggregateResultPercentile) HasPercentiles() bool

HasPercentiles returns a boolean if a field has been set.

func (QueryAggregateResultPercentile) MarshalJSON

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

func (*QueryAggregateResultPercentile) SetCdf

SetCdf gets a reference to the given []PercentileDataPoint and assigns it to the Cdf field.

func (*QueryAggregateResultPercentile) SetPercentiles

func (o *QueryAggregateResultPercentile) SetPercentiles(v []PercentileDataPoint)

SetPercentiles gets a reference to the given []PercentileDataPoint and assigns it to the Percentiles field.

type QueryCollectionRequest

type QueryCollectionRequest struct {
	Pipeline *QueryCollectionRequestPipeline `json:"pipeline,omitempty"`
	Tracking *QueryCollectionRequestTracking `json:"tracking,omitempty"`
	// The initial values for the variables the pipeline operates on and transforms throughout its steps.  The most important variable is `q` which is the query the user entered, for example:  “`json { \"q\": \"search terms\" } “`  To paginate through results, set the variables `page` and `resultsPerPage`, for example:  “`json { \"q\": \"search terms\", \"page\": 5, \"resultsPerPage\": 20 } “`  To sort results, set the variable `sort` to the name of one of your collection's schema fields, for example:  “`json { \"q\": \"search terms\", \"sort\": \"name\" } “`  To sort in reverse, prefix the schema field with a minus sign `-`, for example:  “`json { \"q\": \"search terms\", \"sort\": \"-name\" } “`
	Variables map[string]map[string]interface{} `json:"variables"`
}

QueryCollectionRequest A request to perform a search using a pipeline.

func NewQueryCollectionRequest

func NewQueryCollectionRequest(variables map[string]map[string]interface{}) *QueryCollectionRequest

NewQueryCollectionRequest instantiates a new QueryCollectionRequest 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 NewQueryCollectionRequestWithDefaults

func NewQueryCollectionRequestWithDefaults() *QueryCollectionRequest

NewQueryCollectionRequestWithDefaults instantiates a new QueryCollectionRequest 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 (*QueryCollectionRequest) GetPipeline

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*QueryCollectionRequest) GetPipelineOk

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

func (*QueryCollectionRequest) GetTracking

GetTracking returns the Tracking field value if set, zero value otherwise.

func (*QueryCollectionRequest) GetTrackingOk

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

func (*QueryCollectionRequest) GetVariables

func (o *QueryCollectionRequest) GetVariables() map[string]map[string]interface{}

GetVariables returns the Variables field value

func (*QueryCollectionRequest) GetVariablesOk

func (o *QueryCollectionRequest) GetVariablesOk() (*map[string]map[string]interface{}, bool)

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

func (*QueryCollectionRequest) HasPipeline

func (o *QueryCollectionRequest) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (*QueryCollectionRequest) HasTracking

func (o *QueryCollectionRequest) HasTracking() bool

HasTracking returns a boolean if a field has been set.

func (QueryCollectionRequest) MarshalJSON

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

func (*QueryCollectionRequest) SetPipeline

SetPipeline gets a reference to the given QueryCollectionRequestPipeline and assigns it to the Pipeline field.

func (*QueryCollectionRequest) SetTracking

SetTracking gets a reference to the given QueryCollectionRequestTracking and assigns it to the Tracking field.

func (*QueryCollectionRequest) SetVariables

func (o *QueryCollectionRequest) SetVariables(v map[string]map[string]interface{})

SetVariables sets field value

type QueryCollectionRequestPipeline

type QueryCollectionRequestPipeline struct {
	// The query pipeline's name, e.g. `my-pipeline`.
	Name string `json:"name"`
	// The query pipeline's version, e.g. `42`.  If not provided the default version is used.
	Version *string `json:"version,omitempty"`
}

QueryCollectionRequestPipeline The pipeline to use when querying the collection. If not provided the default query pipeline is used.

func NewQueryCollectionRequestPipeline

func NewQueryCollectionRequestPipeline(name string) *QueryCollectionRequestPipeline

NewQueryCollectionRequestPipeline instantiates a new QueryCollectionRequestPipeline 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 NewQueryCollectionRequestPipelineWithDefaults

func NewQueryCollectionRequestPipelineWithDefaults() *QueryCollectionRequestPipeline

NewQueryCollectionRequestPipelineWithDefaults instantiates a new QueryCollectionRequestPipeline 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 (*QueryCollectionRequestPipeline) GetName

GetName returns the Name field value

func (*QueryCollectionRequestPipeline) GetNameOk

func (o *QueryCollectionRequestPipeline) GetNameOk() (*string, bool)

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

func (*QueryCollectionRequestPipeline) GetVersion

func (o *QueryCollectionRequestPipeline) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*QueryCollectionRequestPipeline) GetVersionOk

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

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

func (*QueryCollectionRequestPipeline) HasVersion

func (o *QueryCollectionRequestPipeline) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (QueryCollectionRequestPipeline) MarshalJSON

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

func (*QueryCollectionRequestPipeline) SetName

func (o *QueryCollectionRequestPipeline) SetName(v string)

SetName sets field value

func (*QueryCollectionRequestPipeline) SetVersion

func (o *QueryCollectionRequestPipeline) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

type QueryCollectionRequestTracking

type QueryCollectionRequestTracking struct {
	// Custom values to be included in tracking data.
	Data *map[string]string `json:"data,omitempty"`
	// Tracking field used to identify records in the collection.  Must be unique schema field.
	Field *string `json:"field,omitempty"`
	// Query ID of the query. If this is empty, then one is generated.
	QueryId *string `json:"query_id,omitempty"`
	// Sequence number of query.
	Sequence *int32                              `json:"sequence,omitempty"`
	Type     *QueryCollectionRequestTrackingType `json:"type,omitempty"`
}

QueryCollectionRequestTracking struct for QueryCollectionRequestTracking

func NewQueryCollectionRequestTracking

func NewQueryCollectionRequestTracking() *QueryCollectionRequestTracking

NewQueryCollectionRequestTracking instantiates a new QueryCollectionRequestTracking 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 NewQueryCollectionRequestTrackingWithDefaults

func NewQueryCollectionRequestTrackingWithDefaults() *QueryCollectionRequestTracking

NewQueryCollectionRequestTrackingWithDefaults instantiates a new QueryCollectionRequestTracking 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 (*QueryCollectionRequestTracking) GetData

func (o *QueryCollectionRequestTracking) GetData() map[string]string

GetData returns the Data field value if set, zero value otherwise.

func (*QueryCollectionRequestTracking) GetDataOk

func (o *QueryCollectionRequestTracking) GetDataOk() (*map[string]string, bool)

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

func (*QueryCollectionRequestTracking) GetField

func (o *QueryCollectionRequestTracking) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*QueryCollectionRequestTracking) GetFieldOk

func (o *QueryCollectionRequestTracking) GetFieldOk() (*string, bool)

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

func (*QueryCollectionRequestTracking) GetQueryId

func (o *QueryCollectionRequestTracking) GetQueryId() string

GetQueryId returns the QueryId field value if set, zero value otherwise.

func (*QueryCollectionRequestTracking) GetQueryIdOk

func (o *QueryCollectionRequestTracking) GetQueryIdOk() (*string, bool)

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

func (*QueryCollectionRequestTracking) GetSequence

func (o *QueryCollectionRequestTracking) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise.

func (*QueryCollectionRequestTracking) GetSequenceOk

func (o *QueryCollectionRequestTracking) GetSequenceOk() (*int32, bool)

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

func (*QueryCollectionRequestTracking) GetType

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

func (*QueryCollectionRequestTracking) GetTypeOk

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

func (*QueryCollectionRequestTracking) HasData

func (o *QueryCollectionRequestTracking) HasData() bool

HasData returns a boolean if a field has been set.

func (*QueryCollectionRequestTracking) HasField

func (o *QueryCollectionRequestTracking) HasField() bool

HasField returns a boolean if a field has been set.

func (*QueryCollectionRequestTracking) HasQueryId

func (o *QueryCollectionRequestTracking) HasQueryId() bool

HasQueryId returns a boolean if a field has been set.

func (*QueryCollectionRequestTracking) HasSequence

func (o *QueryCollectionRequestTracking) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*QueryCollectionRequestTracking) HasType

func (o *QueryCollectionRequestTracking) HasType() bool

HasType returns a boolean if a field has been set.

func (QueryCollectionRequestTracking) MarshalJSON

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

func (*QueryCollectionRequestTracking) SetData

func (o *QueryCollectionRequestTracking) SetData(v map[string]string)

SetData gets a reference to the given map[string]string and assigns it to the Data field.

func (*QueryCollectionRequestTracking) SetField

func (o *QueryCollectionRequestTracking) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*QueryCollectionRequestTracking) SetQueryId

func (o *QueryCollectionRequestTracking) SetQueryId(v string)

SetQueryId gets a reference to the given string and assigns it to the QueryId field.

func (*QueryCollectionRequestTracking) SetSequence

func (o *QueryCollectionRequestTracking) SetSequence(v int32)

SetSequence gets a reference to the given int32 and assigns it to the Sequence field.

func (*QueryCollectionRequestTracking) SetType

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

type QueryCollectionRequestTrackingType

type QueryCollectionRequestTrackingType string

QueryCollectionRequestTrackingType - TYPE_UNSPECIFIED: The default / unset value. The API defaults to `NONE` tracking. - NONE: No tracking. - CLICK: Click tracking. A click token is be generated for each result. Results which do not receive clicks fall down the rankings, and similarly low-ranked records which receive clicks are moved up the rankings. - POS_NEG: Pos/neg tracking. Pos/neg tokens are generated for each result. Each record in the result set can be marked with pos/neg value for the search. This is then fed back into the ranking algorithm to improve future results. Unlike `CLICK`, if no tokens are reported for records then no action is taken.

const (
	QUERYCOLLECTIONREQUESTTRACKINGTYPE_TYPE_UNSPECIFIED QueryCollectionRequestTrackingType = "TYPE_UNSPECIFIED"
	QUERYCOLLECTIONREQUESTTRACKINGTYPE_NONE             QueryCollectionRequestTrackingType = "NONE"
	QUERYCOLLECTIONREQUESTTRACKINGTYPE_CLICK            QueryCollectionRequestTrackingType = "CLICK"
	QUERYCOLLECTIONREQUESTTRACKINGTYPE_POS_NEG          QueryCollectionRequestTrackingType = "POS_NEG"
)

List of QueryCollectionRequestTrackingType

func (QueryCollectionRequestTrackingType) Ptr

Ptr returns reference to QueryCollectionRequestTrackingType value

func (*QueryCollectionRequestTrackingType) UnmarshalJSON

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

type QueryCollectionResponse

type QueryCollectionResponse struct {
	// A list of the promotions activated when running the query.
	ActivePromotions *[]ActivePromotion `json:"active_promotions,omitempty"`
	// The aggregates run with filters.
	AggregateFilters *map[string]QueryAggregateResult `json:"aggregate_filters,omitempty"`
	// The aggregates returned by the query.
	Aggregates *map[string]QueryAggregateResult `json:"aggregates,omitempty"`
	// The weight applied to the features in the query, used for analyzing the index, neural and feature components for results.  For each result:  “` score = max(index_score, neural_score) * (1 - feature_score_weight) +         feature_score * feature_score_weight “`
	FeatureScoreWeight *float64                         `json:"feature_score_weight,omitempty"`
	Pipeline           *QueryCollectionResponsePipeline `json:"pipeline,omitempty"`
	// The total time taken to perform the query.
	ProcessingDuration *string `json:"processing_duration,omitempty"`
	// A mapping of redirects triggered for all possible variations of the query.
	Redirects *map[string]RedirectResult `json:"redirects,omitempty"`
	// The results returned by the query.
	Results *[]QueryResult `json:"results,omitempty"`
	// The total number of results that match the query.
	TotalSize *string `json:"total_size,omitempty"`
	// The modified variables returned by the pipeline after it has finished processing.
	Variables *map[string]map[string]interface{} `json:"variables,omitempty"`
}

QueryCollectionResponse struct for QueryCollectionResponse

func NewQueryCollectionResponse

func NewQueryCollectionResponse() *QueryCollectionResponse

NewQueryCollectionResponse instantiates a new QueryCollectionResponse 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 NewQueryCollectionResponseWithDefaults

func NewQueryCollectionResponseWithDefaults() *QueryCollectionResponse

NewQueryCollectionResponseWithDefaults instantiates a new QueryCollectionResponse 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 (*QueryCollectionResponse) GetActivePromotions

func (o *QueryCollectionResponse) GetActivePromotions() []ActivePromotion

GetActivePromotions returns the ActivePromotions field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetActivePromotionsOk

func (o *QueryCollectionResponse) GetActivePromotionsOk() (*[]ActivePromotion, bool)

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

func (*QueryCollectionResponse) GetAggregateFilters

func (o *QueryCollectionResponse) GetAggregateFilters() map[string]QueryAggregateResult

GetAggregateFilters returns the AggregateFilters field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetAggregateFiltersOk

func (o *QueryCollectionResponse) GetAggregateFiltersOk() (*map[string]QueryAggregateResult, bool)

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

func (*QueryCollectionResponse) GetAggregates

func (o *QueryCollectionResponse) GetAggregates() map[string]QueryAggregateResult

GetAggregates returns the Aggregates field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetAggregatesOk

func (o *QueryCollectionResponse) GetAggregatesOk() (*map[string]QueryAggregateResult, bool)

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

func (*QueryCollectionResponse) GetFeatureScoreWeight

func (o *QueryCollectionResponse) GetFeatureScoreWeight() float64

GetFeatureScoreWeight returns the FeatureScoreWeight field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetFeatureScoreWeightOk

func (o *QueryCollectionResponse) GetFeatureScoreWeightOk() (*float64, bool)

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

func (*QueryCollectionResponse) GetPipeline

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetPipelineOk

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

func (*QueryCollectionResponse) GetProcessingDuration

func (o *QueryCollectionResponse) GetProcessingDuration() string

GetProcessingDuration returns the ProcessingDuration field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetProcessingDurationOk

func (o *QueryCollectionResponse) GetProcessingDurationOk() (*string, bool)

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

func (*QueryCollectionResponse) GetRedirects

func (o *QueryCollectionResponse) GetRedirects() map[string]RedirectResult

GetRedirects returns the Redirects field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetRedirectsOk

func (o *QueryCollectionResponse) GetRedirectsOk() (*map[string]RedirectResult, bool)

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

func (*QueryCollectionResponse) GetResults

func (o *QueryCollectionResponse) GetResults() []QueryResult

GetResults returns the Results field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetResultsOk

func (o *QueryCollectionResponse) GetResultsOk() (*[]QueryResult, bool)

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

func (*QueryCollectionResponse) GetTotalSize

func (o *QueryCollectionResponse) GetTotalSize() string

GetTotalSize returns the TotalSize field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetTotalSizeOk

func (o *QueryCollectionResponse) GetTotalSizeOk() (*string, bool)

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

func (*QueryCollectionResponse) GetVariables

func (o *QueryCollectionResponse) GetVariables() map[string]map[string]interface{}

GetVariables returns the Variables field value if set, zero value otherwise.

func (*QueryCollectionResponse) GetVariablesOk

func (o *QueryCollectionResponse) GetVariablesOk() (*map[string]map[string]interface{}, bool)

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

func (*QueryCollectionResponse) HasActivePromotions

func (o *QueryCollectionResponse) HasActivePromotions() bool

HasActivePromotions returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasAggregateFilters

func (o *QueryCollectionResponse) HasAggregateFilters() bool

HasAggregateFilters returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasAggregates

func (o *QueryCollectionResponse) HasAggregates() bool

HasAggregates returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasFeatureScoreWeight

func (o *QueryCollectionResponse) HasFeatureScoreWeight() bool

HasFeatureScoreWeight returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasPipeline

func (o *QueryCollectionResponse) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasProcessingDuration

func (o *QueryCollectionResponse) HasProcessingDuration() bool

HasProcessingDuration returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasRedirects

func (o *QueryCollectionResponse) HasRedirects() bool

HasRedirects returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasResults

func (o *QueryCollectionResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasTotalSize

func (o *QueryCollectionResponse) HasTotalSize() bool

HasTotalSize returns a boolean if a field has been set.

func (*QueryCollectionResponse) HasVariables

func (o *QueryCollectionResponse) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (QueryCollectionResponse) MarshalJSON

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

func (*QueryCollectionResponse) SetActivePromotions

func (o *QueryCollectionResponse) SetActivePromotions(v []ActivePromotion)

SetActivePromotions gets a reference to the given []ActivePromotion and assigns it to the ActivePromotions field.

func (*QueryCollectionResponse) SetAggregateFilters

func (o *QueryCollectionResponse) SetAggregateFilters(v map[string]QueryAggregateResult)

SetAggregateFilters gets a reference to the given map[string]QueryAggregateResult and assigns it to the AggregateFilters field.

func (*QueryCollectionResponse) SetAggregates

func (o *QueryCollectionResponse) SetAggregates(v map[string]QueryAggregateResult)

SetAggregates gets a reference to the given map[string]QueryAggregateResult and assigns it to the Aggregates field.

func (*QueryCollectionResponse) SetFeatureScoreWeight

func (o *QueryCollectionResponse) SetFeatureScoreWeight(v float64)

SetFeatureScoreWeight gets a reference to the given float64 and assigns it to the FeatureScoreWeight field.

func (*QueryCollectionResponse) SetPipeline

SetPipeline gets a reference to the given QueryCollectionResponsePipeline and assigns it to the Pipeline field.

func (*QueryCollectionResponse) SetProcessingDuration

func (o *QueryCollectionResponse) SetProcessingDuration(v string)

SetProcessingDuration gets a reference to the given string and assigns it to the ProcessingDuration field.

func (*QueryCollectionResponse) SetRedirects

func (o *QueryCollectionResponse) SetRedirects(v map[string]RedirectResult)

SetRedirects gets a reference to the given map[string]RedirectResult and assigns it to the Redirects field.

func (*QueryCollectionResponse) SetResults

func (o *QueryCollectionResponse) SetResults(v []QueryResult)

SetResults gets a reference to the given []QueryResult and assigns it to the Results field.

func (*QueryCollectionResponse) SetTotalSize

func (o *QueryCollectionResponse) SetTotalSize(v string)

SetTotalSize gets a reference to the given string and assigns it to the TotalSize field.

func (*QueryCollectionResponse) SetVariables

func (o *QueryCollectionResponse) SetVariables(v map[string]map[string]interface{})

SetVariables gets a reference to the given map[string]map[string]interface{} and assigns it to the Variables field.

type QueryCollectionResponsePipeline

type QueryCollectionResponsePipeline struct {
	// The pipeline's name, e.g. `my-pipeline`.
	Name *string `json:"name,omitempty"`
	// The pipeline's version, e.g. `42`.
	Version *string `json:"version,omitempty"`
}

QueryCollectionResponsePipeline The resolved query pipeline that was used to run the query.

func NewQueryCollectionResponsePipeline

func NewQueryCollectionResponsePipeline() *QueryCollectionResponsePipeline

NewQueryCollectionResponsePipeline instantiates a new QueryCollectionResponsePipeline 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 NewQueryCollectionResponsePipelineWithDefaults

func NewQueryCollectionResponsePipelineWithDefaults() *QueryCollectionResponsePipeline

NewQueryCollectionResponsePipelineWithDefaults instantiates a new QueryCollectionResponsePipeline 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 (*QueryCollectionResponsePipeline) GetName

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

func (*QueryCollectionResponsePipeline) GetNameOk

func (o *QueryCollectionResponsePipeline) GetNameOk() (*string, bool)

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

func (*QueryCollectionResponsePipeline) GetVersion

func (o *QueryCollectionResponsePipeline) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*QueryCollectionResponsePipeline) GetVersionOk

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

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

func (*QueryCollectionResponsePipeline) HasName

HasName returns a boolean if a field has been set.

func (*QueryCollectionResponsePipeline) HasVersion

func (o *QueryCollectionResponsePipeline) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (QueryCollectionResponsePipeline) MarshalJSON

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

func (*QueryCollectionResponsePipeline) SetName

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

func (*QueryCollectionResponsePipeline) SetVersion

func (o *QueryCollectionResponsePipeline) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

type QueryResult

type QueryResult struct {
	// The feature score of the result.  This is a value between 0 and 1 representing the business-specific ranking of the result as determined by the ranking adjustments. See [Ranking adjustments](https://docs.search.io/documentation/fundamentals/search-settings/ranking-adjustments) for more information.
	FeatureScore *float64 `json:"feature_score,omitempty"`
	// The index score of the result.  This is a value between 0 and 1 representing the relevance of the result using traditional keyword search. The higher the score the more relevant the result is.
	IndexScore *float64 `json:"index_score,omitempty"`
	// The neural score of the result.  This is a value between 0 and 1 representing the relevance of the result using Neuralsearch®, using AI-based search.
	NeuralScore *float64 `json:"neural_score,omitempty"`
	// An object made up of field-value pairs that contains the record data.
	Record *map[string]interface{} `json:"record,omitempty"`
	// The overall relevance of the result.  This is a value between 0 and 1 that combines the index, neural and feature scores. The higher the score the more relevant the result is.
	Score *float64          `json:"score,omitempty"`
	Token *QueryResultToken `json:"token,omitempty"`
}

QueryResult struct for QueryResult

func NewQueryResult

func NewQueryResult() *QueryResult

NewQueryResult instantiates a new QueryResult 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 NewQueryResultWithDefaults

func NewQueryResultWithDefaults() *QueryResult

NewQueryResultWithDefaults instantiates a new QueryResult 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 (*QueryResult) GetFeatureScore

func (o *QueryResult) GetFeatureScore() float64

GetFeatureScore returns the FeatureScore field value if set, zero value otherwise.

func (*QueryResult) GetFeatureScoreOk

func (o *QueryResult) GetFeatureScoreOk() (*float64, bool)

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

func (*QueryResult) GetIndexScore

func (o *QueryResult) GetIndexScore() float64

GetIndexScore returns the IndexScore field value if set, zero value otherwise.

func (*QueryResult) GetIndexScoreOk

func (o *QueryResult) GetIndexScoreOk() (*float64, bool)

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

func (*QueryResult) GetNeuralScore

func (o *QueryResult) GetNeuralScore() float64

GetNeuralScore returns the NeuralScore field value if set, zero value otherwise.

func (*QueryResult) GetNeuralScoreOk

func (o *QueryResult) GetNeuralScoreOk() (*float64, bool)

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

func (*QueryResult) GetRecord

func (o *QueryResult) GetRecord() map[string]interface{}

GetRecord returns the Record field value if set, zero value otherwise.

func (*QueryResult) GetRecordOk

func (o *QueryResult) GetRecordOk() (*map[string]interface{}, bool)

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

func (*QueryResult) GetScore

func (o *QueryResult) GetScore() float64

GetScore returns the Score field value if set, zero value otherwise.

func (*QueryResult) GetScoreOk

func (o *QueryResult) GetScoreOk() (*float64, bool)

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

func (*QueryResult) GetToken

func (o *QueryResult) GetToken() QueryResultToken

GetToken returns the Token field value if set, zero value otherwise.

func (*QueryResult) GetTokenOk

func (o *QueryResult) GetTokenOk() (*QueryResultToken, bool)

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

func (*QueryResult) HasFeatureScore

func (o *QueryResult) HasFeatureScore() bool

HasFeatureScore returns a boolean if a field has been set.

func (*QueryResult) HasIndexScore

func (o *QueryResult) HasIndexScore() bool

HasIndexScore returns a boolean if a field has been set.

func (*QueryResult) HasNeuralScore

func (o *QueryResult) HasNeuralScore() bool

HasNeuralScore returns a boolean if a field has been set.

func (*QueryResult) HasRecord

func (o *QueryResult) HasRecord() bool

HasRecord returns a boolean if a field has been set.

func (*QueryResult) HasScore

func (o *QueryResult) HasScore() bool

HasScore returns a boolean if a field has been set.

func (*QueryResult) HasToken

func (o *QueryResult) HasToken() bool

HasToken returns a boolean if a field has been set.

func (QueryResult) MarshalJSON

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

func (*QueryResult) SetFeatureScore

func (o *QueryResult) SetFeatureScore(v float64)

SetFeatureScore gets a reference to the given float64 and assigns it to the FeatureScore field.

func (*QueryResult) SetIndexScore

func (o *QueryResult) SetIndexScore(v float64)

SetIndexScore gets a reference to the given float64 and assigns it to the IndexScore field.

func (*QueryResult) SetNeuralScore

func (o *QueryResult) SetNeuralScore(v float64)

SetNeuralScore gets a reference to the given float64 and assigns it to the NeuralScore field.

func (*QueryResult) SetRecord

func (o *QueryResult) SetRecord(v map[string]interface{})

SetRecord gets a reference to the given map[string]interface{} and assigns it to the Record field.

func (*QueryResult) SetScore

func (o *QueryResult) SetScore(v float64)

SetScore gets a reference to the given float64 and assigns it to the Score field.

func (*QueryResult) SetToken

func (o *QueryResult) SetToken(v QueryResultToken)

SetToken gets a reference to the given QueryResultToken and assigns it to the Token field.

type QueryResultToken

type QueryResultToken struct {
	Click  *QueryResultTokenClick  `json:"click,omitempty"`
	PosNeg *QueryResultTokenPosNeg `json:"pos_neg,omitempty"`
}

QueryResultToken Tokens are used to carry ranking information for query results.

func NewQueryResultToken

func NewQueryResultToken() *QueryResultToken

NewQueryResultToken instantiates a new QueryResultToken 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 NewQueryResultTokenWithDefaults

func NewQueryResultTokenWithDefaults() *QueryResultToken

NewQueryResultTokenWithDefaults instantiates a new QueryResultToken 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 (*QueryResultToken) GetClick

GetClick returns the Click field value if set, zero value otherwise.

func (*QueryResultToken) GetClickOk

func (o *QueryResultToken) GetClickOk() (*QueryResultTokenClick, bool)

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

func (*QueryResultToken) GetPosNeg

GetPosNeg returns the PosNeg field value if set, zero value otherwise.

func (*QueryResultToken) GetPosNegOk

func (o *QueryResultToken) GetPosNegOk() (*QueryResultTokenPosNeg, bool)

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

func (*QueryResultToken) HasClick

func (o *QueryResultToken) HasClick() bool

HasClick returns a boolean if a field has been set.

func (*QueryResultToken) HasPosNeg

func (o *QueryResultToken) HasPosNeg() bool

HasPosNeg returns a boolean if a field has been set.

func (QueryResultToken) MarshalJSON

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

func (*QueryResultToken) SetClick

func (o *QueryResultToken) SetClick(v QueryResultTokenClick)

SetClick gets a reference to the given QueryResultTokenClick and assigns it to the Click field.

func (*QueryResultToken) SetPosNeg

func (o *QueryResultToken) SetPosNeg(v QueryResultTokenPosNeg)

SetPosNeg gets a reference to the given QueryResultTokenPosNeg and assigns it to the PosNeg field.

type QueryResultTokenClick

type QueryResultTokenClick struct {
	Token *string `json:"token,omitempty"`
}

QueryResultTokenClick Click is a token that corresponds to selecting a record from a result set. It is taken as an indication that this record is a good match for the corresponding request.

func NewQueryResultTokenClick

func NewQueryResultTokenClick() *QueryResultTokenClick

NewQueryResultTokenClick instantiates a new QueryResultTokenClick 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 NewQueryResultTokenClickWithDefaults

func NewQueryResultTokenClickWithDefaults() *QueryResultTokenClick

NewQueryResultTokenClickWithDefaults instantiates a new QueryResultTokenClick 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 (*QueryResultTokenClick) GetToken

func (o *QueryResultTokenClick) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*QueryResultTokenClick) GetTokenOk

func (o *QueryResultTokenClick) GetTokenOk() (*string, bool)

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

func (*QueryResultTokenClick) HasToken

func (o *QueryResultTokenClick) HasToken() bool

HasToken returns a boolean if a field has been set.

func (QueryResultTokenClick) MarshalJSON

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

func (*QueryResultTokenClick) SetToken

func (o *QueryResultTokenClick) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

type QueryResultTokenPosNeg

type QueryResultTokenPosNeg struct {
	Neg *string `json:"neg,omitempty"`
	Pos *string `json:"pos,omitempty"`
}

QueryResultTokenPosNeg PosNeg is a pair of tokens which are used to mark a record as a good/bad result for a request.

func NewQueryResultTokenPosNeg

func NewQueryResultTokenPosNeg() *QueryResultTokenPosNeg

NewQueryResultTokenPosNeg instantiates a new QueryResultTokenPosNeg 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 NewQueryResultTokenPosNegWithDefaults

func NewQueryResultTokenPosNegWithDefaults() *QueryResultTokenPosNeg

NewQueryResultTokenPosNegWithDefaults instantiates a new QueryResultTokenPosNeg 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 (*QueryResultTokenPosNeg) GetNeg

func (o *QueryResultTokenPosNeg) GetNeg() string

GetNeg returns the Neg field value if set, zero value otherwise.

func (*QueryResultTokenPosNeg) GetNegOk

func (o *QueryResultTokenPosNeg) GetNegOk() (*string, bool)

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

func (*QueryResultTokenPosNeg) GetPos

func (o *QueryResultTokenPosNeg) GetPos() string

GetPos returns the Pos field value if set, zero value otherwise.

func (*QueryResultTokenPosNeg) GetPosOk

func (o *QueryResultTokenPosNeg) GetPosOk() (*string, bool)

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

func (*QueryResultTokenPosNeg) HasNeg

func (o *QueryResultTokenPosNeg) HasNeg() bool

HasNeg returns a boolean if a field has been set.

func (*QueryResultTokenPosNeg) HasPos

func (o *QueryResultTokenPosNeg) HasPos() bool

HasPos returns a boolean if a field has been set.

func (QueryResultTokenPosNeg) MarshalJSON

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

func (*QueryResultTokenPosNeg) SetNeg

func (o *QueryResultTokenPosNeg) SetNeg(v string)

SetNeg gets a reference to the given string and assigns it to the Neg field.

func (*QueryResultTokenPosNeg) SetPos

func (o *QueryResultTokenPosNeg) SetPos(v string)

SetPos gets a reference to the given string and assigns it to the Pos field.

type RecordKey

type RecordKey struct {
	// A field in your record that uniquely identifies it, e.g. `id`.
	Field string `json:"field"`
	// The value of `field` in your record, e.g. `b217a995-597c-410f-bef2-60e9f8c0aadd`.
	Value string `json:"value"`
}

RecordKey struct for RecordKey

func NewRecordKey

func NewRecordKey(field string, value string) *RecordKey

NewRecordKey instantiates a new RecordKey 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 NewRecordKeyWithDefaults

func NewRecordKeyWithDefaults() *RecordKey

NewRecordKeyWithDefaults instantiates a new RecordKey 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 (*RecordKey) GetField

func (o *RecordKey) GetField() string

GetField returns the Field field value

func (*RecordKey) GetFieldOk

func (o *RecordKey) GetFieldOk() (*string, bool)

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

func (*RecordKey) GetValue

func (o *RecordKey) GetValue() string

GetValue returns the Value field value

func (*RecordKey) GetValueOk

func (o *RecordKey) GetValueOk() (*string, bool)

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

func (RecordKey) MarshalJSON

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

func (*RecordKey) SetField

func (o *RecordKey) SetField(v string)

SetField sets field value

func (*RecordKey) SetValue

func (o *RecordKey) SetValue(v string)

SetValue sets field value

type RecordsApiService

type RecordsApiService service

RecordsApiService RecordsApi service

func (*RecordsApiService) BatchUpsertRecords

func (a *RecordsApiService) BatchUpsertRecords(ctx _context.Context, collectionId string) ApiBatchUpsertRecordsRequest
  • BatchUpsertRecords Batch upsert records
  • The batch version of the

[UpsertRecord](/api#operation/UpsertRecord) call.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to upsert the records in, e.g. `my-collection`.
  • @return ApiBatchUpsertRecordsRequest

func (*RecordsApiService) BatchUpsertRecordsExecute

* Execute executes the request * @return BatchUpsertRecordsResponse

func (*RecordsApiService) DeleteRecord

func (a *RecordsApiService) DeleteRecord(ctx _context.Context, collectionId string) ApiDeleteRecordRequest

* DeleteRecord Delete record * Delete a record with the given key. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that contains the record to delete, e.g. `my-collection`. * @return ApiDeleteRecordRequest

func (*RecordsApiService) DeleteRecordExecute

func (a *RecordsApiService) DeleteRecordExecute(r ApiDeleteRecordRequest) (interface{}, *_nethttp.Response, error)

* Execute executes the request * @return interface{}

func (*RecordsApiService) GetRecord

func (a *RecordsApiService) GetRecord(ctx _context.Context, collectionId string) ApiGetRecordRequest

* GetRecord Get record * Retrieve a record with the given key. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that contains the record to retrieve, e.g. `my-collection`. * @return ApiGetRecordRequest

func (*RecordsApiService) GetRecordExecute

func (a *RecordsApiService) GetRecordExecute(r ApiGetRecordRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*RecordsApiService) UpdateRecord

func (a *RecordsApiService) UpdateRecord(ctx _context.Context, collectionId string) ApiUpdateRecordRequest
  • UpdateRecord Update record
  • Add or update specific fields within a record with the given values. The

updated record is returned in the response.

To replace all fields in a record, you should use the [UpsertRecord](/api#operation/UpsertRecord) call.

Note that the update record call cannot be used to add or update indexed or unique fields. For this case use the [UpsertRecord](/api#operation/UpsertRecord) call.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection that contains the record to update, e.g. `my-collection`.
  • @return ApiUpdateRecordRequest

func (*RecordsApiService) UpdateRecordExecute

func (a *RecordsApiService) UpdateRecordExecute(r ApiUpdateRecordRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*RecordsApiService) UpsertRecord

func (a *RecordsApiService) UpsertRecord(ctx _context.Context, collectionId string) ApiUpsertRecordRequest
  • UpsertRecord Upsert record
  • If the record does not exist in the collection it is inserted. If it does

exist it is updated.

If no pipeline is specified, the default record pipeline is used to process the record.

If the record is inserted, the response contains the key of the inserted record. You can use this if you need to retrieve or delete the record. If the record is updated, the response does not contain a key. Callers can use this as a signal to determine if the record is inserted/created or updated.

For example, to add a single product from your ecommerce store to a collection, use the following call:

```json

{
  "pipeline": {
    "name": "my-pipeline",
    "version": "1"
  },
  "record": {
    "id": "54hdc7h2334h",
    "name": "Smart TV",
    "price": 1999,
    "brand": "Acme",
    "description": "...",
    "in_stock": true
  }
}

```

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to upsert the record in, e.g. `my-collection`.
  • @return ApiUpsertRecordRequest

func (*RecordsApiService) UpsertRecordExecute

* Execute executes the request * @return UpsertRecordResponse

type Redirect

type Redirect struct {
	// Output only. The ID of the collection that owns this redirect.
	CollectionId *string `json:"collection_id,omitempty"`
	// A condition expression applied to a search request that determines whether a search is redirected.  For example, to redirect if the user's query is `apples`, set condition to `q = 'apples'`.
	Condition string `json:"condition"`
	// Output only. Time the redirect was created.
	CreateTime *time.Time `json:"create_time,omitempty"`
	// If disabled, the redirect is never triggered.
	Disabled *bool `json:"disabled,omitempty"`
	// Output only. The redirect's ID.
	Id *string `json:"id,omitempty"`
	// The target to redirect the user to if their query matches `condition`.  For searches performed in a browser, target is usually a URL but it can be any value that your integration can interpret as a redirect.  For example, for URLs that you need to resolve at runtime, target might be a URL template string. For apps, target might be a unique identifier used to send the user to the correct view.
	Target string `json:"target"`
	// Output only. Time the redirect was last updated.
	UpdateTime *time.Time `json:"update_time,omitempty"`
}

Redirect Redirect contains a target that you can redirect users to if their search query matches a certain condition.

func NewRedirect

func NewRedirect(condition string, target string) *Redirect

NewRedirect instantiates a new Redirect 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 NewRedirectWithDefaults

func NewRedirectWithDefaults() *Redirect

NewRedirectWithDefaults instantiates a new Redirect 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 (*Redirect) GetCollectionId

func (o *Redirect) GetCollectionId() string

GetCollectionId returns the CollectionId field value if set, zero value otherwise.

func (*Redirect) GetCollectionIdOk

func (o *Redirect) GetCollectionIdOk() (*string, bool)

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

func (*Redirect) GetCondition

func (o *Redirect) GetCondition() string

GetCondition returns the Condition field value

func (*Redirect) GetConditionOk

func (o *Redirect) GetConditionOk() (*string, bool)

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

func (*Redirect) GetCreateTime

func (o *Redirect) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value if set, zero value otherwise.

func (*Redirect) GetCreateTimeOk

func (o *Redirect) GetCreateTimeOk() (*time.Time, bool)

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

func (*Redirect) GetDisabled

func (o *Redirect) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*Redirect) GetDisabledOk

func (o *Redirect) GetDisabledOk() (*bool, bool)

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

func (*Redirect) GetId

func (o *Redirect) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Redirect) GetIdOk

func (o *Redirect) GetIdOk() (*string, bool)

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

func (*Redirect) GetTarget

func (o *Redirect) GetTarget() string

GetTarget returns the Target field value

func (*Redirect) GetTargetOk

func (o *Redirect) GetTargetOk() (*string, bool)

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

func (*Redirect) GetUpdateTime

func (o *Redirect) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime field value if set, zero value otherwise.

func (*Redirect) GetUpdateTimeOk

func (o *Redirect) GetUpdateTimeOk() (*time.Time, bool)

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

func (*Redirect) HasCollectionId

func (o *Redirect) HasCollectionId() bool

HasCollectionId returns a boolean if a field has been set.

func (*Redirect) HasCreateTime

func (o *Redirect) HasCreateTime() bool

HasCreateTime returns a boolean if a field has been set.

func (*Redirect) HasDisabled

func (o *Redirect) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*Redirect) HasId

func (o *Redirect) HasId() bool

HasId returns a boolean if a field has been set.

func (*Redirect) HasUpdateTime

func (o *Redirect) HasUpdateTime() bool

HasUpdateTime returns a boolean if a field has been set.

func (Redirect) MarshalJSON

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

func (*Redirect) SetCollectionId

func (o *Redirect) SetCollectionId(v string)

SetCollectionId gets a reference to the given string and assigns it to the CollectionId field.

func (*Redirect) SetCondition

func (o *Redirect) SetCondition(v string)

SetCondition sets field value

func (*Redirect) SetCreateTime

func (o *Redirect) SetCreateTime(v time.Time)

SetCreateTime gets a reference to the given time.Time and assigns it to the CreateTime field.

func (*Redirect) SetDisabled

func (o *Redirect) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*Redirect) SetId

func (o *Redirect) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Redirect) SetTarget

func (o *Redirect) SetTarget(v string)

SetTarget sets field value

func (*Redirect) SetUpdateTime

func (o *Redirect) SetUpdateTime(v time.Time)

SetUpdateTime gets a reference to the given time.Time and assigns it to the UpdateTime field.

type RedirectResult

type RedirectResult struct {
	// The redirect's ID.
	Id *string `json:"id,omitempty"`
	// The target to redirect the user to.
	Target *string `json:"target,omitempty"`
	// A redirect token.  Call SendEvent with this token to indicate that a redirect has been performed.
	Token *string `json:"token,omitempty"`
}

RedirectResult RedirectResult indicates that a redirect has been triggered for a given query.

func NewRedirectResult

func NewRedirectResult() *RedirectResult

NewRedirectResult instantiates a new RedirectResult 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 NewRedirectResultWithDefaults

func NewRedirectResultWithDefaults() *RedirectResult

NewRedirectResultWithDefaults instantiates a new RedirectResult 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 (*RedirectResult) GetId

func (o *RedirectResult) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RedirectResult) GetIdOk

func (o *RedirectResult) GetIdOk() (*string, bool)

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

func (*RedirectResult) GetTarget

func (o *RedirectResult) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*RedirectResult) GetTargetOk

func (o *RedirectResult) GetTargetOk() (*string, bool)

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

func (*RedirectResult) GetToken

func (o *RedirectResult) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*RedirectResult) GetTokenOk

func (o *RedirectResult) GetTokenOk() (*string, bool)

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

func (*RedirectResult) HasId

func (o *RedirectResult) HasId() bool

HasId returns a boolean if a field has been set.

func (*RedirectResult) HasTarget

func (o *RedirectResult) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*RedirectResult) HasToken

func (o *RedirectResult) HasToken() bool

HasToken returns a boolean if a field has been set.

func (RedirectResult) MarshalJSON

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

func (*RedirectResult) SetId

func (o *RedirectResult) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RedirectResult) SetTarget

func (o *RedirectResult) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (*RedirectResult) SetToken

func (o *RedirectResult) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

type RedirectsApiService

type RedirectsApiService service

RedirectsApiService RedirectsApi service

func (*RedirectsApiService) CreateRedirect

func (a *RedirectsApiService) CreateRedirect(ctx _context.Context, collectionId string) ApiCreateRedirectRequest

* CreateRedirect Create redirect * Create a new redirect in a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection to create a redirect in, e.g. `my-collection`. * @return ApiCreateRedirectRequest

func (*RedirectsApiService) CreateRedirectExecute

* Execute executes the request * @return Redirect

func (*RedirectsApiService) DeleteRedirect

func (a *RedirectsApiService) DeleteRedirect(ctx _context.Context, collectionId string, redirectId string) ApiDeleteRedirectRequest
  • DeleteRedirect Delete redirect
  • Delete a redirect and all of its associated data.

> Note: This operation cannot be reversed.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection the redirect belongs to, e.g. `my-collection`.
  • @param redirectId The redirect to delete, e.g. `1234`.
  • @return ApiDeleteRedirectRequest

func (*RedirectsApiService) DeleteRedirectExecute

func (a *RedirectsApiService) DeleteRedirectExecute(r ApiDeleteRedirectRequest) (interface{}, *_nethttp.Response, error)

* Execute executes the request * @return interface{}

func (*RedirectsApiService) GetRedirect

func (a *RedirectsApiService) GetRedirect(ctx _context.Context, collectionId string, redirectId string) ApiGetRedirectRequest

* GetRedirect Get redirect * Retrieve the details of a redirect. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that owns the redirect, e.g. `my-collection`. * @param redirectId The redirect to retrieve, e.g. `1234`. * @return ApiGetRedirectRequest

func (*RedirectsApiService) GetRedirectExecute

* Execute executes the request * @return Redirect

func (*RedirectsApiService) ListRedirects

func (a *RedirectsApiService) ListRedirects(ctx _context.Context, collectionId string) ApiListRedirectsRequest

* ListRedirects List redirects * Retrieve a list of redirects in a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that owns this set of redirects, e.g. `my-collection`. * @return ApiListRedirectsRequest

func (*RedirectsApiService) ListRedirectsExecute

* Execute executes the request * @return ListRedirectsResponse

func (*RedirectsApiService) UpdateRedirect

func (a *RedirectsApiService) UpdateRedirect(ctx _context.Context, collectionId string, redirectId string) ApiUpdateRedirectRequest
  • UpdateRedirect Update redirect
  • Update the details of a redirect.

Pass each field that you want to update in the request body. Also specify the name of each field that you want to update in the `update_mask` in the request URL query string. Separate multiple fields with a comma. Fields included in the request body, but not included in the field mask are not updated.

For example, to update the `condition` field, make a `PATCH` request to the URL:

``` /v4/collections/{collection_id}/redirects/{redirect_id}?update_mask=condition ```

With the JSON body:

```

{
  "condition": "new value",
  "target": "..."
}

```

> Note: In this example `target` is not updated because it is not specified in the `update_mask`.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection the redirect belongs to, e.g. `my-collection`.
  • @param redirectId The redirect to update, e.g. `1234`.
  • @return ApiUpdateRedirectRequest

func (*RedirectsApiService) UpdateRedirectExecute

* Execute executes the request * @return Redirect

type SchemaApiService

type SchemaApiService service

SchemaApiService SchemaApi service

func (*SchemaApiService) BatchCreateSchemaFields

func (a *SchemaApiService) BatchCreateSchemaFields(ctx _context.Context, collectionId string) ApiBatchCreateSchemaFieldsRequest
  • BatchCreateSchemaFields Batch create schema fields
  • The batch version of the

[CreateSchemaField](/api#operation/CreateSchemaField) call.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param collectionId The collection to create the schema fields in, e.g. `my-collection`.
  • @return ApiBatchCreateSchemaFieldsRequest

func (*SchemaApiService) BatchCreateSchemaFieldsExecute

* Execute executes the request * @return BatchCreateSchemaFieldsResponse

func (*SchemaApiService) CreateSchemaField

func (a *SchemaApiService) CreateSchemaField(ctx _context.Context, collectionId string) ApiCreateSchemaFieldRequest

* CreateSchemaField Create schema field * Create a new field in a collection's schema. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection to create a schema field in, e.g. `my-collection`. * @return ApiCreateSchemaFieldRequest

func (*SchemaApiService) CreateSchemaFieldExecute

func (a *SchemaApiService) CreateSchemaFieldExecute(r ApiCreateSchemaFieldRequest) (SchemaField, *_nethttp.Response, error)

* Execute executes the request * @return SchemaField

func (*SchemaApiService) ListSchemaFields

func (a *SchemaApiService) ListSchemaFields(ctx _context.Context, collectionId string) ApiListSchemaFieldsRequest

* ListSchemaFields List schema fields * Retrieve a list of schema fields in a collection. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param collectionId The collection that owns this set of schema fields, e.g. `my-collection`. * @return ApiListSchemaFieldsRequest

func (*SchemaApiService) ListSchemaFieldsExecute

* Execute executes the request * @return ListSchemaFieldsResponse

type SchemaField

type SchemaField struct {
	// Array indicates if the field is an array of values.  For example, if `type` is string and `array` is `true`, then the field is an array of strings.
	Array *bool `json:"array,omitempty"`
	// The required length of the array, if `array` is `true`.  This allows you to enforce that an array contains an exact number of items.  For example, to store a 2x2 vector, you could set `type` to float, `array` to `true` and `array_length` to `4`.
	ArrayLength *int32 `json:"array_length,omitempty"`
	// The description of the field.
	Description *string         `json:"description,omitempty"`
	Mode        SchemaFieldMode `json:"mode"`
	// The name of the field.
	Name string          `json:"name"`
	Type SchemaFieldType `json:"type"`
}

SchemaField SchemaField defines the properties of a field in the schema.

func NewSchemaField

func NewSchemaField(mode SchemaFieldMode, name string, type_ SchemaFieldType) *SchemaField

NewSchemaField instantiates a new SchemaField 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 NewSchemaFieldWithDefaults

func NewSchemaFieldWithDefaults() *SchemaField

NewSchemaFieldWithDefaults instantiates a new SchemaField 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 (*SchemaField) GetArray

func (o *SchemaField) GetArray() bool

GetArray returns the Array field value if set, zero value otherwise.

func (*SchemaField) GetArrayLength

func (o *SchemaField) GetArrayLength() int32

GetArrayLength returns the ArrayLength field value if set, zero value otherwise.

func (*SchemaField) GetArrayLengthOk

func (o *SchemaField) GetArrayLengthOk() (*int32, bool)

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

func (*SchemaField) GetArrayOk

func (o *SchemaField) GetArrayOk() (*bool, bool)

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

func (*SchemaField) GetDescription

func (o *SchemaField) GetDescription() string

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

func (*SchemaField) GetDescriptionOk

func (o *SchemaField) GetDescriptionOk() (*string, bool)

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

func (*SchemaField) GetMode

func (o *SchemaField) GetMode() SchemaFieldMode

GetMode returns the Mode field value

func (*SchemaField) GetModeOk

func (o *SchemaField) GetModeOk() (*SchemaFieldMode, bool)

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

func (*SchemaField) GetName

func (o *SchemaField) GetName() string

GetName returns the Name field value

func (*SchemaField) GetNameOk

func (o *SchemaField) GetNameOk() (*string, bool)

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

func (*SchemaField) GetType

func (o *SchemaField) GetType() SchemaFieldType

GetType returns the Type field value

func (*SchemaField) GetTypeOk

func (o *SchemaField) GetTypeOk() (*SchemaFieldType, bool)

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

func (*SchemaField) HasArray

func (o *SchemaField) HasArray() bool

HasArray returns a boolean if a field has been set.

func (*SchemaField) HasArrayLength

func (o *SchemaField) HasArrayLength() bool

HasArrayLength returns a boolean if a field has been set.

func (*SchemaField) HasDescription

func (o *SchemaField) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (SchemaField) MarshalJSON

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

func (*SchemaField) SetArray

func (o *SchemaField) SetArray(v bool)

SetArray gets a reference to the given bool and assigns it to the Array field.

func (*SchemaField) SetArrayLength

func (o *SchemaField) SetArrayLength(v int32)

SetArrayLength gets a reference to the given int32 and assigns it to the ArrayLength field.

func (*SchemaField) SetDescription

func (o *SchemaField) SetDescription(v string)

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

func (*SchemaField) SetMode

func (o *SchemaField) SetMode(v SchemaFieldMode)

SetMode sets field value

func (*SchemaField) SetName

func (o *SchemaField) SetName(v string)

SetName sets field value

func (*SchemaField) SetType

func (o *SchemaField) SetType(v SchemaFieldType)

SetType sets field value

type SchemaFieldMode

type SchemaFieldMode string

SchemaFieldMode Mode is an enumeration of modes for a field. - MODE_UNSPECIFIED: Mode not specified. - NULLABLE: Nullable fields do not need to be specified. - REQUIRED: Required fields must be specified and cannot be null. - UNIQUE: Unique fields must be specified and must be unique.

const (
	SCHEMAFIELDMODE_MODE_UNSPECIFIED SchemaFieldMode = "MODE_UNSPECIFIED"
	SCHEMAFIELDMODE_NULLABLE         SchemaFieldMode = "NULLABLE"
	SCHEMAFIELDMODE_REQUIRED         SchemaFieldMode = "REQUIRED"
	SCHEMAFIELDMODE_UNIQUE           SchemaFieldMode = "UNIQUE"
)

List of SchemaFieldMode

func (SchemaFieldMode) Ptr

Ptr returns reference to SchemaFieldMode value

func (*SchemaFieldMode) UnmarshalJSON

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

type SchemaFieldType

type SchemaFieldType string

SchemaFieldType Type represents the underlying data type of the field. - TYPE_UNSPECIFIED: Type not specified. - STRING: String values. - INTEGER: Integer values (64-bit). - FLOAT: Floating point values (32-bit). - DOUBLE: Double floating point values (64-bit). - BOOLEAN: Boolean values. - TIMESTAMP: Timestamp values.

const (
	SCHEMAFIELDTYPE_TYPE_UNSPECIFIED SchemaFieldType = "TYPE_UNSPECIFIED"
	SCHEMAFIELDTYPE_STRING           SchemaFieldType = "STRING"
	SCHEMAFIELDTYPE_INTEGER          SchemaFieldType = "INTEGER"
	SCHEMAFIELDTYPE_FLOAT            SchemaFieldType = "FLOAT"
	SCHEMAFIELDTYPE_DOUBLE           SchemaFieldType = "DOUBLE"
	SCHEMAFIELDTYPE_BOOLEAN          SchemaFieldType = "BOOLEAN"
	SCHEMAFIELDTYPE_TIMESTAMP        SchemaFieldType = "TIMESTAMP"
)

List of SchemaFieldType

func (SchemaFieldType) Ptr

Ptr returns reference to SchemaFieldType value

func (*SchemaFieldType) UnmarshalJSON

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

type SendEventRequest

type SendEventRequest struct {
	// An object made up of field-value pairs that contains additional metadata to record with the event.  Every value in the object must be one of the following primitive types:  - boolean - number - string
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	// The name of event, e.g. `click`, `purchase`.
	Name string `json:"name"`
	// The token corresponding to the search result that was interacted with, e.g. `eyJ...`.
	Token string `json:"token"`
	// The weight assigned to the event.  Generally a sensible weight is 1. If you want to weight an event in a certain way you can use a value other than 1. For example, if you want to capture profit in an event, you could set the weight to a value that represents the profit.
	Weight *int32 `json:"weight,omitempty"`
}

SendEventRequest A request to send an event to the ranking system after a user interacts with a search result.

func NewSendEventRequest

func NewSendEventRequest(name string, token string) *SendEventRequest

NewSendEventRequest instantiates a new SendEventRequest 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 NewSendEventRequestWithDefaults

func NewSendEventRequestWithDefaults() *SendEventRequest

NewSendEventRequestWithDefaults instantiates a new SendEventRequest 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 (*SendEventRequest) GetMetadata

func (o *SendEventRequest) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SendEventRequest) GetMetadataOk

func (o *SendEventRequest) GetMetadataOk() (*map[string]interface{}, bool)

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

func (*SendEventRequest) GetName

func (o *SendEventRequest) GetName() string

GetName returns the Name field value

func (*SendEventRequest) GetNameOk

func (o *SendEventRequest) GetNameOk() (*string, bool)

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

func (*SendEventRequest) GetToken

func (o *SendEventRequest) GetToken() string

GetToken returns the Token field value

func (*SendEventRequest) GetTokenOk

func (o *SendEventRequest) GetTokenOk() (*string, bool)

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

func (*SendEventRequest) GetWeight

func (o *SendEventRequest) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*SendEventRequest) GetWeightOk

func (o *SendEventRequest) GetWeightOk() (*int32, bool)

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

func (*SendEventRequest) HasMetadata

func (o *SendEventRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SendEventRequest) HasWeight

func (o *SendEventRequest) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (SendEventRequest) MarshalJSON

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

func (*SendEventRequest) SetMetadata

func (o *SendEventRequest) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*SendEventRequest) SetName

func (o *SendEventRequest) SetName(v string)

SetName sets field value

func (*SendEventRequest) SetToken

func (o *SendEventRequest) SetToken(v string)

SetToken sets field value

func (*SendEventRequest) SetWeight

func (o *SendEventRequest) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight field.

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 SetDefaultPipelineRequest

type SetDefaultPipelineRequest struct {
	// The name of the pipeline to use when not otherwise specified.
	Pipeline string       `json:"pipeline"`
	Type     PipelineType `json:"type"`
}

SetDefaultPipelineRequest struct for SetDefaultPipelineRequest

func NewSetDefaultPipelineRequest

func NewSetDefaultPipelineRequest(pipeline string, type_ PipelineType) *SetDefaultPipelineRequest

NewSetDefaultPipelineRequest instantiates a new SetDefaultPipelineRequest 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 NewSetDefaultPipelineRequestWithDefaults

func NewSetDefaultPipelineRequestWithDefaults() *SetDefaultPipelineRequest

NewSetDefaultPipelineRequestWithDefaults instantiates a new SetDefaultPipelineRequest 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 (*SetDefaultPipelineRequest) GetPipeline

func (o *SetDefaultPipelineRequest) GetPipeline() string

GetPipeline returns the Pipeline field value

func (*SetDefaultPipelineRequest) GetPipelineOk

func (o *SetDefaultPipelineRequest) GetPipelineOk() (*string, bool)

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

func (*SetDefaultPipelineRequest) GetType

GetType returns the Type field value

func (*SetDefaultPipelineRequest) GetTypeOk

func (o *SetDefaultPipelineRequest) GetTypeOk() (*PipelineType, bool)

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

func (SetDefaultPipelineRequest) MarshalJSON

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

func (*SetDefaultPipelineRequest) SetPipeline

func (o *SetDefaultPipelineRequest) SetPipeline(v string)

SetPipeline sets field value

func (*SetDefaultPipelineRequest) SetType

SetType sets field value

type SetDefaultVersionRequest

type SetDefaultVersionRequest struct {
	// The version to use as a default for this pipeline, e.g. `42`.
	Version string `json:"version"`
}

SetDefaultVersionRequest struct for SetDefaultVersionRequest

func NewSetDefaultVersionRequest

func NewSetDefaultVersionRequest(version string) *SetDefaultVersionRequest

NewSetDefaultVersionRequest instantiates a new SetDefaultVersionRequest 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 NewSetDefaultVersionRequestWithDefaults

func NewSetDefaultVersionRequestWithDefaults() *SetDefaultVersionRequest

NewSetDefaultVersionRequestWithDefaults instantiates a new SetDefaultVersionRequest 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 (*SetDefaultVersionRequest) GetVersion

func (o *SetDefaultVersionRequest) GetVersion() string

GetVersion returns the Version field value

func (*SetDefaultVersionRequest) GetVersionOk

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

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

func (SetDefaultVersionRequest) MarshalJSON

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

func (*SetDefaultVersionRequest) SetVersion

func (o *SetDefaultVersionRequest) SetVersion(v string)

SetVersion sets field value

type Status

type Status struct {
	// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
	Code *int32 `json:"code,omitempty"`
	// A list of messages that carry the error details.  There is a common set of message types for APIs to use.
	Details *[]ProtobufAny `json:"details,omitempty"`
	// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
	Message *string `json:"message,omitempty"`
}

Status The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func NewStatus

func NewStatus() *Status

NewStatus instantiates a new Status 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 NewStatusWithDefaults

func NewStatusWithDefaults() *Status

NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCode

func (o *Status) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Status) GetCodeOk

func (o *Status) GetCodeOk() (*int32, 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.

func (*Status) GetDetails

func (o *Status) GetDetails() []ProtobufAny

GetDetails returns the Details field value if set, zero value otherwise.

func (*Status) GetDetailsOk

func (o *Status) GetDetailsOk() (*[]ProtobufAny, bool)

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

func (*Status) GetMessage

func (o *Status) GetMessage() string

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

func (*Status) GetMessageOk

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

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

func (*Status) HasCode

func (o *Status) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Status) HasDetails

func (o *Status) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Status) HasMessage

func (o *Status) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Status) MarshalJSON

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

func (*Status) SetCode

func (o *Status) SetCode(v int32)

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

func (*Status) SetDetails

func (o *Status) SetDetails(v []ProtobufAny)

SetDetails gets a reference to the given []ProtobufAny and assigns it to the Details field.

func (*Status) SetMessage

func (o *Status) SetMessage(v string)

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

type UpdateRecordRequest

type UpdateRecordRequest struct {
	Key RecordKey `json:"key"`
	// The record to update.
	Record map[string]map[string]interface{} `json:"record"`
	// The list of fields to be updated, separated by a comma, e.g. `field1,field2`.  For each field that you want to update, provide a corresponding value in the record object containing the new value.
	UpdateMask string `json:"update_mask"`
}

UpdateRecordRequest struct for UpdateRecordRequest

func NewUpdateRecordRequest

func NewUpdateRecordRequest(key RecordKey, record map[string]map[string]interface{}, updateMask string) *UpdateRecordRequest

NewUpdateRecordRequest instantiates a new UpdateRecordRequest 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 NewUpdateRecordRequestWithDefaults

func NewUpdateRecordRequestWithDefaults() *UpdateRecordRequest

NewUpdateRecordRequestWithDefaults instantiates a new UpdateRecordRequest 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 (*UpdateRecordRequest) GetKey

func (o *UpdateRecordRequest) GetKey() RecordKey

GetKey returns the Key field value

func (*UpdateRecordRequest) GetKeyOk

func (o *UpdateRecordRequest) GetKeyOk() (*RecordKey, bool)

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

func (*UpdateRecordRequest) GetRecord

func (o *UpdateRecordRequest) GetRecord() map[string]map[string]interface{}

GetRecord returns the Record field value

func (*UpdateRecordRequest) GetRecordOk

func (o *UpdateRecordRequest) GetRecordOk() (*map[string]map[string]interface{}, bool)

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

func (*UpdateRecordRequest) GetUpdateMask

func (o *UpdateRecordRequest) GetUpdateMask() string

GetUpdateMask returns the UpdateMask field value

func (*UpdateRecordRequest) GetUpdateMaskOk

func (o *UpdateRecordRequest) GetUpdateMaskOk() (*string, bool)

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

func (UpdateRecordRequest) MarshalJSON

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

func (*UpdateRecordRequest) SetKey

func (o *UpdateRecordRequest) SetKey(v RecordKey)

SetKey sets field value

func (*UpdateRecordRequest) SetRecord

func (o *UpdateRecordRequest) SetRecord(v map[string]map[string]interface{})

SetRecord sets field value

func (*UpdateRecordRequest) SetUpdateMask

func (o *UpdateRecordRequest) SetUpdateMask(v string)

SetUpdateMask sets field value

type UpsertRecordRequest

type UpsertRecordRequest struct {
	Pipeline *UpsertRecordRequestPipeline `json:"pipeline,omitempty"`
	// An object made up of field-value pairs that contains the record data.
	Record map[string]interface{} `json:"record"`
	// The initial values for the variables the pipeline operates on and transforms throughout its steps.
	Variables *map[string]map[string]interface{} `json:"variables,omitempty"`
}

UpsertRecordRequest struct for UpsertRecordRequest

func NewUpsertRecordRequest

func NewUpsertRecordRequest(record map[string]interface{}) *UpsertRecordRequest

NewUpsertRecordRequest instantiates a new UpsertRecordRequest 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 NewUpsertRecordRequestWithDefaults

func NewUpsertRecordRequestWithDefaults() *UpsertRecordRequest

NewUpsertRecordRequestWithDefaults instantiates a new UpsertRecordRequest 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 (*UpsertRecordRequest) GetPipeline

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*UpsertRecordRequest) GetPipelineOk

func (o *UpsertRecordRequest) GetPipelineOk() (*UpsertRecordRequestPipeline, bool)

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

func (*UpsertRecordRequest) GetRecord

func (o *UpsertRecordRequest) GetRecord() map[string]interface{}

GetRecord returns the Record field value

func (*UpsertRecordRequest) GetRecordOk

func (o *UpsertRecordRequest) GetRecordOk() (*map[string]interface{}, bool)

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

func (*UpsertRecordRequest) GetVariables

func (o *UpsertRecordRequest) GetVariables() map[string]map[string]interface{}

GetVariables returns the Variables field value if set, zero value otherwise.

func (*UpsertRecordRequest) GetVariablesOk

func (o *UpsertRecordRequest) GetVariablesOk() (*map[string]map[string]interface{}, bool)

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

func (*UpsertRecordRequest) HasPipeline

func (o *UpsertRecordRequest) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (*UpsertRecordRequest) HasVariables

func (o *UpsertRecordRequest) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (UpsertRecordRequest) MarshalJSON

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

func (*UpsertRecordRequest) SetPipeline

SetPipeline gets a reference to the given UpsertRecordRequestPipeline and assigns it to the Pipeline field.

func (*UpsertRecordRequest) SetRecord

func (o *UpsertRecordRequest) SetRecord(v map[string]interface{})

SetRecord sets field value

func (*UpsertRecordRequest) SetVariables

func (o *UpsertRecordRequest) SetVariables(v map[string]map[string]interface{})

SetVariables gets a reference to the given map[string]map[string]interface{} and assigns it to the Variables field.

type UpsertRecordRequestPipeline

type UpsertRecordRequestPipeline struct {
	// The record pipeline's name, e.g. `my-pipeline`.
	Name string `json:"name"`
	// The record pipeline's version, e.g. `42`.  If not provided the default version is used.
	Version *string `json:"version,omitempty"`
}

UpsertRecordRequestPipeline The pipeline to use when upserting the record. If not provided the default record pipeline is used.

func NewUpsertRecordRequestPipeline

func NewUpsertRecordRequestPipeline(name string) *UpsertRecordRequestPipeline

NewUpsertRecordRequestPipeline instantiates a new UpsertRecordRequestPipeline 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 NewUpsertRecordRequestPipelineWithDefaults

func NewUpsertRecordRequestPipelineWithDefaults() *UpsertRecordRequestPipeline

NewUpsertRecordRequestPipelineWithDefaults instantiates a new UpsertRecordRequestPipeline 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 (*UpsertRecordRequestPipeline) GetName

func (o *UpsertRecordRequestPipeline) GetName() string

GetName returns the Name field value

func (*UpsertRecordRequestPipeline) GetNameOk

func (o *UpsertRecordRequestPipeline) GetNameOk() (*string, bool)

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

func (*UpsertRecordRequestPipeline) GetVersion

func (o *UpsertRecordRequestPipeline) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UpsertRecordRequestPipeline) GetVersionOk

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

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

func (*UpsertRecordRequestPipeline) HasVersion

func (o *UpsertRecordRequestPipeline) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (UpsertRecordRequestPipeline) MarshalJSON

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

func (*UpsertRecordRequestPipeline) SetName

func (o *UpsertRecordRequestPipeline) SetName(v string)

SetName sets field value

func (*UpsertRecordRequestPipeline) SetVersion

func (o *UpsertRecordRequestPipeline) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

type UpsertRecordResponse

type UpsertRecordResponse struct {
	Key *RecordKey `json:"key,omitempty"`
	// The modified variables returned by the pipeline after it has finished processing.
	Variables *map[string]map[string]interface{} `json:"variables,omitempty"`
}

UpsertRecordResponse struct for UpsertRecordResponse

func NewUpsertRecordResponse

func NewUpsertRecordResponse() *UpsertRecordResponse

NewUpsertRecordResponse instantiates a new UpsertRecordResponse 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 NewUpsertRecordResponseWithDefaults

func NewUpsertRecordResponseWithDefaults() *UpsertRecordResponse

NewUpsertRecordResponseWithDefaults instantiates a new UpsertRecordResponse 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 (*UpsertRecordResponse) GetKey

func (o *UpsertRecordResponse) GetKey() RecordKey

GetKey returns the Key field value if set, zero value otherwise.

func (*UpsertRecordResponse) GetKeyOk

func (o *UpsertRecordResponse) GetKeyOk() (*RecordKey, bool)

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

func (*UpsertRecordResponse) GetVariables

func (o *UpsertRecordResponse) GetVariables() map[string]map[string]interface{}

GetVariables returns the Variables field value if set, zero value otherwise.

func (*UpsertRecordResponse) GetVariablesOk

func (o *UpsertRecordResponse) GetVariablesOk() (*map[string]map[string]interface{}, bool)

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

func (*UpsertRecordResponse) HasKey

func (o *UpsertRecordResponse) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*UpsertRecordResponse) HasVariables

func (o *UpsertRecordResponse) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (UpsertRecordResponse) MarshalJSON

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

func (*UpsertRecordResponse) SetKey

func (o *UpsertRecordResponse) SetKey(v RecordKey)

SetKey gets a reference to the given RecordKey and assigns it to the Key field.

func (*UpsertRecordResponse) SetVariables

func (o *UpsertRecordResponse) SetVariables(v map[string]map[string]interface{})

SetVariables gets a reference to the given map[string]map[string]interface{} and assigns it to the Variables field.

Source Files

Jump to

Keyboard shortcuts

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