UNPKG

fastcomments-sdk

Version:

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

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