Class ModelCase

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

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

    • ModelCase

      public ModelCase()
    • ModelCase

      public ModelCase(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public ModelCase name(String name)
      The name of the Case.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • division

      public ModelCase division(StarrableDivision division)
      The division to which this entity belongs.
    • getDivision

      public StarrableDivision getDivision()
    • setDivision

      public void setDivision(StarrableDivision division)
    • version

      public ModelCase version(Integer version)
      The version of the Case.
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • reference

      public ModelCase reference(String reference)
      The reference identifier of the Case.
    • getReference

      public String getReference()
    • setReference

      public void setReference(String reference)
    • caseplan

      public ModelCase caseplan(CaseplanReference caseplan)
      The Caseplan the Case was created from.
    • getCaseplan

      public CaseplanReference getCaseplan()
    • setCaseplan

      public void setCaseplan(CaseplanReference caseplan)
    • summary

      public ModelCase summary(String summary)
      Overview information for the Case.
    • getSummary

      public String getSummary()
    • setSummary

      public void setSummary(String summary)
    • owner

      public ModelCase owner(UserReference owner)
      The owner of the Case.
    • getOwner

      public UserReference getOwner()
    • setOwner

      public void setOwner(UserReference owner)
    • status

      public ModelCase status(ModelCase.StatusEnum status)
      The status of the Case.
    • getStatus

      public ModelCase.StatusEnum getStatus()
    • setStatus

      public void setStatus(ModelCase.StatusEnum status)
    • priority

      public ModelCase priority(ModelCase.PriorityEnum priority)
      The priority of the Case.
    • getPriority

      public ModelCase.PriorityEnum getPriority()
    • setPriority

      public void setPriority(ModelCase.PriorityEnum priority)
    • dateDue

      public ModelCase dateDue(Date dateDue)
      The due date of the Case. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateDue

      public Date getDateDue()
    • setDateDue

      public void setDateDue(Date dateDue)
    • dateStarted

      public ModelCase dateStarted(Date dateStarted)
      The start time of the Case. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateStarted

      public Date getDateStarted()
    • setDateStarted

      public void setDateStarted(Date dateStarted)
    • dateClosed

      public ModelCase dateClosed(Date dateClosed)
      The completion time of the Case. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateClosed

      public Date getDateClosed()
    • setDateClosed

      public void setDateClosed(Date dateClosed)
    • dateCreated

      public ModelCase dateCreated(Date dateCreated)
      The date the Case was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • dateModified

      public ModelCase dateModified(Date dateModified)
      The date the Case was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • modifiedBy

      public ModelCase modifiedBy(UserReference modifiedBy)
      The ID of the User who modified the Case.
    • getModifiedBy

      public UserReference getModifiedBy()
    • setModifiedBy

      public void setModifiedBy(UserReference modifiedBy)
    • externalContact

      public ModelCase externalContact(CaseExternalContactReference externalContact)
      The External Contact associated with the Case.
    • getExternalContact

      public CaseExternalContactReference getExternalContact()
    • setExternalContact

      public void setExternalContact(CaseExternalContactReference externalContact)
    • customerIntent

      public ModelCase customerIntent(CustomerIntentReference customerIntent)
      The customer intent for the Case.
    • getCustomerIntent

      public CustomerIntentReference getCustomerIntent()
    • setCustomerIntent

      public void setCustomerIntent(CustomerIntentReference customerIntent)
    • creationStatus

      public ModelCase creationStatus(ModelCase.CreationStatusEnum creationStatus)
      The creation status of the Case.
    • getCreationStatus

      public ModelCase.CreationStatusEnum getCreationStatus()
    • setCreationStatus

      public void setCreationStatus(ModelCase.CreationStatusEnum creationStatus)
    • ttlSeconds

      public ModelCase ttlSeconds(Integer ttlSeconds)
      The time-to-live in seconds for the lifetime of the Case.
    • getTtlSeconds

      public Integer getTtlSeconds()
    • setTtlSeconds

      public void setTtlSeconds(Integer ttlSeconds)
    • 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