com.wix.mediaplatform.v7.service.archive.ExtractArchiveRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-platform-java-sdk Show documentation
Show all versions of media-platform-java-sdk Show documentation
The Wix Media Platform Java SDK
package com.wix.mediaplatform.v7.service.archive;
import com.wix.mediaplatform.v7.http.AuthenticatedHTTPClient;
import com.wix.mediaplatform.v7.service.Destination;
import com.wix.mediaplatform.v7.service.MediaPlatformRequest;
import com.wix.mediaplatform.v7.service.Source;
public class ExtractArchiveRequest extends MediaPlatformRequest {
private Source source;
private Destination destination;
private ExtractedFilesReport extractedFilesReport;
ExtractArchiveRequest(AuthenticatedHTTPClient authenticatedHTTPClient, String baseUrl) {
super(authenticatedHTTPClient, "POST", baseUrl + "/archive/extract", ExtractArchiveJob.class);
}
public ExtractArchiveRequest setSource(Source source) {
this.source = source;
return this;
}
public ExtractArchiveRequest setDestination(Destination destination) {
this.destination = destination;
return this;
}
public ExtractArchiveRequest setExtractedFilesReport(ExtractedFilesReport extractedFilesReport) {
this.extractedFilesReport = extractedFilesReport;
return this;
}
public Source getSource() {
return source;
}
public Destination getDestination() {
return destination;
}
public ExtractedFilesReport getExtractedFilesReport() {
return extractedFilesReport;
}
}