|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.botlibre.sdk.Credentials
public class Credentials
Credential used to establish a connection. Requires the url, and an application id. You can obtain your application id from your user details page on the hosting website.
Field Summary | |
---|---|
java.lang.String |
app
|
java.lang.String |
applicationId
Your application's unique identifier. |
java.lang.String |
host
|
java.lang.String |
url
|
Constructor Summary | |
---|---|
Credentials()
|
|
Credentials(java.lang.String url,
java.lang.String applicationId)
Creates a new credentials for the service host url, and the application id. |
Method Summary | |
---|---|
java.lang.String |
getApp()
|
java.lang.String |
getApplicationId()
Returns your application's unique identifier. |
java.lang.String |
getHost()
|
java.lang.String |
getUrl()
|
void |
setApp(java.lang.String app)
Sets an app url postfix, this is normally not required, i.e. |
void |
setApplicationId(java.lang.String applicationId)
Sets your application's unique identifier. |
void |
setHost(java.lang.String host)
Sets the server host name, i.e. |
void |
setUrl(java.lang.String url)
Sets the hosted service server url, i.e. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String host
public java.lang.String app
public java.lang.String url
public java.lang.String applicationId
Constructor Detail |
---|
public Credentials()
public Credentials(java.lang.String url, java.lang.String applicationId)
Method Detail |
---|
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getApp()
public void setApp(java.lang.String app)
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |