yml2/pEp_message.yml2
author Dirk Zimmermann <dz@pep.security>
Fri, 06 Sep 2019 11:03:27 +0200
branchIOS-1784
changeset 1225 6d89f5f624db
parent 368 bd89f3ec04f0
permissions -rw-r--r--
IOS-1784 Separate concerns.
     1 decl class +name;
     2 decl property(name, type, nullability, key);
     3 
     4 class PEPMessage {
     5     property "messageID" type = "NSString *" key="id";
     6     property "direction" type = "PEP_msg_direction" key="outgoing";
     7     property "shortMessage" type = "NSString *" key="shortmsg";
     8     property "longMessage" type = "NSString *" key="longmsg";
     9     property "longMessageFormatted" type = "NSString *" key="longmsg_formatted";
    10     property "attachments" type = "NSArray *" key="attachments";
    11     property "sent" type = "NSDate *" key="sent";
    12     property "received" type = "NSDate *" key="recv";
    13 }