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:
@@ -20,7 +20,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/** Repository represents a repository */
|
||||
@@ -241,6 +243,9 @@ public class Repository implements Serializable {
|
||||
@SerializedName("template")
|
||||
private Boolean template = null;
|
||||
|
||||
@SerializedName("topics")
|
||||
private List<String> topics = null;
|
||||
|
||||
@SerializedName("updated_at")
|
||||
private Date updatedAt = null;
|
||||
|
||||
@@ -1317,6 +1322,33 @@ public class Repository implements Serializable {
|
||||
this.template = template;
|
||||
}
|
||||
|
||||
public Repository topics(List<String> topics) {
|
||||
this.topics = topics;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Repository addTopicsItem(String topicsItem) {
|
||||
if (this.topics == null) {
|
||||
this.topics = new ArrayList<>();
|
||||
}
|
||||
this.topics.add(topicsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get topics
|
||||
*
|
||||
* @return topics
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public List<String> getTopics() {
|
||||
return topics;
|
||||
}
|
||||
|
||||
public void setTopics(List<String> topics) {
|
||||
this.topics = topics;
|
||||
}
|
||||
|
||||
public Repository updatedAt(Date updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
@@ -1459,6 +1491,7 @@ public class Repository implements Serializable {
|
||||
&& Objects.equals(this.sshUrl, repository.sshUrl)
|
||||
&& Objects.equals(this.starsCount, repository.starsCount)
|
||||
&& Objects.equals(this.template, repository.template)
|
||||
&& Objects.equals(this.topics, repository.topics)
|
||||
&& Objects.equals(this.updatedAt, repository.updatedAt)
|
||||
&& Objects.equals(this.url, repository.url)
|
||||
&& Objects.equals(this.watchersCount, repository.watchersCount)
|
||||
@@ -1524,6 +1557,7 @@ public class Repository implements Serializable {
|
||||
sshUrl,
|
||||
starsCount,
|
||||
template,
|
||||
topics,
|
||||
updatedAt,
|
||||
url,
|
||||
watchersCount,
|
||||
@@ -1601,6 +1635,7 @@ public class Repository implements Serializable {
|
||||
sb.append(" sshUrl: ").append(toIndentedString(sshUrl)).append("\n");
|
||||
sb.append(" starsCount: ").append(toIndentedString(starsCount)).append("\n");
|
||||
sb.append(" template: ").append(toIndentedString(template)).append("\n");
|
||||
sb.append(" topics: ").append(toIndentedString(topics)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" url: ").append(toIndentedString(url)).append("\n");
|
||||
sb.append(" watchersCount: ").append(toIndentedString(watchersCount)).append("\n");
|
||||
|
||||
Reference in New Issue
Block a user