Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
useApi added to models
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Mar 2, 2019
1 parent 48164a3 commit 5535eb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/response/organizationResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class OrganizationResponse extends BaseResponse {
useEvents: boolean;
useTotp: boolean;
use2fa: boolean;
useApi: boolean;

constructor(response: any) {
super(response);
Expand All @@ -44,5 +45,6 @@ export class OrganizationResponse extends BaseResponse {
this.useEvents = this.getResponseProperty('UseEvents');
this.useTotp = this.getResponseProperty('UseTotp');
this.use2fa = this.getResponseProperty('Use2fa');
this.useApi = this.getResponseProperty('UseApi');
}
}
2 changes: 2 additions & 0 deletions src/models/response/profileOrganizationResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
useEvents: boolean;
useTotp: boolean;
use2fa: boolean;
useApi: boolean;
selfHost: boolean;
usersGetPremium: boolean;
seats: number;
Expand All @@ -30,6 +31,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
this.useEvents = this.getResponseProperty('UseEvents');
this.useTotp = this.getResponseProperty('UseTotp');
this.use2fa = this.getResponseProperty('Use2fa');
this.useApi = this.getResponseProperty('UseApi');
this.selfHost = this.getResponseProperty('SelfHost');
this.usersGetPremium = this.getResponseProperty('UsersGetPremium');
this.seats = this.getResponseProperty('Seats');
Expand Down

0 comments on commit 5535eb1

Please sign in to comment.