discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

AgentAppTemplateControllerApi class

Constructors

AgentAppTemplateControllerApi(Dio _dio, [Serializers? _serializers])
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAgentAppTemplateByCurrentVersion({required AgentApplicationType appType, required AgentAppConfigType configType, required String currentVersion, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<AgentAppTemplate>>
Get Agent App Template by current version (getAgentAppTemplateByCurrentVersion) Fetch the Agent App Template object based on the provided app type, config type, and current version. Matches the version exactly, including a floating tag used as a version such as the gateway 'latest' tag. Available for users with 'TENANT_ADMIN' authority.
getAgentAppTemplates({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<BuiltList<AgentAppTemplate>>>
Get all Agent App Templates (getAgentAppTemplates) Returns a list of all agent app templates available for the current tenant. Available for users with 'TENANT_ADMIN' authority.
getAgentAppTemplatesByAppType({required AgentApplicationType appType, required AgentAppConfigType configType, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<BuiltList<AgentAppTemplate>>>
Get Agent App Templates by type (getAgentAppTemplatesByAppType) Returns a list of agent app templates filtered by application type and config type. Available for users with 'TENANT_ADMIN' authority.
getLatestAgentAppTemplateByAppTypeAndConfigType({required AgentApplicationType appType, required AgentAppConfigType configType, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<AgentAppTemplate>>
Get Agent App Template (getLatestAgentAppTemplateByType) Fetch the latest Agent App Template object for the given app type and config type. Available for users with 'TENANT_ADMIN' authority.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited