com.cloudconvert.dto.request.UrlImportRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudconvert-java Show documentation
Show all versions of cloudconvert-java Show documentation
CloudConvert is an online file converter API - more than 200 different audio, video, document, ebook, archive, image, spreadsheet and presentation formats supported.
package com.cloudconvert.dto.request;
import com.cloudconvert.dto.Operation;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.Map;
@Getter
@Setter
@Accessors(chain = true)
@ToString
@EqualsAndHashCode(callSuper = true)
public class UrlImportRequest extends TaskRequest {
/**
* (required) The URL of the website.
*/
private String url;
/**
* (optional) The filename of the input file, including extension. If none provided we will try to detect the filename from the URL.
*/
private String filename;
/**
* (optional) Object of additional headers to send with the download request. Can be used to access URLs that require authorization.
*/
private Map headers;
@Override
public Operation getOperation() {
return Operation.IMPORT_URL;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy