Class Limits
- java.lang.Object
-
- org.apache.camel.component.salesforce.api.dto.Limits
-
- All Implemented Interfaces:
Serializable
public final class Limits extends Object implements Serializable
Data given by the `Limits` resource on Salesforce.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Limits.LimitsDeserializer
static class
Limits.Operation
static class
Limits.Usage
Encapsulates usage limits for single operation.
-
Constructor Summary
Constructors Constructor Description Limits(Map<?,Limits.Usage> usages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Limits.Usage
forOperation(String name)
Limits.Usage
forOperation(Limits.Operation operation)
Limits.Usage
getConcurrentAsyncGetReportInstances()
Concurrent REST API requests for results of asynchronous report runsLimits.Usage
getConcurrentSyncReportRuns()
Concurrent synchronous report runs via REST APILimits.Usage
getDailyApiRequests()
Daily API callsLimits.Usage
getDailyAsyncApexExecutions()
Daily Batch Apex and future method executionsLimits.Usage
getDailyBulkApiRequests()
Daily Bulk API callsLimits.Usage
getDailyDurableGenericStreamingApiEvents()
Daily durable generic streaming events (if generic streaming is enabled for your organization)Limits.Usage
getDailyDurableStreamingApiEvents()
Daily durable streaming events (if generic streaming is enabled for your organization)Limits.Usage
getDailyGenericStreamingApiEvents()
Daily generic streaming events (if generic streaming is enabled for your organization)Limits.Usage
getDailyStreamingApiEvents()
Daily Streaming API eventsLimits.Usage
getDailyWorkflowEmails()
Daily workflow emailsLimits.Usage
getDataStorageMB()
Data storage (MB)Limits.Usage
getDurableStreamingApiConcurrentClients()
Streaming API concurrent clientsLimits.Usage
getFileStorageMB()
File storage (MB)Limits.Usage
getHourlyAsyncReportRuns()
Hourly asynchronous report runs via REST APILimits.Usage
getHourlyDashboardRefreshes()
Hourly dashboard refreshes via REST APILimits.Usage
getHourlyDashboardResults()
Hourly REST API requests for dashboard resultsLimits.Usage
getHourlyDashboardStatuses()
Hourly dashboard status requests via REST APILimits.Usage
getHourlyODataCallout()
Hourly OData calloutsLimits.Usage
getHourlySyncReportRuns()
Hourly synchronous report runs via REST APILimits.Usage
getHourlyTimeBasedWorkflow()
Hourly workflow time triggersLimits.Usage
getMassEmail()
Daily number of mass emails that are sent to external email addresses by using Apex or Force.com APIsLimits.Usage
getPermissionSets()
Usage of permission sets.Limits.Usage
getSingleEmail()
Daily number of single emails that are sent to external email addresses by using Apex or Force.com APIsLimits.Usage
getStreamingApiConcurrentClients()
Durable streaming API concurrent clientsString
toString()
-
-
-
Constructor Detail
-
Limits
public Limits(Map<?,Limits.Usage> usages)
-
-
Method Detail
-
forOperation
public Limits.Usage forOperation(Limits.Operation operation)
-
forOperation
public Limits.Usage forOperation(String name)
-
getConcurrentAsyncGetReportInstances
public Limits.Usage getConcurrentAsyncGetReportInstances()
Concurrent REST API requests for results of asynchronous report runs
-
getConcurrentSyncReportRuns
public Limits.Usage getConcurrentSyncReportRuns()
Concurrent synchronous report runs via REST API
-
getDailyApiRequests
public Limits.Usage getDailyApiRequests()
Daily API calls
-
getDailyAsyncApexExecutions
public Limits.Usage getDailyAsyncApexExecutions()
Daily Batch Apex and future method executions
-
getDailyBulkApiRequests
public Limits.Usage getDailyBulkApiRequests()
Daily Bulk API calls
-
getDailyDurableGenericStreamingApiEvents
public Limits.Usage getDailyDurableGenericStreamingApiEvents()
Daily durable generic streaming events (if generic streaming is enabled for your organization)
-
getDailyDurableStreamingApiEvents
public Limits.Usage getDailyDurableStreamingApiEvents()
Daily durable streaming events (if generic streaming is enabled for your organization)
-
getDailyGenericStreamingApiEvents
public Limits.Usage getDailyGenericStreamingApiEvents()
Daily generic streaming events (if generic streaming is enabled for your organization)
-
getDailyStreamingApiEvents
public Limits.Usage getDailyStreamingApiEvents()
Daily Streaming API events
-
getDailyWorkflowEmails
public Limits.Usage getDailyWorkflowEmails()
Daily workflow emails
-
getDataStorageMB
public Limits.Usage getDataStorageMB()
Data storage (MB)
-
getDurableStreamingApiConcurrentClients
public Limits.Usage getDurableStreamingApiConcurrentClients()
Streaming API concurrent clients
-
getFileStorageMB
public Limits.Usage getFileStorageMB()
File storage (MB)
-
getHourlyAsyncReportRuns
public Limits.Usage getHourlyAsyncReportRuns()
Hourly asynchronous report runs via REST API
-
getHourlyDashboardRefreshes
public Limits.Usage getHourlyDashboardRefreshes()
Hourly dashboard refreshes via REST API
-
getHourlyDashboardResults
public Limits.Usage getHourlyDashboardResults()
Hourly REST API requests for dashboard results
-
getHourlyDashboardStatuses
public Limits.Usage getHourlyDashboardStatuses()
Hourly dashboard status requests via REST API
-
getHourlyODataCallout
public Limits.Usage getHourlyODataCallout()
Hourly OData callouts
-
getHourlySyncReportRuns
public Limits.Usage getHourlySyncReportRuns()
Hourly synchronous report runs via REST API
-
getHourlyTimeBasedWorkflow
public Limits.Usage getHourlyTimeBasedWorkflow()
Hourly workflow time triggers
-
getMassEmail
public Limits.Usage getMassEmail()
Daily number of mass emails that are sent to external email addresses by using Apex or Force.com APIs
-
getPermissionSets
public Limits.Usage getPermissionSets()
Usage of permission sets.
-
getSingleEmail
public Limits.Usage getSingleEmail()
Daily number of single emails that are sent to external email addresses by using Apex or Force.com APIs
-
getStreamingApiConcurrentClients
public Limits.Usage getStreamingApiConcurrentClients()
Durable streaming API concurrent clients
-
-