UNPKG

fastcomments-sdk

Version:

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

55 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.instanceOfGetBannedUsersCountResponse = instanceOfGetBannedUsersCountResponse; exports.GetBannedUsersCountResponseFromJSON = GetBannedUsersCountResponseFromJSON; exports.GetBannedUsersCountResponseFromJSONTyped = GetBannedUsersCountResponseFromJSONTyped; exports.GetBannedUsersCountResponseToJSON = GetBannedUsersCountResponseToJSON; exports.GetBannedUsersCountResponseToJSONTyped = GetBannedUsersCountResponseToJSONTyped; /** * Check if a given object implements the GetBannedUsersCountResponse interface. */ function instanceOfGetBannedUsersCountResponse(value) { if (!('totalCount' in value) || value['totalCount'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; return true; } function GetBannedUsersCountResponseFromJSON(json) { return GetBannedUsersCountResponseFromJSONTyped(json, false); } function GetBannedUsersCountResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'totalCount': json['totalCount'], 'status': json['status'], }; } function GetBannedUsersCountResponseToJSON(json) { return GetBannedUsersCountResponseToJSONTyped(json, false); } function GetBannedUsersCountResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'totalCount': value['totalCount'], 'status': value['status'], }; } //# sourceMappingURL=GetBannedUsersCountResponse.js.map