Delete an award for a merge request

@param mergeRequest
@param award
@throws IOException on gitlab api call error
765427
public void deleteAward(GitlabMergeRequest mergeRequest, GitlabAward award) throws IOException {
        String tailUrl = GitlabProject.URL + "/" + mergeRequest.getProjectId() + GitlabMergeRequest.URL + "/"
                + mergeRequest.getIid() + GitlabAward.URL + "/" + award.getId();

        retrieve().method(DELETE).to(tailUrl, Void.class);
    }
449555
func (g *Gitlab) EditMergeRequest(mr *MergeRequest) error {
	u := g.ResourceUrl(ProjectMergeRequestApiPath, map[string]string{
		":id":                string(mr.ProjectId),
		":merge_request_idd": string(mr.Iid),
	})

	encodedRequest, err := json.Marshal(mr)
	if err != nil {
		return err
	}

	data, _, err := g.buildAndExecRequest("PUT", u.String(), encodedRequest)
	if err != nil {
		return err
	}

	err = json.Unmarshal(data, mr)
	if err != nil {
		panic(err)
	}

	return nil
}
498616
private void performTeardownExchange() throws IOException {
        Message teardownRequest = new Message(0xfffffffeL, Message.KnownType.TEARDOWN_REQ);
        sendMessage(teardownRequest);
        // At this point, the server closes the connection from its end, so we can’t read any more.
    }
909386
def merge(self, evaluation_context: 'EvaluationContext') -> None:
        
        self.global_context.merge(evaluation_context.global_context)
        self.local_context.merge(evaluation_context.local_context)
1360772
public void deleteAward(GitlabIssue issue, Integer noteId, GitlabAward award) throws IOException {
        String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId()
                + GitlabNote.URL + noteId + GitlabAward.URL + "/" + award.getId();
        retrieve().method(DELETE).to(tailUrl, Void.class);
    }
925710
public void deleteProjectMember(GitlabProject project, GitlabUser user) throws IOException {
        deleteProjectMember(project.getId(), user.getId());
    }
403778
@Override
    public void delete(
            final ObjectClass objClass,
            final Uid uid,
            final OperationOptions options) {

        LOG.ok("Account deletion");

        // check objectclass
        if (objClass == null || (!objClass.equals(ObjectClass.ACCOUNT))) {
            throw new IllegalArgumentException("Invalid objectclass");
        }

        // get web service client
        final Provisioning provisioning = connection.getProvisioning();
        if (provisioning == null) {
            throw new IllegalStateException("Web Service client not found");
        }

        try {
            provisioning.delete(uid.getUidValue());
        } catch (ProvisioningException e) {
            throw new ConnectorException("Deletion failed", e);
        } catch (Throwable t) {
            throw new ConnectorException("Communication exception", t);
        }
    }
182744
@Override
	public void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, ExtensionsData extension) {
		objectService.deleteObject(repositoryId, objectId, allVersions, extension);
	}
357947
func (g *Gitlab) ProjectMergeRequestChanges(id, merge_request_id string) (*MergeRequestChanges, *ResponseMeta, error) {
	u := g.ResourceUrl(ProjectMergeRequestChangesApiPath, map[string]string{
		":id":               id,
		":merge_request_id": merge_request_id,
	})

	var err error
	changes := new(MergeRequestChanges)

	contents, meta, err := g.buildAndExecRequest("GET", u.String(), nil)
	if err == nil {
		err = json.Unmarshal(contents, &changes)
	}

	return changes, meta, err
}
281331
public GitlabAward createAward(GitlabIssue issue, Integer noteId, String awardName) throws IOException {
        Query query = new Query().append("name", awardName);
        String tailUrl = GitlabProject.URL + "/" + issue.getProjectId() + GitlabIssue.URL + "/" + issue.getId()
                + GitlabNote.URL + noteId + GitlabAward.URL + query.toString();

        return dispatch().to(tailUrl, GitlabAward.class);
    }
73636
public void deleteNote(Serializable projectId, Integer issueId, GitlabNote noteToDelete) throws IOException {
        String tailUrl = GitlabProject.URL + "/" + sanitizeProjectId(projectId)
                + GitlabIssue.URL + "/" + issueId + GitlabNote.URL
                + "/" + noteToDelete.getId();
        retrieve().method(DELETE).to(tailUrl, GitlabNote.class);
    }
