Package com.mypurecloud.sdk.v2.model
Class OrganizationPublicApiUsageQueryRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.OrganizationPublicApiUsageQueryRequest
- All Implemented Interfaces:
Serializable
OrganizationPublicApiUsageQueryRequest
- 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()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).oauthClientIds(List<String> oauthClientIds) Specify if you only want a subset of oauthClientIds represented in the query.Specify if you only want a subset of platforms represented in the query.voidvoidvoidvoidsetInterval(String interval) voidvoidsetOauthClientIds(List<String> oauthClientIds) voidsetPlatforms(List<String> platforms) voidsetSortBy(List<UsageQuerySortBy> sortBy) voidsetTemplateUris(List<String> templateUris) voidsetUserIds(List<String> userIds) 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()Specify if you only want a subset of userIds represented in the query.
-
Constructor Details
-
OrganizationPublicApiUsageQueryRequest
public OrganizationPublicApiUsageQueryRequest() -
OrganizationPublicApiUsageQueryRequest
-
-
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 OrganizationPublicApiUsageQueryRequest granularity(OrganizationPublicApiUsageQueryRequest.GranularityEnum granularity) Specify the granularity to aggregate the data to. -
getGranularity
-
setGranularity
-
sortBy
Specify how to sort the returned data. -
getSortBy
-
setSortBy
-
metrics
public OrganizationPublicApiUsageQueryRequest metrics(List<OrganizationPublicApiUsageQueryRequest.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 OrganizationPublicApiUsageQueryRequest httpMethods(List<OrganizationPublicApiUsageQueryRequest.HttpMethodsEnum> httpMethods) Specify if you only want a subset of httpMethods represented in the query. -
getHttpMethods
-
setHttpMethods
public void setHttpMethods(List<OrganizationPublicApiUsageQueryRequest.HttpMethodsEnum> httpMethods) -
platforms
Specify if you only want a subset of platforms represented in the query. -
getPlatforms
-
setPlatforms
-
groupBy
public OrganizationPublicApiUsageQueryRequest groupBy(List<OrganizationPublicApiUsageQueryRequest.GroupByEnum> groupBy) Specify how to aggregate the data (by default the data is not aggregated). -
getGroupBy
-
setGroupBy
-
userIds
Specify if you only want a subset of userIds represented in the query. -
getUserIds
-
setUserIds
-
oauthClientIds
Specify if you only want a subset of oauthClientIds represented in the query. -
getOauthClientIds
-
setOauthClientIds
-
equals
-
hashCode
public int hashCode() -
toString
-