package com.bocloud.cmp.model.f5;

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

/**
 * Monitor
 *
 * @author liuyuanyuan
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MonitorModel implements Cloneable {
    private String name;
    private String description;
    private String defaultsFrom;
    private String kind;
    // 间隔时间
    private Long interval;
    // 超时时间
    private Long timeout;
    // 发送内容
    private String send;
    // 接收内容
    private String recv;
    // 接收禁用内容
    private String recvDisable; // recvDisable
    private String cipherlist;
    // 用户名称
    private String username;
    // 密码
    private String password;
    private String reverse;
    private String transparent;
    // 别名地址
    private String aliasAddress;
    // 别名服务端口
    private String aliasServicePort;
    private String portType;
    // 自适应
    private String adaptive;
    // 允许分歧
    private String adaptiveDivergenceType;// adaptiveDivergenceType
    private String adaptiveDivergenceValue;// adaptiveDivergenceValue
    // 自适应限制
    private Long adaptiveLimit;
    // 采样时间间隔
    private Long adaptiveSamplingTimespan;// adaptiveSamplingTimespan
    private String destination;
    private String soapAction;
    private String protocol;
    private String urlPath;
    private String namespace;
    private String method;
    private String parameterName;
    private String parameterType;
    private String parameterValue;
    private String returnType;
    private String returnValue;
    private String expectFault;
    private String subPath;
    // 分区
    private String partition;
    private String fullPath;

    // 前端接受数据
    private Long parentMonitorId;

    private Long partitionId;

    private String remark;

    private Long vendorId;

    private String type;

    private Long id;

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