1218303
@SuppressWarnings({ "rawtypes", "unchecked" })
	private void mergeResponsesNamedList(NamedList<Object> mainResponse, NamedList<Object> shardResponse)
			throws IOException {
		Iterator<Entry<String, Object>> it = shardResponse.iterator();
		while (it.hasNext()) {
			Entry<String, Object> entry = it.next();
			String name = entry.getKey();
			Object shardValue = entry.getValue();
			int originalId = mainResponse.indexOf(name, 0);
			if (originalId < 0) {
				mainResponse.add(name, adjustablePartsCloned(shardValue));
			} else {
				Object original = mainResponse.getVal(originalId);
				if (original == null) {
					original = adjustablePartsCloned(shardValue);
				} else if (shardValue != null && original.getClass().equals(shardValue.getClass())) {
					// merge ArrayList
					if (original instanceof ArrayList) {
						ArrayList originalList = (ArrayList) original;
						ArrayList shardList = (ArrayList) shardValue;
						mergeResponsesArrayList(originalList, shardList);
						// merge Namedlist
					} else if (original instanceof NamedList<?>) {
						mergeResponsesNamedList((NamedList<Object>) original, (NamedList<Object>) shardValue);
						// merge SortedSet
					} else if (original instanceof SortedSet<?>) {
						mergeResponsesSortedSet((SortedSet<Object>) original, (SortedSet<Object>) shardValue);
					} else if (original instanceof MtasSolrMtasResult) {
						MtasSolrMtasResult originalComponentResult = (MtasSolrMtasResult) original;
						originalComponentResult.merge((MtasSolrMtasResult) shardValue);
					} else if (original instanceof MtasSolrCollectionResult) {
						MtasSolrCollectionResult originalComponentResult = (MtasSolrCollectionResult) original;
						originalComponentResult.merge((MtasSolrCollectionResult) shardValue);
					} else if (original instanceof String) {
						// ignore?
					} else if (original instanceof Integer) {
						original = (Integer) original + ((Integer) shardValue);
					} else if (original instanceof Long) {
						original = (Long) original + ((Long) shardValue);
					} else {
						// ignore?
					}
					mainResponse.setVal(originalId, original);
				} else {
					// ignore?
				}
			}
		}
	}
901926
public void deleteGroupMember(Integer groupId, Integer userId) throws IOException {
        String tailUrl = GitlabGroup.URL + "/" + groupId + "/" + GitlabGroupMember.URL + "/" + userId;
        retrieve().method(DELETE).to(tailUrl, Void.class);
    }
663428
public void ipOrganisation_organisationId_DELETE(String organisationId) throws IOException {
		String qPath = "/me/ipOrganisation/{organisationId}";
		StringBuilder sb = path(qPath, organisationId);
		exec(qPath, "DELETE", sb.toString(), null);
	}
1205606
void mergeTo(final NominatimSearchRequest request) {
        if (null == request.getBounded() && null != bounded) {
            request.setBounded(bounded);
        }
        if (null == request.getViewBox()) {
            request.setViewBox(viewBox);
        }
        if (null == request.getPolygonFormat()) {
            request.setPolygonFormat(polygonFormat);
        }
        if (null == request.getAcceptLanguage() && null != acceptLanguage) {
            request.setAcceptLanguage(acceptLanguage.toString());
        }
    }
769492
public GitlabMergeRequestApprovals setMergeRequestApprovers(GitlabMergeRequest mr,
                                                                Collection<Integer> userApproverIds,
                                                                Collection<Integer> groupApproverIds) throws IOException {
        String tailUrl = GitlabProject.URL + "/" + sanitizeProjectId(mr.getProjectId()) +
                GitlabMergeRequest.URL + "/" + mr.getIid() + GitlabMergeRequestApprovals.APPROVERS_URL;
        return put()
            .with("approver_ids", userApproverIds)
            .with("approver_group_ids", groupApproverIds)
            .to(tailUrl, GitlabMergeRequestApprovals.class);
    }
71991
public void deleteVerifiedDomain(DeleteVerifiedDomainRequest request) {
        checkNotNull(request, "object request should not be null.");
        assertStringNotNullOrEmpty(request.getDomainName(), "object domainName should not be null or empty");

        InternalRequest internalRequest =
                this.createRequest("verifiedDomain", request, HttpMethodName.DELETE, request.getDomainName());
        this.invokeHttpClient(internalRequest, SesResponse.class);
    }