2019-03-01 06:13:37 +01:00
|
|
|
import { BaseResponse } from "./baseResponse";
|
|
|
|
|
|
|
|
export class GlobalDomainResponse extends BaseResponse {
|
2018-01-08 20:11:28 +01:00
|
|
|
type: number;
|
|
|
|
domains: string[];
|
2019-04-17 05:32:02 +02:00
|
|
|
excluded: boolean;
|
2018-01-08 20:11:28 +01:00
|
|
|
|
|
|
|
constructor(response: any) {
|
2019-03-01 06:13:37 +01:00
|
|
|
super(response);
|
|
|
|
this.type = this.getResponseProperty("Type");
|
|
|
|
this.domains = this.getResponseProperty("Domains");
|
|
|
|
this.excluded = this.getResponseProperty("Excluded");
|
2018-01-08 20:11:28 +01:00
|
|
|
}
|
|
|
|
}
|