package cz.moneta.test.dsl.wso2.objects.smallbusiness;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class AresPoRefreshResponse {

    @Builder.Default
    private List<RefreshStatus> refresh_Status = new ArrayList<>();

    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class RefreshStatus {
        @JsonProperty("REFRESH_STATUS")
        private String refreshStatus;
    }
}