![JAR search and dependency download from the Maven repository](/logo.png)
com.katalon.testops.api.model.CircleCIAgentResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testops-api Show documentation
Show all versions of testops-api Show documentation
Katalon TestOps API Client generated by OpenAPI
The newest version!
/*
* Katalon TestOps API reference
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.katalon.testops.api.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CircleCIAgentResource
*/
@JsonPropertyOrder({
CircleCIAgentResource.JSON_PROPERTY_ID,
CircleCIAgentResource.JSON_PROPERTY_NAME,
CircleCIAgentResource.JSON_PROPERTY_URL,
CircleCIAgentResource.JSON_PROPERTY_USERNAME,
CircleCIAgentResource.JSON_PROPERTY_TOKEN,
CircleCIAgentResource.JSON_PROPERTY_PROJECT,
CircleCIAgentResource.JSON_PROPERTY_VCS_TYPE,
CircleCIAgentResource.JSON_PROPERTY_BRANCH,
CircleCIAgentResource.JSON_PROPERTY_TEAM_ID,
CircleCIAgentResource.JSON_PROPERTY_API_KEY
})
@JsonTypeName("CircleCIAgentResource")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CircleCIAgentResource implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_ID = "id";
private Long id;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_URL = "url";
private String url;
public static final String JSON_PROPERTY_USERNAME = "username";
private String username;
public static final String JSON_PROPERTY_TOKEN = "token";
private String token;
public static final String JSON_PROPERTY_PROJECT = "project";
private String project;
public static final String JSON_PROPERTY_VCS_TYPE = "vcsType";
private String vcsType;
public static final String JSON_PROPERTY_BRANCH = "branch";
private String branch;
public static final String JSON_PROPERTY_TEAM_ID = "teamId";
private Long teamId;
public static final String JSON_PROPERTY_API_KEY = "apiKey";
private String apiKey;
public CircleCIAgentResource id(Long id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public CircleCIAgentResource name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public CircleCIAgentResource url(String url) {
this.url = url;
return this;
}
/**
* Get url
* @return url
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public CircleCIAgentResource username(String username) {
this.username = username;
return this;
}
/**
* Get username
* @return username
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public CircleCIAgentResource token(String token) {
this.token = token;
return this;
}
/**
* Get token
* @return token
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TOKEN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public CircleCIAgentResource project(String project) {
this.project = project;
return this;
}
/**
* Get project
* @return project
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PROJECT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProject() {
return project;
}
public void setProject(String project) {
this.project = project;
}
public CircleCIAgentResource vcsType(String vcsType) {
this.vcsType = vcsType;
return this;
}
/**
* Get vcsType
* @return vcsType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_VCS_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getVcsType() {
return vcsType;
}
public void setVcsType(String vcsType) {
this.vcsType = vcsType;
}
public CircleCIAgentResource branch(String branch) {
this.branch = branch;
return this;
}
/**
* Get branch
* @return branch
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BRANCH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
public CircleCIAgentResource teamId(Long teamId) {
this.teamId = teamId;
return this;
}
/**
* Get teamId
* @return teamId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TEAM_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTeamId() {
return teamId;
}
public void setTeamId(Long teamId) {
this.teamId = teamId;
}
public CircleCIAgentResource apiKey(String apiKey) {
this.apiKey = apiKey;
return this;
}
/**
* Get apiKey
* @return apiKey
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_API_KEY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getApiKey() {
return apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CircleCIAgentResource circleCIAgentResource = (CircleCIAgentResource) o;
return Objects.equals(this.id, circleCIAgentResource.id) &&
Objects.equals(this.name, circleCIAgentResource.name) &&
Objects.equals(this.url, circleCIAgentResource.url) &&
Objects.equals(this.username, circleCIAgentResource.username) &&
Objects.equals(this.token, circleCIAgentResource.token) &&
Objects.equals(this.project, circleCIAgentResource.project) &&
Objects.equals(this.vcsType, circleCIAgentResource.vcsType) &&
Objects.equals(this.branch, circleCIAgentResource.branch) &&
Objects.equals(this.teamId, circleCIAgentResource.teamId) &&
Objects.equals(this.apiKey, circleCIAgentResource.apiKey);
}
@Override
public int hashCode() {
return Objects.hash(id, name, url, username, token, project, vcsType, branch, teamId, apiKey);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CircleCIAgentResource {\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");
sb.append(" username: ").append(toIndentedString(username)).append("\n");
sb.append(" token: ").append(toIndentedString(token)).append("\n");
sb.append(" project: ").append(toIndentedString(project)).append("\n");
sb.append(" vcsType: ").append(toIndentedString(vcsType)).append("\n");
sb.append(" branch: ").append(toIndentedString(branch)).append("\n");
sb.append(" teamId: ").append(toIndentedString(teamId)).append("\n");
sb.append(" apiKey: ").append(toIndentedString(apiKey)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy