model

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

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

/engine-rest/process-instance/count?tenantIdIn="+url.QueryEscape(userId) /engine-rest/incident/count?processDefinitionId="+url.QueryEscape(definitionId)

type Deployment

type Deployment struct {
	Id             string      `json:"id"`
	Name           string      `json:"name"`
	Source         string      `json:"source"`
	DeploymentTime interface{} `json:"deploymentTime"`
	TenantId       string      `json:"tenantId"`
}

/engine-rest/deployment/"+url.QueryEscape(id) /engine-rest/deployment/"+url.QueryEscape(deploymentId) /engine-rest/deployment/" + id + "?cascade=true

func (*Deployment) GetDeploymentId

func (this *Deployment) GetDeploymentId() (id string)

func (*Deployment) SetDeploymentId

func (this *Deployment) SetDeploymentId(id string)

type Deployments

type Deployments = []Deployment

/engine-rest/deployment?tenantIdIn="+url.QueryEscape(userId)+"&"+params.Encode()

type ExtendedDeployment

type ExtendedDeployment struct {
	Deployment
	Diagram      string `json:"diagram"`
	DefinitionId string `json:"definition_id"`
	Error        string `json:"error"`
}

type HistoricProcessInstance

type HistoricProcessInstance struct {
	Id                       string  `json:"id"`
	SuperProcessInstanceId   string  `json:"superProcessInstanceId"`
	SuperCaseInstanceId      string  `json:"superCaseInstanceId"`
	CaseInstanceId           string  `json:"caseInstanceId"`
	ProcessDefinitionName    string  `json:"processDefinitionName"`
	ProcessDefinitionKey     string  `json:"processDefinitionKey"`
	ProcessDefinitionVersion float64 `json:"processDefinitionVersion"`
	ProcessDefinitionId      string  `json:"processDefinitionId"`
	BusinessKey              string  `json:"businessKey"`
	StartTime                string  `json:"startTime"`
	EndTime                  string  `json:"endTime"`
	DurationInMillis         float64 `json:"durationInMillis"`
	StartUserId              string  `json:"startUserId"`
	StartActivityId          string  `json:"startActivityId"`
	DeleteReason             string  `json:"deleteReason"`
	TenantId                 string  `json:"tenantId"`
	State                    string  `json:"state"`
}

/engine-rest/history/process-instance/"+url.QueryEscape(id)

type HistoricProcessInstances

type HistoricProcessInstances = []HistoricProcessInstance

/engine-rest/history/process-instance?processDefinitionId="+url.QueryEscape(id) /engine-rest/history/process-instance?processDefinitionId="+url.QueryEscape(id)+"&finished=true /engine-rest/history/process-instance?tenantIdIn="+url.QueryEscape(userId) /engine-rest/history/process-instance?tenantIdIn="+url.QueryEscape(userId)+"&finished=true

type HistoricProcessInstancesWithTotal

type HistoricProcessInstancesWithTotal = struct {
	Total int64                    `json:"total"`
	Data  HistoricProcessInstances `json:"data"`
}

type ProcessDefinition

type ProcessDefinition struct {
	Id                string `json:"id,omitempty"`
	Key               string `json:"key,omitempty"`
	Category          string `json:"category,omitempty"`
	Description       string `json:"description,omitempty"`
	Name              string `json:"name,omitempty"`
	Version           int    `json:"Version,omitempty"`
	Resource          string `json:"resource,omitempty"`
	DeploymentId      string `json:"deploymentId,omitempty"`
	Diagram           string `json:"diagram,omitempty"`
	Suspended         bool   `json:"suspended,omitempty"`
	TenantId          string `json:"tenantId,omitempty"`
	VersionTag        string `json:"versionTag,omitempty"`
	HistoryTimeToLive int    `json:"historyTimeToLive,omitempty"`
}

/engine-rest/process-definition/"+url.QueryEscape(id)

func (*ProcessDefinition) GetDeploymentId

func (this *ProcessDefinition) GetDeploymentId() (id string)

func (*ProcessDefinition) SetDeploymentId

func (this *ProcessDefinition) SetDeploymentId(id string)

type ProcessDefinitions

type ProcessDefinitions = []ProcessDefinition

/engine-rest/process-definition?deploymentId="+url.QueryEscape(id)

type ProcessInstance

type ProcessInstance struct {
	Id             string `json:"id,omitempty"`
	DefinitionId   string `json:"definitionId,omitempty"`
	BusinessKey    string `json:"businessKey,omitempty"`
	CaseInstanceId string `json:"caseInstanceId,omitempty"`
	Ended          bool   `json:"ended,omitempty"`
	Suspended      bool   `json:"suspended,omitempty"`
	TenantId       string `json:"tenantId,omitempty"`
}

/engine-rest/process-definition/"+url.QueryEscape(processDefinitionId)+"/start /engine-rest/process-instance/"+url.QueryEscape(id) /engine-rest/process-instance/"+url.QueryEscape(id)

type ProcessInstances

type ProcessInstances = []ProcessInstance

/engine-rest/process-instance?tenantIdIn="+url.QueryEscape(userId)

type Variable

type Variable struct {
	Value     interface{} `json:"value"`
	Type      string      `json:"type"`
	ValueInfo interface{} `json:"valueInfo"`
}

Jump to

Keyboard shortcuts

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