/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * 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 Status */ export interface Status { /** * * @type {number} * @memberof Status */ status: number; /** * * @type {number} * @memberof Status */ network_id: number; /** * * @type {number} * @memberof Status */ timestamp: number; } /** * Check if a given object implements the Status interface. */ export function instanceOfStatus(value: object): value is Status { if (!('status' in value) || value['status'] === undefined) return false; if (!('network_id' in value) || value['network_id'] === undefined) return false; if (!('timestamp' in value) || value['timestamp'] === undefined) return false; return true; } export function StatusFromJSON(json: any): Status { return StatusFromJSONTyped(json, false); } export function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status { if (json == null) { return json; } return { 'status': json['status'], 'network_id': json['network_id'], 'timestamp': json['timestamp'], }; } export function StatusToJSON(value?: Status | null): any { if (value == null) { return value; } return { 'status': value['status'], 'network_id': value['network_id'], 'timestamp': value['timestamp'], }; }