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 java.time.OffsetDateTime;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* AirflowConfig
*/
@JsonPropertyOrder({
AirflowConfig.JSON_PROPERTY_CONCURRENCY,
AirflowConfig.JSON_PROPERTY_EMAIL,
AirflowConfig.JSON_PROPERTY_END_DATE,
AirflowConfig.JSON_PROPERTY_MAX_ACTIVE_RUNS,
AirflowConfig.JSON_PROPERTY_PAUSE_PIPELINE,
AirflowConfig.JSON_PROPERTY_PIPELINE_CATCHUP,
AirflowConfig.JSON_PROPERTY_PIPELINE_TIMEZONE,
AirflowConfig.JSON_PROPERTY_RETRIES,
AirflowConfig.JSON_PROPERTY_RETRY_DELAY,
AirflowConfig.JSON_PROPERTY_SCHEDULE_INTERVAL,
AirflowConfig.JSON_PROPERTY_START_DATE,
AirflowConfig.JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW,
AirflowConfig.JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW_ORIENTATION,
AirflowConfig.JSON_PROPERTY_WORKFLOW_TIMEOUT
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-13T20:15:57.513387948Z[Etc/UTC]")
public class AirflowConfig {
public static final String JSON_PROPERTY_CONCURRENCY = "concurrency";
private Integer concurrency;
public static final String JSON_PROPERTY_EMAIL = "email";
private String email;
public static final String JSON_PROPERTY_END_DATE = "endDate";
private OffsetDateTime endDate;
public static final String JSON_PROPERTY_MAX_ACTIVE_RUNS = "maxActiveRuns";
private Integer maxActiveRuns;
public static final String JSON_PROPERTY_PAUSE_PIPELINE = "pausePipeline";
private Boolean pausePipeline;
public static final String JSON_PROPERTY_PIPELINE_CATCHUP = "pipelineCatchup";
private Boolean pipelineCatchup;
public static final String JSON_PROPERTY_PIPELINE_TIMEZONE = "pipelineTimezone";
private String pipelineTimezone;
public static final String JSON_PROPERTY_RETRIES = "retries";
private Integer retries;
public static final String JSON_PROPERTY_RETRY_DELAY = "retryDelay";
private Integer retryDelay;
public static final String JSON_PROPERTY_SCHEDULE_INTERVAL = "scheduleInterval";
private String scheduleInterval;
public static final String JSON_PROPERTY_START_DATE = "startDate";
private OffsetDateTime startDate;
public static final String JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW = "workflowDefaultView";
private String workflowDefaultView;
public static final String JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW_ORIENTATION = "workflowDefaultViewOrientation";
private String workflowDefaultViewOrientation;
public static final String JSON_PROPERTY_WORKFLOW_TIMEOUT = "workflowTimeout";
private Integer workflowTimeout;
public AirflowConfig() {
}
public AirflowConfig concurrency(Integer concurrency) {
this.concurrency = concurrency;
return this;
}
/**
* Get concurrency
* @return concurrency
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CONCURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getConcurrency() {
return concurrency;
}
@JsonProperty(JSON_PROPERTY_CONCURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setConcurrency(Integer concurrency) {
this.concurrency = concurrency;
}
public AirflowConfig email(String email) {
this.email = email;
return this;
}
/**
* Get email
* @return email
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmail() {
return email;
}
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmail(String email) {
this.email = email;
}
public AirflowConfig endDate(OffsetDateTime endDate) {
this.endDate = endDate;
return this;
}
/**
* Get endDate
* @return endDate
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getEndDate() {
return endDate;
}
@JsonProperty(JSON_PROPERTY_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEndDate(OffsetDateTime endDate) {
this.endDate = endDate;
}
public AirflowConfig maxActiveRuns(Integer maxActiveRuns) {
this.maxActiveRuns = maxActiveRuns;
return this;
}
/**
* Get maxActiveRuns
* @return maxActiveRuns
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAX_ACTIVE_RUNS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getMaxActiveRuns() {
return maxActiveRuns;
}
@JsonProperty(JSON_PROPERTY_MAX_ACTIVE_RUNS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMaxActiveRuns(Integer maxActiveRuns) {
this.maxActiveRuns = maxActiveRuns;
}
public AirflowConfig pausePipeline(Boolean pausePipeline) {
this.pausePipeline = pausePipeline;
return this;
}
/**
* Get pausePipeline
* @return pausePipeline
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PAUSE_PIPELINE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getPausePipeline() {
return pausePipeline;
}
@JsonProperty(JSON_PROPERTY_PAUSE_PIPELINE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPausePipeline(Boolean pausePipeline) {
this.pausePipeline = pausePipeline;
}
public AirflowConfig pipelineCatchup(Boolean pipelineCatchup) {
this.pipelineCatchup = pipelineCatchup;
return this;
}
/**
* Get pipelineCatchup
* @return pipelineCatchup
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PIPELINE_CATCHUP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getPipelineCatchup() {
return pipelineCatchup;
}
@JsonProperty(JSON_PROPERTY_PIPELINE_CATCHUP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPipelineCatchup(Boolean pipelineCatchup) {
this.pipelineCatchup = pipelineCatchup;
}
public AirflowConfig pipelineTimezone(String pipelineTimezone) {
this.pipelineTimezone = pipelineTimezone;
return this;
}
/**
* Get pipelineTimezone
* @return pipelineTimezone
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PIPELINE_TIMEZONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPipelineTimezone() {
return pipelineTimezone;
}
@JsonProperty(JSON_PROPERTY_PIPELINE_TIMEZONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPipelineTimezone(String pipelineTimezone) {
this.pipelineTimezone = pipelineTimezone;
}
public AirflowConfig retries(Integer retries) {
this.retries = retries;
return this;
}
/**
* Get retries
* @return retries
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RETRIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getRetries() {
return retries;
}
@JsonProperty(JSON_PROPERTY_RETRIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRetries(Integer retries) {
this.retries = retries;
}
public AirflowConfig retryDelay(Integer retryDelay) {
this.retryDelay = retryDelay;
return this;
}
/**
* Get retryDelay
* @return retryDelay
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RETRY_DELAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getRetryDelay() {
return retryDelay;
}
@JsonProperty(JSON_PROPERTY_RETRY_DELAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRetryDelay(Integer retryDelay) {
this.retryDelay = retryDelay;
}
public AirflowConfig scheduleInterval(String scheduleInterval) {
this.scheduleInterval = scheduleInterval;
return this;
}
/**
* Get scheduleInterval
* @return scheduleInterval
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SCHEDULE_INTERVAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getScheduleInterval() {
return scheduleInterval;
}
@JsonProperty(JSON_PROPERTY_SCHEDULE_INTERVAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setScheduleInterval(String scheduleInterval) {
this.scheduleInterval = scheduleInterval;
}
public AirflowConfig startDate(OffsetDateTime startDate) {
this.startDate = startDate;
return this;
}
/**
* Get startDate
* @return startDate
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getStartDate() {
return startDate;
}
@JsonProperty(JSON_PROPERTY_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStartDate(OffsetDateTime startDate) {
this.startDate = startDate;
}
public AirflowConfig workflowDefaultView(String workflowDefaultView) {
this.workflowDefaultView = workflowDefaultView;
return this;
}
/**
* Get workflowDefaultView
* @return workflowDefaultView
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getWorkflowDefaultView() {
return workflowDefaultView;
}
@JsonProperty(JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWorkflowDefaultView(String workflowDefaultView) {
this.workflowDefaultView = workflowDefaultView;
}
public AirflowConfig workflowDefaultViewOrientation(String workflowDefaultViewOrientation) {
this.workflowDefaultViewOrientation = workflowDefaultViewOrientation;
return this;
}
/**
* Get workflowDefaultViewOrientation
* @return workflowDefaultViewOrientation
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW_ORIENTATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getWorkflowDefaultViewOrientation() {
return workflowDefaultViewOrientation;
}
@JsonProperty(JSON_PROPERTY_WORKFLOW_DEFAULT_VIEW_ORIENTATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWorkflowDefaultViewOrientation(String workflowDefaultViewOrientation) {
this.workflowDefaultViewOrientation = workflowDefaultViewOrientation;
}
public AirflowConfig workflowTimeout(Integer workflowTimeout) {
this.workflowTimeout = workflowTimeout;
return this;
}
/**
* Get workflowTimeout
* @return workflowTimeout
**/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_WORKFLOW_TIMEOUT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getWorkflowTimeout() {
return workflowTimeout;
}
@JsonProperty(JSON_PROPERTY_WORKFLOW_TIMEOUT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWorkflowTimeout(Integer workflowTimeout) {
this.workflowTimeout = workflowTimeout;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AirflowConfig airflowConfig = (AirflowConfig) o;
return Objects.equals(this.concurrency, airflowConfig.concurrency) &&
Objects.equals(this.email, airflowConfig.email) &&
Objects.equals(this.endDate, airflowConfig.endDate) &&
Objects.equals(this.maxActiveRuns, airflowConfig.maxActiveRuns) &&
Objects.equals(this.pausePipeline, airflowConfig.pausePipeline) &&
Objects.equals(this.pipelineCatchup, airflowConfig.pipelineCatchup) &&
Objects.equals(this.pipelineTimezone, airflowConfig.pipelineTimezone) &&
Objects.equals(this.retries, airflowConfig.retries) &&
Objects.equals(this.retryDelay, airflowConfig.retryDelay) &&
Objects.equals(this.scheduleInterval, airflowConfig.scheduleInterval) &&
Objects.equals(this.startDate, airflowConfig.startDate) &&
Objects.equals(this.workflowDefaultView, airflowConfig.workflowDefaultView) &&
Objects.equals(this.workflowDefaultViewOrientation, airflowConfig.workflowDefaultViewOrientation) &&
Objects.equals(this.workflowTimeout, airflowConfig.workflowTimeout);
}
@Override
public int hashCode() {
return Objects.hash(concurrency, email, endDate, maxActiveRuns, pausePipeline, pipelineCatchup, pipelineTimezone, retries, retryDelay, scheduleInterval, startDate, workflowDefaultView, workflowDefaultViewOrientation, workflowTimeout);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AirflowConfig {\n");
sb.append(" concurrency: ").append(toIndentedString(concurrency)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" maxActiveRuns: ").append(toIndentedString(maxActiveRuns)).append("\n");
sb.append(" pausePipeline: ").append(toIndentedString(pausePipeline)).append("\n");
sb.append(" pipelineCatchup: ").append(toIndentedString(pipelineCatchup)).append("\n");
sb.append(" pipelineTimezone: ").append(toIndentedString(pipelineTimezone)).append("\n");
sb.append(" retries: ").append(toIndentedString(retries)).append("\n");
sb.append(" retryDelay: ").append(toIndentedString(retryDelay)).append("\n");
sb.append(" scheduleInterval: ").append(toIndentedString(scheduleInterval)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" workflowDefaultView: ").append(toIndentedString(workflowDefaultView)).append("\n");
sb.append(" workflowDefaultViewOrientation: ").append(toIndentedString(workflowDefaultViewOrientation)).append("\n");
sb.append(" workflowTimeout: ").append(toIndentedString(workflowTimeout)).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 ");
}
}