
com.github.jobservice.client.model.CancelJobs200Response Maven / Gradle / Ivy
The newest version!
/*
* Job Service
* Allows background operations to be sent to the workers, and for the operations to be tracked and controlled. You can check the progress of operations, and request to cancel, pause, or resume them. The primary use of this functionality is batch document processing. The service can send work to the Batch Worker, and then track the progress of that work.
*
* The version of the OpenAPI document: 1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.github.jobservice.client.model;
import java.util.Objects;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.jobservice.job.client.JSON;
/**
* CancelJobs200Response
*/
@JsonPropertyOrder({
CancelJobs200Response.JSON_PROPERTY_JOBS_CANCELED
})
@JsonTypeName("cancelJobs_200_response")
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:37:34.533041584Z[Etc/UTC]")
public class CancelJobs200Response {
public static final String JSON_PROPERTY_JOBS_CANCELED = "jobsCanceled";
private Long jobsCanceled;
public CancelJobs200Response() {
}
public CancelJobs200Response jobsCanceled(Long jobsCanceled) {
this.jobsCanceled = jobsCanceled;
return this;
}
/**
* Get jobsCanceled
* @return jobsCanceled
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_JOBS_CANCELED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getJobsCanceled() {
return jobsCanceled;
}
@JsonProperty(JSON_PROPERTY_JOBS_CANCELED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJobsCanceled(Long jobsCanceled) {
this.jobsCanceled = jobsCanceled;
}
/**
* Return true if this cancelJobs_200_response object is equal to o.
*/
@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