mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
13 lines
329 B
TypeScript
13 lines
329 B
TypeScript
import { BaseResponse } from "./base.response";
|
|
|
|
export class ApiKeyResponse extends BaseResponse {
|
|
apiKey: string;
|
|
revisionDate: Date;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.apiKey = this.getResponseProperty("ApiKey");
|
|
this.revisionDate = new Date(this.getResponseProperty("RevisionDate"));
|
|
}
|
|
}
|