Class Note
- java.lang.Object
-
- com.merge.api.resources.crm.types.Note
-
public final class Note extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNote.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Note.Builderbuilder()booleanequals(java.lang.Object other)java.util.Optional<NoteAccount>getAccount()java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<NoteContact>getContact()java.util.Optional<java.lang.String>getContent()java.util.Optional<java.time.OffsetDateTime>getCreatedAt()java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>getFieldMappings()java.util.Optional<java.lang.String>getId()java.util.Optional<java.time.OffsetDateTime>getModifiedAt()java.util.Optional<NoteOpportunity>getOpportunity()java.util.Optional<NoteOwner>getOwner()java.util.Optional<java.time.OffsetDateTime>getRemoteCreatedAt()java.util.Optional<java.util.List<RemoteData>>getRemoteData()java.util.Optional<java.util.List<RemoteField>>getRemoteFields()java.util.Optional<java.lang.String>getRemoteId()java.util.Optional<java.time.OffsetDateTime>getRemoteUpdatedAt()java.util.Optional<java.lang.Boolean>getRemoteWasDeleted()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.util.Optional<java.lang.String> getId()
-
getRemoteId
public java.util.Optional<java.lang.String> getRemoteId()
- Returns:
- The third-party API ID of the matching object.
-
getCreatedAt
public java.util.Optional<java.time.OffsetDateTime> getCreatedAt()
- Returns:
- The datetime that this object was created by Merge.
-
getModifiedAt
public java.util.Optional<java.time.OffsetDateTime> getModifiedAt()
- Returns:
- The datetime that this object was modified by Merge.
-
getOwner
public java.util.Optional<NoteOwner> getOwner()
- Returns:
- The note's owner.
-
getContent
public java.util.Optional<java.lang.String> getContent()
- Returns:
- The note's content.
-
getContact
public java.util.Optional<NoteContact> getContact()
- Returns:
- The note's contact.
-
getAccount
public java.util.Optional<NoteAccount> getAccount()
- Returns:
- The note's account.
-
getOpportunity
public java.util.Optional<NoteOpportunity> getOpportunity()
- Returns:
- The note's opportunity.
-
getRemoteUpdatedAt
public java.util.Optional<java.time.OffsetDateTime> getRemoteUpdatedAt()
- Returns:
- When the third party's lead was updated.
-
getRemoteCreatedAt
public java.util.Optional<java.time.OffsetDateTime> getRemoteCreatedAt()
- Returns:
- When the third party's lead was created.
-
getRemoteWasDeleted
public java.util.Optional<java.lang.Boolean> getRemoteWasDeleted()
- Returns:
- Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
-
getFieldMappings
public java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> getFieldMappings()
-
getRemoteData
public java.util.Optional<java.util.List<RemoteData>> getRemoteData()
-
getRemoteFields
public java.util.Optional<java.util.List<RemoteField>> getRemoteFields()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static Note.Builder builder()
-
-