ARTMessageVersion

Objective-C

@interface ARTMessageVersion : NSObject

Swift

class ARTMessageVersion : NSObject

Contains version information for a message, including operation metadata.

  • The serial of the message version.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *serial;

    Swift

    var serial: String? { get set }
  • The timestamp of the message version.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSDate *timestamp;

    Swift

    var timestamp: Date? { get set }
  • The client ID associated with this version.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *clientId;

    Swift

    var clientId: String? { get set }
  • A description of the operation performed.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *descriptionText;

    Swift

    var descriptionText: String? { get set }
  • Metadata associated with the operation.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSDictionary<NSString *, NSString *> *metadata;

    Swift

    var metadata: [String : String]? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)writeToDictionary:(NSMutableDictionary<NSString *, id> *)dictionary;

    Swift

    func write(to dictionary: NSMutableDictionary)
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)createFromDictionary:(NSDictionary<NSString *, id> *)jsonObject;

    Swift

    class func create(from jsonObject: [String : Any]) -> Self