name.kevinlocke.appveyor.model.ProjectBuildResults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appveyor-swagger Show documentation
Show all versions of appveyor-swagger Show documentation
AppVeyor REST API Client generated from the unofficial Swagger API
definition in Java.
The newest version!
/*
* AppVeyor REST API
* AppVeyor is a hosted continuous integration service which runs on Microsoft Windows. The AppVeyor REST API provides a RESTful way to interact with the AppVeyor service. This includes managing projects, builds, deployments, and the teams that build them. Additional help and discussion of the AppVeyor REST API is available at http://help.appveyor.com/discussions This Swagger definition is an **unofficial** description of the AppVeyor REST API maintained at https://github.com/kevinoid/appveyor-swagger Please report any issues or suggestions for this Swagger definition at https://github.com/kevinoid/appveyor-swagger/issues/new #### API Conventions Fields which are missing from update operations (`PUT` requests) are typically reset to their default values. So although most fields are not technically required, they should usually be specified in practice.
*
* OpenAPI spec version: 0.20170106.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package name.kevinlocke.appveyor.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import name.kevinlocke.appveyor.model.Build;
import name.kevinlocke.appveyor.model.Project;
import javax.validation.constraints.*;
/**
* ProjectBuildResults
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2017-11-23T14:03:51.855-07:00")
public class ProjectBuildResults {
@SerializedName("project")
private Project project = null;
@SerializedName("build")
private Build build = null;
public ProjectBuildResults project(Project project) {
this.project = project;
return this;
}
/**
* Get project
* @return project
**/
@ApiModelProperty(example = "null", value = "")
public Project getProject() {
return project;
}
public void setProject(Project project) {
this.project = project;
}
public ProjectBuildResults build(Build build) {
this.build = build;
return this;
}
/**
* Get build
* @return build
**/
@ApiModelProperty(example = "null", value = "")
public Build getBuild() {
return build;
}
public void setBuild(Build build) {
this.build = build;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProjectBuildResults projectBuildResults = (ProjectBuildResults) o;
return Objects.equals(this.project, projectBuildResults.project) &&
Objects.equals(this.build, projectBuildResults.build);
}
@Override
public int hashCode() {
return Objects.hash(project, build);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProjectBuildResults {\n");
sb.append(" project: ").append(toIndentedString(project)).append("\n");
sb.append(" build: ").append(toIndentedString(build)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy