2018-05-14 08:44:35 +02:00
|
|
|
import { Serializable } from "../../../models/Serializable";
|
2018-03-21 14:15:06 +01:00
|
|
|
|
|
|
|
export class UrlListingItem implements Serializable<UrlListingItem>{
|
2018-05-14 08:44:35 +02:00
|
|
|
|
2018-03-21 14:15:06 +01:00
|
|
|
public label: string;
|
|
|
|
public url: string;
|
|
|
|
public all: string;
|
|
|
|
|
|
|
|
fromJSONObject(item: any): UrlListingItem {
|
|
|
|
this.label = item.label;
|
|
|
|
this.url = item.url;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|