h_scm_flutter_client 1.0.0
h_scm_flutter_client: ^1.0.0 copied to clipboard
Flutter client for SST CM services
h_scm_flutter_client (EXPERIMENTAL) #
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
Requirements #
- Dart 2.15.0+ or Flutter 2.8.0+
- Dio 5.0.0+ (https://pub.dev/packages/dio)
Installation & Usage #
pub.dev #
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
h_scm_flutter_client: 1.0.0
Github #
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
h_scm_flutter_client:
git:
url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
#ref: main
Local development #
To use the package from your local drive, please include the following in pubspec.yaml
dependencies:
h_scm_flutter_client:
path: /path/to/h_scm_flutter_client
Getting Started #
Please follow the installation procedure and then run the following:
import 'package:h_scm_flutter_client/h_scm_flutter_client.dart';
final api = HScmFlutterClient().getAdminUserApi();
final int page = 56; // int | Page number (1-based).
final int pageSize = 56; // int | Page size (max 100).
final AdminUserStatus status = ; // AdminUserStatus | Filter by user status.
try {
final response = await api.listAdminUsers(page, pageSize, status);
print(response);
} catch on DioException (e) {
print("Exception when calling AdminUserApi->listAdminUsers: $e\n");
}
Documentation for API Endpoints #
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AdminUserApi | listAdminUsers | GET /v1/admin/users | List users for admin |
Documentation For Models #
- AdminUser
- AdminUserListResponse
- AdminUserStatus
- ErrorResponse
- PaginationMeta
Documentation For Authorization #
Endpoints do not require authorization.