yml2/pEp_message.yml2
changeset 368 bd89f3ec04f0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/yml2/pEp_message.yml2	Fri Nov 10 14:44:47 2017 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +decl class +name;
     1.5 +decl property(name, type, nullability, key);
     1.6 +
     1.7 +class PEPMessage {
     1.8 +    property "messageID" type = "NSString *" key="id";
     1.9 +    property "direction" type = "PEP_msg_direction" key="outgoing";
    1.10 +    property "shortMessage" type = "NSString *" key="shortmsg";
    1.11 +    property "longMessage" type = "NSString *" key="longmsg";
    1.12 +    property "longMessageFormatted" type = "NSString *" key="longmsg_formatted";
    1.13 +    property "attachments" type = "NSArray *" key="attachments";
    1.14 +    property "sent" type = "NSDate *" key="sent";
    1.15 +    property "received" type = "NSDate *" key="recv";
    1.16 +}