DBTEAMLegalHoldsPolicyUpdateArg

Objective-C

@interface DBTEAMLegalHoldsPolicyUpdateArg
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLegalHoldsPolicyUpdateArg : NSObject, DBSerializable, NSCopying

The LegalHoldsPolicyUpdateArg 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_

    The legal hold Id.

    Declaration

    Objective-C

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

    Swift

    var id_: String { get }
  • Policy new name.

    Declaration

    Objective-C

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

    Swift

    var name: String? { get }
  • Policy new description.

    Declaration

    Objective-C

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

    Swift

    var description_: String? { get }
  • List of team member IDs to apply the policy on.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<NSString *> *members;

    Swift

    var members: [String]? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithId_:(nonnull NSString *)id_
                                   name:(nullable NSString *)name
                           description_:(nullable NSString *)description_
                                members:(nullable NSArray<NSString *> *)members;

    Swift

    init(id_: String, name: String?, description_: String?, members: [String]?)

    Parameters

    id_

    The legal hold Id.

    name

    Policy new name.

    description_

    Policy new description.

    members

    List of team member IDs to apply the policy on.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

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

    Swift

    init(id_: String)

    Parameters

    id_

    The legal hold Id.

    Return Value

    An initialized instance.