com.cisco.trex.stateless.model.StreamRxStats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trex-java-sdk Show documentation
Show all versions of trex-java-sdk Show documentation
Java client SDK provides an implementation for TRex RPC APIs
package com.cisco.trex.stateless.model;
import java.util.Objects;
public class StreamRxStats {
private Boolean enabled;
private Boolean latency_enabled;
private Boolean seq_enabled;
private Integer stream_id;
public StreamRxStats(
Boolean enabled, Boolean latency_enabled, Boolean seq_enabled, Integer stream_id) {
this.enabled = enabled;
this.latency_enabled = latency_enabled;
this.seq_enabled = seq_enabled;
this.stream_id = stream_id;
}
public Boolean getEnabled() {
return enabled;
}
public Boolean getLatency_enabled() {
return latency_enabled;
}
public Boolean getSeq_enabled() {
return seq_enabled;
}
public Integer getStream_id() {
return stream_id;
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (!(obj instanceof StreamRxStats)) {
return false;
}
StreamRxStats rhs = (StreamRxStats) obj;
return Objects.equals(this.enabled, rhs.enabled)
&& Objects.equals(this.latency_enabled, rhs.latency_enabled)
&& Objects.equals(this.seq_enabled, rhs.seq_enabled)
&& Objects.equals(this.stream_id, rhs.stream_id);
}
}