name.kevinlocke.appveyor.model.ProjectWithConfiguration 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.
/*
* 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 java.util.ArrayList;
import java.util.List;
import name.kevinlocke.appveyor.model.Build;
import name.kevinlocke.appveyor.model.NuGetFeed;
import name.kevinlocke.appveyor.model.Project;
import name.kevinlocke.appveyor.model.ProjectConfiguration;
import name.kevinlocke.appveyor.model.RepositoryAuthenticationType;
import name.kevinlocke.appveyor.model.RepositoryProvider;
import name.kevinlocke.appveyor.model.RepositoryScm;
import name.kevinlocke.appveyor.model.SecurityDescriptor;
import org.joda.time.DateTime;
import javax.validation.constraints.*;
/**
* ProjectWithConfiguration
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2017-10-23T09:34:32.026-06:00")
public class ProjectWithConfiguration {
@SerializedName("projectId")
private Integer projectId = null;
@SerializedName("accountName")
private String accountName = null;
@SerializedName("name")
private String name = null;
@SerializedName("slug")
private String slug = null;
@SerializedName("created")
private DateTime created = null;
@SerializedName("updated")
private DateTime updated = null;
@SerializedName("accountId")
private Integer accountId = null;
@SerializedName("builds")
private List builds = new ArrayList();
@SerializedName("repositoryType")
private RepositoryProvider repositoryType = null;
@SerializedName("repositoryScm")
private RepositoryScm repositoryScm = null;
@SerializedName("repositoryName")
private String repositoryName = null;
@SerializedName("repositoryBranch")
private String repositoryBranch = null;
@SerializedName("isPrivate")
private Boolean isPrivate = null;
@SerializedName("skipBranchesWithoutAppveyorYml")
private Boolean skipBranchesWithoutAppveyorYml = null;
@SerializedName("enableSecureVariablesInPullRequests")
private Boolean enableSecureVariablesInPullRequests = null;
@SerializedName("enableSecureVariablesInPullRequestsFromSameRepo")
private Boolean enableSecureVariablesInPullRequestsFromSameRepo = null;
@SerializedName("enableDeploymentInPullRequests")
private Boolean enableDeploymentInPullRequests = null;
@SerializedName("saveBuildCacheInPullRequests")
private Boolean saveBuildCacheInPullRequests = null;
@SerializedName("rollingBuilds")
private Boolean rollingBuilds = null;
@SerializedName("rollingBuildsDoNotCancelRunningBuilds")
private Boolean rollingBuildsDoNotCancelRunningBuilds = null;
@SerializedName("alwaysBuildClosedPullRequests")
private Boolean alwaysBuildClosedPullRequests = null;
@SerializedName("tags")
private String tags = null;
@SerializedName("nuGetFeed")
private NuGetFeed nuGetFeed = null;
@SerializedName("securityDescriptor")
private SecurityDescriptor securityDescriptor = null;
@SerializedName("versionFormat")
private String versionFormat = null;
@SerializedName("nextBuildNumber")
private Integer nextBuildNumber = null;
@SerializedName("scheduleCrontabExpression")
private String scheduleCrontabExpression = null;
@SerializedName("repositoryAuthentication")
private RepositoryAuthenticationType repositoryAuthentication = null;
@SerializedName("repositoryUsername")
private String repositoryUsername = null;
@SerializedName("sshPublicKey")
private String sshPublicKey = null;
@SerializedName("webhookId")
private String webhookId = null;
@SerializedName("webhookUrl")
private String webhookUrl = null;
@SerializedName("statusBadgeId")
private String statusBadgeId = null;
@SerializedName("buildPriority")
private Integer buildPriority = null;
@SerializedName("ignoreAppveyorYml")
private Boolean ignoreAppveyorYml = null;
@SerializedName("customYmlName")
private String customYmlName = null;
@SerializedName("configuration")
private ProjectConfiguration _configuration = null;
public ProjectWithConfiguration projectId(Integer projectId) {
this.projectId = projectId;
return this;
}
/**
* Get projectId
* minimum: 0
* @return projectId
**/
@NotNull
@Min(0)
@ApiModelProperty(example = "null", required = true, value = "")
public Integer getProjectId() {
return projectId;
}
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
/**
* Get accountName
* @return accountName
**/
@ApiModelProperty(example = "null", value = "")
public String getAccountName() {
return accountName;
}
public ProjectWithConfiguration name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(example = "null", value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* Get slug
* @return slug
**/
@ApiModelProperty(example = "null", value = "")
public String getSlug() {
return slug;
}
/**
* Get created
* @return created
**/
@ApiModelProperty(example = "null", value = "")
public DateTime getCreated() {
return created;
}
/**
* Get updated
* @return updated
**/
@ApiModelProperty(example = "null", value = "")
public DateTime getUpdated() {
return updated;
}
/**
* Get accountId
* minimum: 0
* @return accountId
**/
@Min(0)
@ApiModelProperty(example = "null", value = "")
public Integer getAccountId() {
return accountId;
}
public ProjectWithConfiguration builds(List builds) {
this.builds = builds;
return this;
}
public ProjectWithConfiguration addBuildsItem(Build buildsItem) {
this.builds.add(buildsItem);
return this;
}
/**
* Only non-empty for response from getProjects.
* @return builds
**/
@ApiModelProperty(example = "null", value = "Only non-empty for response from getProjects.")
public List getBuilds() {
return builds;
}
public void setBuilds(List builds) {
this.builds = builds;
}
public ProjectWithConfiguration repositoryType(RepositoryProvider repositoryType) {
this.repositoryType = repositoryType;
return this;
}
/**
* Get repositoryType
* @return repositoryType
**/
@ApiModelProperty(example = "null", value = "")
public RepositoryProvider getRepositoryType() {
return repositoryType;
}
public void setRepositoryType(RepositoryProvider repositoryType) {
this.repositoryType = repositoryType;
}
public ProjectWithConfiguration repositoryScm(RepositoryScm repositoryScm) {
this.repositoryScm = repositoryScm;
return this;
}
/**
* Get repositoryScm
* @return repositoryScm
**/
@ApiModelProperty(example = "null", value = "")
public RepositoryScm getRepositoryScm() {
return repositoryScm;
}
public void setRepositoryScm(RepositoryScm repositoryScm) {
this.repositoryScm = repositoryScm;
}
public ProjectWithConfiguration repositoryName(String repositoryName) {
this.repositoryName = repositoryName;
return this;
}
/**
* Get repositoryName
* @return repositoryName
**/
@NotNull
@ApiModelProperty(example = "null", required = true, value = "")
public String getRepositoryName() {
return repositoryName;
}
public void setRepositoryName(String repositoryName) {
this.repositoryName = repositoryName;
}
public ProjectWithConfiguration repositoryBranch(String repositoryBranch) {
this.repositoryBranch = repositoryBranch;
return this;
}
/**
* Not present in response from addProject.
* @return repositoryBranch
**/
@ApiModelProperty(example = "null", value = "Not present in response from addProject.")
public String getRepositoryBranch() {
return repositoryBranch;
}
public void setRepositoryBranch(String repositoryBranch) {
this.repositoryBranch = repositoryBranch;
}
public ProjectWithConfiguration isPrivate(Boolean isPrivate) {
this.isPrivate = isPrivate;
return this;
}
/**
* Get isPrivate
* @return isPrivate
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getIsPrivate() {
return isPrivate;
}
public void setIsPrivate(Boolean isPrivate) {
this.isPrivate = isPrivate;
}
public ProjectWithConfiguration skipBranchesWithoutAppveyorYml(Boolean skipBranchesWithoutAppveyorYml) {
this.skipBranchesWithoutAppveyorYml = skipBranchesWithoutAppveyorYml;
return this;
}
/**
* Get skipBranchesWithoutAppveyorYml
* @return skipBranchesWithoutAppveyorYml
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getSkipBranchesWithoutAppveyorYml() {
return skipBranchesWithoutAppveyorYml;
}
public void setSkipBranchesWithoutAppveyorYml(Boolean skipBranchesWithoutAppveyorYml) {
this.skipBranchesWithoutAppveyorYml = skipBranchesWithoutAppveyorYml;
}
public ProjectWithConfiguration enableSecureVariablesInPullRequests(Boolean enableSecureVariablesInPullRequests) {
this.enableSecureVariablesInPullRequests = enableSecureVariablesInPullRequests;
return this;
}
/**
* Get enableSecureVariablesInPullRequests
* @return enableSecureVariablesInPullRequests
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getEnableSecureVariablesInPullRequests() {
return enableSecureVariablesInPullRequests;
}
public void setEnableSecureVariablesInPullRequests(Boolean enableSecureVariablesInPullRequests) {
this.enableSecureVariablesInPullRequests = enableSecureVariablesInPullRequests;
}
public ProjectWithConfiguration enableSecureVariablesInPullRequestsFromSameRepo(Boolean enableSecureVariablesInPullRequestsFromSameRepo) {
this.enableSecureVariablesInPullRequestsFromSameRepo = enableSecureVariablesInPullRequestsFromSameRepo;
return this;
}
/**
* Get enableSecureVariablesInPullRequestsFromSameRepo
* @return enableSecureVariablesInPullRequestsFromSameRepo
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getEnableSecureVariablesInPullRequestsFromSameRepo() {
return enableSecureVariablesInPullRequestsFromSameRepo;
}
public void setEnableSecureVariablesInPullRequestsFromSameRepo(Boolean enableSecureVariablesInPullRequestsFromSameRepo) {
this.enableSecureVariablesInPullRequestsFromSameRepo = enableSecureVariablesInPullRequestsFromSameRepo;
}
public ProjectWithConfiguration enableDeploymentInPullRequests(Boolean enableDeploymentInPullRequests) {
this.enableDeploymentInPullRequests = enableDeploymentInPullRequests;
return this;
}
/**
* Get enableDeploymentInPullRequests
* @return enableDeploymentInPullRequests
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getEnableDeploymentInPullRequests() {
return enableDeploymentInPullRequests;
}
public void setEnableDeploymentInPullRequests(Boolean enableDeploymentInPullRequests) {
this.enableDeploymentInPullRequests = enableDeploymentInPullRequests;
}
public ProjectWithConfiguration saveBuildCacheInPullRequests(Boolean saveBuildCacheInPullRequests) {
this.saveBuildCacheInPullRequests = saveBuildCacheInPullRequests;
return this;
}
/**
* Get saveBuildCacheInPullRequests
* @return saveBuildCacheInPullRequests
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getSaveBuildCacheInPullRequests() {
return saveBuildCacheInPullRequests;
}
public void setSaveBuildCacheInPullRequests(Boolean saveBuildCacheInPullRequests) {
this.saveBuildCacheInPullRequests = saveBuildCacheInPullRequests;
}
public ProjectWithConfiguration rollingBuilds(Boolean rollingBuilds) {
this.rollingBuilds = rollingBuilds;
return this;
}
/**
* Get rollingBuilds
* @return rollingBuilds
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getRollingBuilds() {
return rollingBuilds;
}
public void setRollingBuilds(Boolean rollingBuilds) {
this.rollingBuilds = rollingBuilds;
}
public ProjectWithConfiguration rollingBuildsDoNotCancelRunningBuilds(Boolean rollingBuildsDoNotCancelRunningBuilds) {
this.rollingBuildsDoNotCancelRunningBuilds = rollingBuildsDoNotCancelRunningBuilds;
return this;
}
/**
* Get rollingBuildsDoNotCancelRunningBuilds
* @return rollingBuildsDoNotCancelRunningBuilds
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getRollingBuildsDoNotCancelRunningBuilds() {
return rollingBuildsDoNotCancelRunningBuilds;
}
public void setRollingBuildsDoNotCancelRunningBuilds(Boolean rollingBuildsDoNotCancelRunningBuilds) {
this.rollingBuildsDoNotCancelRunningBuilds = rollingBuildsDoNotCancelRunningBuilds;
}
public ProjectWithConfiguration alwaysBuildClosedPullRequests(Boolean alwaysBuildClosedPullRequests) {
this.alwaysBuildClosedPullRequests = alwaysBuildClosedPullRequests;
return this;
}
/**
* Get alwaysBuildClosedPullRequests
* @return alwaysBuildClosedPullRequests
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getAlwaysBuildClosedPullRequests() {
return alwaysBuildClosedPullRequests;
}
public void setAlwaysBuildClosedPullRequests(Boolean alwaysBuildClosedPullRequests) {
this.alwaysBuildClosedPullRequests = alwaysBuildClosedPullRequests;
}
public ProjectWithConfiguration tags(String tags) {
this.tags = tags;
return this;
}
/**
* Get tags
* @return tags
**/
@ApiModelProperty(example = "null", value = "")
public String getTags() {
return tags;
}
public void setTags(String tags) {
this.tags = tags;
}
public ProjectWithConfiguration nuGetFeed(NuGetFeed nuGetFeed) {
this.nuGetFeed = nuGetFeed;
return this;
}
/**
* Not present in response from addProject.
* @return nuGetFeed
**/
@ApiModelProperty(example = "null", value = "Not present in response from addProject.")
public NuGetFeed getNuGetFeed() {
return nuGetFeed;
}
public void setNuGetFeed(NuGetFeed nuGetFeed) {
this.nuGetFeed = nuGetFeed;
}
public ProjectWithConfiguration securityDescriptor(SecurityDescriptor securityDescriptor) {
this.securityDescriptor = securityDescriptor;
return this;
}
/**
* Not present in response from addProject. Not always present in response from getProjects (only after updateProject or startBuild?).
* @return securityDescriptor
**/
@ApiModelProperty(example = "null", value = "Not present in response from addProject. Not always present in response from getProjects (only after updateProject or startBuild?).")
public SecurityDescriptor getSecurityDescriptor() {
return securityDescriptor;
}
public void setSecurityDescriptor(SecurityDescriptor securityDescriptor) {
this.securityDescriptor = securityDescriptor;
}
public ProjectWithConfiguration versionFormat(String versionFormat) {
this.versionFormat = versionFormat;
return this;
}
/**
* Get versionFormat
* @return versionFormat
**/
@NotNull
@Pattern(regexp="[{]build[}]")
@Size(min=7)
@ApiModelProperty(example = "null", required = true, value = "")
public String getVersionFormat() {
return versionFormat;
}
public void setVersionFormat(String versionFormat) {
this.versionFormat = versionFormat;
}
public ProjectWithConfiguration nextBuildNumber(Integer nextBuildNumber) {
this.nextBuildNumber = nextBuildNumber;
return this;
}
/**
* Get nextBuildNumber
* @return nextBuildNumber
**/
@ApiModelProperty(example = "null", value = "")
public Integer getNextBuildNumber() {
return nextBuildNumber;
}
public void setNextBuildNumber(Integer nextBuildNumber) {
this.nextBuildNumber = nextBuildNumber;
}
public ProjectWithConfiguration scheduleCrontabExpression(String scheduleCrontabExpression) {
this.scheduleCrontabExpression = scheduleCrontabExpression;
return this;
}
/**
* Build schedule as an NCrontab Expression. See https://github.com/atifaziz/NCrontab/wiki/Crontab-Expression
* @return scheduleCrontabExpression
**/
@ApiModelProperty(example = "null", value = "Build schedule as an NCrontab Expression. See https://github.com/atifaziz/NCrontab/wiki/Crontab-Expression")
public String getScheduleCrontabExpression() {
return scheduleCrontabExpression;
}
public void setScheduleCrontabExpression(String scheduleCrontabExpression) {
this.scheduleCrontabExpression = scheduleCrontabExpression;
}
public ProjectWithConfiguration repositoryAuthentication(RepositoryAuthenticationType repositoryAuthentication) {
this.repositoryAuthentication = repositoryAuthentication;
return this;
}
/**
* Get repositoryAuthentication
* @return repositoryAuthentication
**/
@ApiModelProperty(example = "null", value = "")
public RepositoryAuthenticationType getRepositoryAuthentication() {
return repositoryAuthentication;
}
public void setRepositoryAuthentication(RepositoryAuthenticationType repositoryAuthentication) {
this.repositoryAuthentication = repositoryAuthentication;
}
public ProjectWithConfiguration repositoryUsername(String repositoryUsername) {
this.repositoryUsername = repositoryUsername;
return this;
}
/**
* Get repositoryUsername
* @return repositoryUsername
**/
@ApiModelProperty(example = "null", value = "")
public String getRepositoryUsername() {
return repositoryUsername;
}
public void setRepositoryUsername(String repositoryUsername) {
this.repositoryUsername = repositoryUsername;
}
public ProjectWithConfiguration sshPublicKey(String sshPublicKey) {
this.sshPublicKey = sshPublicKey;
return this;
}
/**
* Get sshPublicKey
* @return sshPublicKey
**/
@ApiModelProperty(example = "null", value = "")
public String getSshPublicKey() {
return sshPublicKey;
}
public void setSshPublicKey(String sshPublicKey) {
this.sshPublicKey = sshPublicKey;
}
public ProjectWithConfiguration webhookId(String webhookId) {
this.webhookId = webhookId;
return this;
}
/**
* Get webhookId
* @return webhookId
**/
@ApiModelProperty(example = "null", value = "")
public String getWebhookId() {
return webhookId;
}
public void setWebhookId(String webhookId) {
this.webhookId = webhookId;
}
public ProjectWithConfiguration webhookUrl(String webhookUrl) {
this.webhookUrl = webhookUrl;
return this;
}
/**
* Get webhookUrl
* @return webhookUrl
**/
@ApiModelProperty(example = "null", value = "")
public String getWebhookUrl() {
return webhookUrl;
}
public void setWebhookUrl(String webhookUrl) {
this.webhookUrl = webhookUrl;
}
public ProjectWithConfiguration statusBadgeId(String statusBadgeId) {
this.statusBadgeId = statusBadgeId;
return this;
}
/**
* Get statusBadgeId
* @return statusBadgeId
**/
@ApiModelProperty(example = "null", value = "")
public String getStatusBadgeId() {
return statusBadgeId;
}
public void setStatusBadgeId(String statusBadgeId) {
this.statusBadgeId = statusBadgeId;
}
public ProjectWithConfiguration buildPriority(Integer buildPriority) {
this.buildPriority = buildPriority;
return this;
}
/**
* Get buildPriority
* minimum: 1
* @return buildPriority
**/
@Min(1)
@ApiModelProperty(example = "null", value = "")
public Integer getBuildPriority() {
return buildPriority;
}
public void setBuildPriority(Integer buildPriority) {
this.buildPriority = buildPriority;
}
public ProjectWithConfiguration ignoreAppveyorYml(Boolean ignoreAppveyorYml) {
this.ignoreAppveyorYml = ignoreAppveyorYml;
return this;
}
/**
* Get ignoreAppveyorYml
* @return ignoreAppveyorYml
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getIgnoreAppveyorYml() {
return ignoreAppveyorYml;
}
public void setIgnoreAppveyorYml(Boolean ignoreAppveyorYml) {
this.ignoreAppveyorYml = ignoreAppveyorYml;
}
public ProjectWithConfiguration customYmlName(String customYmlName) {
this.customYmlName = customYmlName;
return this;
}
/**
* Get customYmlName
* @return customYmlName
**/
@ApiModelProperty(example = "null", value = "")
public String getCustomYmlName() {
return customYmlName;
}
public void setCustomYmlName(String customYmlName) {
this.customYmlName = customYmlName;
}
public ProjectWithConfiguration _configuration(ProjectConfiguration _configuration) {
this._configuration = _configuration;
return this;
}
/**
* Get _configuration
* @return _configuration
**/
@NotNull
@ApiModelProperty(example = "null", required = true, value = "")
public ProjectConfiguration getConfiguration() {
return _configuration;
}
public void setConfiguration(ProjectConfiguration _configuration) {
this._configuration = _configuration;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProjectWithConfiguration projectWithConfiguration = (ProjectWithConfiguration) o;
return Objects.equals(this.projectId, projectWithConfiguration.projectId) &&
Objects.equals(this.accountName, projectWithConfiguration.accountName) &&
Objects.equals(this.name, projectWithConfiguration.name) &&
Objects.equals(this.slug, projectWithConfiguration.slug) &&
Objects.equals(this.created, projectWithConfiguration.created) &&
Objects.equals(this.updated, projectWithConfiguration.updated) &&
Objects.equals(this.accountId, projectWithConfiguration.accountId) &&
Objects.equals(this.builds, projectWithConfiguration.builds) &&
Objects.equals(this.repositoryType, projectWithConfiguration.repositoryType) &&
Objects.equals(this.repositoryScm, projectWithConfiguration.repositoryScm) &&
Objects.equals(this.repositoryName, projectWithConfiguration.repositoryName) &&
Objects.equals(this.repositoryBranch, projectWithConfiguration.repositoryBranch) &&
Objects.equals(this.isPrivate, projectWithConfiguration.isPrivate) &&
Objects.equals(this.skipBranchesWithoutAppveyorYml, projectWithConfiguration.skipBranchesWithoutAppveyorYml) &&
Objects.equals(this.enableSecureVariablesInPullRequests, projectWithConfiguration.enableSecureVariablesInPullRequests) &&
Objects.equals(this.enableSecureVariablesInPullRequestsFromSameRepo, projectWithConfiguration.enableSecureVariablesInPullRequestsFromSameRepo) &&
Objects.equals(this.enableDeploymentInPullRequests, projectWithConfiguration.enableDeploymentInPullRequests) &&
Objects.equals(this.saveBuildCacheInPullRequests, projectWithConfiguration.saveBuildCacheInPullRequests) &&
Objects.equals(this.rollingBuilds, projectWithConfiguration.rollingBuilds) &&
Objects.equals(this.rollingBuildsDoNotCancelRunningBuilds, projectWithConfiguration.rollingBuildsDoNotCancelRunningBuilds) &&
Objects.equals(this.alwaysBuildClosedPullRequests, projectWithConfiguration.alwaysBuildClosedPullRequests) &&
Objects.equals(this.tags, projectWithConfiguration.tags) &&
Objects.equals(this.nuGetFeed, projectWithConfiguration.nuGetFeed) &&
Objects.equals(this.securityDescriptor, projectWithConfiguration.securityDescriptor) &&
Objects.equals(this.versionFormat, projectWithConfiguration.versionFormat) &&
Objects.equals(this.nextBuildNumber, projectWithConfiguration.nextBuildNumber) &&
Objects.equals(this.scheduleCrontabExpression, projectWithConfiguration.scheduleCrontabExpression) &&
Objects.equals(this.repositoryAuthentication, projectWithConfiguration.repositoryAuthentication) &&
Objects.equals(this.repositoryUsername, projectWithConfiguration.repositoryUsername) &&
Objects.equals(this.sshPublicKey, projectWithConfiguration.sshPublicKey) &&
Objects.equals(this.webhookId, projectWithConfiguration.webhookId) &&
Objects.equals(this.webhookUrl, projectWithConfiguration.webhookUrl) &&
Objects.equals(this.statusBadgeId, projectWithConfiguration.statusBadgeId) &&
Objects.equals(this.buildPriority, projectWithConfiguration.buildPriority) &&
Objects.equals(this.ignoreAppveyorYml, projectWithConfiguration.ignoreAppveyorYml) &&
Objects.equals(this.customYmlName, projectWithConfiguration.customYmlName) &&
Objects.equals(this._configuration, projectWithConfiguration._configuration);
}
@Override
public int hashCode() {
return Objects.hash(projectId, accountName, name, slug, created, updated, accountId, builds, repositoryType, repositoryScm, repositoryName, repositoryBranch, isPrivate, skipBranchesWithoutAppveyorYml, enableSecureVariablesInPullRequests, enableSecureVariablesInPullRequestsFromSameRepo, enableDeploymentInPullRequests, saveBuildCacheInPullRequests, rollingBuilds, rollingBuildsDoNotCancelRunningBuilds, alwaysBuildClosedPullRequests, tags, nuGetFeed, securityDescriptor, versionFormat, nextBuildNumber, scheduleCrontabExpression, repositoryAuthentication, repositoryUsername, sshPublicKey, webhookId, webhookUrl, statusBadgeId, buildPriority, ignoreAppveyorYml, customYmlName, _configuration);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProjectWithConfiguration {\n");
sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n");
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" slug: ").append(toIndentedString(slug)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" builds: ").append(toIndentedString(builds)).append("\n");
sb.append(" repositoryType: ").append(toIndentedString(repositoryType)).append("\n");
sb.append(" repositoryScm: ").append(toIndentedString(repositoryScm)).append("\n");
sb.append(" repositoryName: ").append(toIndentedString(repositoryName)).append("\n");
sb.append(" repositoryBranch: ").append(toIndentedString(repositoryBranch)).append("\n");
sb.append(" isPrivate: ").append(toIndentedString(isPrivate)).append("\n");
sb.append(" skipBranchesWithoutAppveyorYml: ").append(toIndentedString(skipBranchesWithoutAppveyorYml)).append("\n");
sb.append(" enableSecureVariablesInPullRequests: ").append(toIndentedString(enableSecureVariablesInPullRequests)).append("\n");
sb.append(" enableSecureVariablesInPullRequestsFromSameRepo: ").append(toIndentedString(enableSecureVariablesInPullRequestsFromSameRepo)).append("\n");
sb.append(" enableDeploymentInPullRequests: ").append(toIndentedString(enableDeploymentInPullRequests)).append("\n");
sb.append(" saveBuildCacheInPullRequests: ").append(toIndentedString(saveBuildCacheInPullRequests)).append("\n");
sb.append(" rollingBuilds: ").append(toIndentedString(rollingBuilds)).append("\n");
sb.append(" rollingBuildsDoNotCancelRunningBuilds: ").append(toIndentedString(rollingBuildsDoNotCancelRunningBuilds)).append("\n");
sb.append(" alwaysBuildClosedPullRequests: ").append(toIndentedString(alwaysBuildClosedPullRequests)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" nuGetFeed: ").append(toIndentedString(nuGetFeed)).append("\n");
sb.append(" securityDescriptor: ").append(toIndentedString(securityDescriptor)).append("\n");
sb.append(" versionFormat: ").append(toIndentedString(versionFormat)).append("\n");
sb.append(" nextBuildNumber: ").append(toIndentedString(nextBuildNumber)).append("\n");
sb.append(" scheduleCrontabExpression: ").append(toIndentedString(scheduleCrontabExpression)).append("\n");
sb.append(" repositoryAuthentication: ").append(toIndentedString(repositoryAuthentication)).append("\n");
sb.append(" repositoryUsername: ").append(toIndentedString(repositoryUsername)).append("\n");
sb.append(" sshPublicKey: ").append(toIndentedString(sshPublicKey)).append("\n");
sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n");
sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n");
sb.append(" statusBadgeId: ").append(toIndentedString(statusBadgeId)).append("\n");
sb.append(" buildPriority: ").append(toIndentedString(buildPriority)).append("\n");
sb.append(" ignoreAppveyorYml: ").append(toIndentedString(ignoreAppveyorYml)).append("\n");
sb.append(" customYmlName: ").append(toIndentedString(customYmlName)).append("\n");
sb.append(" _configuration: ").append(toIndentedString(_configuration)).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