DBTEAMLOGSfFbInviteChangeRoleDetails

Objective-C

@interface DBTEAMLOGSfFbInviteChangeRoleDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGSfFbInviteChangeRoleDetails : NSObject, DBSerializable, NSCopying

The SfFbInviteChangeRoleDetails struct.

Changed Facebook user’s role in shared folder.

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

Instance fields

  • Target asset position in the Assets list.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull targetAssetIndex;

    Swift

    var targetAssetIndex: NSNumber { get }
  • Original shared folder name.

    Declaration

    Objective-C

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

    Swift

    var originalFolderName: String { get }
  • Previous sharing permission.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *previousSharingPermission;

    Swift

    var previousSharingPermission: String? { get }
  • New sharing permission.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *dNewSharingPermission;

    Swift

    var dNewSharingPermission: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
         initWithTargetAssetIndex:(nonnull NSNumber *)targetAssetIndex
               originalFolderName:(nonnull NSString *)originalFolderName
        previousSharingPermission:(nullable NSString *)previousSharingPermission
            dNewSharingPermission:(nullable NSString *)dNewSharingPermission;

    Swift

    init(targetAssetIndex: NSNumber, originalFolderName: String, previousSharingPermission: String?, dNewSharingPermission: String?)

    Parameters

    targetAssetIndex

    Target asset position in the Assets list.

    originalFolderName

    Original shared folder name.

    previousSharingPermission

    Previous sharing permission.

    dNewSharingPermission

    New sharing permission.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithTargetAssetIndex:(nonnull NSNumber *)targetAssetIndex
              originalFolderName:(nonnull NSString *)originalFolderName;

    Swift

    init(targetAssetIndex: NSNumber, originalFolderName: String)

    Parameters

    targetAssetIndex

    Target asset position in the Assets list.

    originalFolderName

    Original shared folder name.

    Return Value

    An initialized instance.