com.quali.cloudshell.api.CreateSandboxRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sandbox-api Show documentation
Show all versions of sandbox-api Show documentation
CloudShell Sandbox java gateway project
package com.quali.cloudshell.api;
import java.util.ArrayList;
import java.util.List;
public class CreateSandboxRequest
{
public final String duration;
public final String name;
private List params;
public CreateSandboxRequest(String duration, String name){
this.duration = duration;
this.name = name;
this.params = new ArrayList();
}
public void addParam(Param param){
this.params.add(param);
}
public String getName() {
return this.name;
}
public String getDuration() {
return this.duration;
}
public List getParams() {
return this.params;
}
public static class Param {
private String name;
private String value;
public Param(String name, String value) {
this.name = name;
this.value = value;
}
public String getName() {
return this.name;
}
public String getValue() {
return this.value;
}
}
}