-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #713 from besbes/feature/voicecomment
Additional fields for VoiceCommentData
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/main/java/org/zendesk/client/v2/model/comments/VoiceCommentData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |