@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
44 lines (43 loc) • 1.4 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* The version of the OpenAPI document: 1.36
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Check if a given object implements the GetFwLeaderboardsActiveTotalActiveTotal1 interface.
*/
export function instanceOfGetFwLeaderboardsActiveTotalActiveTotal1(value) {
return true;
}
export function GetFwLeaderboardsActiveTotalActiveTotal1FromJSON(json) {
return GetFwLeaderboardsActiveTotalActiveTotal1FromJSONTyped(json, false);
}
export function GetFwLeaderboardsActiveTotalActiveTotal1FromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'amount': json['amount'] == null ? undefined : json['amount'],
'factionId': json['faction_id'] == null ? undefined : json['faction_id'],
};
}
export function GetFwLeaderboardsActiveTotalActiveTotal1ToJSON(json) {
return GetFwLeaderboardsActiveTotalActiveTotal1ToJSONTyped(json, false);
}
export function GetFwLeaderboardsActiveTotalActiveTotal1ToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'amount': value['amount'],
'faction_id': value['factionId'],
};
}