package io.wdd.func.xray.beans.xray;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NotNull
@SuperBuilder(toBuilder = true)
public class RuleObject {

    private String type;
    private List<String> domain;
    private List<String> ip;
    private String port;
    private String sourcePort;
    private String network;
    private List<String> source;
    private List<String> user;
    private List<String> inboundTag;
    private String protocol;
    private String attrs;
    private String outboundTag;
    private String balancerTag;

}
