apim-developer-portal1
Version:
API management developer portal
26 lines (21 loc) • 544 B
text/typescript
import { HyperlinkModel } from "@paperbits/common/permalinks";
/**
* Product list widget configuration.
*/
export class ProductListModel {
/**
* Product list layout, e.g. "list", "dropdown".
*/
public layout?: string;
/**
* Indicated that a product can be selected.
*/
public allowSelection: boolean;
/**
* Link to a page that contains operation details.
*/
public detailsPageHyperlink: HyperlinkModel;
constructor(layout: string = "list") {
this.layout = layout;
}
}