UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

57 lines 2.44 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfGetUserInternalProfileResponse = instanceOfGetUserInternalProfileResponse; exports.GetUserInternalProfileResponseFromJSON = GetUserInternalProfileResponseFromJSON; exports.GetUserInternalProfileResponseFromJSONTyped = GetUserInternalProfileResponseFromJSONTyped; exports.GetUserInternalProfileResponseToJSON = GetUserInternalProfileResponseToJSON; exports.GetUserInternalProfileResponseToJSONTyped = GetUserInternalProfileResponseToJSONTyped; const GetUserInternalProfileResponseProfile_1 = require("./GetUserInternalProfileResponseProfile"); const APIStatus_1 = require("./APIStatus"); /** * Check if a given object implements the GetUserInternalProfileResponse interface. */ function instanceOfGetUserInternalProfileResponse(value) { if (!('profile' in value) || value['profile'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; return true; } function GetUserInternalProfileResponseFromJSON(json) { return GetUserInternalProfileResponseFromJSONTyped(json, false); } function GetUserInternalProfileResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'profile': (0, GetUserInternalProfileResponseProfile_1.GetUserInternalProfileResponseProfileFromJSON)(json['profile']), 'status': (0, APIStatus_1.APIStatusFromJSON)(json['status']), }; } function GetUserInternalProfileResponseToJSON(json) { return GetUserInternalProfileResponseToJSONTyped(json, false); } function GetUserInternalProfileResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'profile': (0, GetUserInternalProfileResponseProfile_1.GetUserInternalProfileResponseProfileToJSON)(value['profile']), 'status': (0, APIStatus_1.APIStatusToJSON)(value['status']), }; } //# sourceMappingURL=GetUserInternalProfileResponse.js.map