Add policy property to TakeoverResponse (#260)
This commit is contained in:
parent
2730e04a05
commit
58e6f24d5f
|
@ -1,8 +1,10 @@
|
||||||
import { EmergencyAccessStatusType } from '../../enums/emergencyAccessStatusType';
|
import { EmergencyAccessStatusType } from '../../enums/emergencyAccessStatusType';
|
||||||
import { EmergencyAccessType } from '../../enums/emergencyAccessType';
|
import { EmergencyAccessType } from '../../enums/emergencyAccessType';
|
||||||
import { KdfType } from '../../enums/kdfType';
|
import { KdfType } from '../../enums/kdfType';
|
||||||
|
|
||||||
import { BaseResponse } from './baseResponse';
|
import { BaseResponse } from './baseResponse';
|
||||||
import { CipherResponse } from './cipherResponse';
|
import { CipherResponse } from './cipherResponse';
|
||||||
|
import { PolicyResponse } from './policyResponse';
|
||||||
|
|
||||||
export class EmergencyAccessGranteeDetailsResponse extends BaseResponse {
|
export class EmergencyAccessGranteeDetailsResponse extends BaseResponse {
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -54,6 +56,7 @@ export class EmergencyAccessTakeoverResponse extends BaseResponse {
|
||||||
keyEncrypted: string;
|
keyEncrypted: string;
|
||||||
kdf: KdfType;
|
kdf: KdfType;
|
||||||
kdfIterations: number;
|
kdfIterations: number;
|
||||||
|
policy: PolicyResponse[];
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
super(response);
|
super(response);
|
||||||
|
@ -61,6 +64,7 @@ export class EmergencyAccessTakeoverResponse extends BaseResponse {
|
||||||
this.keyEncrypted = this.getResponseProperty('KeyEncrypted');
|
this.keyEncrypted = this.getResponseProperty('KeyEncrypted');
|
||||||
this.kdf = this.getResponseProperty('Kdf');
|
this.kdf = this.getResponseProperty('Kdf');
|
||||||
this.kdfIterations = this.getResponseProperty('KdfIterations');
|
this.kdfIterations = this.getResponseProperty('KdfIterations');
|
||||||
|
this.policy = this.getResponseProperty('policy');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue