Class ValidationResponse.Note

java.lang.Object
com.cedarpolicy.model.ValidationResponse.Note
Enclosing class:
ValidationResponse

public static final class ValidationResponse.Note extends Object
Note for a specific policy.
  • Constructor Details

    • Note

      public Note(String policyId, String note)
      Create note from JSON.
      Parameters:
      policyId - Policy ID to which note applies.
      note - The Note.
  • Method Details

    • getPolicyId

      public String getPolicyId()
      Get the policy ID.
      Returns:
      The policy ID.
    • getNote

      public String getNote()
      Get the note.
      Returns:
      The note.
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Hash.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Readable string representation.
      Overrides:
      toString in class Object