UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

47 lines 943 B
/** * Represents a person. */ export class Person { /** * Initializes a new instance of the {@link Person `Person`} class. * * @param options * The options of the person. */ constructor(options) { /** * The url to the homepage of the person. */ this.url = null; this.Name = options.Name; if ((options.URL !== null) && (options.URL !== undefined)) { this.URL = options.URL; } } /** * Gets or sets the name of the person. */ get Name() { return this.name; } /** * @inheritdoc */ set Name(value) { this.name = value; } /** * Gets or sets the url to the homepage of the person. */ get URL() { return this.url; } /** * @inheritdoc */ set URL(value) { this.url = value; } } //# sourceMappingURL=Person.js.map