2023-01-26 13:58:25 -06:00
|
|
|
/**
|
|
|
|
|
* @class App - Model for the App object
|
|
|
|
|
*/
|
2023-01-26 22:40:13 -06:00
|
|
|
export class App {
|
2023-01-26 13:58:25 -06:00
|
|
|
/**
|
|
|
|
|
* @property {string} href - The URL to the app
|
|
|
|
|
*/
|
2023-01-25 22:28:45 -06:00
|
|
|
href: string;
|
2023-01-26 13:58:25 -06:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @property {number} id - The id of the app
|
|
|
|
|
*/
|
2023-01-25 22:28:45 -06:00
|
|
|
id: number;
|
2023-01-26 13:58:25 -06:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @property {string} name - The name of the app
|
|
|
|
|
*/
|
2023-01-25 22:28:45 -06:00
|
|
|
name: string;
|
2023-01-26 22:40:13 -06:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @constructor - Creates a new instance of the App class.
|
|
|
|
|
* @param {string} href - The URL to the app
|
|
|
|
|
* @param {number} id - The id of the app
|
|
|
|
|
* @param {string} name - The name of the app
|
|
|
|
|
* @returns {App} - A new instance of the App class.
|
|
|
|
|
*/
|
|
|
|
|
constructor(href: string, id: number, name: string) {
|
|
|
|
|
this.href = href;
|
|
|
|
|
this.id = id;
|
|
|
|
|
this.name = name;
|
|
|
|
|
}
|
2023-01-26 13:58:25 -06:00
|
|
|
}
|