DBFILESContentSyncSettingArg

Objective-C

@interface DBFILESContentSyncSettingArg : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESContentSyncSettingArg : NSObject, DBSerializable, NSCopying

The ContentSyncSettingArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • id_

    Id of the item this setting is applied to.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull id_;

    Swift

    var id_: String { get }
  • Setting for this item.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBFILESSyncSettingArg *_Nonnull syncSetting;

    Swift

    var syncSetting: DBFILESSyncSettingArg { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithId_:(nonnull NSString *)id_
                            syncSetting:
                                (nonnull DBFILESSyncSettingArg *)syncSetting;

    Swift

    init(id_: String, syncSetting: DBFILESSyncSettingArg)

    Parameters

    id_

    Id of the item this setting is applied to.

    syncSetting

    Setting for this item.

    Return Value

    An initialized instance.