package io.wdd.rpc.status.beans;

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

import java.util.List;

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

    @JsonProperty("name")
    private String name;
    @JsonProperty("internal_ip_v4")
    private List<String> internalIpV4;
    @JsonProperty("internal_ip_v6")
    private List<String> internalIpV6;
    @JsonProperty("mac")
    private String mac;
    @JsonProperty("sent")
    private Long sent;
    @JsonProperty("recv")
    private Long recv;
    @JsonProperty("sent_rate")
    private String sentRate;
    @JsonProperty("recv_rate")
    private String recvRate;
}
