added api
This commit is contained in:
73
src/api/models/StatsFlashTotal.ts
Normal file
73
src/api/models/StatsFlashTotal.ts
Normal file
@@ -0,0 +1,73 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* csgoWTF API
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
* Contact: api@csgow.tf
|
||||
*
|
||||
* 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 } from "@/api/runtime";
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface StatsFlashTotal
|
||||
*/
|
||||
export interface StatsFlashTotal {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof StatsFlashTotal
|
||||
*/
|
||||
self?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof StatsFlashTotal
|
||||
*/
|
||||
team?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof StatsFlashTotal
|
||||
*/
|
||||
enemy?: number;
|
||||
}
|
||||
|
||||
export function StatsFlashTotalFromJSON(json: any): StatsFlashTotal {
|
||||
return StatsFlashTotalFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function StatsFlashTotalFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean
|
||||
): StatsFlashTotal {
|
||||
if (json === undefined || json === null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
self: !exists(json, "self") ? undefined : json["self"],
|
||||
team: !exists(json, "team") ? undefined : json["team"],
|
||||
enemy: !exists(json, "enemy") ? undefined : json["enemy"],
|
||||
};
|
||||
}
|
||||
|
||||
export function StatsFlashTotalToJSON(value?: StatsFlashTotal | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
self: value.self,
|
||||
team: value.team,
|
||||
enemy: value.enemy,
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user