Class KeyValuePair

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

public class KeyValuePair
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Key-value pairs detected across cell boundaries.
  • Constructor Summary

    Constructors
    Constructor Description
    KeyValuePair()  
  • Method Summary

    Modifier and Type Method Description
    Key getKey()
    Gets the key.
    List<Value> getValue()
    Gets the value.

    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

    • KeyValuePair

      public KeyValuePair()
  • Method Details

    • getKey

      public Key getKey()
      Gets the key.

      A key in a key-value pair.

      Returns:
      the key
    • getValue

      public List<Value> getValue()
      Gets the value.

      A list of values in a key-value pair.

      Returns:
      the value