org.aoju.bus.gitlab.models.Release Maven / Gradle / Ivy
/*********************************************************************************
* *
* The MIT License (MIT) *
* *
* Copyright (c) 2015-2022 aoju.org Greg Messner and other contributors. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy *
* of this software and associated documentation files (the "Software"), to deal *
* in the Software without restriction, including without limitation the rights *
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell *
* copies of the Software, and to permit persons to whom the Software is *
* furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included in *
* all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, *
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN *
* THE SOFTWARE. *
* *
********************************************************************************/
package org.aoju.bus.gitlab.models;
import org.aoju.bus.gitlab.support.JacksonJson;
import java.util.Date;
import java.util.List;
public class Release {
private String name;
private String tagName;
private String description;
private String descriptionHtml;
private Date createdAt;
private Date releasedAt;
private Author author;
private Commit commit;
private List milestones;
private String commitPath;
private String tagPath;
private String evidenceSha;
private Assets assets;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTagName() {
return tagName;
}
public void setTagName(String tagName) {
this.tagName = tagName;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getDescriptionHtml() {
return descriptionHtml;
}
public void setDescriptionHtml(String descriptionHtml) {
this.descriptionHtml = descriptionHtml;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Date getReleasedAt() {
return releasedAt;
}
public void setReleasedAt(Date releasedAt) {
this.releasedAt = releasedAt;
}
public Author getAuthor() {
return author;
}
public void setAuthor(Author author) {
this.author = author;
}
public Commit getCommit() {
return commit;
}
public void setCommit(Commit commit) {
this.commit = commit;
}
public List getMilestones() {
return milestones;
}
public void setMilestones(List milestones) {
this.milestones = milestones;
}
public String getCommitPath() {
return commitPath;
}
public void setCommitPath(String commitPath) {
this.commitPath = commitPath;
}
public String getTagPath() {
return tagPath;
}
public void setTagPath(String tagPath) {
this.tagPath = tagPath;
}
public String getEvidenceSha() {
return evidenceSha;
}
public void setEvidenceSha(String evidenceSha) {
this.evidenceSha = evidenceSha;
}
public Assets getAssets() {
return assets;
}
public void setAssets(Assets assets) {
this.assets = assets;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}