useApi added to models

This commit is contained in:
Kyle Spearrin 2019-03-02 00:04:33 -05:00
parent 48164a31d9
commit 5535eb1002
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export class OrganizationResponse extends BaseResponse {
useEvents: boolean; useEvents: boolean;
useTotp: boolean; useTotp: boolean;
use2fa: boolean; use2fa: boolean;
useApi: boolean;
constructor(response: any) { constructor(response: any) {
super(response); super(response);
@ -44,5 +45,6 @@ export class OrganizationResponse extends BaseResponse {
this.useEvents = this.getResponseProperty('UseEvents'); this.useEvents = this.getResponseProperty('UseEvents');
this.useTotp = this.getResponseProperty('UseTotp'); this.useTotp = this.getResponseProperty('UseTotp');
this.use2fa = this.getResponseProperty('Use2fa'); this.use2fa = this.getResponseProperty('Use2fa');
this.useApi = this.getResponseProperty('UseApi');
} }
} }

View File

@ -11,6 +11,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
useEvents: boolean; useEvents: boolean;
useTotp: boolean; useTotp: boolean;
use2fa: boolean; use2fa: boolean;
useApi: boolean;
selfHost: boolean; selfHost: boolean;
usersGetPremium: boolean; usersGetPremium: boolean;
seats: number; seats: number;
@ -30,6 +31,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
this.useEvents = this.getResponseProperty('UseEvents'); this.useEvents = this.getResponseProperty('UseEvents');
this.useTotp = this.getResponseProperty('UseTotp'); this.useTotp = this.getResponseProperty('UseTotp');
this.use2fa = this.getResponseProperty('Use2fa'); this.use2fa = this.getResponseProperty('Use2fa');
this.useApi = this.getResponseProperty('UseApi');
this.selfHost = this.getResponseProperty('SelfHost'); this.selfHost = this.getResponseProperty('SelfHost');
this.usersGetPremium = this.getResponseProperty('UsersGetPremium'); this.usersGetPremium = this.getResponseProperty('UsersGetPremium');
this.seats = this.getResponseProperty('Seats'); this.seats = this.getResponseProperty('Seats');