public class SourceHubspotConfig extends BaseHubspotConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
END_DATE |
String |
endDate |
String |
filters |
static String |
FILTERS |
static String |
REPORT_CATEGORY |
static String |
REPORT_CONTENT |
static String |
REPORT_OBJECT |
static String |
REPORT_TYPE |
String |
reportCategory |
String |
reportContent |
String |
reportObject |
String |
reportType |
static String |
START_DATE |
String |
startDate |
static String |
TIME_PERIOD |
String |
timePeriod |
API_SERVER_URL, apiServerUrl, AUTHORIZATION_TOKEN, authToken, DEFAULT_API_SERVER_URL, OBJECT_TYPE, objectType| Constructor and Description |
|---|
SourceHubspotConfig(String referenceName) |
SourceHubspotConfig(String referenceName,
String apiServerUrl,
String objectType,
String authToken,
String filters,
String startDate,
String endDate,
String reportType,
String reportContent,
String reportCategory,
String reportObject,
String timePeriod)
Constructor for SourceHubspotConfig object.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFilters()
Returns the list of string.
|
ReportEndpoint |
getReportEndpoint()
Returns the ReportEndpoint.
|
ReportEndpoint |
getReportEndpoint(String reportCategory) |
ReportType |
getReportType() |
io.cdap.cdap.api.data.schema.Schema |
getSchema()
Returns the Schema.
|
TimePeriod |
getTimePeriod() |
void |
validate(io.cdap.cdap.etl.api.FailureCollector failureCollector)
Validates
SourceHubspotConfig instance. |
getApiServerUrl, getObjectTypepublic static final String TIME_PERIOD
public static final String REPORT_TYPE
public static final String REPORT_CONTENT
public static final String REPORT_CATEGORY
public static final String START_DATE
public static final String END_DATE
public static final String FILTERS
public static final String REPORT_OBJECT
public SourceHubspotConfig(String referenceName)
public SourceHubspotConfig(String referenceName, String apiServerUrl, String objectType, String authToken, String filters, String startDate, String endDate, String reportType, String reportContent, String reportCategory, String reportObject, String timePeriod)
referenceName - the reference nameapiServerUrl - the api server url of hubspotobjectType - the object type of hubspotauthToken - the hubspot private app access tokenfilters - the filters for Analytics object typestartDate - the start date for Analytics object typeendDate - the end date for Analytics object typereportType - the report type for Analytics object typereportContent - the report contentreportCategory - the report categoryreportObject - the report objecttimePeriod - the time period for Analytics object typepublic void validate(io.cdap.cdap.etl.api.FailureCollector failureCollector)
SourceHubspotConfig instance.public io.cdap.cdap.api.data.schema.Schema getSchema()
@Nullable public ReportEndpoint getReportEndpoint()
@Nullable public ReportEndpoint getReportEndpoint(String reportCategory)
@Nullable public ReportType getReportType()
@Nullable public TimePeriod getTimePeriod()
Copyright © 2022. All rights reserved.