fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
155 lines • 3.83 kB
TypeScript
/**
* 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.
*/
import type { NotificationObjectType } from './NotificationObjectType';
import type { NotificationType } from './NotificationType';
/**
*
* @export
* @interface RenderableUserNotification
*/
export interface RenderableUserNotification {
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
conversationId?: string;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
contextHTML?: string;
/**
*
* @type {Array<string>}
* @memberof RenderableUserNotification
*/
fromUserNames?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof RenderableUserNotification
*/
fromUserIds?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof RenderableUserNotification
*/
relatedIds?: Array<string>;
/**
*
* @type {number}
* @memberof RenderableUserNotification
*/
count?: number;
/**
*
* @type {boolean}
* @memberof RenderableUserNotification
*/
optedOut: boolean;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
fromUserAvatarSrc?: string | null;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
fromUserId?: string | null;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
fromUserName?: string | null;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
fromCommentId?: string | null;
/**
*
* @type {NotificationType}
* @memberof RenderableUserNotification
*/
type: NotificationType;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
createdAt: string;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
sent: string;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
viewed: string;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
relatedObjectId: string;
/**
*
* @type {NotificationObjectType}
* @memberof RenderableUserNotification
*/
relatedObjectType: NotificationObjectType;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
pageTitle?: string | null;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
url: string;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
urlId: string;
/**
*
* @type {string}
* @memberof RenderableUserNotification
*/
id: string;
}
/**
* Check if a given object implements the RenderableUserNotification interface.
*/
export declare function instanceOfRenderableUserNotification(value: object): value is RenderableUserNotification;
export declare function RenderableUserNotificationFromJSON(json: any): RenderableUserNotification;
export declare function RenderableUserNotificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenderableUserNotification;
export declare function RenderableUserNotificationToJSON(json: any): RenderableUserNotification;
export declare function RenderableUserNotificationToJSONTyped(value?: RenderableUserNotification | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=RenderableUserNotification.d.ts.map