UNPKG

fetch-jsd

Version:

A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.

40 lines 1.37 kB
// tslint:disable /** * Service Desk Public REST API * Public REST API for Jira Service Desk * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * * * 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 '../runtime'; export function ChangeDetailsFromJSON(json) { return ChangeDetailsFromJSONTyped(json, false); } export function ChangeDetailsFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'field': !exists(json, 'field') ? undefined : json['field'], 'fieldtype': !exists(json, 'fieldtype') ? undefined : json['fieldtype'], 'fieldId': !exists(json, 'fieldId') ? undefined : json['fieldId'], 'from': !exists(json, 'from') ? undefined : json['from'], 'fromString': !exists(json, 'fromString') ? undefined : json['fromString'], 'to': !exists(json, 'to') ? undefined : json['to'], 'toString': !exists(json, 'toString') ? undefined : json['toString'], }; } export function ChangeDetailsToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return {}; } //# sourceMappingURL=ChangeDetails.js.map