15 lines
314 B
TypeScript
15 lines
314 B
TypeScript
import { Serializable } from '../../../models/Serializable';
|
|
|
|
export class UrlListingItem implements Serializable<UrlListingItem> {
|
|
|
|
public label: string;
|
|
public url: string;
|
|
public all: string;
|
|
|
|
fromJSONObject(item: any): UrlListingItem {
|
|
this.label = item.label;
|
|
this.url = item.url;
|
|
return this;
|
|
}
|
|
}
|