mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-06 18:02:16 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -25,14 +25,14 @@ public class IssueLabelsOption implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SerializedName("labels")
|
||||
private List<Long> labels = null;
|
||||
private List<Object> labels = null;
|
||||
|
||||
public IssueLabelsOption labels(List<Long> labels) {
|
||||
public IssueLabelsOption labels(List<Object> labels) {
|
||||
this.labels = labels;
|
||||
return this;
|
||||
}
|
||||
|
||||
public IssueLabelsOption addLabelsItem(Long labelsItem) {
|
||||
public IssueLabelsOption addLabelsItem(Object labelsItem) {
|
||||
if (this.labels == null) {
|
||||
this.labels = new ArrayList<>();
|
||||
}
|
||||
@@ -41,16 +41,20 @@ public class IssueLabelsOption implements Serializable {
|
||||
}
|
||||
|
||||
/**
|
||||
* list of label IDs
|
||||
* Labels can be a list of integers representing label IDs or a list of strings representing label
|
||||
* names
|
||||
*
|
||||
* @return labels
|
||||
*/
|
||||
@Schema(description = "list of label IDs")
|
||||
public List<Long> getLabels() {
|
||||
@Schema(
|
||||
description =
|
||||
"Labels can be a list of integers representing label IDs or a list of strings"
|
||||
+ " representing label names")
|
||||
public List<Object> getLabels() {
|
||||
return labels;
|
||||
}
|
||||
|
||||
public void setLabels(List<Long> labels) {
|
||||
public void setLabels(List<Object> labels) {
|
||||
this.labels = labels;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user