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

com.quali.cloudshell.api.CreateSandboxRequest Maven / Gradle / Ivy

The newest version!
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;
        }

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy