/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface LicenseThreatGroupLicense */ export interface LicenseThreatGroupLicense { /** * * @type {string} * @memberof LicenseThreatGroupLicense */ id?: string; /** * * @type {string} * @memberof LicenseThreatGroupLicense */ licenseId?: string; /** * * @type {string} * @memberof LicenseThreatGroupLicense */ licenseThreatGroupId?: string; /** * * @type {string} * @memberof LicenseThreatGroupLicense */ ownerId?: string; } /** * Check if a given object implements the LicenseThreatGroupLicense interface. */ export function instanceOfLicenseThreatGroupLicense(value: object): value is LicenseThreatGroupLicense { return true; } export function LicenseThreatGroupLicenseFromJSON(json: any): LicenseThreatGroupLicense { return LicenseThreatGroupLicenseFromJSONTyped(json, false); } export function LicenseThreatGroupLicenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenseThreatGroupLicense { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'licenseId': json['licenseId'] == null ? undefined : json['licenseId'], 'licenseThreatGroupId': json['licenseThreatGroupId'] == null ? undefined : json['licenseThreatGroupId'], 'ownerId': json['ownerId'] == null ? undefined : json['ownerId'], }; } export function LicenseThreatGroupLicenseToJSON(json: any): LicenseThreatGroupLicense { return LicenseThreatGroupLicenseToJSONTyped(json, false); } export function LicenseThreatGroupLicenseToJSONTyped(value?: LicenseThreatGroupLicense | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'id': value['id'], 'licenseId': value['licenseId'], 'licenseThreatGroupId': value['licenseThreatGroupId'], 'ownerId': value['ownerId'], }; }