You are here

SkyVaultComment

SkyVaultComment

This section describes the SkyVaultComment class.

The SkyVaultComment class encapsulates information for a comment on a node.

Class declaration

@interface SkyVaultComment : NSObject <NSCoding>

Properties

Property Description
@property (nonatomic, strong, readonly) NSString *identifier Returns the unique identifier of the comment.
@property (nonatomic, strong, readonly) NSString *name Returns the name of this comment.
@property (nonatomic, strong, readonly) NSString *title Returns the title of this comment.
@property (nonatomic, strong, readonly) NSDate *createdAt Returns the timestamp in the session's locale when this comment was created.
@property (nonatomic, strong, readonly) NSDate *modifiedAt Returns the timestamp in the session's locale when this comment has been modified.
@property (nonatomic, strong, readonly) NSString *content Returns the HTML formatted content of the comment.
@property (nonatomic, strong, readonly) NSString *createdBy Returns the username of the user who created the comment.
@property (nonatomic, readonly) BOOL isEdited Indicates whether the comment has been edited since it was initially created.
@property (nonatomic, readonly) BOOL canEdit Returns true if the current user can edit this comment.
@property (nonatomic, readonly) BOOL canDelete Returns true if the current user can delete this comment.