package tech.easyflow.ai.dto;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;

public class ModelInvokeConfigDtos {

    public static class UpdateRequest implements Serializable {

        private static final long serialVersionUID = 1L;

        private BigInteger id;
        private String invokeCode;
        private Boolean publishEnabled;

        public BigInteger getId() {
            return id;
        }

        public void setId(BigInteger id) {
            this.id = id;
        }

        public String getInvokeCode() {
            return invokeCode;
        }

        public void setInvokeCode(String invokeCode) {
            this.invokeCode = invokeCode;
        }

        public Boolean getPublishEnabled() {
            return publishEnabled;
        }

        public void setPublishEnabled(Boolean publishEnabled) {
            this.publishEnabled = publishEnabled;
        }
    }

    public static class BatchPublishRequest implements Serializable {

        private static final long serialVersionUID = 1L;

        private List<BigInteger> ids;
        private Boolean publishEnabled;

        public List<BigInteger> getIds() {
            return ids;
        }

        public void setIds(List<BigInteger> ids) {
            this.ids = ids;
        }

        public Boolean getPublishEnabled() {
            return publishEnabled;
        }

        public void setPublishEnabled(Boolean publishEnabled) {
            this.publishEnabled = publishEnabled;
        }
    }
}
