mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 19:53:59 +00:00
* Move send in libs/common * Move send in libs/angular * Move send in browser * Move send in cli * Move send in desktop * Move send in web
20 lines
507 B
TypeScript
20 lines
507 B
TypeScript
import { BaseResponse } from "../../../../models/response/base.response";
|
|
|
|
export class SendFileApi extends BaseResponse {
|
|
id: string;
|
|
fileName: string;
|
|
size: string;
|
|
sizeName: string;
|
|
|
|
constructor(data: any = null) {
|
|
super(data);
|
|
if (data == null) {
|
|
return;
|
|
}
|
|
this.id = this.getResponseProperty("Id");
|
|
this.fileName = this.getResponseProperty("FileName");
|
|
this.size = this.getResponseProperty("Size");
|
|
this.sizeName = this.getResponseProperty("SizeName");
|
|
}
|
|
}
|