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

com.aliyun.openservices.log.response.ListJobInstancesResponse Maven / Gradle / Ivy

There is a newer version: 0.6.122
Show newest version
package com.aliyun.openservices.log.response;

import com.alibaba.fastjson.JSONArray;
import com.aliyun.openservices.log.common.JobInstance;
import com.aliyun.openservices.log.internal.Unmarshaller;
import java.io.Serializable;
import java.util.Map;

/**
 * ScheduledSQL list JonInstances Response
 */
public class ListJobInstancesResponse extends ResponseList implements Serializable {
    private static final long serialVersionUID = -6158196540776923094L;
    public ListJobInstancesResponse(Map headers) {
        super(headers);
    }
    @Override
    public Unmarshaller unmarshaller() {
        return new Unmarshaller() {
            @Override
            public JobInstance unmarshal(JSONArray value, int index) {
                JobInstance jobInstance = new JobInstance();
                jobInstance.deserialize(value.getJSONObject(index));
                return jobInstance;
            }
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy