com.browserstack.client.model.BrowserStackObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automate-client-java Show documentation
Show all versions of automate-client-java Show documentation
Java bindings for BrowserStack Automate REST API
The newest version!
package com.browserstack.client.model;
import com.browserstack.client.BrowserStackClient;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
public abstract class BrowserStackObject implements Serializable {
private transient BrowserStackClient client;
@JsonIgnore
public BrowserStackClient getClient() {
return client;
}
@SuppressWarnings("unchecked")
@JsonIgnore
public T setClient(BrowserStackClient client) {
this.client = client;
return (T) this;
}
public boolean hasClient() {
return (client != null);
}
}