package com.bocloud.cmp.model.f5;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * VirtualServer
 *
 * @author liuyuanyuan
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VirtualServerModel implements Cloneable {
    // 名称
    private String name;
    // 备注
    private String description;
    // 目标机器（ip+端口）
    private String destination;
    // pool
    private String pool;
    // 状态
    private String status;
    private String type;
    private String source;
    private String ipProtocol;
    private Boolean vlansDisabled;
    private Boolean vlansEnabled;
    private List<String> vlans;
    private Map<String, Object> sourceAddressTranslation;
    private List<String> rules;
    private List<Map<String, Object>> persist;
    private String fallbackPersistence;
    private List<Map<String, Object>> profiles;
    private List<ProfileModel> profileModels;
    // 分区
    private String partition;
    private String fullPath;
    private String subPath;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
