patchApplication method
Future<ClientResponse<ApplicationResponse, Errors> >
patchApplication(
- String applicationId,
- ApplicationRequest request
Updates, via PATCH, the application with the given Id.
@param {String} applicationId The Id of the application to update. @param {ApplicationRequest} request The request that contains just the new application information. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<ApplicationResponse, Errors>> patchApplication(
String applicationId, ApplicationRequest request) {
return _start<ApplicationResponse, Errors>()
.withUri('/api/application')
.withUriSegment(applicationId)
.withJSONBody(request)
.withMethod('PATCH')
.withResponseHandler(defaultResponseHandlerBuilder(
(d) => ApplicationResponse.fromJson(d)))
.go();
}