public class Bayonet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
api_key
API key for connecting to the Bayonet API
|
protected java.lang.String |
api_version
API version to connect to
|
| Constructor and Description |
|---|
Bayonet(java.lang.String api_key,
java.lang.String api_version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateClientConfig()
Helper function to validate client configuration
|
protected java.lang.String api_key
protected java.lang.String api_version
protected void validateClientConfig()
throws BayonetException
BayonetException - if client configuration is invalid