
com.hpe.caf.services.job.api.generated.model.CancelJobs200Response Maven / Gradle / Ivy
The newest version!
package com.hpe.caf.services.job.api.generated.model;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeName("cancelJobs_200_response")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2024-10-23T20:35:51.516502756Z[Etc/UTC]")
public class CancelJobs200Response {
private Long jobsCanceled;
/**
**/
public CancelJobs200Response jobsCanceled(Long jobsCanceled) {
this.jobsCanceled = jobsCanceled;
return this;
}
@JsonProperty("jobsCanceled")
public Long getJobsCanceled() {
return jobsCanceled;
}
@JsonProperty("jobsCanceled")
public void setJobsCanceled(Long jobsCanceled) {
this.jobsCanceled = jobsCanceled;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CancelJobs200Response cancelJobs200Response = (CancelJobs200Response) o;
return Objects.equals(this.jobsCanceled, cancelJobs200Response.jobsCanceled);
}
@Override
public int hashCode() {
return Objects.hash(jobsCanceled);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CancelJobs200Response {\n");
sb.append(" jobsCanceled: ").append(toIndentedString(jobsCanceled)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy