starchart/web/src/swagger/models/DiscoveryLog.ts

67 lines
1.4 KiB
TypeScript

/* tslint:disable */
/* eslint-disable */
/**
* starchart
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
*
* 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 DiscoveryLog
*/
export interface DiscoveryLog {
/**
*
* @type {any}
* @memberof DiscoveryLog
*/
color: any | null;
}
/**
* Check if a given object implements the DiscoveryLog interface.
*/
export function instanceOfDiscoveryLog(value: object): boolean {
let isInstance = true;
isInstance = isInstance && "color" in value;
return isInstance;
}
export function DiscoveryLogFromJSON(json: any): DiscoveryLog {
return DiscoveryLogFromJSONTyped(json, false);
}
export function DiscoveryLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscoveryLog {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'color': json['color'],
};
}
export function DiscoveryLogToJSON(value?: DiscoveryLog | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'color': value.color,
};
}