import L2Object from "./L2Object" ; import L2ObjectCollection from "./L2ObjectCollection" ; import L2Item from "./L2Item" ; export default class L2Mail extends L2Object { private _itemsList : L2ObjectCollection < L2Item > = new L2ObjectCollection ( ) ; private _to ! : string ; private _title ! : string ; private _description ! : string ; private _senderName ! : string ; private _isLocked ! : boolean ; private _isUnread ! : boolean ; private _hasAttachments ! : boolean ; private _expiration ! : Date ; private _expirationSeconds ! : number ; private _requiresAdena ! : number ; public get To ( ) : string { return this . _to ; } public set To ( value ) { this . _to = value ; } public get Title ( ) : string { return this . _title ; } public set Title ( value ) { this . _title = value ; } public get Description ( ) : string { return this . _description ; } public set Description ( value ) { this . _description = value ; } public get SenderName ( ) : string { return this . _senderName ; } public set SenderName ( value ) { this . _senderName = value ; } public get IsLocked ( ) : boolean { return this . _isLocked ; } public set IsLocked ( value ) { this . _isLocked = value ; } public get IsUnread ( ) : boolean { return this . _isUnread ; } public set IsUnread ( value ) { this . _isUnread = value ; } public get HasAttachments ( ) : boolean { return this . _hasAttachments ; } public set HasAttachments ( value ) { this . _hasAttachments = value ; } public get Expiration ( ) : Date { return this . _expiration ; } public set Expiration ( value ) { this . _expiration = value ; } public get ExpirationSeconds ( ) : number { return this . _expirationSeconds ; } public set ExpirationSeconds ( value ) { this . _expirationSeconds = value ; } public get RequiresAdena ( ) : number { return this . _requiresAdena ; } public set RequiresAdena ( value ) { this . _requiresAdena = value ; } }