com.chavaillaz.client.jenkins.domain.job.build.Builds Maven / Gradle / Ivy
package com.chavaillaz.client.jenkins.domain.job.build;
import static com.fasterxml.jackson.annotation.JsonFormat.Shape.ARRAY;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonMerge;
import lombok.Data;
import lombok.experimental.Delegate;
@Data
@JsonFormat(shape = ARRAY)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Builds implements List {
@Delegate
@JsonMerge
private List allBuilds = new ArrayList<>();
}