Post.createClone constructor
Post.createClone(
- Post post
Implementation
Post.createClone(Post post) :
id = post.id,
ownerId = post.ownerId,
profileName = post.profileName,
profileImgUrl = post.profileImgUrl,
caption = post.caption,
type = post.type,
mediaUrl = post.mediaUrl,
thumbnailUrl = post.thumbnailUrl,
createdTime = post.createdTime,
modifiedTime = post.modifiedTime,
position = post.position,
location = post.location,
likedProfiles = post.likedProfiles,
sharedProfiles = post.sharedProfiles,
mentionedProfiles = post.mentionedProfiles,
commentIds = post.commentIds,
comments = post.comments,
hashtags = post.hashtags,
isCommentEnabled = post.isCommentEnabled,
isPrivate = post.isPrivate,
isDraft = post.isDraft,
isHidden = post.isHidden,
verificationLevel = post.verificationLevel,
mediaOwner = post.mediaOwner,
referenceId = post.referenceId,
lastInteraction = post.lastInteraction,
aspectRatio = post.aspectRatio;