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

com.aliyun.datahub.client.impl.request.GetCursorRequest Maven / Gradle / Ivy

There is a newer version: 2.25.6
Show newest version
package com.aliyun.datahub.client.impl.request;

import com.aliyun.datahub.client.impl.serializer.GetCursorRequestSerializer;
import com.aliyun.datahub.client.model.CursorType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@JsonSerialize(using = GetCursorRequestSerializer.class)
public class GetCursorRequest extends BaseRequest {
    private CursorType type;
    private long parameter = -1;

    public GetCursorRequest() {
        setAction("cursor");
    }

    public CursorType getType() {
        return type;
    }

    public GetCursorRequest setType(CursorType type) {
        this.type = type;
        return this;
    }

    public long getParameter() {
        return parameter;
    }

    public GetCursorRequest setParameter(long parameter) {
        this.parameter = parameter;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy