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

com.cisco.trex.stateless.TRexCommand Maven / Gradle / Ivy

There is a newer version: 1.69
Show newest version
package com.cisco.trex.stateless;

import java.util.Map;

public class TRexCommand {
  private int id;
  private String apiMethod;
  private Map parameters;

  public TRexCommand(String apiMethod, Map parameters) {
    this.apiMethod = apiMethod;
    this.parameters = parameters;
  }

  public TRexCommand(int id, String apiMethod, Map parameters) {
    this.apiMethod = apiMethod;
    this.parameters = parameters;
    this.parameters.put("id", id);
  }

  public int getId() {
    return id;
  }

  public String getApiMethod() {
    return apiMethod;
  }

  public Map getParameters() {
    return parameters;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy