com.seeq.model.RemoteAgentDirectivesOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* 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.seeq.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;
/**
* RemoteAgentDirectivesOutputV1
*/
public class RemoteAgentDirectivesOutputV1 {
@JsonProperty("runVersion")
private String runVersion = null;
@JsonProperty("stageInstaller")
private String stageInstaller = null;
public RemoteAgentDirectivesOutputV1 runVersion(String runVersion) {
this.runVersion = runVersion;
return this;
}
/**
* Name of the version from availableVersions in the remote agent status that the remote agent should run. Either by continuing to run that version or by switching to it.
* @return runVersion
**/
@Schema(description = "Name of the version from availableVersions in the remote agent status that the remote agent should run. Either by continuing to run that version or by switching to it.")
public String getRunVersion() {
return runVersion;
}
public void setRunVersion(String runVersion) {
this.runVersion = runVersion;
}
public RemoteAgentDirectivesOutputV1 stageInstaller(String stageInstaller) {
this.stageInstaller = stageInstaller;
return this;
}
/**
* Name of an installer image that should be downloaded and extracted on the remote agent
* @return stageInstaller
**/
@Schema(description = "Name of an installer image that should be downloaded and extracted on the remote agent")
public String getStageInstaller() {
return stageInstaller;
}
public void setStageInstaller(String stageInstaller) {
this.stageInstaller = stageInstaller;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RemoteAgentDirectivesOutputV1 remoteAgentDirectivesOutputV1 = (RemoteAgentDirectivesOutputV1) o;
return Objects.equals(this.runVersion, remoteAgentDirectivesOutputV1.runVersion) &&
Objects.equals(this.stageInstaller, remoteAgentDirectivesOutputV1.stageInstaller);
}
@Override
public int hashCode() {
return Objects.hash(runVersion, stageInstaller);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RemoteAgentDirectivesOutputV1 {\n");
sb.append(" runVersion: ").append(toIndentedString(runVersion)).append("\n");
sb.append(" stageInstaller: ").append(toIndentedString(stageInstaller)).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 ");
}
}