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

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

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

import com.aliyun.openservices.log.common.Report;
import com.aliyun.openservices.log.internal.Unmarshaller;
import com.alibaba.fastjson.JSONArray;

import java.io.Serializable;
import java.util.Map;

public class ListReportResponse extends ResponseList implements Serializable {

    private static final long serialVersionUID = 8292912274110714070L;

    public ListReportResponse(Map headers) {
        super(headers);
    }

    @Override
    public Unmarshaller unmarshaller() {
        return new Unmarshaller() {
            @Override
            public Report unmarshal(JSONArray value, int index) {
                Report report = new Report();
                report.deserialize(value.getJSONObject(index));
                return report;
            }
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy