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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * Request model for HUB MWFIT4 service
 * Generated from swagger: contains Data[] and ProdPackageType
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class MWFIT4Request {

    @JsonProperty("Data")
    @Builder.Default
    private List<DataItem> data = new ArrayList<>();

    @JsonProperty("ProdPackageType")
    private String prodPackageType;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class DataItem {
        @JsonProperty("RS_APPKEY")
        private Long rsAppkey;
    }
}
