Created
May 15, 2021 12:35
-
-
Save clement-joye/ab74f89495d2ef4620f58e7026791c5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class DashboardCard { | |
readonly family: string; | |
readonly name: string; | |
readonly datasource: string; | |
readonly pat: string; | |
readonly resources: DashboardCardResource[]; | |
variables: { [key: string] : string }; | |
status: string = ''; | |
webUrl: string = ''; | |
isLoading: boolean = false; | |
constructor(obj: any) { | |
this.family = obj.family; | |
this.name = obj.name; | |
this.datasource = obj.datasource; | |
this.pat = obj.pat; | |
this.resources = obj.resources; | |
this.variables = obj.variables; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment