@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
48 lines (47 loc) • 1.52 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* The version of the OpenAPI document: 1.33
*
*
* 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 GetAlliancesAllianceIdContactsLabels200Ok interface.
*/
export function instanceOfGetAlliancesAllianceIdContactsLabels200Ok(value) {
if (!('labelId' in value) || value['labelId'] === undefined)
return false;
if (!('labelName' in value) || value['labelName'] === undefined)
return false;
return true;
}
export function GetAlliancesAllianceIdContactsLabels200OkFromJSON(json) {
return GetAlliancesAllianceIdContactsLabels200OkFromJSONTyped(json, false);
}
export function GetAlliancesAllianceIdContactsLabels200OkFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'labelId': json['label_id'],
'labelName': json['label_name'],
};
}
export function GetAlliancesAllianceIdContactsLabels200OkToJSON(json) {
return GetAlliancesAllianceIdContactsLabels200OkToJSONTyped(json, false);
}
export function GetAlliancesAllianceIdContactsLabels200OkToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'label_id': value['labelId'],
'label_name': value['labelName'],
};
}