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

com.applitools.eyes.universal.dto.TestResultContainerDto Maven / Gradle / Ivy

There is a newer version: 5.76.0
Show newest version
package com.applitools.eyes.universal.dto;

import com.applitools.eyes.EyesError;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * Test result container dto
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TestResultContainerDto {
  private TestResultsDto result;
  private EyesError error;
  private ExactEnvironment environment;
  private String userTestId;

  public TestResultContainerDto() {
  }

  public TestResultContainerDto(TestResultsDto result, EyesError error, ExactEnvironment environment, String userTestId) {
    this.result = result;
    this.error = error;
    this.environment = environment;
    this.userTestId = userTestId;
  }

  public TestResultsDto getResult() {
    return result;
  }

  public void setResult(TestResultsDto result) {
    this.result = result;
  }

  public EyesError getError() {
    return error;
  }

  public void setError(EyesError error) {
    this.error = error;
  }

  public ExactEnvironment getEnvironment() {
    return environment;
  }

  public void setEnvironment(ExactEnvironment environment) {
    this.environment = environment;
  }

  public String getUserTestId() {
    return userTestId;
  }

  public void setUserTestId(String userTestId) {
    this.userTestId = userTestId;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy