POST | /optimizer/project-info |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CommonOptimizerProjectInfoRequest extends CommonOptimizerPortalRequestBase
{
}
public static class CommonOptimizerPortalRequestBase
{
public UUID projectId = null;
public Boolean isBatchSimulation = null;
public Boolean force = null;
public Boolean disableEBSSpot = null;
public Boolean isServerless = null;
public UUID apiActionId = null;
public Integer nodeId = null;
public Integer parallelProject = null;
public Integer parallelYears = null;
public Integer ensureExlusive = null;
public UUID getProjectId() { return projectId; }
public CommonOptimizerPortalRequestBase setProjectId(UUID value) { this.projectId = value; return this; }
public Boolean getIsBatchSimulation() { return isBatchSimulation; }
public CommonOptimizerPortalRequestBase setIsBatchSimulation(Boolean value) { this.isBatchSimulation = value; return this; }
public Boolean isForce() { return force; }
public CommonOptimizerPortalRequestBase setForce(Boolean value) { this.force = value; return this; }
public Boolean isDisableEBSSpot() { return disableEBSSpot; }
public CommonOptimizerPortalRequestBase setDisableEBSSpot(Boolean value) { this.disableEBSSpot = value; return this; }
public Boolean getIsServerless() { return isServerless; }
public CommonOptimizerPortalRequestBase setIsServerless(Boolean value) { this.isServerless = value; return this; }
public UUID getApiActionId() { return apiActionId; }
public CommonOptimizerPortalRequestBase setApiActionId(UUID value) { this.apiActionId = value; return this; }
public Integer getNodeId() { return nodeId; }
public CommonOptimizerPortalRequestBase setNodeId(Integer value) { this.nodeId = value; return this; }
public Integer getParallelProject() { return parallelProject; }
public CommonOptimizerPortalRequestBase setParallelProject(Integer value) { this.parallelProject = value; return this; }
public Integer getParallelYears() { return parallelYears; }
public CommonOptimizerPortalRequestBase setParallelYears(Integer value) { this.parallelYears = value; return this; }
public Integer getEnsureExlusive() { return ensureExlusive; }
public CommonOptimizerPortalRequestBase setEnsureExlusive(Integer value) { this.ensureExlusive = value; return this; }
}
}
Java CommonOptimizerProjectInfoRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /optimizer/project-info HTTP/1.1
Host: dev-optimization.power.dev
Accept: application/json
Content-Type: application/json
Content-Length: length
{"projectId":"00000000000000000000000000000000","isBatchSimulation":false,"force":false,"disableEBSSpot":false,"isServerless":false,"apiActionId":"00000000000000000000000000000000","nodeId":0,"parallelProject":0,"parallelYears":0,"ensureExlusive":0}