/* tslint:disable */ /* eslint-disable */ /** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * * @export * @interface ReportRecordDto */ export interface ReportRecordDto { /** * * @type {string} * @memberof ReportRecordDto */ libraryName?: string; /** * * @type {string} * @memberof ReportRecordDto */ licenseName?: string; /** * * @type {string} * @memberof ReportRecordDto */ licenseText?: string; /** * * @type {string} * @memberof ReportRecordDto */ contextTag?: string; /** * * @type {string} * @memberof ReportRecordDto */ status?: string; } export function ReportRecordDtoFromJSON(json: any): ReportRecordDto { return ReportRecordDtoFromJSONTyped(json, false); } export function ReportRecordDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportRecordDto { if ((json === undefined) || (json === null)) { return json; } return { 'libraryName': !exists(json, 'libraryName') ? undefined : json['libraryName'], 'licenseName': !exists(json, 'licenseName') ? undefined : json['licenseName'], 'licenseText': !exists(json, 'licenseText') ? undefined : json['licenseText'], 'contextTag': !exists(json, 'contextTag') ? undefined : json['contextTag'], 'status': !exists(json, 'status') ? undefined : json['status'], }; } export function ReportRecordDtoToJSON(value?: ReportRecordDto | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'libraryName': value.libraryName, 'licenseName': value.licenseName, 'licenseText': value.licenseText, 'contextTag': value.contextTag, 'status': value.status, }; }