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

com.volcengine.helper.VodUploadProgressEvent Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.helper;

public class VodUploadProgressEvent {
    private final long byteSize;
    private final VodUploadProgressEventType eventType;

    public VodUploadProgressEvent(VodUploadProgressEventType eventType) {
        this(eventType, 0L);
    }

    public VodUploadProgressEvent(VodUploadProgressEventType eventType, long byteSize) {
        this.byteSize = byteSize;
        this.eventType = eventType;
    }

    public long getByteSize() {
        return byteSize;
    }

    public VodUploadProgressEventType getEventType() {
        return eventType;
    }

    @Override
    public String toString() {
        return "VodUploadProgressEvent{" +
                "byteSize=" + byteSize +
                ", eventType=" + eventType +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy