Add usesKeyConnector to OrganizationUserUserDetailsResponse (#559)

This commit is contained in:
Oscar Hinton 2021-11-19 15:04:32 +01:00 committed by GitHub
parent 8b01eea446
commit a3e00cdc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -32,12 +32,14 @@ export class OrganizationUserUserDetailsResponse extends OrganizationUserRespons
name: string; name: string;
email: string; email: string;
twoFactorEnabled: boolean; twoFactorEnabled: boolean;
usesKeyConnector: boolean;
constructor(response: any) { constructor(response: any) {
super(response); super(response);
this.name = this.getResponseProperty('Name'); this.name = this.getResponseProperty('Name');
this.email = this.getResponseProperty('Email'); this.email = this.getResponseProperty('Email');
this.twoFactorEnabled = this.getResponseProperty('TwoFactorEnabled'); this.twoFactorEnabled = this.getResponseProperty('TwoFactorEnabled');
this.usesKeyConnector = this.getResponseProperty('UsesKeyConnector') ?? false;
} }
} }