UNPKG

fastcomments-sdk

Version:

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

87 lines 4.48 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.instanceOfUpdateAPISSOUserData = instanceOfUpdateAPISSOUserData; exports.UpdateAPISSOUserDataFromJSON = UpdateAPISSOUserDataFromJSON; exports.UpdateAPISSOUserDataFromJSONTyped = UpdateAPISSOUserDataFromJSONTyped; exports.UpdateAPISSOUserDataToJSON = UpdateAPISSOUserDataToJSON; exports.UpdateAPISSOUserDataToJSONTyped = UpdateAPISSOUserDataToJSONTyped; /** * Check if a given object implements the UpdateAPISSOUserData interface. */ function instanceOfUpdateAPISSOUserData(value) { return true; } function UpdateAPISSOUserDataFromJSON(json) { return UpdateAPISSOUserDataFromJSONTyped(json, false); } function UpdateAPISSOUserDataFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'groupIds': json['groupIds'] == null ? undefined : json['groupIds'], 'hasBlockedUsers': json['hasBlockedUsers'] == null ? undefined : json['hasBlockedUsers'], 'isProfileDMDisabled': json['isProfileDMDisabled'] == null ? undefined : json['isProfileDMDisabled'], 'isProfileCommentsPrivate': json['isProfileCommentsPrivate'] == null ? undefined : json['isProfileCommentsPrivate'], 'isProfileActivityPrivate': json['isProfileActivityPrivate'] == null ? undefined : json['isProfileActivityPrivate'], 'isCommentModeratorAdmin': json['isCommentModeratorAdmin'] == null ? undefined : json['isCommentModeratorAdmin'], 'isAdminAdmin': json['isAdminAdmin'] == null ? undefined : json['isAdminAdmin'], 'isAccountOwner': json['isAccountOwner'] == null ? undefined : json['isAccountOwner'], 'displayName': json['displayName'] == null ? undefined : json['displayName'], 'displayLabel': json['displayLabel'] == null ? undefined : json['displayLabel'], 'optedInSubscriptionNotifications': json['optedInSubscriptionNotifications'] == null ? undefined : json['optedInSubscriptionNotifications'], 'optedInNotifications': json['optedInNotifications'] == null ? undefined : json['optedInNotifications'], 'avatarSrc': json['avatarSrc'] == null ? undefined : json['avatarSrc'], 'loginCount': json['loginCount'] == null ? undefined : json['loginCount'], 'createdFromUrlId': json['createdFromUrlId'] == null ? undefined : json['createdFromUrlId'], 'signUpDate': json['signUpDate'] == null ? undefined : json['signUpDate'], 'email': json['email'] == null ? undefined : json['email'], 'websiteUrl': json['websiteUrl'] == null ? undefined : json['websiteUrl'], 'username': json['username'] == null ? undefined : json['username'], 'id': json['id'] == null ? undefined : json['id'], }; } function UpdateAPISSOUserDataToJSON(json) { return UpdateAPISSOUserDataToJSONTyped(json, false); } function UpdateAPISSOUserDataToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'groupIds': value['groupIds'], 'hasBlockedUsers': value['hasBlockedUsers'], 'isProfileDMDisabled': value['isProfileDMDisabled'], 'isProfileCommentsPrivate': value['isProfileCommentsPrivate'], 'isProfileActivityPrivate': value['isProfileActivityPrivate'], 'isCommentModeratorAdmin': value['isCommentModeratorAdmin'], 'isAdminAdmin': value['isAdminAdmin'], 'isAccountOwner': value['isAccountOwner'], 'displayName': value['displayName'], 'displayLabel': value['displayLabel'], 'optedInSubscriptionNotifications': value['optedInSubscriptionNotifications'], 'optedInNotifications': value['optedInNotifications'], 'avatarSrc': value['avatarSrc'], 'loginCount': value['loginCount'], 'createdFromUrlId': value['createdFromUrlId'], 'signUpDate': value['signUpDate'], 'email': value['email'], 'websiteUrl': value['websiteUrl'], 'username': value['username'], 'id': value['id'], }; } //# sourceMappingURL=UpdateAPISSOUserData.js.map