Package com.mypurecloud.sdk.v2.model
Class OrganizationPublicApiUsage
java.lang.Object
com.mypurecloud.sdk.v2.model.OrganizationPublicApiUsage
- All Implemented Interfaces:
Serializable
OrganizationPublicApiUsage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe http method of the request(s) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe date of the usage.booleangetDate()getUser()inthashCode()httpMethod(OrganizationPublicApiUsage.HttpMethodEnum httpMethod) The http method of the request(s)oauthClient(DomainEntityRef oauthClient) The id of the oauthClient that made the request(s).The platform the request(s) is/were made on.requestCount(Long requestCount) The total number of requests.voidvoidvoidsetOauthClient(DomainEntityRef oauthClient) voidsetPlatform(String platform) voidsetRequestCount(Long requestCount) voidsetStatus200(Long status200) voidsetStatus300(Long status300) voidsetStatus400(Long status400) voidsetStatus429(Long status429) voidsetStatus500(Long status500) voidsetTemplateUri(String templateUri) voidsetUser(UserReference user) The number of requests resulting in a 2xx HTTP status code.The number of requests resulting in a 3xx HTTP status code.The number of requests resulting in a 4xx HTTP status code.The number of requests resulting in a 429 HTTP status code.The number of requests resulting in a 5xx HTTP status code.templateUri(String templateUri) The templateUri of the request(s).toString()user(UserReference user) The id of the user who made the request(s).
-
Constructor Details
-
OrganizationPublicApiUsage
public OrganizationPublicApiUsage() -
OrganizationPublicApiUsage
-
-
Method Details
-
date
The date of the usage. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getDate
-
setDate
-
platform
The platform the request(s) is/were made on. -
getPlatform
-
setPlatform
-
httpMethod
The http method of the request(s) -
getHttpMethod
-
setHttpMethod
-
templateUri
The templateUri of the request(s). -
getTemplateUri
-
setTemplateUri
-
requestCount
The total number of requests. -
getRequestCount
-
setRequestCount
-
status200
The number of requests resulting in a 2xx HTTP status code. -
getStatus200
-
setStatus200
-
status300
The number of requests resulting in a 3xx HTTP status code. -
getStatus300
-
setStatus300
-
status400
The number of requests resulting in a 4xx HTTP status code. -
getStatus400
-
setStatus400
-
status429
The number of requests resulting in a 429 HTTP status code. -
getStatus429
-
setStatus429
-
status500
The number of requests resulting in a 5xx HTTP status code. -
getStatus500
-
setStatus500
-
oauthClient
The id of the oauthClient that made the request(s). -
getOauthClient
-
setOauthClient
-
user
The id of the user who made the request(s). -
getUser
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-