com.seeq.model.DirectiveInputV1 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 io.swagger.v3.oas.annotations.media.Schema;
/**
* DirectiveInputV1
*/
public class DirectiveInputV1 {
@JsonProperty("downloadInstaller")
private Boolean downloadInstaller = null;
@JsonProperty("runVersion")
private String runVersion = null;
@JsonProperty("stageInstaller")
private String stageInstaller = null;
public DirectiveInputV1 downloadInstaller(Boolean downloadInstaller) {
this.downloadInstaller = downloadInstaller;
return this;
}
/**
* If true the installer must be downloaded from the seeq site.
* @return downloadInstaller
**/
@Schema(description = "If true the installer must be downloaded from the seeq site.")
public Boolean getDownloadInstaller() {
return downloadInstaller;
}
public void setDownloadInstaller(Boolean downloadInstaller) {
this.downloadInstaller = downloadInstaller;
}
public DirectiveInputV1 runVersion(String runVersion) {
this.runVersion = runVersion;
return this;
}
/**
* Product Marketing Name of the installer
* @return runVersion
**/
@Schema(description = "Product Marketing Name of the installer")
public String getRunVersion() {
return runVersion;
}
public void setRunVersion(String runVersion) {
this.runVersion = runVersion;
}
public DirectiveInputV1 stageInstaller(String stageInstaller) {
this.stageInstaller = stageInstaller;
return this;
}
/**
* Installer name with extension
* @return stageInstaller
**/
@Schema(description = "Installer name with extension")
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;
}
DirectiveInputV1 directiveInputV1 = (DirectiveInputV1) o;
return Objects.equals(this.downloadInstaller, directiveInputV1.downloadInstaller) &&
Objects.equals(this.runVersion, directiveInputV1.runVersion) &&
Objects.equals(this.stageInstaller, directiveInputV1.stageInstaller);
}
@Override
public int hashCode() {
return Objects.hash(downloadInstaller, runVersion, stageInstaller);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DirectiveInputV1 {\n");
sb.append(" downloadInstaller: ").append(toIndentedString(downloadInstaller)).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 ");
}
}