Package cloud.genesys.webmessaging.sdk
Class ApiRequestBuilder<T>
java.lang.Object
cloud.genesys.webmessaging.sdk.ApiRequestBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static ApiRequestBuilder<Void>static StringformatDate(Date date) Format the given Date object into string.static DateFormatstatic voidsetDateFormat(DateFormat dateFormat) withAccepts(String... accepts) withAuthNames(String... authNames) <BODY> ApiRequestBuilder<BODY>withBody(BODY body) withContentTypes(String... contentTypes) withCustomHeader(String name, String value) withCustomHeaders(Map<String, String> headers) withFormParameter(String name, Object value) withHeaderParameter(String name, Object value) withPathParameter(String name, Object value) withQueryParameters(String name, String collectionFormat, Object value)
-
Method Details
-
setDateFormat
-
getDateFormat
-
formatDate
Format the given Date object into string. -
create
-
withPathParameter
-
withFormParameter
-
withQueryParameters
-
withHeaderParameter
-
withCustomHeader
-
withCustomHeaders
-
withContentTypes
-
withAccepts
-
withAuthNames
-
withBody
-
build
-