-
Notifications
You must be signed in to change notification settings - Fork 10
/
AkamaiNetStorageOutput.ts
51 lines (44 loc) · 1.12 KB
/
AkamaiNetStorageOutput.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 Output from './Output';
import OutputType from './OutputType';
/**
* @export
* @class AkamaiNetStorageOutput
*/
export class AkamaiNetStorageOutput extends Output {
/**
* Discriminator property for Output
* @type {string}
* @memberof AkamaiNetStorageOutput
*/
public readonly type: OutputType = OutputType.AKAMAI_NETSTORAGE;
/**
* Host to use for Akamai NetStorage transfers (required)
* @type {string}
* @memberof AkamaiNetStorageOutput
*/
public host?: string;
/**
* Your Akamai NetStorage Username (required)
* @type {string}
* @memberof AkamaiNetStorageOutput
*/
public username?: string;
/**
* Your Akamai NetStorage password (required)
* @type {string}
* @memberof AkamaiNetStorageOutput
*/
public password?: string;
constructor(obj?: Partial<AkamaiNetStorageOutput>) {
super(obj);
if(!obj) {
return;
}
this.host = map(obj.host);
this.username = map(obj.username);
this.password = map(obj.password);
}
}
export default AkamaiNetStorageOutput;