java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.Contact
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Contact
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A contact.
  • Constructor Summary

    Constructors
    Constructor Description
    Contact()  
  • Method Summary

    Modifier and Type Method Description
    String getName()
    Gets the name.
    String getRole()
    Gets the role.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • getName

      public String getName()
      Gets the name.

      A string listing the name of the contact.

      Returns:
      the name
    • getRole

      public String getRole()
      Gets the role.

      A string listing the role of the contact.

      Returns:
      the role