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

io.bdeploy.api.validation.v1.dto.ProductValidationResponseApi Maven / Gradle / Ivy

Go to download

Public API including dependencies, ready to be used for integrations and plugins.

The newest version!
package io.bdeploy.api.validation.v1.dto;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.bdeploy.api.validation.v1.PublicProductValidationResource;

/**
 * The response object used in
 * {@link PublicProductValidationResource#validate(org.glassfish.jersey.media.multipart.FormDataMultiPart)} to wrap around
 * multiple {@link ProductValidationIssueApi}.
 */
public class ProductValidationResponseApi {

    /**
     * All issues detected during raw product validation.
     */
    public List issues = new ArrayList<>();

    @JsonCreator
    public ProductValidationResponseApi(@JsonProperty("issues") List issues) {
        this.issues = issues;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy