/* 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 ReqGetExecuteStats */ export interface ReqGetExecuteStats { /** * * @type {string} * @memberof ReqGetExecuteStats */ period: ReqGetExecuteStatsPeriodEnum; } /** * @export */ export const ReqGetExecuteStatsPeriodEnum = { D: 'd', W: 'w', M: 'm', Q: 'q', Y: 'y', All: 'all' } as const; export type ReqGetExecuteStatsPeriodEnum = typeof ReqGetExecuteStatsPeriodEnum[keyof typeof ReqGetExecuteStatsPeriodEnum]; /** * Check if a given object implements the ReqGetExecuteStats interface. */ export function instanceOfReqGetExecuteStats(value: object): value is ReqGetExecuteStats { if (!('period' in value) || value['period'] === undefined) return false; return true; } export function ReqGetExecuteStatsFromJSON(json: any): ReqGetExecuteStats { return ReqGetExecuteStatsFromJSONTyped(json, false); } export function ReqGetExecuteStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetExecuteStats { if (json == null) { return json; } return { 'period': json['period'], }; } export function ReqGetExecuteStatsToJSON(value?: ReqGetExecuteStats | null): any { if (value == null) { return value; } return { 'period': value['period'], }; }