model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkRequest

type BulkRequest struct {
	Get []string   `json:"get"`
	Set []Variable `json:"set"`
}

type BulkResponse

type BulkResponse = []VariableWithUnixTimestamp

type Count

type Count struct {
	Count int64 `json:"count"`
}

type Variable

type Variable struct {
	Key                 string      `json:"key"`
	Value               interface{} `json:"value"`
	ProcessDefinitionId string      `json:"process_definition_id,omitempty"`
	ProcessInstanceId   string      `json:"process_instance_id,omitempty"`
}

type VariableWithUnixTimestamp

type VariableWithUnixTimestamp struct {
	Variable
	UnixTimestampInS int64 `json:"unix_timestamp_in_s"`
}

type VariableWithUser

type VariableWithUser struct {
	VariableWithUnixTimestamp
	UserId string `json:"user_id"`
}

type VariablesQueryOptions

type VariablesQueryOptions struct {
	Limit               int
	Offset              int
	Sort                string
	KeyRegex            string
	ProcessDefinitionId string
	ProcessInstanceId   string
}

func (VariablesQueryOptions) Encode

func (this VariablesQueryOptions) Encode() string

func (VariablesQueryOptions) GetLimit

func (this VariablesQueryOptions) GetLimit() int64

func (VariablesQueryOptions) GetOffset

func (this VariablesQueryOptions) GetOffset() int64

func (VariablesQueryOptions) GetSort

func (this VariablesQueryOptions) GetSort() string

Jump to

Keyboard shortcuts

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