mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[SM-288] Rename requests and responses to follow naming convention (#3806)
This commit is contained in:
12
libs/common/src/models/response/api-key.response.ts
Normal file
12
libs/common/src/models/response/api-key.response.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user