All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.schema.entity.app.external.CollateAIAppPrivateConfig Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.entity.app.external;

import javax.annotation.processing.Generated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.openmetadata.annotations.PasswordField;
import org.openmetadata.schema.entity.app.external.collateAI.CollateAILimits;


/**
 * CollateAIAppPrivateConfig
 * 

* PRivate Configuration for the CollateAI External Application. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "waiiInstance", "collateURL", "token", "limits" }) @Generated("jsonschema2pojo") public class CollateAIAppPrivateConfig { /** * WAII Instance *

* WAII API host URL * (Required) * */ @JsonProperty("waiiInstance") @JsonPropertyDescription("WAII API host URL") @NotNull private String waiiInstance = "https://tweakit.waii.ai/api/"; /** * Collate URL *

* Collate Server public URL. WAII will use this information to interact with the server. E.g., https://sandbox.getcollate.io * (Required) * */ @JsonProperty("collateURL") @JsonPropertyDescription("Collate Server public URL. WAII will use this information to interact with the server. E.g., https://sandbox.getcollate.io") @NotNull private String collateURL; /** * WAII API Token *

* WAII API Token * (Required) * */ @JsonProperty("token") @JsonPropertyDescription("WAII API Token") @PasswordField @NotNull private String token; /** * Limits for the CollateAI Application. * (Required) * */ @JsonProperty("limits") @JsonPropertyDescription("Limits for the CollateAI Application.") @Valid @NotNull private CollateAILimits limits; /** * WAII Instance *

* WAII API host URL * (Required) * */ @JsonProperty("waiiInstance") public String getWaiiInstance() { return waiiInstance; } /** * WAII Instance *

* WAII API host URL * (Required) * */ @JsonProperty("waiiInstance") public void setWaiiInstance(String waiiInstance) { this.waiiInstance = waiiInstance; } public CollateAIAppPrivateConfig withWaiiInstance(String waiiInstance) { this.waiiInstance = waiiInstance; return this; } /** * Collate URL *

* Collate Server public URL. WAII will use this information to interact with the server. E.g., https://sandbox.getcollate.io * (Required) * */ @JsonProperty("collateURL") public String getCollateURL() { return collateURL; } /** * Collate URL *

* Collate Server public URL. WAII will use this information to interact with the server. E.g., https://sandbox.getcollate.io * (Required) * */ @JsonProperty("collateURL") public void setCollateURL(String collateURL) { this.collateURL = collateURL; } public CollateAIAppPrivateConfig withCollateURL(String collateURL) { this.collateURL = collateURL; return this; } /** * WAII API Token *

* WAII API Token * (Required) * */ @JsonProperty("token") @PasswordField public String getToken() { return token; } /** * WAII API Token *

* WAII API Token * (Required) * */ @JsonProperty("token") @PasswordField public void setToken(String token) { this.token = token; } public CollateAIAppPrivateConfig withToken(String token) { this.token = token; return this; } /** * Limits for the CollateAI Application. * (Required) * */ @JsonProperty("limits") public CollateAILimits getLimits() { return limits; } /** * Limits for the CollateAI Application. * (Required) * */ @JsonProperty("limits") public void setLimits(CollateAILimits limits) { this.limits = limits; } public CollateAIAppPrivateConfig withLimits(CollateAILimits limits) { this.limits = limits; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(CollateAIAppPrivateConfig.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("waiiInstance"); sb.append('='); sb.append(((this.waiiInstance == null)?"":this.waiiInstance)); sb.append(','); sb.append("collateURL"); sb.append('='); sb.append(((this.collateURL == null)?"":this.collateURL)); sb.append(','); sb.append("token"); sb.append('='); sb.append(((this.token == null)?"":this.token)); sb.append(','); sb.append("limits"); sb.append('='); sb.append(((this.limits == null)?"":this.limits)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.waiiInstance == null)? 0 :this.waiiInstance.hashCode())); result = ((result* 31)+((this.collateURL == null)? 0 :this.collateURL.hashCode())); result = ((result* 31)+((this.limits == null)? 0 :this.limits.hashCode())); result = ((result* 31)+((this.token == null)? 0 :this.token.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof CollateAIAppPrivateConfig) == false) { return false; } CollateAIAppPrivateConfig rhs = ((CollateAIAppPrivateConfig) other); return (((((this.waiiInstance == rhs.waiiInstance)||((this.waiiInstance!= null)&&this.waiiInstance.equals(rhs.waiiInstance)))&&((this.collateURL == rhs.collateURL)||((this.collateURL!= null)&&this.collateURL.equals(rhs.collateURL))))&&((this.limits == rhs.limits)||((this.limits!= null)&&this.limits.equals(rhs.limits))))&&((this.token == rhs.token)||((this.token!= null)&&this.token.equals(rhs.token)))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy