UNPKG

fastcomments-sdk

Version:

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

56 lines 2 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.instanceOfGetSSOUsers200Response = instanceOfGetSSOUsers200Response; exports.GetSSOUsers200ResponseFromJSON = GetSSOUsers200ResponseFromJSON; exports.GetSSOUsers200ResponseFromJSONTyped = GetSSOUsers200ResponseFromJSONTyped; exports.GetSSOUsers200ResponseToJSON = GetSSOUsers200ResponseToJSON; exports.GetSSOUsers200ResponseToJSONTyped = GetSSOUsers200ResponseToJSONTyped; const APISSOUser_1 = require("./APISSOUser"); /** * Check if a given object implements the GetSSOUsers200Response interface. */ function instanceOfGetSSOUsers200Response(value) { if (!('users' in value) || value['users'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; return true; } function GetSSOUsers200ResponseFromJSON(json) { return GetSSOUsers200ResponseFromJSONTyped(json, false); } function GetSSOUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'users': (json['users'].map(APISSOUser_1.APISSOUserFromJSON)), 'status': json['status'], }; } function GetSSOUsers200ResponseToJSON(json) { return GetSSOUsers200ResponseToJSONTyped(json, false); } function GetSSOUsers200ResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'users': (value['users'].map(APISSOUser_1.APISSOUserToJSON)), 'status': value['status'], }; } //# sourceMappingURL=GetSSOUsers200Response.js.map