DBTEAMLOGFileAddCommentDetails

Objective-C

@interface DBTEAMLOGFileAddCommentDetails : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGFileAddCommentDetails : NSObject, DBSerializable, NSCopying

The FileAddCommentDetails struct.

Added file comment.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • Comment text.

    Declaration

    Objective-C

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

    Swift

    var commentText: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCommentText:(nullable NSString *)commentText;

    Swift

    init(commentText: String?)

    Parameters

    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)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.