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

com.databricks.sdk.service.workspace.ExportRequest Maven / Gradle / Ivy

// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.workspace;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.QueryParam;
import com.databricks.sdk.support.ToStringer;
import java.util.Objects;

/** Export a workspace object */
@Generated
public class ExportRequest {
  /**
   * This specifies the format of the exported file. By default, this is `SOURCE`.
   *
   * 

The value is case sensitive. * *

- `SOURCE`: The notebook is exported as source code. - `HTML`: The notebook is exported as * an HTML file. - `JUPYTER`: The notebook is exported as a Jupyter/IPython Notebook file. - * `DBC`: The notebook is exported in Databricks archive format. - `R_MARKDOWN`: The notebook is * exported to R Markdown format. */ @QueryParam("format") private ExportFormat format; /** * The absolute path of the object or directory. Exporting a directory is only supported for the * `DBC` and `SOURCE` format. */ @QueryParam("path") private String path; public ExportRequest setFormat(ExportFormat format) { this.format = format; return this; } public ExportFormat getFormat() { return format; } public ExportRequest setPath(String path) { this.path = path; return this; } public String getPath() { return path; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ExportRequest that = (ExportRequest) o; return Objects.equals(format, that.format) && Objects.equals(path, that.path); } @Override public int hashCode() { return Objects.hash(format, path); } @Override public String toString() { return new ToStringer(ExportRequest.class).add("format", format).add("path", path).toString(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy