Comment
class Comment
Content copied to clipboard
Class representing a comment and specifying the attributes associated with it.
Constructors
Comment
                          
                    Link copied to clipboard
                        fun Comment(userId: String, postId: String, profilePicture: String, username: String, commentBody: String)
Content copied to clipboard
Creates a comment given the unique identifier of the post to which the comment is tied, the comment itself, and the unique identifier, profile picture, and username of the user who posted it.
Properties
commentBody
                          
                    Link copied to clipboard
                        dateCommented
                          
                    
                  Link copied to clipboard
                        profilePicture
                          
                    
                  Link copied to clipboard
                        Functions
getCommentBody
                          
                    Link copied to clipboard
                        getCommentId
                          
                    
                  Link copied to clipboard
                        getDateCommented
                          
                    
                  Link copied to clipboard
                        getEditable
                          
                    
                  Link copied to clipboard
                        getProfilePicture
                          
                    
                  Link copied to clipboard
                        getUsername
                          
                    
                  Link copied to clipboard
                        setCommentBody
                          
                    
                  Link copied to clipboard
                        setCommentId
                          
                    
                  Link copied to clipboard
                        setDateCommented
                          
                    
                  Link copied to clipboard
                        setEditable
                          
                    
                  Link copied to clipboard
                        setProfilePicture
                          
                    
                  Link copied to clipboard
                        setUsername
                          
                    
                  Link copied to clipboard