1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-17 16:53:13 +00:00
Files
cli/src/models/response/attachmentResponse.ts
Kyle Spearrin 0747744fbb small fixes
2019-04-19 17:41:15 -04:00

18 lines
393 B
TypeScript

import { AttachmentView } from 'jslib/models/view/attachmentView';
export class AttachmentResponse {
id: string;
fileName: string;
size: string;
sizeName: string;
url: string;
constructor(o: AttachmentView) {
this.id = o.id;
this.fileName = o.fileName;
this.size = o.size;
this.sizeName = o.sizeName;
this.url = o.url;
}
}