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

com.wix.mediaplatform.v7.service.archive.ExtractArchiveRequest Maven / Gradle / Ivy

There is a newer version: 8.4.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy