com.volcengine.model.tls.response.DescribeCursorResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.tls.response;
import com.alibaba.fastjson.annotation.JSONField;
import com.volcengine.model.tls.exception.LogException;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.http.Header;
import static com.volcengine.model.tls.Const.CURSOR;
@Data
@ToString(callSuper = true)
@NoArgsConstructor
public class DescribeCursorResponse extends CommonResponse {
@JSONField(name = CURSOR)
String cursor;
public DescribeCursorResponse(Header[] headers) {
super(headers);
}
@Override
public DescribeCursorResponse deSerialize(byte[] data, Class clazz) throws LogException {
DescribeCursorResponse response = (DescribeCursorResponse) super.deSerialize(data, clazz);
this.setCursor(response.getCursor());
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy