Class SalesforceDatasource
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.proactiveconnect.Datasource
com.vonage.client.proactiveconnect.SalesforceDatasource
- All Implemented Interfaces:
Jsonable
Represents the
salesforce datasource type for a Proactive Connect list.-
Field Summary
Fields inherited from class com.vonage.client.proactiveconnect.Datasource
type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSalesforceDatasource(String integrationId, String soql) Creates a new Salesforce datasource for the list. -
Method Summary
Modifier and TypeMethodDescriptionIntegration ID defining Salesforce credential to use for this datasource.getSoql()Salesforce query defining which data to fetch from salesforce.Methods inherited from class com.vonage.client.proactiveconnect.Datasource
getTypeMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
SalesforceDatasource
protected SalesforceDatasource() -
SalesforceDatasource
Creates a new Salesforce datasource for the list.- Parameters:
integrationId- Integration ID defining Salesforce credential to use for this datasource.soql- Salesforce query defining which data to fetch from salesforce.
-
-
Method Details
-
getIntegrationId
Integration ID defining Salesforce credential to use for this datasource.- Returns:
- The integration ID.
-
getSoql
Salesforce query defining which data to fetch from salesforce.- Returns:
- The Salesforce query as a string.
-