|
| 1 | + |
| 2 | +# AgentAppEvent |
| 3 | + |
| 4 | +`org.thingsboard.client.model.AgentAppEvent` |
| 5 | + |
| 6 | +## Properties |
| 7 | + |
| 8 | +| Name | Type | Description | Notes | |
| 9 | +|------------ | ------------- | ------------- | -------------| |
| 10 | +| **id** | **AgentAppEventId** | JSON object with the Agent App Event Id. | [optional] | |
| 11 | +| **createdTime** | **Long** | Timestamp of the event creation, in milliseconds | [optional] [readonly] | |
| 12 | +| **tenantId** | **TenantId** | | [optional] | |
| 13 | +| **applicationId** | **AgentApplicationId** | | [optional] | |
| 14 | +| **agentId** | **AgentId** | | [optional] | |
| 15 | +| **applicationName** | **String** | | [optional] | |
| 16 | +| **actionType** | **AgentAppEventActionType** | | [optional] | |
| 17 | +| **startStatus** | **ProcessingStartStatus** | | [optional] | |
| 18 | +| **processingStatus** | **AgentProcessingStatus** | | [optional] | |
| 19 | +| **currentStepId** | **UUID** | | [optional] | |
| 20 | +| **currentActivity** | **String** | | [optional] | |
| 21 | +| **errorMessage** | **String** | | [optional] | |
| 22 | +| **updatedTime** | **Long** | | [optional] | |
| 23 | +| **stepStates** | **Map\<String, AgentAppEventStepStatesValue\>** | | [optional] | |
| 24 | +| **bulkActionId** | **UUID** | | [optional] | |
| 25 | +| **resolvedArguments** | **Map\<String, String\>** | | [optional] | |
| 26 | +| **winnerContainerId** | **String** | | [optional] | |
| 27 | +| **finalizeDeadlineTs** | **Long** | | [optional] | |
| 28 | +| **contextMetadata** | **Map\<String, String\>** | | [optional] | |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +## Referenced Types |
| 33 | + |
| 34 | +> **EntityId types** (`AdminSettingsId`, `AgentAppEventId`, `AgentAppProfileId`, `AgentAppUnitId`, `AgentApplicationId`, `AgentBulkActionId`, `AgentId`, `AgentProfileId`, `AiModelId`, `AlarmId`, `ApiKeyId`, `ApiUsageStateId`, `AssetId`, `AssetProfileId`, `BlobEntityId`, `CalculatedFieldId`, `ConverterId`, `CustomerId`, `DashboardId`, `DeviceId`, `DeviceProfileId`, `DomainId`, `EdgeId`, `EntityGroupId`, `EntityViewId`, `GroupPermissionId`, `IntegrationId`, `JobId`, `MobileAppBundleId`, `MobileAppId`, `NotificationId`, `NotificationRequestId`, `NotificationRuleId`, `NotificationTargetId`, `NotificationTemplateId`, `OAuth2ClientId`, `OtaPackageId`, `QueueId`, `QueueStatsId`, `ReportId`, `ReportTemplateId`, `RoleId`, `RpcId`, `RuleChainId`, `RuleNodeId`, `SchedulerEventId`, `SecretId`, `TbResourceId`, `TenantId`, `TenantProfileId`, `UserId`, `WidgetTypeId`, `WidgetsBundleId`, etc.): `{entityType: EntityType, id: UUID}` — all EntityId subtypes share this structure. |
| 35 | +
|
| 36 | +#### AgentAppEventActionType (enum) |
| 37 | +`INSTALL` | `UPDATE` | `DELETE` | `RESTART` | `ROLLBACK` | `UPGRADE` | `AGENT_UPGRADE` |
| 38 | + |
| 39 | +#### ProcessingStartStatus (enum) |
| 40 | +`DELIVERY_FAIL` | `PENDING` | `DELIVERED` |
| 41 | + |
| 42 | +#### AgentProcessingStatus (enum) |
| 43 | +`PENDING` | `QUEUED` | `PROCESSING` | `FINISHED` | `ERROR` | `START_FAILED` |
| 44 | + |
| 45 | +#### AgentAppEventStepStatesValue |
| 46 | +| Name | Type | Description | Notes | |
| 47 | +|------|------|-------------|-------| |
| 48 | +| type | AgentAppStepType | | [optional] | |
| 49 | +| backupVolumes | StepFieldListString | | [optional] | |
| 50 | +| serviceImageRegexPatterns | StepFieldListString | | [optional] | |
| 51 | +| removeVolumes | StepFieldBoolean | | [optional] | |
| 52 | +| pullImages | StepFieldBoolean | | [optional] | |
| 53 | +| failedEventId | StepFieldAgentAppEventId | | [optional] | |
| 54 | +| image | StepFieldString | | [optional] | |
| 55 | +| entrypoint | StepFieldListString | | [optional] | |
| 56 | +| cmd | StepFieldListString | | [optional] | |
| 57 | +| env | StepFieldListString | | [optional] | |
| 58 | +| binds | StepFieldListString | | [optional] | |
| 59 | +| networks | StepFieldListString | | [optional] | |
| 60 | +| retries | StepFieldInteger | | [optional] | |
| 61 | +| networkFromServiceImageRegexPattern | StepFieldString | | [optional] | |
| 62 | + |
| 63 | +#### AgentAppStepType (enum) |
| 64 | +`COMPOSE_TEMPLATE` | `COMPOSE` | `COMPOSE_START` | `COMPOSE_DOWN` | `ROLLBACK` | `BACKUP_VOLUME` | `BACKUP_VOLUME_REMOVE` | `COMPOSE_RESTART` | `RUN_JOB` | `AGENT_PREPARE` | … (11 values total) |
| 65 | + |
| 66 | +#### StepFieldListString |
| 67 | +| Name | Type | Description | Notes | |
| 68 | +|------|------|-------------|-------| |
| 69 | +| userChoice | Boolean | | [optional] | |
| 70 | +| value | List<String> | | [optional] | |
| 71 | + |
| 72 | +#### StepFieldBoolean |
| 73 | +| Name | Type | Description | Notes | |
| 74 | +|------|------|-------------|-------| |
| 75 | +| value | Boolean | | [optional] | |
| 76 | +| userChoice | Boolean | | [optional] | |
| 77 | + |
| 78 | +#### StepFieldAgentAppEventId |
| 79 | +| Name | Type | Description | Notes | |
| 80 | +|------|------|-------------|-------| |
| 81 | +| value | AgentAppEventId | | [optional] | |
| 82 | +| userChoice | Boolean | | [optional] | |
| 83 | + |
| 84 | +#### StepFieldString |
| 85 | +| Name | Type | Description | Notes | |
| 86 | +|------|------|-------------|-------| |
| 87 | +| value | String | | [optional] | |
| 88 | +| userChoice | Boolean | | [optional] | |
| 89 | + |
| 90 | +#### StepFieldInteger |
| 91 | +| Name | Type | Description | Notes | |
| 92 | +|------|------|-------------|-------| |
| 93 | +| value | Integer | | [optional] | |
| 94 | +| userChoice | Boolean | | [optional] | |
| 95 | + |
| 96 | +#### EntityType (enum) |
| 97 | +`TENANT` | `CUSTOMER` | `USER` | `DASHBOARD` | `ASSET` | `DEVICE` | `ALARM` | `ENTITY_GROUP` | `CONVERTER` | `INTEGRATION` | … (53 values total) |
| 98 | + |
| 99 | +--- |
| 100 | + |
| 101 | +### Conventions |
| 102 | + |
| 103 | +- **Package:** `org.thingsboard.client.model` |
| 104 | +- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()` |
| 105 | +- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)` |
| 106 | +- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions |
| 107 | + |
0 commit comments