io.github.primelib.jira4j.restv3.model.VersionIssuesStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jira4j-rest-v3 Show documentation
Show all versions of jira4j-rest-v3 Show documentation
A Java Wrapper for the Jira REST API
The newest version!
package io.github.primelib.jira4j.restv3.model;
import java.util.function.Consumer;
import org.jetbrains.annotations.ApiStatus;
import javax.annotation.processing.Generated;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* VersionIssuesStatus
*
*/
@Getter
@Setter
@EqualsAndHashCode
@ToString
@Accessors(fluent = true, chain = true)
@NoArgsConstructor(access = AccessLevel.PROTECTED, force = true)
@Builder
@JsonPropertyOrder({
"done",
"inProgress",
"toDo",
"unmapped"
})
@JsonTypeName("VersionIssuesStatus")
@Generated(value = "io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class VersionIssuesStatus {
/**
* Count of issues with status *done*.
*/
@JsonProperty("done")
protected Long done;
/**
* Count of issues with status *in progress*.
*/
@JsonProperty("inProgress")
protected Long inProgress;
/**
* Count of issues with status *to do*.
*/
@JsonProperty("toDo")
protected Long toDo;
/**
* Count of issues with a status other than *to do*, *in progress*, and *done*.
*/
@JsonProperty("unmapped")
protected Long unmapped;
/**
* Constructs a validated instance of {@link VersionIssuesStatus}.
*
* @param spec the specification to process
*/
public VersionIssuesStatus(Consumer spec) {
spec.accept(this);
}
/**
* Constructs a validated instance of {@link VersionIssuesStatus}.
*
* NOTE: This constructor is not considered stable and may change if the model is updated. Consider using {@link #VersionIssuesStatus(Consumer)} instead.
* @param done Count of issues with status *done*.
* @param inProgress Count of issues with status *in progress*.
* @param toDo Count of issues with status *to do*.
* @param unmapped Count of issues with a status other than *to do*, *in progress*, and *done*.
*/
@ApiStatus.Internal
public VersionIssuesStatus(Long done, Long inProgress, Long toDo, Long unmapped) {
this.done = done;
this.inProgress = inProgress;
this.toDo = toDo;
this.unmapped = unmapped;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy