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

com.aliyun.openservices.log.request.ListShipperMigrationRequest Maven / Gradle / Ivy

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

import com.aliyun.openservices.log.common.Consts;
import com.aliyun.openservices.log.util.Utils;

import java.util.Map;

public class ListShipperMigrationRequest extends Request {
    private Integer offset;
    private Integer size;
    /**
     * Construct the base request
     *
     * @param project project name
     */
    public ListShipperMigrationRequest(String project, int offset, int size) {
        super(project);
        this.offset = offset;
        this.size = size;
    }

    @Override
    public Map GetAllParams() {
        if (offset != null) {
            SetParam(Consts.CONST_OFFSET, offset.toString());
        }

        if (size != null) {
            SetParam(Consts.CONST_SIZE, size.toString());
        }
        return super.GetAllParams();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy