AWSCognitoSyncRecordPatch

Objective-C

@interface AWSCognitoSyncRecordPatch

Swift

class AWSCognitoSyncRecordPatch

An update operation for a record. Required parameters: [Op, Key, SyncCount]

  • The last modified date of the client device.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable deviceLastModifiedDate;

    Swift

    var deviceLastModifiedDate: Date? { get set }
  • key

    The key associated with the record patch.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable key;

    Swift

    var key: String? { get set }
  • op

    An operation, either replace or remove.

    Declaration

    Objective-C

    @property (nonatomic) AWSCognitoSyncOperation op;

    Swift

    var op: AWSCognitoSyncOperation { get set }
  • Last known server sync count for this record. Set to 0 if unknown.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable syncCount;

    Swift

    var syncCount: NSNumber? { get set }
  • The value associated with the record patch.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable value;

    Swift

    var value: String? { get set }