
com.aliyun.openservices.log.response.ListScheduledSQLResponse Maven / Gradle / Ivy
package com.aliyun.openservices.log.response;
import com.alibaba.fastjson.JSONArray;
import com.aliyun.openservices.log.common.ScheduledSQL;
import com.aliyun.openservices.log.internal.Unmarshaller;
import java.io.Serializable;
import java.util.Map;
public class ListScheduledSQLResponse extends ResponseList implements Serializable {
private static final long serialVersionUID = -4082922383764624613L;
public ListScheduledSQLResponse(Map headers) {
super(headers);
}
@Override
public Unmarshaller unmarshaller() {
return new Unmarshaller() {
@Override
public ScheduledSQL unmarshal(JSONArray value, int index) {
ScheduledSQL scheduledSQL = new ScheduledSQL();
scheduledSQL.deserialize(value.getJSONObject(index));
return scheduledSQL;
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy