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

com.aliyun.datahub.model.ListProjectResult Maven / Gradle / Ivy

There is a newer version: 2.25.6
Show newest version
package com.aliyun.datahub.model;

import java.util.ArrayList;
import java.util.List;

public class ListProjectResult extends Result {
    private com.aliyun.datahub.client.model.ListProjectResult proxyResult;

    public ListProjectResult(com.aliyun.datahub.client.model.ListProjectResult proxyResult) {
        this.proxyResult = proxyResult;
        setRequestId(proxyResult.getRequestId());
    }

    public ListProjectResult() {
        proxyResult = new com.aliyun.datahub.client.model.ListProjectResult();
    }

    public void addProject(String projectName) {
        List projectNames = proxyResult.getProjectNames();
        if (projectName == null) {
            projectNames = new ArrayList<>();
            proxyResult.setProjectNames(projectNames);
        }

        projectNames.add(projectName);
    }

    public List getProjectNames() {
        return proxyResult.getProjectNames();
    }

    public void setProjectNames(List projectNames) {
        proxyResult.setProjectNames(projectNames);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy