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

com.applitools.eyes.playwright.universal.driver.dto.DriverInfoFeaturesDto Maven / Gradle / Ivy

There is a newer version: 5.70.6
Show newest version
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 +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy