DBTEAMLOGFileEditCommentDetails
Objective-C
@interface DBTEAMLOGFileEditCommentDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGFileEditCommentDetails : NSObject, DBSerializable, NSCopying
The FileEditCommentDetails
struct.
Edited file comment.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Comment text.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *commentText;
Swift
var commentText: String? { get }
-
Previous comment text.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull previousCommentText;
Swift
var previousCommentText: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithPreviousCommentText:(nonnull NSString *)previousCommentText commentText:(nullable NSString *)commentText;
Swift
init(previousCommentText: String, commentText: String?)
Parameters
previousCommentText
Previous comment text.
commentText
Comment text.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithPreviousCommentText: (nonnull NSString *)previousCommentText;
Swift
init(previousCommentText: String)
Parameters
previousCommentText
Previous comment text.
Return Value
An initialized instance.