All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.primelib.jira4j.restv3.model.SuggestedIssue Maven / Gradle / Ivy

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;

/**
 * SuggestedIssue
 *
 */
@Getter
@Setter
@EqualsAndHashCode
@ToString
@Accessors(fluent = true, chain = true)
@NoArgsConstructor(access = AccessLevel.PROTECTED, force = true)
@Builder
@JsonPropertyOrder({
    "id",
    "img",
    "key",
    "keyHtml",
    "summary",
    "summaryText"
})
@JsonTypeName("SuggestedIssue")
@Generated(value = "io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SuggestedIssue {

    /**
     * The ID of the issue.
     */
    @JsonProperty("id")
    protected Long id;

    /**
     * The URL of the issue type's avatar.
     */
    @JsonProperty("img")
    protected String img;

    /**
     * The key of the issue.
     */
    @JsonProperty("key")
    protected String key;

    /**
     * The key of the issue in HTML format.
     */
    @JsonProperty("keyHtml")
    protected String keyHtml;

    /**
     * The phrase containing the query string in HTML format, with the string highlighted with HTML bold tags.
     */
    @JsonProperty("summary")
    protected String summary;

    /**
     * The phrase containing the query string, as plain text.
     */
    @JsonProperty("summaryText")
    protected String summaryText;

    /**
     * Constructs a validated instance of {@link SuggestedIssue}.
     *
     * @param spec the specification to process
     */
    public SuggestedIssue(Consumer spec) {
        spec.accept(this);
    }

    /**
     * Constructs a validated instance of {@link SuggestedIssue}.
     * 

* NOTE: This constructor is not considered stable and may change if the model is updated. Consider using {@link #SuggestedIssue(Consumer)} instead. * @param id The ID of the issue. * @param img The URL of the issue type's avatar. * @param key The key of the issue. * @param keyHtml The key of the issue in HTML format. * @param summary The phrase containing the query string in HTML format, with the string highlighted with HTML bold tags. * @param summaryText The phrase containing the query string, as plain text. */ @ApiStatus.Internal public SuggestedIssue(Long id, String img, String key, String keyHtml, String summary, String summaryText) { this.id = id; this.img = img; this.key = key; this.keyHtml = keyHtml; this.summary = summary; this.summaryText = summaryText; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy