/* 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 InstallLicenseRequest */ export interface InstallLicenseRequest { /** * Your product license file * @type {Blob} * @memberof InstallLicenseRequest */ file: Blob; } /** * Check if a given object implements the InstallLicenseRequest interface. */ export function instanceOfInstallLicenseRequest(value: object): value is InstallLicenseRequest { if (!('file' in value) || value['file'] === undefined) return false; return true; } export function InstallLicenseRequestFromJSON(json: any): InstallLicenseRequest { return InstallLicenseRequestFromJSONTyped(json, false); } export function InstallLicenseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstallLicenseRequest { if (json == null) { return json; } return { 'file': json['file'], }; } export function InstallLicenseRequestToJSON(json: any): InstallLicenseRequest { return InstallLicenseRequestToJSONTyped(json, false); } export function InstallLicenseRequestToJSONTyped(value?: InstallLicenseRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'file': value['file'], }; }