[client] Parse server respone on name and parent update

This commit is contained in:
Abhishek Shroff
2024-09-05 23:42:36 +05:30
parent 8d58eb7e6e
commit e5baba7c37
2 changed files with 6 additions and 0 deletions

View File

@@ -16,6 +16,9 @@ class ResourceMoveAction extends ApiAction<PhylumAccount> with JsonApiAction {
@override
String get endpoint => '/v1/resources/move/$id';
@override
get tag => 'resourceDetails';
final String id;
final String parent;
final String? oldParent;

View File

@@ -16,6 +16,9 @@ class ResourceRenameAction extends ApiAction<PhylumAccount> with JsonApiAction {
@override
String get endpoint => '/v1/resources/rename/$id';
@override
get tag => 'resourceDetails';
final String id;
final String newName;
final String oldName;