DBTEAMLOGSfExternalInviteWarnDetails

Objective-C

@interface DBTEAMLOGSfExternalInviteWarnDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGSfExternalInviteWarnDetails : NSObject, DBSerializable, NSCopying

The SfExternalInviteWarnDetails struct.

Set team members to see warning before sharing folders outside team.

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 }
  • New sharing permission.

    Declaration

    Objective-C

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

    Swift

    var dNewSharingPermission: String? { get }
  • Previous sharing permission.

    Declaration

    Objective-C

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

    Swift

    var previousSharingPermission: 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
            dNewSharingPermission:(nullable NSString *)dNewSharingPermission
        previousSharingPermission:(nullable NSString *)previousSharingPermission;

    Swift

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

    Parameters

    targetAssetIndex

    Target asset position in the Assets list.

    originalFolderName

    Original shared folder name.

    dNewSharingPermission

    New sharing permission.

    previousSharingPermission

    Previous 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.