com.seeq.model.FormulaPackageInputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 64.3.0-v202405012032
*
*
* 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;
/**
* FormulaPackageInputV1
*/
public class FormulaPackageInputV1 {
@JsonProperty("creatorContactInfo")
private String creatorContactInfo = null;
@JsonProperty("creatorName")
private String creatorName = null;
@JsonProperty("hostId")
private String hostId = null;
@JsonProperty("installer")
private String installer = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("syncToken")
private String syncToken = null;
@JsonProperty("versionString")
private String versionString = null;
public FormulaPackageInputV1 creatorContactInfo(String creatorContactInfo) {
this.creatorContactInfo = creatorContactInfo;
return this;
}
/**
* The contact information of the entity that created this FormulaPackage. If not specified, the email address of the installer will try to be used.
* @return creatorContactInfo
**/
@Schema(description = "The contact information of the entity that created this FormulaPackage. If not specified, the email address of the installer will try to be used.")
public String getCreatorContactInfo() {
return creatorContactInfo;
}
public void setCreatorContactInfo(String creatorContactInfo) {
this.creatorContactInfo = creatorContactInfo;
}
public FormulaPackageInputV1 creatorName(String creatorName) {
this.creatorName = creatorName;
return this;
}
/**
* The name of the entity that created this FormulaPackage. If not specified, the name of the installer will be used.
* @return creatorName
**/
@Schema(description = "The name of the entity that created this FormulaPackage. If not specified, the name of the installer will be used.")
public String getCreatorName() {
return creatorName;
}
public void setCreatorName(String creatorName) {
this.creatorName = creatorName;
}
public FormulaPackageInputV1 hostId(String hostId) {
this.hostId = hostId;
return this;
}
/**
* The Seeq identifier for a datasource.
* @return hostId
**/
@Schema(description = "The Seeq identifier for a datasource.")
public String getHostId() {
return hostId;
}
public void setHostId(String hostId) {
this.hostId = hostId;
}
public FormulaPackageInputV1 installer(String installer) {
this.installer = installer;
return this;
}
/**
* The ID of the Identity that installer this FormulaPackage. If omitted when creating a new FormulaPackage, the authenticated user is used by default. Only administrators may set this to a different Identity.
* @return installer
**/
@Schema(description = "The ID of the Identity that installer this FormulaPackage. If omitted when creating a new FormulaPackage, the authenticated user is used by default. Only administrators may set this to a different Identity.")
public String getInstaller() {
return installer;
}
public void setInstaller(String installer) {
this.installer = installer;
}
public FormulaPackageInputV1 name(String name) {
this.name = name;
return this;
}
/**
* The name of this FormulaPackage.
* @return name
**/
@Schema(description = "The name of this FormulaPackage.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public FormulaPackageInputV1 syncToken(String syncToken) {
this.syncToken = syncToken;
return this;
}
/**
* An arbitrary token (often a date or random ID) that is used during metadata syncs. At the end of a full sync, items with mismatching sync tokens are identified as stale and may be archived using the Datasources clean-up API.
* @return syncToken
**/
@Schema(description = "An arbitrary token (often a date or random ID) that is used during metadata syncs. At the end of a full sync, items with mismatching sync tokens are identified as stale and may be archived using the Datasources clean-up API.")
public String getSyncToken() {
return syncToken;
}
public void setSyncToken(String syncToken) {
this.syncToken = syncToken;
}
public FormulaPackageInputV1 versionString(String versionString) {
this.versionString = versionString;
return this;
}
/**
* The version of this FormulaPackage if such identification is useful. This value does not need to conform to any set semantics.
* @return versionString
**/
@Schema(description = "The version of this FormulaPackage if such identification is useful. This value does not need to conform to any set semantics.")
public String getVersionString() {
return versionString;
}
public void setVersionString(String versionString) {
this.versionString = versionString;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FormulaPackageInputV1 formulaPackageInputV1 = (FormulaPackageInputV1) o;
return Objects.equals(this.creatorContactInfo, formulaPackageInputV1.creatorContactInfo) &&
Objects.equals(this.creatorName, formulaPackageInputV1.creatorName) &&
Objects.equals(this.hostId, formulaPackageInputV1.hostId) &&
Objects.equals(this.installer, formulaPackageInputV1.installer) &&
Objects.equals(this.name, formulaPackageInputV1.name) &&
Objects.equals(this.syncToken, formulaPackageInputV1.syncToken) &&
Objects.equals(this.versionString, formulaPackageInputV1.versionString);
}
@Override
public int hashCode() {
return Objects.hash(creatorContactInfo, creatorName, hostId, installer, name, syncToken, versionString);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormulaPackageInputV1 {\n");
sb.append(" creatorContactInfo: ").append(toIndentedString(creatorContactInfo)).append("\n");
sb.append(" creatorName: ").append(toIndentedString(creatorName)).append("\n");
sb.append(" hostId: ").append(toIndentedString(hostId)).append("\n");
sb.append(" installer: ").append(toIndentedString(installer)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" syncToken: ").append(toIndentedString(syncToken)).append("\n");
sb.append(" versionString: ").append(toIndentedString(versionString)).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 ");
}
}