Package com.mypurecloud.sdk.v2.model
Class ClientPublicApiUsageQueryRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.ClientPublicApiUsageQueryRequest
- All Implemented Interfaces:
Serializable
ClientPublicApiUsageQueryRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecify the granularity to aggregate the data to.static enumGets or Sets groupBystatic enumGets or Sets httpMethodsstatic enumGets or Sets metrics -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecify the granularity to aggregate the data to.Specify how to aggregate the data (by default the data is not aggregated).inthashCode()httpMethods(List<ClientPublicApiUsageQueryRequest.HttpMethodsEnum> httpMethods) Specify if you only want a subset of httpMethods represented in the query.Specify the interval to query on.Specify which metrics you want returned (all will be returned by default).organizationIds(List<String> organizationIds) Specify if you only want a subset of organizationIds represented in the query.Specify if you only want a subset of platforms represented in the query.voidvoidvoidvoidsetInterval(String interval) voidvoidsetOrganizationIds(List<String> organizationIds) voidsetPlatforms(List<String> platforms) voidsetSortBy(List<UsageQuerySortBy> sortBy) voidsetTemplateUris(List<String> templateUris) sortBy(List<UsageQuerySortBy> sortBy) Specify how to sort the returned data.templateUris(List<String> templateUris) Specify if you only want a subset of templateUris represented in the query.toString()
-
Constructor Details
-
ClientPublicApiUsageQueryRequest
public ClientPublicApiUsageQueryRequest() -
ClientPublicApiUsageQueryRequest
-
-
Method Details
-
interval
Specify the interval to query on. Start and end are inclusive. Start date cannot be more than a year ago. End date cannot be more than 90 days after the start. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss -
getInterval
-
setInterval
-
granularity
public ClientPublicApiUsageQueryRequest granularity(ClientPublicApiUsageQueryRequest.GranularityEnum granularity) Specify the granularity to aggregate the data to. -
getGranularity
-
setGranularity
-
sortBy
Specify how to sort the returned data. -
getSortBy
-
setSortBy
-
metrics
public ClientPublicApiUsageQueryRequest metrics(List<ClientPublicApiUsageQueryRequest.MetricsEnum> metrics) Specify which metrics you want returned (all will be returned by default). -
getMetrics
-
setMetrics
-
templateUris
Specify if you only want a subset of templateUris represented in the query. -
getTemplateUris
-
setTemplateUris
-
httpMethods
public ClientPublicApiUsageQueryRequest httpMethods(List<ClientPublicApiUsageQueryRequest.HttpMethodsEnum> httpMethods) Specify if you only want a subset of httpMethods represented in the query. -
getHttpMethods
-
setHttpMethods
-
platforms
Specify if you only want a subset of platforms represented in the query. -
getPlatforms
-
setPlatforms
-
groupBy
public ClientPublicApiUsageQueryRequest groupBy(List<ClientPublicApiUsageQueryRequest.GroupByEnum> groupBy) Specify how to aggregate the data (by default the data is not aggregated). -
getGroupBy
-
setGroupBy
-
organizationIds
Specify if you only want a subset of organizationIds represented in the query. -
getOrganizationIds
-
setOrganizationIds
-
equals
-
hashCode
public int hashCode() -
toString
-