package io.wdd.func.xray.beans.xray.protocol.inbound.vmess;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class InboundConfigurationObject {

    private List<ClientObject> clients;
    private DetourObject detour;

    @JsonProperty("default")
    private DefaultObject _default;

    /**
     * 是否禁止客户端使用不安全的加密方式，当客户端指定下列加密方式时，服务器会主动断开连接。默认值为false。
     */
    boolean disableInsecureEncryption;

}
