1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-10 05:13:17 +00:00
Files
directory-connector/jslib/common/src/models/response/folderResponse.ts
2022-04-28 16:41:07 +02:00

15 lines
374 B
TypeScript

import { BaseResponse } from "./baseResponse";
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");
}
}