Constructor
protected
new AccountPolicyModel()
AccountPolicyModel Constructor
Source
Members
companyIdstring
The Company this Policy belongs to
Type
-
string
Source
deletedboolean
Whether the Account Policy has been deleted
Type
-
boolean
Source
idstring
The Account Policy ID
Type
-
string
Source
namestring
The Policy Name
Type
-
string
Source
resourcesArray.<{id: any, type: string, actions: Array.<string>, permission: string}>
The Resources this Policy provides
Type
-
Array.<{id: any, type: string, actions: Array.<string>, permission: string}>
Source
rulesArray.<Object>
The Rules this Policy provides
Type
-
Array.<Object>
Source
updateTimestampDate
When the Account Policy was last updated
Type
-
Date
Source
Methods
static
fromJSON(json) → {AccountPolicyModel}
Create a new AccountPolicyModel from a JSON Object or JSON String
Parameters
-
json
Object.<string, any>
|string
A JSON Object or JSON String
Returns
-
AccountPolicyModel