graphdb-workbench
Version: 
The web application for GraphDB APIs
15 lines (14 loc) • 511 B
TypeScript
import { Mapper } from '../../../providers/mapper/mapper';
import { License } from '../../../models/license';
/**
 * Mapper for Graph DB license object. Maps the API JSON response to {@link License}
 */
export declare class LicenseMapper extends Mapper<License> {
    /**
     * Map to {@link License} object
     *
     * @param {Partial<License>} data - The raw representation of the license object
     * @returns {License} - A new License instance
     */
    mapToModel(data: Partial<License>): License;
}