Class VoicemailMessage

java.lang.Object
com.mypurecloud.sdk.v2.model.VoicemailMessage
All Implemented Interfaces:
Serializable

public class VoicemailMessage extends Object implements Serializable
VoicemailMessage
See Also:
  • Constructor Details

    • VoicemailMessage

      public VoicemailMessage()
    • VoicemailMessage

      public VoicemailMessage(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • getConversation

      public Conversation getConversation()
    • read

      public VoicemailMessage read(Boolean read)
      Whether the voicemail message is marked as read
    • getRead

      public Boolean getRead()
    • setRead

      public void setRead(Boolean read)
    • getAudioRecordingDurationSeconds

      public Integer getAudioRecordingDurationSeconds()
    • getAudioRecordingSizeBytes

      public Long getAudioRecordingSizeBytes()
    • getTranscription

      public String getTranscription()
    • getCreatedDate

      public Date getCreatedDate()
    • getModifiedDate

      public Date getModifiedDate()
    • getDeletedDate

      public Date getDeletedDate()
    • getCallerAddress

      public String getCallerAddress()
    • getCallerName

      public String getCallerName()
    • getCallerUser

      public User getCallerUser()
    • deleted

      public VoicemailMessage deleted(Boolean deleted)
      Whether the voicemail message has been marked as deleted
    • getDeleted

      public Boolean getDeleted()
    • setDeleted

      public void setDeleted(Boolean deleted)
    • note

      public VoicemailMessage note(String note)
      An optional note
    • getNote

      public String getNote()
    • setNote

      public void setNote(String note)
    • getUser

      public User getUser()
    • getGroup

      public Group getGroup()
    • getQueue

      public Queue getQueue()
    • getCopiedFrom

      public VoicemailCopyRecord getCopiedFrom()
    • getCopiedTo

      public List<VoicemailCopyRecord> getCopiedTo()
    • deleteRetentionPolicy

      public VoicemailMessage deleteRetentionPolicy(VoicemailRetentionPolicy deleteRetentionPolicy)
      The retention policy for this voicemail when deleted is set to true
    • getDeleteRetentionPolicy

      public VoicemailRetentionPolicy getDeleteRetentionPolicy()
    • setDeleteRetentionPolicy

      public void setDeleteRetentionPolicy(VoicemailRetentionPolicy deleteRetentionPolicy)
    • getSelfUri

      public String getSelfUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object