* The full commit ID of the commit that contains your committed file changes. *
*/ private String commitId; /** ** The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. *
*/ private String treeId; /** ** The files added as part of the committed file changes. *
*/ private java.util.List* The files updated as part of the commited file changes. *
*/ private java.util.List* The files deleted as part of the committed file changes. *
*/ private java.util.List* The full commit ID of the commit that contains your committed file changes. *
* * @param commitId * The full commit ID of the commit that contains your committed file changes. */ public void setCommitId(String commitId) { this.commitId = commitId; } /** ** The full commit ID of the commit that contains your committed file changes. *
* * @return The full commit ID of the commit that contains your committed file changes. */ public String getCommitId() { return this.commitId; } /** ** The full commit ID of the commit that contains your committed file changes. *
* * @param commitId * The full commit ID of the commit that contains your committed file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withCommitId(String commitId) { setCommitId(commitId); return this; } /** ** The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. *
* * @param treeId * The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. */ public void setTreeId(String treeId) { this.treeId = treeId; } /** ** The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. *
* * @return The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. */ public String getTreeId() { return this.treeId; } /** ** The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. *
* * @param treeId * The full SHA-1 pointer of the tree information for the commit that contains the commited file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withTreeId(String treeId) { setTreeId(treeId); return this; } /** ** The files added as part of the committed file changes. *
* * @return The files added as part of the committed file changes. */ public java.util.List* The files added as part of the committed file changes. *
* * @param filesAdded * The files added as part of the committed file changes. */ public void setFilesAdded(java.util.Collection* The files added as part of the committed file changes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFilesAdded(java.util.Collection)} or {@link #withFilesAdded(java.util.Collection)} if you want to * override the existing values. *
* * @param filesAdded * The files added as part of the committed file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withFilesAdded(FileMetadata... filesAdded) { if (this.filesAdded == null) { setFilesAdded(new java.util.ArrayList* The files added as part of the committed file changes. *
* * @param filesAdded * The files added as part of the committed file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withFilesAdded(java.util.Collection* The files updated as part of the commited file changes. *
* * @return The files updated as part of the commited file changes. */ public java.util.List* The files updated as part of the commited file changes. *
* * @param filesUpdated * The files updated as part of the commited file changes. */ public void setFilesUpdated(java.util.Collection* The files updated as part of the commited file changes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFilesUpdated(java.util.Collection)} or {@link #withFilesUpdated(java.util.Collection)} if you want to * override the existing values. *
* * @param filesUpdated * The files updated as part of the commited file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withFilesUpdated(FileMetadata... filesUpdated) { if (this.filesUpdated == null) { setFilesUpdated(new java.util.ArrayList* The files updated as part of the commited file changes. *
* * @param filesUpdated * The files updated as part of the commited file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withFilesUpdated(java.util.Collection* The files deleted as part of the committed file changes. *
* * @return The files deleted as part of the committed file changes. */ public java.util.List* The files deleted as part of the committed file changes. *
* * @param filesDeleted * The files deleted as part of the committed file changes. */ public void setFilesDeleted(java.util.Collection* The files deleted as part of the committed file changes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFilesDeleted(java.util.Collection)} or {@link #withFilesDeleted(java.util.Collection)} if you want to * override the existing values. *
* * @param filesDeleted * The files deleted as part of the committed file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withFilesDeleted(FileMetadata... filesDeleted) { if (this.filesDeleted == null) { setFilesDeleted(new java.util.ArrayList* The files deleted as part of the committed file changes. *
* * @param filesDeleted * The files deleted as part of the committed file changes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCommitResult withFilesDeleted(java.util.Collection