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

com.aliyun.openservices.log.response.ListRebuildIndexResponse 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.RebuildIndex;
import com.aliyun.openservices.log.internal.Unmarshaller;
import com.alibaba.fastjson.JSONArray;

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

public class ListRebuildIndexResponse extends ResponseList implements Serializable {

    private static final long serialVersionUID = -1406759791382072342L;

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy