public final Post withAuthor ( final User user ) { return new Post ( id , slug , title , excerpt , content , authorId , user , publishTimestamp , modifiedTimestamp , status , parentId , guid , commentCount , metadata , type , mimeType , taxonomyTerms , children ) ; }
Adds an author to a post .