Class TrustCreate

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

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

    • TrustCreate

      public TrustCreate()
    • TrustCreate

      public TrustCreate(Boolean initWithEmptyList)
  • Method Details

    • pairingId

      public TrustCreate pairingId(String pairingId)
      The pairing Id created by the trustee. This is required to prove that the trustee agrees to the relationship. Not required when creating a default pairing with Customer Care.
    • getPairingId

      public String getPairingId()
    • setPairingId

      public void setPairingId(String pairingId)
    • enabled

      public TrustCreate enabled(Boolean enabled)
      If disabled no trustee user will have access, even if they were previously added.
    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • users

      public TrustCreate users(List<TrustMemberCreate> users)
      The list of users and their roles to which access will be granted. The users are from the trustee and the roles are from the trustor. If no users are specified, at least one group is required.
    • getUsers

      public List<TrustMemberCreate> getUsers()
    • setUsers

      public void setUsers(List<TrustMemberCreate> users)
    • groups

      public TrustCreate groups(List<TrustMemberCreate> groups)
      The list of groups and their roles to which access will be granted. The groups are from the trustee and the roles are from the trustor. If no groups are specified, at least one user is required.
    • getGroups

      public List<TrustMemberCreate> getGroups()
    • setGroups

      public void setGroups(List<TrustMemberCreate> groups)
    • dateExpired

      public TrustCreate dateExpired(Date dateExpired)
      The expiration date of the trust. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateExpired

      public Date getDateExpired()
    • setDateExpired

      public void setDateExpired(Date dateExpired)
    • 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