@@ -165,4 +165,90 @@ public String getUrl() {
165165 public void setUrl (String url ) {
166166 this .url = url ;
167167 }
168+
169+
170+ public Commit withAuthor (Author author ) {
171+ this .author = author ;
172+ return this ;
173+ }
174+
175+ public Commit withAuthoredDate (Date authoredDate ) {
176+ this .authoredDate = authoredDate ;
177+ return this ;
178+ }
179+
180+ public Commit withAuthorEmail (String authorEmail ) {
181+ this .authorEmail = authorEmail ;
182+ return this ;
183+ }
184+
185+ public Commit withAuthorName (String authorName ) {
186+ this .authorName = authorName ;
187+ return this ;
188+ }
189+
190+ public Commit withCommittedDate (Date committedDate ) {
191+ this .committedDate = committedDate ;
192+ return this ;
193+ }
194+
195+ public Commit withCommitterEmail (String committerEmail ) {
196+ this .committerEmail = committerEmail ;
197+ return this ;
198+ }
199+
200+ public Commit withCommitterName (String committerName ) {
201+ this .committerName = committerName ;
202+ return this ;
203+ }
204+
205+ public Commit withCreatedAt (Date createdAt ) {
206+ this .createdAt = createdAt ;
207+ return this ;
208+ }
209+
210+ public Commit withId (String id ) {
211+ this .id = id ;
212+ return this ;
213+ }
214+
215+ public Commit withMessage (String message ) {
216+ this .message = message ;
217+ return this ;
218+ }
219+
220+ public Commit withParentIds (List <String > parentIds ) {
221+ this .parentIds = parentIds ;
222+ return this ;
223+ }
224+
225+ public Commit withShorwId (String shortId ) {
226+ this .shortId = shortId ;
227+ return this ;
228+ }
229+
230+ public Commit withStats (CommitStats stats ) {
231+ this .stats = stats ;
232+ return this ;
233+ }
234+
235+ public Commit withStatus (String status ) {
236+ this .status = status ;
237+ return this ;
238+ }
239+
240+ public Commit withTimestamp (Date timestamp ) {
241+ this .timestamp = timestamp ;
242+ return this ;
243+ }
244+
245+ public Commit withTitle (String title ) {
246+ this .title = title ;
247+ return this ;
248+ }
249+
250+ public Commit withUrl (String url ) {
251+ this .url = url ;
252+ return this ;
253+ }
168254}
0 commit comments