com.katalon.testops.model.AgentConfigResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testops-client-openapi Show documentation
Show all versions of testops-client-openapi Show documentation
Katalon TestOps Client generated by OpenAPI
/*
* Katalon TestOps API reference
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0.0
*
*
* 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 com.katalon.testops.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* AgentConfigResource
*/
public class AgentConfigResource {
@JsonProperty("teamId")
private String teamId = null;
@JsonProperty("agentName")
private String agentName = null;
@JsonProperty("apiKey")
private String apiKey = null;
@JsonProperty("os")
private String os = null;
@JsonProperty("email")
private String email = null;
public AgentConfigResource teamId(String teamId) {
this.teamId = teamId;
return this;
}
/**
* Get teamId
* @return teamId
**/
@Schema(description = "")
public String getTeamId() {
return teamId;
}
public void setTeamId(String teamId) {
this.teamId = teamId;
}
public AgentConfigResource agentName(String agentName) {
this.agentName = agentName;
return this;
}
/**
* Get agentName
* @return agentName
**/
@Schema(description = "")
public String getAgentName() {
return agentName;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public AgentConfigResource apiKey(String apiKey) {
this.apiKey = apiKey;
return this;
}
/**
* Get apiKey
* @return apiKey
**/
@Schema(description = "")
public String getApiKey() {
return apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
public AgentConfigResource os(String os) {
this.os = os;
return this;
}
/**
* Get os
* @return os
**/
@Schema(description = "")
public String getOs() {
return os;
}
public void setOs(String os) {
this.os = os;
}
public AgentConfigResource email(String email) {
this.email = email;
return this;
}
/**
* Get email
* @return email
**/
@Schema(description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AgentConfigResource agentConfigResource = (AgentConfigResource) o;
return Objects.equals(this.teamId, agentConfigResource.teamId) &&
Objects.equals(this.agentName, agentConfigResource.agentName) &&
Objects.equals(this.apiKey, agentConfigResource.apiKey) &&
Objects.equals(this.os, agentConfigResource.os) &&
Objects.equals(this.email, agentConfigResource.email);
}
@Override
public int hashCode() {
return Objects.hash(teamId, agentName, apiKey, os, email);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AgentConfigResource {\n");
sb.append(" teamId: ").append(toIndentedString(teamId)).append("\n");
sb.append(" agentName: ").append(toIndentedString(agentName)).append("\n");
sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n");
sb.append(" os: ").append(toIndentedString(os)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).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 ");
}
}