DBTEAMLOGLegalHoldsActivateAHoldDetails
Objective-C
@interface DBTEAMLOGLegalHoldsActivateAHoldDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGLegalHoldsActivateAHoldDetails : NSObject, DBSerializable, NSCopying
The LegalHoldsActivateAHoldDetails
struct.
Activated a hold.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Hold ID.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull legalHoldId;
Swift
var legalHoldId: String { get }
-
Hold name.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
Hold start date.
Declaration
Objective-C
@property (nonatomic, readonly) NSDate *_Nonnull startDate;
Swift
var startDate: Date { get }
-
Hold end date.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDate *endDate;
Swift
var endDate: Date? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithLegalHoldId:(nonnull NSString *)legalHoldId name:(nonnull NSString *)name startDate:(nonnull NSDate *)startDate endDate:(nullable NSDate *)endDate;
Swift
init(legalHoldId: String, name: String, start startDate: Date, end endDate: Date?)
Parameters
legalHoldId
Hold ID.
name
Hold name.
startDate
Hold start date.
endDate
Hold end date.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithLegalHoldId:(nonnull NSString *)legalHoldId name:(nonnull NSString *)name startDate:(nonnull NSDate *)startDate;
Swift
init(legalHoldId: String, name: String, start startDate: Date)
Parameters
legalHoldId
Hold ID.
name
Hold name.
startDate
Hold start date.
Return Value
An initialized instance.