Class CompanyNote


  • public final class CompanyNote
    extends java.lang.Object
    • Method Detail

      • getType

        public java.util.Optional<java.lang.String> getType()
        Returns:
        String representing the object's type. Always has the value note.
      • getId

        public java.util.Optional<java.lang.String> getId()
        Returns:
        The id of the note.
      • getCreatedAt

        public java.util.Optional<java.lang.Integer> getCreatedAt()
        Returns:
        The time the note was created.
      • getCompany

        public java.util.Optional<CompanyNote.Company> getCompany()
        Returns:
        Represents the company that the note was created about.
      • getAuthor

        public java.util.Optional<Admin> getAuthor()
        Returns:
        Optional. Represents the Admin that created the note.
      • getBody

        public java.util.Optional<java.lang.String> getBody()
        Returns:
        The body text of the note.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object