-
Notifications
You must be signed in to change notification settings - Fork 10
/
AnalyticsAzureOutput.ts
51 lines (44 loc) · 1.2 KB
/
AnalyticsAzureOutput.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
import {map, mapArray} from '../common/Mapper';
import AclEntry from './AclEntry';
import AnalyticsOutput from './AnalyticsOutput';
import AnalyticsOutputType from './AnalyticsOutputType';
/**
* @export
* @class AnalyticsAzureOutput
*/
export class AnalyticsAzureOutput extends AnalyticsOutput {
/**
* Discriminator property for AnalyticsOutput
* @type {string}
* @memberof AnalyticsAzureOutput
*/
public readonly type: AnalyticsOutputType = AnalyticsOutputType.AZURE;
/**
* Azure Account Name (required)
* @type {string}
* @memberof AnalyticsAzureOutput
*/
public accountName?: string;
/**
* Microsoft Azure Account Access Key with the `Contributor Role` (required)
* @type {string}
* @memberof AnalyticsAzureOutput
*/
public accountKey?: string;
/**
* Microsoft Azure container name (required)
* @type {string}
* @memberof AnalyticsAzureOutput
*/
public container?: string;
constructor(obj?: Partial<AnalyticsAzureOutput>) {
super(obj);
if(!obj) {
return;
}
this.accountName = map(obj.accountName);
this.accountKey = map(obj.accountKey);
this.container = map(obj.container);
}
}
export default AnalyticsAzureOutput;