com.aliyun.datahub.client.impl.request.CommitSubscriptionOffsetRequest Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.impl.request;
import com.aliyun.datahub.client.model.SubscriptionOffset;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
public class CommitSubscriptionOffsetRequest extends BaseRequest {
@JsonProperty("Offsets")
private Map offsets;
public CommitSubscriptionOffsetRequest() {
setAction("commit");
}
public Map getOffsets() {
return offsets;
}
public CommitSubscriptionOffsetRequest setOffsets(Map offsets) {
this.offsets = offsets;
return this;
}
}