com.microsoft.bingads.v13.bulk.BulkOperationStatus Maven / Gradle / Ivy
package com.microsoft.bingads.v13.bulk;
import java.util.List;
/**
* Contains tracking details about the results and status of the corresponding bulk operation.
*
* @param the type of operation status
*/
public class BulkOperationStatus {
private final TStatus status;
private final int percentComplete;
private final String resultFileUrl;
private final String trackingId;
private final List errors;
public BulkOperationStatus(TStatus status, int percentComplete, String resultFileUrl, String trackingId, List errors) {
this.status = status;
this.percentComplete = percentComplete;
this.resultFileUrl = resultFileUrl;
this.trackingId = trackingId;
this.errors = errors;
}
/**
* Gets current status of the operation.
*/
public TStatus getStatus() {
return status;
}
/**
* Gets progress of the operation in percent.
*/
public int getPercentComplete() {
return percentComplete;
}
/**
* Gets the result file URL for the operation.
*/
public String getResultFileUrl() {
return resultFileUrl;
}
/**
* Gets the tracking Id for the operation.
*/
public String getTrackingId() {
return this.trackingId;
}
/**
* Gets the list of errors for the operation.
*/
public List getErrors() {
return errors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy