C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-core-lib/src/lib/models/tc-general-landing-page-config.ts
Properties |
|
Methods |
Public actionButton |
Type : ActionButtonConfig[]
|
Public backgroundURL |
Type : string
|
Public description |
Type : string
|
Public highlights |
Type : LandingPageItemConfig[]
|
Public homeRoute |
Type : string
|
Public key |
Type : string
|
Public roles |
Type : string[]
|
Public subtitle |
Type : string
|
Public title |
Type : string
|
Public topMargin |
Type : number
|
deserialize | ||||||
deserialize(input: any)
|
||||||
Parameters :
Returns :
this
|
import { Deserializable } from './deserializable';
export class ActionButtonConfig {
public text: string;
public route: string;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class LandingPageItemConfig {
public title: string;
public content: string;
public iconURL: string;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class LandingPageConfig {
public key: string;
public description: string;
public title: string;
public subtitle: string;
public backgroundURL: string;
public topMargin: number;
public homeRoute: string;
public highlights: LandingPageItemConfig[];
public actionButton: ActionButtonConfig[];
public roles: string[];
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class GeneralLandingPageConfig implements Deserializable {
id: string;
version: string;
uiAppId: string;
landingPage: LandingPageConfig[];
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}