mirror of
https://github.com/gosticks/open-project-flutter-api.git
synced 2025-10-16 11:55:34 +00:00
76 lines
2.1 KiB
Dart
76 lines
2.1 KiB
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.12
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
import 'package:openapi/api.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
/// tests for GridsApi
|
|
void main() {
|
|
// final instance = GridsApi();
|
|
|
|
group('tests for GridsApi', () {
|
|
// Create a grid
|
|
//
|
|
// Creates a new grid applying the attributes provided in the body. The constraints applied to the grid depend on the page the grid is placed in which is why the create form end point should be used to be guided when wanting to create a grid.
|
|
//
|
|
//Future<GridReadModel> createGrid({ GridWriteModel gridWriteModel }) async
|
|
test('test createGrid', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get a grid
|
|
//
|
|
// Fetches a single grid identified by its id.
|
|
//
|
|
//Future<GridReadModel> getGrid(int id) async
|
|
test('test getGrid', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Grid Create Form
|
|
//
|
|
//
|
|
//
|
|
//Future gridCreateForm() async
|
|
test('test gridCreateForm', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Grid Update Form
|
|
//
|
|
//
|
|
//
|
|
//Future<Object> gridUpdateForm(int id) async
|
|
test('test gridUpdateForm', () async {
|
|
// TODO
|
|
});
|
|
|
|
// List grids
|
|
//
|
|
// Lists all grids matching the provided filters and being part of the selected query page. The grids returned will also depend on the permissions of the requesting user.
|
|
//
|
|
//Future<GridCollectionModel> listGrids({ int offset, int pageSize, String filters }) async
|
|
test('test listGrids', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update a grid
|
|
//
|
|
// Updates the given grid by applying the attributes provided in the body. The constraints applied to the grid depend on the page the grid is placed in which is why the create form end point should be used to be guided when wanting to update a grid.
|
|
//
|
|
//Future<GridReadModel> updateGrid(int id, { GridWriteModel gridWriteModel }) async
|
|
test('test updateGrid', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|