tb_ce_client.models.Argument
| Name | Type | Description | Notes |
|---|---|---|---|
| ref_entity_id | EntityId | [optional] | |
| ref_dynamic_source_configuration | CfArgumentDynamicSourceConfiguration | [optional] | |
| ref_entity_key | ReferencedEntityKey | [optional] | |
| default_value | str | [optional] | |
| limit | int | [optional] | |
| time_window | int | [optional] |
EntityId types (
AdminSettingsId,AiModelId,AlarmId,ApiKeyId,ApiUsageStateId,AssetId,AssetProfileId,CalculatedFieldId,CustomerId,DashboardId,DeviceId,DeviceProfileId,DomainId,EdgeId,EntityViewId,JobId,MobileAppBundleId,MobileAppId,NotificationId,NotificationRequestId,NotificationRuleId,NotificationTargetId,NotificationTemplateId,OAuth2ClientId,OtaPackageId,QueueId,QueueStatsId,RpcId,RuleChainId,RuleNodeId,TbResourceId,TenantId,TenantProfileId,UserId,WidgetTypeId,WidgetsBundleId, etc.):{entity_type: EntityType, id: UUID}— all EntityId subtypes share this structure.
| Name | Type | Description | Notes |
|---|---|---|---|
| type | str |
CurrentOwnerDynamicSourceConfiguration (extends CfArgumentDynamicSourceConfiguration, type=CURRENT_OWNER)
See CfArgumentDynamicSourceConfiguration for properties.
RelationPathQueryDynamicSourceConfiguration (extends CfArgumentDynamicSourceConfiguration, type=RELATION_PATH_QUERY)
| Name | Type | Description | Notes |
|---|---|---|---|
| levels | List[RelationPathLevel] | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| key | str | [optional] | |
| type | ArgumentType | [optional] | |
| scope | AttributeScope | [optional] |
TENANT | CUSTOMER | USER | DASHBOARD | ASSET | DEVICE | ALARM | RULE_CHAIN | RULE_NODE | ENTITY_VIEW | … (36 values total)
TS_LATEST | ATTRIBUTE | TS_ROLLING
CLIENT_SCOPE | SERVER_SCOPE | SHARED_SCOPE
| Name | Type | Description | Notes |
|---|---|---|---|
| direction | EntitySearchDirection | ||
| relation_type | str |
FROM | TO
- Package:
tb_ce_client.models - Attribute access:
obj.ref_entity_id,obj.name, etc. - Serialize:
obj.model_dump()orobj.model_dump(by_alias=True)for camelCase JSON - Deserialize:
Argument.model_validate(data)orArgument.model_validate_json(json_str) - None fields: Optional attributes default to
None; accessing them never raises exceptions