com.seeq.model.InstallerOutputV1 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;
/**
* List of installers
*/
@Schema(description = "List of installers")
public class InstallerOutputV1 {
@JsonProperty("flag")
private String flag = null;
@JsonProperty("marketingName")
private String marketingName = null;
@JsonProperty("name")
private String name = null;
public InstallerOutputV1 flag(String flag) {
this.flag = flag;
return this;
}
/**
* Flag is the suffix added at the end of a marketingName \"Retrieved\" when installer name is retrieved from Seeq download site Or \"Low Disk Space\" when there isn't enough disk space on server to download the installer
* @return flag
**/
@Schema(description = "Flag is the suffix added at the end of a marketingName \"Retrieved\" when installer name is retrieved from Seeq download site Or \"Low Disk Space\" when there isn't enough disk space on server to download the installer")
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public InstallerOutputV1 marketingName(String marketingName) {
this.marketingName = marketingName;
return this;
}
/**
* Marketing Name of the installer
* @return marketingName
**/
@Schema(description = "Marketing Name of the installer")
public String getMarketingName() {
return marketingName;
}
public void setMarketingName(String marketingName) {
this.marketingName = marketingName;
}
public InstallerOutputV1 name(String name) {
this.name = name;
return this;
}
/**
* Fully qualified name of the installer file
* @return name
**/
@Schema(description = "Fully qualified name of the installer file")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InstallerOutputV1 installerOutputV1 = (InstallerOutputV1) o;
return Objects.equals(this.flag, installerOutputV1.flag) &&
Objects.equals(this.marketingName, installerOutputV1.marketingName) &&
Objects.equals(this.name, installerOutputV1.name);
}
@Override
public int hashCode() {
return Objects.hash(flag, marketingName, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstallerOutputV1 {\n");
sb.append(" flag: ").append(toIndentedString(flag)).append("\n");
sb.append(" marketingName: ").append(toIndentedString(marketingName)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).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 ");
}
}