com.seeq.model.ConfiguredDirectivesOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 65.1.3-v202408082312
*
*
* 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 com.seeq.model.InstallerOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
* ConfiguredDirectivesOutputV1
*/
public class ConfiguredDirectivesOutputV1 {
@JsonProperty("installers")
private List installers = new ArrayList();
@JsonProperty("runVersion")
private String runVersion = null;
@JsonProperty("stageInstaller")
private String stageInstaller = null;
public ConfiguredDirectivesOutputV1 installers(List installers) {
this.installers = installers;
return this;
}
public ConfiguredDirectivesOutputV1 addInstallersItem(InstallerOutputV1 installersItem) {
if (this.installers == null) {
this.installers = new ArrayList();
}
this.installers.add(installersItem);
return this;
}
/**
* List of installers
* @return installers
**/
@Schema(description = "List of installers")
public List getInstallers() {
return installers;
}
public void setInstallers(List installers) {
this.installers = installers;
}
public ConfiguredDirectivesOutputV1 runVersion(String runVersion) {
this.runVersion = runVersion;
return this;
}
/**
* Run Version
* @return runVersion
**/
@Schema(description = "Run Version")
public String getRunVersion() {
return runVersion;
}
public void setRunVersion(String runVersion) {
this.runVersion = runVersion;
}
public ConfiguredDirectivesOutputV1 stageInstaller(String stageInstaller) {
this.stageInstaller = stageInstaller;
return this;
}
/**
* Staged Installer
* @return stageInstaller
**/
@Schema(description = "Staged Installer")
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;
}
ConfiguredDirectivesOutputV1 configuredDirectivesOutputV1 = (ConfiguredDirectivesOutputV1) o;
return Objects.equals(this.installers, configuredDirectivesOutputV1.installers) &&
Objects.equals(this.runVersion, configuredDirectivesOutputV1.runVersion) &&
Objects.equals(this.stageInstaller, configuredDirectivesOutputV1.stageInstaller);
}
@Override
public int hashCode() {
return Objects.hash(installers, runVersion, stageInstaller);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConfiguredDirectivesOutputV1 {\n");
sb.append(" installers: ").append(toIndentedString(installers)).append("\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 ");
}
}