package com.live.xmutils;

import com.alibaba.fastjson.JSON;

/**
 * Created by wujie on  2020/09/29
 */
public class FolderMethod extends ApiBaseTest {
    //String data = "{\"size\":10,\"current\":1,\"folderIdType\":\"FOLDER\",\"disk\":\"MYSELF\","\"instId\":\"1290584237476061185\"}";

    public String folderIdType = "FOLDER";
    public String disk = "MYSELF";
    public String instId = "1290584237476061185";
    public int size = 10;
    public int current = 1;

    @Override
    protected String getApiName() {
        return null;
    }
//    public String folderIdType;
//    public String disk;
//    public String instId;
//    public int size;
//    public int current;


    public static String  folderList(String disk, int size, int current){

        FolderMethod initFolderMethod = new FolderMethod();

        initFolderMethod.disk = disk;
        initFolderMethod.size = size;
        initFolderMethod.current = current;

        String data = JSON.toJSONString(initFolderMethod);

        //JSONObject jsonBody = doRequest(data);

        return data;
    }


}
