discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

AdminControllerApi class

Constructors

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

autoCommitSettingsExists({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<bool>>
Check auto commit settings exists (autoCommitSettingsExists) Check whether the auto commit settings exists. Available for users with 'TENANT_ADMIN' authority.
checkRepositoryAccess({required RepositorySettings repositorySettings, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Check repository access (checkRepositoryAccess) Attempts to check repository access. Available for users with 'TENANT_ADMIN' authority.
checkUpdates({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<UpdateMessage>>
Check for new Platform Releases (checkUpdates) Check notifications about new platform releases. Available for users with 'SYS_ADMIN' authority.
deleteAutoCommitSettings({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Delete auto commit settings (deleteAutoCommitSettings) Deletes the auto commit settings. Available for users with 'TENANT_ADMIN' authority.
deleteRepositorySettings({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Delete repository settings (deleteRepositorySettings) Deletes the repository settings. Available for users with 'TENANT_ADMIN' authority.
getAdminSettings({required String key, bool? systemByDefault = false, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<AdminSettings>>
Get the Administration Settings object using key (getAdminSettings) Get the Administration Settings object using specified string key. Referencing non-existing key will cause an error. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the 'ADMIN_SETTINGS' (for 'SYS_ADMIN' authority) or 'WHITE_LABELING' (for 'TENANT_ADMIN' authority) resource.
getAutoCommitSettings({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<BuiltMap<String, AutoVersionCreateConfig>>>
Get auto commit settings (getAutoCommitSettings) Get the auto commit settings object. Available for users with 'TENANT_ADMIN' authority.
getFeaturesInfo({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<FeaturesInfo>>
Get features info (getFeaturesInfo) Get information about enabled/disabled features. Available for users with 'SYS_ADMIN' authority.
getJwtSettings({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<JwtSettings>>
Get the JWT Settings object (getJwtSettings) Get the JWT Settings object that contains JWT token policy, etc. Available for users with 'SYS_ADMIN' authority.
getLicenseUsageInfo({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<LicenseUsageInfo>>
Get license usage info (getLicenseUsageInfo) Get license usage info. Available for users with 'SYS_ADMIN' authority.
getMailOAuth2AuthorizationUrl({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<String>>
Redirect user to mail provider login page. After user logged in and provided accessprovider sends authorization code to specified redirect uri.)
getMailProcessingUrl({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<String>>
Get OAuth2 log in processing URL (getMailProcessingUrl) Returns the URL enclosed in double quotes. After successful authentication with OAuth2 provider and user consent for requested scope, it makes a redirect to this path so that the platform can do further log in processing and generating access tokens. Available for users with 'SYS_ADMIN' authority.
getRepositorySettings({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<RepositorySettings>>
Get repository settings (getRepositorySettings) Get the repository settings object. Available for users with 'TENANT_ADMIN' authority.
getRepositorySettingsInfo({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<RepositorySettingsInfo>>
getRepositorySettingsInfo
getSecuritySettings({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<SecuritySettings>>
Get the Security Settings object (getSecuritySettings) Get the Security Settings object that contains password policy, etc. Available for users with 'SYS_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the 'ADMIN_SETTINGS' (for 'SYS_ADMIN' authority) or 'WHITE_LABELING' (for 'TENANT_ADMIN' authority) resource.
getSubscriptionInfo({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<SubscriptionInfo>>
Get subscription info (getSubscriptionInfo) Get subscription info. Available for users with 'SYS_ADMIN' authority.
getSystemInfo({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<SystemInfo>>
Get system info (getSystemInfo) Get main information about system. Available for users with 'SYS_ADMIN' authority.
handleMailOAuth2Callback({required String code, required String state, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
handleMailOAuth2Callback
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshLicense({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<SubscriptionInfo>>
Refresh license (refreshLicense) Refresh license info. Available for users with 'SYS_ADMIN' authority.
repositorySettingsExists({CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<bool>>
Check repository settings exists (repositorySettingsExists) Check whether the repository settings exists. Available for users with 'TENANT_ADMIN' authority.
saveAdminSettings({required AdminSettings adminSettings, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<AdminSettings>>
Creates or Updates the Administration Settings (saveAdminSettings) Creates or Updates the Administration Settings. Platform generates random Administration Settings Id during settings creation. The Administration Settings Id will be present in the response. Specify the Administration Settings Id when you would like to update the Administration Settings. Referencing non-existing Administration Settings Id will cause an error. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'WRITE' permission for the 'ADMIN_SETTINGS' (for 'SYS_ADMIN' authority) or 'WHITE_LABELING' (for 'TENANT_ADMIN' authority) resource.
saveAutoCommitSettings({required BuiltMap<String, AutoVersionCreateConfig> requestBody, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<BuiltMap<String, AutoVersionCreateConfig>>>
Creates or Updates the auto commit settings (saveAutoCommitSettings) Creates or Updates the auto commit settings object. Available for users with 'TENANT_ADMIN' authority.
saveJwtSettings({required JwtSettings jwtSettings, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<JwtPair>>
Update JWT Settings (saveJwtSettings) Updates the JWT Settings object that contains JWT token policy, etc. The tokenSigningKey field is a Base64 encoded string. Available for users with 'SYS_ADMIN' authority.
saveRepositorySettings({required RepositorySettings repositorySettings, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<RepositorySettings>>
Creates or Updates the repository settings (saveRepositorySettings) Creates or Updates the repository settings object. Available for users with 'TENANT_ADMIN' authority.
saveSecuritySettings({required SecuritySettings securitySettings, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<SecuritySettings>>
Update Security Settings (saveSecuritySettings) Updates the Security Settings object that contains password policy, etc. Available for users with 'SYS_ADMIN' authority. Security check is performed to verify that the user has 'WRITE' permission for the 'ADMIN_SETTINGS' (for 'SYS_ADMIN' authority) or 'WHITE_LABELING' (for 'TENANT_ADMIN' authority) resource.
sendTestMail({required AdminSettings adminSettings, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Send test email (sendTestMail) Attempts to send test email using Mail Settings provided as a parameter. Email is sent to the address specified in the profile of user who is performing the requestYou may change the 'To' email in the user profile of the System/Tenant Administrator. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the 'ADMIN_SETTINGS' (for 'SYS_ADMIN' authority) or 'WHITE_LABELING' (for 'TENANT_ADMIN' authority) resource.
sendTestSms({required TestSmsRequest testSmsRequest, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Send test sms (sendTestSms) Attempts to send test sms to the System Administrator User using SMS Settings and phone number provided as a parameters of the request. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the 'ADMIN_SETTINGS' (for 'SYS_ADMIN' authority) or 'WHITE_LABELING' (for 'TENANT_ADMIN' authority) resource.
toString() → String
A string representation of this object.
inherited

Operators

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