utils.rcclient.dtos.request_dtos.segment

Module Contents

Classes

ExpressionFactory

Field

Value

RecipeField

SimpleExpressionDto

This Dto is a combination of GloabalRef, Always and DataLabel expression

ItemExpressionDto

RecipeExpressionDto

GroupExpressionDto

ConditionDto

SegmentDto

class utils.rcclient.dtos.request_dtos.segment.ExpressionFactory
property expr_type_map
get_expr(expr_type)
class utils.rcclient.dtos.request_dtos.segment.Field
name: str
ref: str | None
type: str = 'field'
class utils.rcclient.dtos.request_dtos.segment.Value
value: str
dataType: utils.rcclient.enums.segment_enums.DataType | None
type: str = 'lit'
class utils.rcclient.dtos.request_dtos.segment.RecipeField
name: str
type: str = 'field'
class utils.rcclient.dtos.request_dtos.segment.SimpleExpressionDto

This Dto is a combination of GloabalRef, Always and DataLabel expression

type: utils.rcclient.enums.ExpressionType
name: str | None
dataLabels: List[str] | None
classmethod from_(expr) ItemExpressionDto
class utils.rcclient.dtos.request_dtos.segment.ItemExpressionDto
operator: utils.rcclient.enums.segment_enums.Operator
field: Field
value: Value
type: utils.rcclient.enums.ExpressionType
classmethod from_(expr) ItemExpressionDto
class utils.rcclient.dtos.request_dtos.segment.RecipeExpressionDto
operator: utils.rcclient.enums.segment_enums.Operator
field: Value
value: Value
type: utils.rcclient.enums.ExpressionType
classmethod from_(expr) ItemExpressionDto
class utils.rcclient.dtos.request_dtos.segment.GroupExpressionDto
groupType: utils.rcclient.enums.segment_enums.GroupType
groupElements: List[ItemExpressionDto | GroupExpressionDto | SimpleExpressionDto]
type: utils.rcclient.enums.ExpressionType
expr_factory: ClassVar[ExpressionFactory]
classmethod from_(expr) GroupExpressionDto
class utils.rcclient.dtos.request_dtos.segment.ConditionDto
expression: ItemExpressionDto | GroupExpressionDto | SimpleExpressionDto
expr_factory: ClassVar[ExpressionFactory]
classmethod from_(condition)
class utils.rcclient.dtos.request_dtos.segment.SegmentDto
id: str
name: str
description: str
rowLimit: int | None
entityId: str
condition: ConditionDto
classmethod from_(segment) SegmentDto