@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
44 lines (43 loc) • 1.2 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 PostUniverseIdsAgent interface.
*/
export function instanceOfPostUniverseIdsAgent(value) {
return true;
}
export function PostUniverseIdsAgentFromJSON(json) {
return PostUniverseIdsAgentFromJSONTyped(json, false);
}
export function PostUniverseIdsAgentFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'id': json['id'] == null ? undefined : json['id'],
'name': json['name'] == null ? undefined : json['name'],
};
}
export function PostUniverseIdsAgentToJSON(json) {
return PostUniverseIdsAgentToJSONTyped(json, false);
}
export function PostUniverseIdsAgentToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'id': value['id'],
'name': value['name'],
};
}