Skip to content

Commit

Permalink
Merge pull request #713 from besbes/feature/voicecomment
Browse files Browse the repository at this point in the history
Additional fields for VoiceCommentData
  • Loading branch information
PierreBtz authored Sep 17, 2024
2 parents b5891e7 + 0ae5719 commit 0c24742
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,42 @@
package org.zendesk.client.v2.model.comments;

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 0c24742

Please sign in to comment.