<commit_before>package org.motechproject.server.voxeo.domain;

import org.ektorp.support.TypeDiscriminator;
import org.motechproject.ivr.model.CallDetailRecord;
import org.motechproject.ivr.service.CallRequest;
import org.motechproject.model.MotechBaseDataObject;

import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@TypeDiscriminator("doc.type === 'PhoneCall'")
public class PhoneCall extends MotechBaseDataObject {
    public enum Direction {
	    INCOMING, OUTGOING
    }

    @JsonProperty("type")
    private String type = "CALL_DETAIL_RECORD";
    @JsonProperty
    private String sessionId;
    private Date startDate;
    @JsonProperty
    private Date endDate;
    @JsonProperty
    private Date answerDate;
    @JsonProperty
    private Integer duration;
    @JsonProperty
    private CallDetailRecord.Disposition disposition;
    @JsonProperty
    private Direction direction;
    @JsonProperty
    private CallRequest callRequest;
    @JsonProperty
    private Set<PhoneCallEvent> events;
    @JsonProperty
    private String sessionId;

    public PhoneCall() {
    }

    public PhoneCall(CallRequest callRequest) {
        this.callRequest = callRequest;
    }

    public String getSessionId()
    {
        return sessionId;<commit_msg>Clean up a merge issue with removal of type<commit_after>package org.motechproject.server.voxeo.domain;

import org.ektorp.support.TypeDiscriminator;
import org.motechproject.ivr.model.CallDetailRecord;
import org.motechproject.ivr.service.CallRequest;
import org.motechproject.model.MotechBaseDataObject;

import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@TypeDiscriminator("doc.type === 'PhoneCall'")
public class PhoneCall extends MotechBaseDataObject {
    public enum Direction {
	    INCOMING, OUTGOING
    }

    @JsonProperty
    private String sessionId;
    private Date startDate;
    @JsonProperty
    private Date endDate;
    @JsonProperty
    private Date answerDate;
    @JsonProperty
    private Integer duration;
    @JsonProperty
    private CallDetailRecord.Disposition disposition;
    @JsonProperty
    private Direction direction;
    @JsonProperty
    private CallRequest callRequest;
    @JsonProperty
    private Set<PhoneCallEvent> events;
    @JsonProperty
    private String sessionId;

    public PhoneCall() {
    }

    public PhoneCall(CallRequest callRequest) {
        this.callRequest = callRequest;
    }

    public String getSessionId()
    {
        return sessionId;
{'fraction_non_alphanumeric': 0.07371294851794072, 'fraction_numerical': 0.0, 'mean_word_length': 3.8123827392120075, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2147706', 'n_tokens_mistral': 749, 'n_tokens_neox': 722, 'n_words': 174}