public final Post withChildren ( final List < Post > children ) { return new Post ( id , slug , title , excerpt , content , authorId , author , publishTimestamp , modifiedTimestamp , status , parentId , guid , commentCount , this . metadata , type , mimeType , taxonomyTerms , children != null ? ImmutableList . copyOf ( children ) : ImmutableList . of ( ) ) ; }
Adds children to a post .