discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

QueueControllerApi class

Constructors

QueueControllerApi(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

deleteQueue({required String queueId, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Delete Queue (deleteQueue) Deletes the Queue. Available for users with 'SYS_ADMIN' authority.
getQueueById({required String queueId, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<Queue>>
Get Queue (getQueueById) Fetch the Queue object based on the provided Queue Id. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
getQueueByName({required String queueName, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<Queue>>
Get Queue (getQueueByName) Fetch the Queue object based on the provided Queue name. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
getTenantQueuesByServiceType({required String serviceType, required int pageSize, required int page, String? textSearch, String? sortProperty, String? sortOrder, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<PageDataQueue>>
Get Queues (getTenantQueuesByServiceType) Returns a page of queues registered in the platform. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveQueue({required String serviceType, required Queue queue, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<Queue>>
Create Or Update Queue (saveQueue) Create or update the Queue. When creating queue, platform generates Queue Id as time-based UUID. Specify existing Queue id to update the queue. Referencing non-existing Queue Id will cause 'Not Found' error. Queue name is unique in the scope of sysadmin. Remove 'id', 'tenantId' from the request body example (below) to create new Queue entity. Available for users with 'SYS_ADMIN' authority.
toString() → String
A string representation of this object.
inherited

Operators

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