Class APICommand

java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APICommand

public class APICommand extends APIEntity
Author:
MichaƂ Szpruta <[email protected]>
  • Constructor Details

    • APICommand

      public APICommand()
    • APICommand

      public APICommand(String httpMethod, int responseCode, long timestamp, long duration, String requestBody, String responseBody, String uri)
  • Method Details

    • getHttpMethod

      public String getHttpMethod()
    • setHttpMethod

      public void setHttpMethod(String httpMethod)
    • getResponseCode

      public int getResponseCode()
    • setResponseCode

      public void setResponseCode(int responseCode)
    • getTimestamp

      public long getTimestamp()
    • setTimestamp

      public void setTimestamp(long timestamp)
    • getDuration

      public long getDuration()
    • setDuration

      public void setDuration(long duration)
    • getRequestBody

      public String getRequestBody()
    • setRequestBody

      public void setRequestBody(String requestBody)
    • getResponseBody

      public String getResponseBody()
    • setResponseBody

      public void setResponseBody(String responseBody)
    • getUri

      public String getUri()
    • setUri

      public void setUri(String uri)
    • clone

      protected <T extends APIEntity> void clone(T from)
      Specified by:
      clone in class APIEntity