@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
46 lines (45 loc) • 1.46 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* API v4
* Swagger documentation for API v4
*
* The version of the OpenAPI document: 4.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Type of notification (mention or subscription)
* @export
* @enum {string}
*/
export var MessageNotificationEntityType;
(function (MessageNotificationEntityType) {
MessageNotificationEntityType["Mention"] = "mention";
MessageNotificationEntityType["Subscription"] = "subscription";
})(MessageNotificationEntityType || (MessageNotificationEntityType = {}));
export function instanceOfMessageNotificationEntityType(value) {
for (const key in MessageNotificationEntityType) {
if (Object.prototype.hasOwnProperty.call(MessageNotificationEntityType, key)) {
if (MessageNotificationEntityType[key] === value) {
return true;
}
}
}
return false;
}
export function MessageNotificationEntityTypeFromJSON(json) {
return MessageNotificationEntityTypeFromJSONTyped(json, false);
}
export function MessageNotificationEntityTypeFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
export function MessageNotificationEntityTypeToJSON(value) {
return value;
}
export function MessageNotificationEntityTypeToJSONTyped(value, ignoreDiscriminator) {
return value;
}