Skip to content

Commit

Permalink
Additional fields for VoiceCommentData
Browse files Browse the repository at this point in the history
  • Loading branch information
besbes committed Aug 17, 2024
1 parent 0702d6e commit 388e64f
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,42 @@

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
* @author besbes
* @since 05/03/2024 13:51
*/
public class VoiceCommentData {

private String from;
private String to;
private String recordingUrl;
private Long callDuration;
private Date startedAt;

@JsonProperty("from")
public String getFrom() {
return from;
}

@JsonProperty("to")
public String getTo() {
return to;
}

@JsonProperty("recording_url")
public String getRecordingUrl() {
return recordingUrl;
}

@JsonProperty("call_duration")
public Long getCallDuration() {
return callDuration;
}

@JsonProperty("started_at")
public Date getStartedAt() {
return startedAt;
}
}

0 comments on commit 388e64f

Please sign in to comment.