Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.seeq.model.ActivityGraphOutputV1;
import com.seeq.model.ActivityOutputV1;
import com.seeq.model.DetailedMeterOutputV1;
import com.seeq.model.DetailedTimerOutputV1;
import com.seeq.model.FoldedStackNodeV1;
import com.seeq.model.ProgressInformationOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* RequestOutputV1
*/
public class RequestOutputV1 {
@JsonProperty("activities")
private List activities = new ArrayList();
@JsonProperty("activityGraph")
private ActivityGraphOutputV1 activityGraph = null;
@JsonProperty("detailedMeters")
private List detailedMeters = new ArrayList();
@JsonProperty("detailedTimers")
private List detailedTimers = new ArrayList();
@JsonProperty("flameGraph")
private FoldedStackNodeV1 flameGraph = null;
@JsonProperty("href")
private String href = null;
@JsonProperty("parallelizationCount")
private Long parallelizationCount = null;
@JsonProperty("parameters")
private Map> parameters = new HashMap>();
@JsonProperty("progress")
private ProgressInformationOutputV1 progress = null;
@JsonProperty("requestMethod")
private String requestMethod = null;
@JsonProperty("requestPath")
private String requestPath = null;
@JsonProperty("runDuration")
private Long runDuration = null;
@JsonProperty("userEmail")
private String userEmail = null;
@JsonProperty("username")
private String username = null;
public RequestOutputV1 activities(List activities) {
this.activities = activities;
return this;
}
public RequestOutputV1 addActivitiesItem(ActivityOutputV1 activitiesItem) {
if (this.activities == null) {
this.activities = new ArrayList();
}
this.activities.add(activitiesItem);
return this;
}
/**
* The current chain of activities for the request. The last activity in the list represents the current operation being performed.
* @return activities
**/
@Schema(description = "The current chain of activities for the request. The last activity in the list represents the current operation being performed.")
public List getActivities() {
return activities;
}
public void setActivities(List activities) {
this.activities = activities;
}
public RequestOutputV1 activityGraph(ActivityGraphOutputV1 activityGraph) {
this.activityGraph = activityGraph;
return this;
}
/**
* Get activityGraph
* @return activityGraph
**/
@Schema(description = "")
public ActivityGraphOutputV1 getActivityGraph() {
return activityGraph;
}
public void setActivityGraph(ActivityGraphOutputV1 activityGraph) {
this.activityGraph = activityGraph;
}
public RequestOutputV1 detailedMeters(List detailedMeters) {
this.detailedMeters = detailedMeters;
return this;
}
public RequestOutputV1 addDetailedMetersItem(DetailedMeterOutputV1 detailedMetersItem) {
if (this.detailedMeters == null) {
this.detailedMeters = new ArrayList();
}
this.detailedMeters.add(detailedMetersItem);
return this;
}
/**
* All metered items that are attributable to the processing of the request.
* @return detailedMeters
**/
@Schema(description = "All metered items that are attributable to the processing of the request.")
public List getDetailedMeters() {
return detailedMeters;
}
public void setDetailedMeters(List detailedMeters) {
this.detailedMeters = detailedMeters;
}
public RequestOutputV1 detailedTimers(List detailedTimers) {
this.detailedTimers = detailedTimers;
return this;
}
public RequestOutputV1 addDetailedTimersItem(DetailedTimerOutputV1 detailedTimersItem) {
if (this.detailedTimers == null) {
this.detailedTimers = new ArrayList();
}
this.detailedTimers.add(detailedTimersItem);
return this;
}
/**
* All timed events that are attributable to the processing of the request.
* @return detailedTimers
**/
@Schema(description = "All timed events that are attributable to the processing of the request.")
public List getDetailedTimers() {
return detailedTimers;
}
public void setDetailedTimers(List detailedTimers) {
this.detailedTimers = detailedTimers;
}
public RequestOutputV1 flameGraph(FoldedStackNodeV1 flameGraph) {
this.flameGraph = flameGraph;
return this;
}
/**
* Get flameGraph
* @return flameGraph
**/
@Schema(description = "")
public FoldedStackNodeV1 getFlameGraph() {
return flameGraph;
}
public void setFlameGraph(FoldedStackNodeV1 flameGraph) {
this.flameGraph = flameGraph;
}
public RequestOutputV1 href(String href) {
this.href = href;
return this;
}
/**
* The href that can be used to interact with the request
* @return href
**/
@Schema(required = true, description = "The href that can be used to interact with the request")
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public RequestOutputV1 parallelizationCount(Long parallelizationCount) {
this.parallelizationCount = parallelizationCount;
return this;
}
/**
* The number of threads working on this request
* @return parallelizationCount
**/
@Schema(required = true, description = "The number of threads working on this request")
public Long getParallelizationCount() {
return parallelizationCount;
}
public void setParallelizationCount(Long parallelizationCount) {
this.parallelizationCount = parallelizationCount;
}
public RequestOutputV1 parameters(Map> parameters) {
this.parameters = parameters;
return this;
}
public RequestOutputV1 putParametersItem(String key, List parametersItem) {
if (this.parameters == null) {
this.parameters = new HashMap>();
}
this.parameters.put(key, parametersItem);
return this;
}
/**
* The list of HTTP parameters
* @return parameters
**/
@Schema(description = "The list of HTTP parameters")
public Map> getParameters() {
return parameters;
}
public void setParameters(Map> parameters) {
this.parameters = parameters;
}
public RequestOutputV1 progress(ProgressInformationOutputV1 progress) {
this.progress = progress;
return this;
}
/**
* Get progress
* @return progress
**/
@Schema(description = "")
public ProgressInformationOutputV1 getProgress() {
return progress;
}
public void setProgress(ProgressInformationOutputV1 progress) {
this.progress = progress;
}
public RequestOutputV1 requestMethod(String requestMethod) {
this.requestMethod = requestMethod;
return this;
}
/**
* The request method that this request was created for (GET, POST, DELETE)
* @return requestMethod
**/
@Schema(required = true, description = "The request method that this request was created for (GET, POST, DELETE)")
public String getRequestMethod() {
return requestMethod;
}
public void setRequestMethod(String requestMethod) {
this.requestMethod = requestMethod;
}
public RequestOutputV1 requestPath(String requestPath) {
this.requestPath = requestPath;
return this;
}
/**
* The URI path that this request was created for
* @return requestPath
**/
@Schema(required = true, description = "The URI path that this request was created for")
public String getRequestPath() {
return requestPath;
}
public void setRequestPath(String requestPath) {
this.requestPath = requestPath;
}
public RequestOutputV1 runDuration(Long runDuration) {
this.runDuration = runDuration;
return this;
}
/**
* The time (in nanoseconds) that this request has been running for
* @return runDuration
**/
@Schema(required = true, description = "The time (in nanoseconds) that this request has been running for")
public Long getRunDuration() {
return runDuration;
}
public void setRunDuration(Long runDuration) {
this.runDuration = runDuration;
}
public RequestOutputV1 userEmail(String userEmail) {
this.userEmail = userEmail;
return this;
}
/**
* The email of the user that created this request
* @return userEmail
**/
@Schema(required = true, description = "The email of the user that created this request")
public String getUserEmail() {
return userEmail;
}
public void setUserEmail(String userEmail) {
this.userEmail = userEmail;
}
public RequestOutputV1 username(String username) {
this.username = username;
return this;
}
/**
* The username of the user that created this request
* @return username
**/
@Schema(required = true, description = "The username of the user that created this request")
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RequestOutputV1 requestOutputV1 = (RequestOutputV1) o;
return Objects.equals(this.activities, requestOutputV1.activities) &&
Objects.equals(this.activityGraph, requestOutputV1.activityGraph) &&
Objects.equals(this.detailedMeters, requestOutputV1.detailedMeters) &&
Objects.equals(this.detailedTimers, requestOutputV1.detailedTimers) &&
Objects.equals(this.flameGraph, requestOutputV1.flameGraph) &&
Objects.equals(this.href, requestOutputV1.href) &&
Objects.equals(this.parallelizationCount, requestOutputV1.parallelizationCount) &&
Objects.equals(this.parameters, requestOutputV1.parameters) &&
Objects.equals(this.progress, requestOutputV1.progress) &&
Objects.equals(this.requestMethod, requestOutputV1.requestMethod) &&
Objects.equals(this.requestPath, requestOutputV1.requestPath) &&
Objects.equals(this.runDuration, requestOutputV1.runDuration) &&
Objects.equals(this.userEmail, requestOutputV1.userEmail) &&
Objects.equals(this.username, requestOutputV1.username);
}
@Override
public int hashCode() {
return Objects.hash(activities, activityGraph, detailedMeters, detailedTimers, flameGraph, href, parallelizationCount, parameters, progress, requestMethod, requestPath, runDuration, userEmail, username);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RequestOutputV1 {\n");
sb.append(" activities: ").append(toIndentedString(activities)).append("\n");
sb.append(" activityGraph: ").append(toIndentedString(activityGraph)).append("\n");
sb.append(" detailedMeters: ").append(toIndentedString(detailedMeters)).append("\n");
sb.append(" detailedTimers: ").append(toIndentedString(detailedTimers)).append("\n");
sb.append(" flameGraph: ").append(toIndentedString(flameGraph)).append("\n");
sb.append(" href: ").append(toIndentedString(href)).append("\n");
sb.append(" parallelizationCount: ").append(toIndentedString(parallelizationCount)).append("\n");
sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n");
sb.append(" progress: ").append(toIndentedString(progress)).append("\n");
sb.append(" requestMethod: ").append(toIndentedString(requestMethod)).append("\n");
sb.append(" requestPath: ").append(toIndentedString(requestPath)).append("\n");
sb.append(" runDuration: ").append(toIndentedString(runDuration)).append("\n");
sb.append(" userEmail: ").append(toIndentedString(userEmail)).append("\n");
sb.append(" username: ").append(toIndentedString(username)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}