com.applitools.eyes.playwright.universal.driver.dto.DriverInfoFeaturesDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-playwright-java5 Show documentation
Show all versions of eyes-playwright-java5 Show documentation
Applitools Eyes SDK for Playwright Java
package com.applitools.eyes.playwright.universal.driver.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.Objects;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DriverInfoFeaturesDto {
private Boolean allCookies;
private Boolean canExecuteOnlyFunctionScripts;
public DriverInfoFeaturesDto() {
this.allCookies = true;
this.canExecuteOnlyFunctionScripts = true;
}
public Boolean getAllCookies() {
return allCookies;
}
public void setAllCookies(Boolean allCookies) {
this.allCookies = allCookies;
}
public Boolean getCanExecuteOnlyFunctionScripts() {
return canExecuteOnlyFunctionScripts;
}
public void setCanExecuteOnlyFunctionScripts(Boolean canExecuteOnlyFunctionScripts) {
this.canExecuteOnlyFunctionScripts = canExecuteOnlyFunctionScripts;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DriverInfoFeaturesDto that = (DriverInfoFeaturesDto) o;
return Objects.equals(allCookies, that.allCookies) && Objects.equals(canExecuteOnlyFunctionScripts, that.canExecuteOnlyFunctionScripts);
}
@Override
public int hashCode() {
return Objects.hash(allCookies, canExecuteOnlyFunctionScripts);
}
@Override
public String toString() {
return "DriverInfoFeaturesDto{" +
"allCookies=" + allCookies +
", canExecuteOnlyFunctionScripts=" + canExecuteOnlyFunctionScripts +
'}';
}
}