forked from CSGOWTF/csgowtf
added api
This commit is contained in:
65
src/api/models/StatsDmg.ts
Normal file
65
src/api/models/StatsDmg.ts
Normal file
@@ -0,0 +1,65 @@
|
||||
/* 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 StatsDmg
|
||||
*/
|
||||
export interface StatsDmg {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof StatsDmg
|
||||
*/
|
||||
ememy?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof StatsDmg
|
||||
*/
|
||||
team?: number;
|
||||
}
|
||||
|
||||
export function StatsDmgFromJSON(json: any): StatsDmg {
|
||||
return StatsDmgFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function StatsDmgFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean
|
||||
): StatsDmg {
|
||||
if (json === undefined || json === null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
ememy: !exists(json, "ememy") ? undefined : json["ememy"],
|
||||
team: !exists(json, "team") ? undefined : json["team"],
|
||||
};
|
||||
}
|
||||
|
||||
export function StatsDmgToJSON(value?: StatsDmg | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
ememy: value.ememy,
|
||||
team: value.team,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user