* An array of commit data type objects, each of which contains information about a specified commit. *
*/ private java.util.List* Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a * shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with * more information. *
*/ private java.util.List* An array of commit data type objects, each of which contains information about a specified commit. *
* * @return An array of commit data type objects, each of which contains information about a specified commit. */ public java.util.List* An array of commit data type objects, each of which contains information about a specified commit. *
* * @param commits * An array of commit data type objects, each of which contains information about a specified commit. */ public void setCommits(java.util.Collection* An array of commit data type objects, each of which contains information about a specified commit. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCommits(java.util.Collection)} or {@link #withCommits(java.util.Collection)} if you want to override * the existing values. *
* * @param commits * An array of commit data type objects, each of which contains information about a specified commit. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchGetCommitsResult withCommits(Commit... commits) { if (this.commits == null) { setCommits(new java.util.ArrayList* An array of commit data type objects, each of which contains information about a specified commit. *
* * @param commits * An array of commit data type objects, each of which contains information about a specified commit. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchGetCommitsResult withCommits(java.util.Collection* Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a * shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with * more information. *
* * @return Returns any commit IDs for which information could not be found. For example, if one of the commit IDs * was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error * object with more information. */ public java.util.List* Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a * shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with * more information. *
* * @param errors * Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was * a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error * object with more information. */ public void setErrors(java.util.Collection* Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a * shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with * more information. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was * a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error * object with more information. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchGetCommitsResult withErrors(BatchGetCommitsError... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a * shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with * more information. *
* * @param errors * Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was * a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error * object with more information. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchGetCommitsResult withErrors(java.util.Collection