DBTEAMTeamFolderRenameArg

Objective-C

@interface DBTEAMTeamFolderRenameArg
    : DBTEAMTeamFolderIdArg <DBSerializable, NSCopying>

Swift

class DBTEAMTeamFolderRenameArg : DBTEAMTeamFolderIdArg, DBSerializable, NSCopying

The TeamFolderRenameArg 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

  • New team folder name.

    Declaration

    Objective-C

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

    Swift

    var name: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamFolderId:(nonnull NSString *)teamFolderId
                                            name:(nonnull NSString *)name;

    Swift

    init(teamFolderId: String, name: String)

    Parameters

    teamFolderId

    The ID of the team folder.

    name

    New team folder name.

    Return Value

    An initialized instance.