in resource-types/typescript-example-website-monitor/src/models.ts [129:137]
public getIdentifier_Name(): Dict {
const identifier: Dict = {};
if ((this as any).name != null) {
identifier[this.IDENTIFIER_KEY_NAME] = (this as any).name;
}
// only return the identifier if it can be used, i.e. if all components are present
return Object.keys(identifier).length === 1 ? identifier : null;
}