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

public class Label
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A pair of `nature` and `party` objects. The `nature` object identifies the effect of the element on the identified `party`, and the `party` object identifies the affected party.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Label.Builder
    Builder.
  • Method Summary

    Modifier and Type Method Description
    String nature()
    Gets the nature.
    Label.Builder newBuilder()
    New builder.
    String party()
    Gets the party.

    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
  • Method Details

    • newBuilder

      public Label.Builder newBuilder()
      New builder.
      Returns:
      a Label builder
    • nature

      public String nature()
      Gets the nature.

      The identified `nature` of the element.

      Returns:
      the nature
    • party

      public String party()
      Gets the party.

      The identified `party` of the element.

      Returns:
      the party