/* tslint:disable */ /* eslint-disable */ /** * Mubicon v1 API * Api with Swagger, Swashbuckle, and Manual API versioning. * * The version of the OpenAPI document: 1 * Contact: support@mubicloud.com * * 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 StatisticIndexResponse */ export interface StatisticIndexResponse { /** * * @type {number} * @memberof StatisticIndexResponse */ amount?: number; } /** * Check if a given object implements the StatisticIndexResponse interface. */ export function instanceOfStatisticIndexResponse(value: object): value is StatisticIndexResponse { return true; } export function StatisticIndexResponseFromJSON(json: any): StatisticIndexResponse { return StatisticIndexResponseFromJSONTyped(json, false); } export function StatisticIndexResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatisticIndexResponse { if (json == null) { return json; } return { 'amount': json['Amount'] == null ? undefined : json['Amount'], }; } export function StatisticIndexResponseToJSON(json: any): StatisticIndexResponse { return StatisticIndexResponseToJSONTyped(json, false); } export function StatisticIndexResponseToJSONTyped(value?: StatisticIndexResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'Amount': value['amount'], }; }