mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-10 21:03:56 +08:00
22 lines
553 B
TypeScript
22 lines
553 B
TypeScript
import { BaseResponse } from "../response/baseResponse";
|
|
|
|
export class SendFileApi extends BaseResponse {
|
|
id: string;
|
|
fileName: string;
|
|
key: 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.key = this.getResponseProperty("Key");
|
|
this.size = this.getResponseProperty("Size");
|
|
this.sizeName = this.getResponseProperty("SizeName");
|
|
}
|
|
}
|