-
Notifications
You must be signed in to change notification settings - Fork 0
/
Result.ts
39 lines (35 loc) · 1.35 KB
/
Result.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
import ProxyAnonymousLevel from '../enum/ProxyAnonymousLevel';
import ProxySpeedLevel from '../enum/ProxySpeedLevel';
import ProxyStatus from '../enum/ProxyStatus';
import ProxyVersion from '../enum/ProxyVersion';
class Result {
ProxyAnonymousLevel: ProxyAnonymousLevel = ProxyAnonymousLevel.Unknown;
ProxySpeedLevel: ProxySpeedLevel = ProxySpeedLevel.Unknown;
ProxyStatus: ProxyStatus = ProxyStatus.Unknown;
ProxyVersion: ProxyVersion = ProxyVersion.Unknown;
Proxy:string
ProxyJudgeSelected:string
ProxyInformationProviderSelected:string
TimeTaken:number
Country:string
constructor(proxyAnonymousLevel: ProxyAnonymousLevel,
proxySpeedLebel: ProxySpeedLevel,
proxyStatus: ProxyStatus,
proxyVersion: ProxyVersion,
proxy:string,
proxyJudgeSelected:string,
timeTaken:number,
proxyInformationProviderSelected:string,
country:string) {
this.ProxyAnonymousLevel = proxyAnonymousLevel;
this.ProxySpeedLevel = proxySpeedLebel;
this.ProxyStatus = proxyStatus;
this.ProxyVersion = proxyVersion;
this.Proxy = proxy;
this.ProxyJudgeSelected = proxyJudgeSelected;
this.TimeTaken = timeTaken;
this.ProxyInformationProviderSelected = proxyInformationProviderSelected;
this.Country = country;
}
}
export default Result