mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[SM-288] Rename requests and responses to follow naming convention (#3806)
This commit is contained in:
14
libs/common/src/models/response/folder.response.ts
Normal file
14
libs/common/src/models/response/folder.response.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { BaseResponse } from "./base.response";
|
||||
|
||||
export class FolderResponse extends BaseResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
revisionDate: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
this.id = this.getResponseProperty("Id");
|
||||
this.name = this.getResponseProperty("Name");
|
||||
this.revisionDate = this.getResponseProperty("RevisionDate");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user