-
Notifications
You must be signed in to change notification settings - Fork 10
/
AnalyticsInsightsOrganizationSettings.ts
56 lines (48 loc) · 1.32 KB
/
AnalyticsInsightsOrganizationSettings.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import {map, mapArray} from '../common/Mapper';
/**
* @export
* @class AnalyticsInsightsOrganizationSettings
*/
export class AnalyticsInsightsOrganizationSettings {
/**
* Organization ID
* @type {string}
* @memberof AnalyticsInsightsOrganizationSettings
*/
public orgId?: string;
/**
* Whether the organization's data is included in the industry insights
* @type {boolean}
* @memberof AnalyticsInsightsOrganizationSettings
*/
public includeInInsights?: boolean;
/**
* Industry of the organization
* @type {string}
* @memberof AnalyticsInsightsOrganizationSettings
*/
public industry?: string;
/**
* Subindustry of the organization
* @type {string}
* @memberof AnalyticsInsightsOrganizationSettings
*/
public subIndustry?: string;
/**
* Whether the organization is on an analytics trial plan
* @type {boolean}
* @memberof AnalyticsInsightsOrganizationSettings
*/
public isTrial?: boolean;
constructor(obj?: Partial<AnalyticsInsightsOrganizationSettings>) {
if(!obj) {
return;
}
this.orgId = map(obj.orgId);
this.includeInInsights = map(obj.includeInInsights);
this.industry = map(obj.industry);
this.subIndustry = map(obj.subIndustry);
this.isTrial = map(obj.isTrial);
}
}
export default AnalyticsInsightsOrganizationSettings;