Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* OpenMetadata Apis
* --- title: APIs slug: /main-concepts/metadata-standard/apis --- # APIs OpenMetadata supports REST APIs for getting data and in and out of the metadata service. APIs are built using general best practices of REST API design. We take a schema-first approach by defining Types and Entities in JSON Schema. We implement APIs based on these schemas. ## Overview ### URI Following REST API conventions are followed for Resource URIs: - Operations for an entity are available through the Resource URI as a collection `.../api//entities`. - Plural of the entity name is used as the collection name - example `.../api/v1/users`. - Trailing forward slash is not used in the endpoint URI. Example use `.../api/v1/databases` instead of `.../api/v1/databases/`. - Resource URI for an entity instance by the entity id is `.../api/v1/entities/{id}`. - Resource URI for an entity instance by name is `.../api/v1/entities/name/{name}`. ### Resource Representation - The REST API calls return a response with JSON `Content-Type` and `Content-Length` that includes the length of the response. - All responses include the Resource ID field even though the id was provided in the request to simplify the consumption of the response at the client. - Entity names and field names use `camelCase` per Javascript naming convention. - All resources include an attribute `href` with Resource URI. All relationship fields of an entity will also include `href` links to the related resource for easy access. - Unknown fields sent by the client in API requests are not ignored to ensure the data sent by the client is not dropped at the server without the user being aware of it. ## API Organization You can find the swagger documentation [here](/swagger.html). In a nutshell: **Data Asset APIs** - support operations related to data asset entities. - `.../api/v1/databases` - `...api/v1/tables` - `.../api/v1/metrics` - `.../api/v1/dashboards` - `.../api/v1/reports` - `.../api/v1/pipelines` - `.../api/v1/topics` **Service APIs** - support operations related to services from which metadata is collected: - `.../api/v1/services` is the collection of all service resources. - `.../api/v1/services/databaseService` - APIs related to database services. This includes Transactional databases - MySQL, Postgres, MSSQL, Oracle, and Data Warehouses - Apache Hive BigQuery, Redshift, and Snowflake. - `.../api/v1/services/dashboardService` - APIs related to Dashboard Services. This includes Looker, Superset, and Tableau. - `.../api/v1/services/messagingService` - APIs related to Messaging Services. This includes Apache Kafka, Redpanda, - Kinesis, and others. **Teams & Users APIs** - `.../api/v1/teams` - APIs related to team entities - `.../api/v1/users` - APIs related to user entities **Search & Suggest APIs** - support search and suggest APIs: - `.../api/v1/search` - collection for search and suggest APIs - `.../api/v1/search/query` - search entities using query text - `.../api/v1/search/suggest` - get suggested entities used for auto-completion **Other APIs** - `.../api/v1/tags` for APIs related to Classification and Tag entities - `../api/v1/feeds` for APIs related to Threads and Posts entities - `.../api/v1/usage` for reporting usage information of entities
*
* The version of the OpenAPI document: 1.5.4
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openmetadata.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.LinkedHashSet;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* ConfigureApplication200ResponseLanguage
*/
@JsonPropertyOrder({
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_LANGUAGE,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_DISPLAY_NAME,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_COUNTRY,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_VARIANT,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_SCRIPT,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_UNICODE_LOCALE_KEYS,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_DISPLAY_LANGUAGE,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_DISPLAY_SCRIPT,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_DISPLAY_COUNTRY,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_DISPLAY_VARIANT,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_EXTENSION_KEYS,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_ISO3_LANGUAGE,
ConfigureApplication200ResponseLanguage.JSON_PROPERTY_ISO3_COUNTRY
})
@JsonTypeName("configureApplication_200_response_language")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-13T20:15:57.513387948Z[Etc/UTC]")
public class ConfigureApplication200ResponseLanguage {
public static final String JSON_PROPERTY_LANGUAGE = "language";
private String language;
public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName";
private String displayName;
public static final String JSON_PROPERTY_COUNTRY = "country";
private String country;
public static final String JSON_PROPERTY_VARIANT = "variant";
private String variant;
public static final String JSON_PROPERTY_SCRIPT = "script";
private String script;
public static final String JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES = "unicodeLocaleAttributes";
private Set unicodeLocaleAttributes;
public static final String JSON_PROPERTY_UNICODE_LOCALE_KEYS = "unicodeLocaleKeys";
private Set unicodeLocaleKeys;
public static final String JSON_PROPERTY_DISPLAY_LANGUAGE = "displayLanguage";
private String displayLanguage;
public static final String JSON_PROPERTY_DISPLAY_SCRIPT = "displayScript";
private String displayScript;
public static final String JSON_PROPERTY_DISPLAY_COUNTRY = "displayCountry";
private String displayCountry;
public static final String JSON_PROPERTY_DISPLAY_VARIANT = "displayVariant";
private String displayVariant;
public static final String JSON_PROPERTY_EXTENSION_KEYS = "extensionKeys";
private Set extensionKeys;
public static final String JSON_PROPERTY_ISO3_LANGUAGE = "iso3Language";
private String iso3Language;
public static final String JSON_PROPERTY_ISO3_COUNTRY = "iso3Country";
private String iso3Country;
public ConfigureApplication200ResponseLanguage() {
}
public ConfigureApplication200ResponseLanguage language(String language) {
this.language = language;
return this;
}
/**
* Get language
* @return language
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLanguage() {
return language;
}
@JsonProperty(JSON_PROPERTY_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLanguage(String language) {
this.language = language;
}
public ConfigureApplication200ResponseLanguage displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Get displayName
* @return displayName
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayName() {
return displayName;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public ConfigureApplication200ResponseLanguage country(String country) {
this.country = country;
return this;
}
/**
* Get country
* @return country
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCountry() {
return country;
}
@JsonProperty(JSON_PROPERTY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCountry(String country) {
this.country = country;
}
public ConfigureApplication200ResponseLanguage variant(String variant) {
this.variant = variant;
return this;
}
/**
* Get variant
* @return variant
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_VARIANT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getVariant() {
return variant;
}
@JsonProperty(JSON_PROPERTY_VARIANT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setVariant(String variant) {
this.variant = variant;
}
public ConfigureApplication200ResponseLanguage script(String script) {
this.script = script;
return this;
}
/**
* Get script
* @return script
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SCRIPT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getScript() {
return script;
}
@JsonProperty(JSON_PROPERTY_SCRIPT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setScript(String script) {
this.script = script;
}
public ConfigureApplication200ResponseLanguage unicodeLocaleAttributes(Set unicodeLocaleAttributes) {
this.unicodeLocaleAttributes = unicodeLocaleAttributes;
return this;
}
public ConfigureApplication200ResponseLanguage addUnicodeLocaleAttributesItem(String unicodeLocaleAttributesItem) {
if (this.unicodeLocaleAttributes == null) {
this.unicodeLocaleAttributes = new LinkedHashSet<>();
}
this.unicodeLocaleAttributes.add(unicodeLocaleAttributesItem);
return this;
}
/**
* Get unicodeLocaleAttributes
* @return unicodeLocaleAttributes
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Set getUnicodeLocaleAttributes() {
return unicodeLocaleAttributes;
}
@JsonDeserialize(as = LinkedHashSet.class)
@JsonProperty(JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUnicodeLocaleAttributes(Set unicodeLocaleAttributes) {
this.unicodeLocaleAttributes = unicodeLocaleAttributes;
}
public ConfigureApplication200ResponseLanguage unicodeLocaleKeys(Set unicodeLocaleKeys) {
this.unicodeLocaleKeys = unicodeLocaleKeys;
return this;
}
public ConfigureApplication200ResponseLanguage addUnicodeLocaleKeysItem(String unicodeLocaleKeysItem) {
if (this.unicodeLocaleKeys == null) {
this.unicodeLocaleKeys = new LinkedHashSet<>();
}
this.unicodeLocaleKeys.add(unicodeLocaleKeysItem);
return this;
}
/**
* Get unicodeLocaleKeys
* @return unicodeLocaleKeys
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UNICODE_LOCALE_KEYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Set getUnicodeLocaleKeys() {
return unicodeLocaleKeys;
}
@JsonDeserialize(as = LinkedHashSet.class)
@JsonProperty(JSON_PROPERTY_UNICODE_LOCALE_KEYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUnicodeLocaleKeys(Set unicodeLocaleKeys) {
this.unicodeLocaleKeys = unicodeLocaleKeys;
}
public ConfigureApplication200ResponseLanguage displayLanguage(String displayLanguage) {
this.displayLanguage = displayLanguage;
return this;
}
/**
* Get displayLanguage
* @return displayLanguage
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayLanguage() {
return displayLanguage;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayLanguage(String displayLanguage) {
this.displayLanguage = displayLanguage;
}
public ConfigureApplication200ResponseLanguage displayScript(String displayScript) {
this.displayScript = displayScript;
return this;
}
/**
* Get displayScript
* @return displayScript
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_SCRIPT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayScript() {
return displayScript;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_SCRIPT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayScript(String displayScript) {
this.displayScript = displayScript;
}
public ConfigureApplication200ResponseLanguage displayCountry(String displayCountry) {
this.displayCountry = displayCountry;
return this;
}
/**
* Get displayCountry
* @return displayCountry
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayCountry() {
return displayCountry;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayCountry(String displayCountry) {
this.displayCountry = displayCountry;
}
public ConfigureApplication200ResponseLanguage displayVariant(String displayVariant) {
this.displayVariant = displayVariant;
return this;
}
/**
* Get displayVariant
* @return displayVariant
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_VARIANT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayVariant() {
return displayVariant;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_VARIANT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayVariant(String displayVariant) {
this.displayVariant = displayVariant;
}
public ConfigureApplication200ResponseLanguage extensionKeys(Set extensionKeys) {
this.extensionKeys = extensionKeys;
return this;
}
public ConfigureApplication200ResponseLanguage addExtensionKeysItem(String extensionKeysItem) {
if (this.extensionKeys == null) {
this.extensionKeys = new LinkedHashSet<>();
}
this.extensionKeys.add(extensionKeysItem);
return this;
}
/**
* Get extensionKeys
* @return extensionKeys
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EXTENSION_KEYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Set getExtensionKeys() {
return extensionKeys;
}
@JsonDeserialize(as = LinkedHashSet.class)
@JsonProperty(JSON_PROPERTY_EXTENSION_KEYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setExtensionKeys(Set extensionKeys) {
this.extensionKeys = extensionKeys;
}
public ConfigureApplication200ResponseLanguage iso3Language(String iso3Language) {
this.iso3Language = iso3Language;
return this;
}
/**
* Get iso3Language
* @return iso3Language
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ISO3_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIso3Language() {
return iso3Language;
}
@JsonProperty(JSON_PROPERTY_ISO3_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIso3Language(String iso3Language) {
this.iso3Language = iso3Language;
}
public ConfigureApplication200ResponseLanguage iso3Country(String iso3Country) {
this.iso3Country = iso3Country;
return this;
}
/**
* Get iso3Country
* @return iso3Country
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ISO3_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIso3Country() {
return iso3Country;
}
@JsonProperty(JSON_PROPERTY_ISO3_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIso3Country(String iso3Country) {
this.iso3Country = iso3Country;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConfigureApplication200ResponseLanguage configureApplication200ResponseLanguage = (ConfigureApplication200ResponseLanguage) o;
return Objects.equals(this.language, configureApplication200ResponseLanguage.language) &&
Objects.equals(this.displayName, configureApplication200ResponseLanguage.displayName) &&
Objects.equals(this.country, configureApplication200ResponseLanguage.country) &&
Objects.equals(this.variant, configureApplication200ResponseLanguage.variant) &&
Objects.equals(this.script, configureApplication200ResponseLanguage.script) &&
Objects.equals(this.unicodeLocaleAttributes, configureApplication200ResponseLanguage.unicodeLocaleAttributes) &&
Objects.equals(this.unicodeLocaleKeys, configureApplication200ResponseLanguage.unicodeLocaleKeys) &&
Objects.equals(this.displayLanguage, configureApplication200ResponseLanguage.displayLanguage) &&
Objects.equals(this.displayScript, configureApplication200ResponseLanguage.displayScript) &&
Objects.equals(this.displayCountry, configureApplication200ResponseLanguage.displayCountry) &&
Objects.equals(this.displayVariant, configureApplication200ResponseLanguage.displayVariant) &&
Objects.equals(this.extensionKeys, configureApplication200ResponseLanguage.extensionKeys) &&
Objects.equals(this.iso3Language, configureApplication200ResponseLanguage.iso3Language) &&
Objects.equals(this.iso3Country, configureApplication200ResponseLanguage.iso3Country);
}
@Override
public int hashCode() {
return Objects.hash(language, displayName, country, variant, script, unicodeLocaleAttributes, unicodeLocaleKeys, displayLanguage, displayScript, displayCountry, displayVariant, extensionKeys, iso3Language, iso3Country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConfigureApplication200ResponseLanguage {\n");
sb.append(" language: ").append(toIndentedString(language)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" variant: ").append(toIndentedString(variant)).append("\n");
sb.append(" script: ").append(toIndentedString(script)).append("\n");
sb.append(" unicodeLocaleAttributes: ").append(toIndentedString(unicodeLocaleAttributes)).append("\n");
sb.append(" unicodeLocaleKeys: ").append(toIndentedString(unicodeLocaleKeys)).append("\n");
sb.append(" displayLanguage: ").append(toIndentedString(displayLanguage)).append("\n");
sb.append(" displayScript: ").append(toIndentedString(displayScript)).append("\n");
sb.append(" displayCountry: ").append(toIndentedString(displayCountry)).append("\n");
sb.append(" displayVariant: ").append(toIndentedString(displayVariant)).append("\n");
sb.append(" extensionKeys: ").append(toIndentedString(extensionKeys)).append("\n");
sb.append(" iso3Language: ").append(toIndentedString(iso3Language)).append("\n");
sb.append(" iso3Country: ").append(toIndentedString(iso3Country)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}