mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
cli response objects
This commit is contained in:
14
src/models/response/folderResponse.ts
Normal file
14
src/models/response/folderResponse.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { FolderView } from 'jslib/models/view/folderView';
|
||||
|
||||
import { BaseResponse } from './baseResponse';
|
||||
|
||||
export class FolderResponse extends BaseResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
constructor(o: FolderView) {
|
||||
super('folder');
|
||||
this.id = o.id;
|
||||
this.name = o.name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user