// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package datapipeline

type OperatorType string

// Enum values for OperatorType
const (
	OperatorTypeEq      OperatorType = "EQ"
	OperatorTypeRefEq   OperatorType = "REF_EQ"
	OperatorTypeLe      OperatorType = "LE"
	OperatorTypeGe      OperatorType = "GE"
	OperatorTypeBetween OperatorType = "BETWEEN"
)

func (enum OperatorType) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum OperatorType) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type TaskStatus string

// Enum values for TaskStatus
const (
	TaskStatusFinished TaskStatus = "FINISHED"
	TaskStatusFailed   TaskStatus = "FAILED"
	TaskStatusFalse    TaskStatus = "FALSE"
)

func (enum TaskStatus) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum TaskStatus) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}
