@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
65 lines • 2.52 kB
TypeScript
/**
* 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.
*/
import type { V4NotificationsCreateNotificationBodyDtoMetadata } from './V4NotificationsCreateNotificationBodyDtoMetadata';
import type { SoSNotificationEntityType } from './SoSNotificationEntityType';
/**
*
* @export
* @interface V4NotificationsCreateNotificationBodyDto
*/
export interface V4NotificationsCreateNotificationBodyDto {
/**
* Notification type
* @type {SoSNotificationEntityType}
* @memberof V4NotificationsCreateNotificationBodyDto
*/
type: SoSNotificationEntityType;
/**
* Notification title
* @type {string}
* @memberof V4NotificationsCreateNotificationBodyDto
*/
title: string;
/**
* Notification body with message preview
* @type {string}
* @memberof V4NotificationsCreateNotificationBodyDto
*/
body: string;
/**
*
* @type {V4NotificationsCreateNotificationBodyDtoMetadata}
* @memberof V4NotificationsCreateNotificationBodyDto
*/
metadata?: V4NotificationsCreateNotificationBodyDtoMetadata;
/**
* Whether the notification has been read
* @type {boolean}
* @memberof V4NotificationsCreateNotificationBodyDto
*/
read?: boolean;
/**
* Whether the notification is starred
* @type {boolean}
* @memberof V4NotificationsCreateNotificationBodyDto
*/
starred?: boolean;
}
/**
* Check if a given object implements the V4NotificationsCreateNotificationBodyDto interface.
*/
export declare function instanceOfV4NotificationsCreateNotificationBodyDto(value: object): value is V4NotificationsCreateNotificationBodyDto;
export declare function V4NotificationsCreateNotificationBodyDtoFromJSON(json: any): V4NotificationsCreateNotificationBodyDto;
export declare function V4NotificationsCreateNotificationBodyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): V4NotificationsCreateNotificationBodyDto;
export declare function V4NotificationsCreateNotificationBodyDtoToJSON(json: any): V4NotificationsCreateNotificationBodyDto;
export declare function V4NotificationsCreateNotificationBodyDtoToJSONTyped(value?: V4NotificationsCreateNotificationBodyDto | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=V4NotificationsCreateNotificationBodyDto.d.ts.map