All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cisco.trex.stateless.model.StreamRxStats Maven / Gradle / Ivy

There is a newer version: 1.69
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy