com.testdroid.api.model.APIVisualTestAccess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testdroid-api Show documentation
Show all versions of testdroid-api Show documentation
The Testdroid API library for Java
The newest version!
package com.testdroid.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.testdroid.api.APIEntity;
/**
* @author Artur Ćwikliński
*/
public class APIVisualTestAccess extends APIEntity {
private boolean enabled;
private String apiKey;
public APIVisualTestAccess() {
}
public APIVisualTestAccess(Long id, boolean status, String apiKey) {
super(id);
this.enabled = status;
this.apiKey = apiKey;
}
public APIVisualTestAccess(boolean status, String apiKey) {
this.enabled = status;
this.apiKey = apiKey;
}
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public String getApiKey() {
return apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
@Override
@JsonIgnore
protected void clone(T from) {
APIVisualTestAccess visualTestAccess = (APIVisualTestAccess) from;
cloneBase(from);
this.enabled = visualTestAccess.enabled;
this.apiKey = visualTestAccess.apiKey;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy