14 lines
345 B
TypeScript
14 lines
345 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;
|
|
}
|
|
} |