Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-02-19 00:17:18 +00:00
parent 7f48abe7b7
commit fa442ce345
6 changed files with 79 additions and 4 deletions
+1
View File
@@ -5,4 +5,5 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**color** | **String** | |
**description** | **String** | | [optional]
**exclusive** | **Boolean** | | [optional]
**name** | **String** | |
+1
View File
@@ -5,4 +5,5 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**color** | **String** | | [optional]
**description** | **String** | | [optional]
**exclusive** | **Boolean** | | [optional]
**name** | **String** | | [optional]
+1
View File
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**color** | **String** | | [optional]
**description** | **String** | | [optional]
**exclusive** | **Boolean** | | [optional]
**id** | **Long** | | [optional]
**name** | **String** | | [optional]
**url** | **String** | | [optional]
@@ -28,6 +28,9 @@ public class CreateLabelOption implements Serializable {
@SerializedName("description")
private String description = null;
@SerializedName("exclusive")
private Boolean exclusive = null;
@SerializedName("name")
private String name = null;
@@ -69,6 +72,25 @@ public class CreateLabelOption implements Serializable {
this.description = description;
}
public CreateLabelOption exclusive(Boolean exclusive) {
this.exclusive = exclusive;
return this;
}
/**
* Get exclusive
*
* @return exclusive
*/
@Schema(example = "false", description = "")
public Boolean isExclusive() {
return exclusive;
}
public void setExclusive(Boolean exclusive) {
this.exclusive = exclusive;
}
public CreateLabelOption name(String name) {
this.name = name;
return this;
@@ -99,12 +121,13 @@ public class CreateLabelOption implements Serializable {
CreateLabelOption createLabelOption = (CreateLabelOption) o;
return Objects.equals(this.color, createLabelOption.color)
&& Objects.equals(this.description, createLabelOption.description)
&& Objects.equals(this.exclusive, createLabelOption.exclusive)
&& Objects.equals(this.name, createLabelOption.name);
}
@Override
public int hashCode() {
return Objects.hash(color, description, name);
return Objects.hash(color, description, exclusive, name);
}
@Override
@@ -114,6 +137,7 @@ public class CreateLabelOption implements Serializable {
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" exclusive: ").append(toIndentedString(exclusive)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append("}");
return sb.toString();
@@ -28,6 +28,9 @@ public class EditLabelOption implements Serializable {
@SerializedName("description")
private String description = null;
@SerializedName("exclusive")
private Boolean exclusive = null;
@SerializedName("name")
private String name = null;
@@ -41,7 +44,7 @@ public class EditLabelOption implements Serializable {
*
* @return color
*/
@Schema(description = "")
@Schema(example = "#00aabb", description = "")
public String getColor() {
return color;
}
@@ -69,6 +72,25 @@ public class EditLabelOption implements Serializable {
this.description = description;
}
public EditLabelOption exclusive(Boolean exclusive) {
this.exclusive = exclusive;
return this;
}
/**
* Get exclusive
*
* @return exclusive
*/
@Schema(example = "false", description = "")
public Boolean isExclusive() {
return exclusive;
}
public void setExclusive(Boolean exclusive) {
this.exclusive = exclusive;
}
public EditLabelOption name(String name) {
this.name = name;
return this;
@@ -99,12 +121,13 @@ public class EditLabelOption implements Serializable {
EditLabelOption editLabelOption = (EditLabelOption) o;
return Objects.equals(this.color, editLabelOption.color)
&& Objects.equals(this.description, editLabelOption.description)
&& Objects.equals(this.exclusive, editLabelOption.exclusive)
&& Objects.equals(this.name, editLabelOption.name);
}
@Override
public int hashCode() {
return Objects.hash(color, description, name);
return Objects.hash(color, description, exclusive, name);
}
@Override
@@ -114,6 +137,7 @@ public class EditLabelOption implements Serializable {
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" exclusive: ").append(toIndentedString(exclusive)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append("}");
return sb.toString();
@@ -28,6 +28,9 @@ public class Label implements Serializable {
@SerializedName("description")
private String description = null;
@SerializedName("exclusive")
private Boolean exclusive = null;
@SerializedName("id")
private Long id = null;
@@ -75,6 +78,25 @@ public class Label implements Serializable {
this.description = description;
}
public Label exclusive(Boolean exclusive) {
this.exclusive = exclusive;
return this;
}
/**
* Get exclusive
*
* @return exclusive
*/
@Schema(example = "false", description = "")
public Boolean isExclusive() {
return exclusive;
}
public void setExclusive(Boolean exclusive) {
this.exclusive = exclusive;
}
public Label id(Long id) {
this.id = id;
return this;
@@ -143,6 +165,7 @@ public class Label implements Serializable {
Label label = (Label) o;
return Objects.equals(this.color, label.color)
&& Objects.equals(this.description, label.description)
&& Objects.equals(this.exclusive, label.exclusive)
&& Objects.equals(this.id, label.id)
&& Objects.equals(this.name, label.name)
&& Objects.equals(this.url, label.url);
@@ -150,7 +173,7 @@ public class Label implements Serializable {
@Override
public int hashCode() {
return Objects.hash(color, description, id, name, url);
return Objects.hash(color, description, exclusive, id, name, url);
}
@Override
@@ -160,6 +183,7 @@ public class Label implements Serializable {
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" exclusive: ").append(toIndentedString(exclusive)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" url: ").append(toIndentedString(url)).append("\n");