Package dev.postproxy.sdk.webhook
Record Class ProfileCommentCreatedData
java.lang.Object
java.lang.Record
dev.postproxy.sdk.webhook.ProfileCommentCreatedData
public record ProfileCommentCreatedData(String id, String profileId, Platform platform, String placementId, String externalId, String parentExternalId, String body, String status, String authorUsername, String authorAvatarUrl, Map<String,Object> platformData, String postedAt, String createdAt)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProfileCommentCreatedData(String id, String profileId, Platform platform, String placementId, String externalId, String parentExternalId, String body, String status, String authorUsername, String authorAvatarUrl, Map<String, Object> platformData, String postedAt, String createdAt) Creates an instance of aProfileCommentCreatedDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorAvatarUrlrecord component.Returns the value of theauthorUsernamerecord component.body()Returns the value of thebodyrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalIdrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theparentExternalIdrecord component.Returns the value of theplacementIdrecord component.platform()Returns the value of theplatformrecord component.Returns the value of theplatformDatarecord component.postedAt()Returns the value of thepostedAtrecord component.Returns the value of theprofileIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProfileCommentCreatedData
public ProfileCommentCreatedData(String id, String profileId, Platform platform, String placementId, String externalId, String parentExternalId, String body, String status, String authorUsername, String authorAvatarUrl, Map<String, Object> platformData, String postedAt, String createdAt) Creates an instance of aProfileCommentCreatedDatarecord class.- Parameters:
id- the value for theidrecord componentprofileId- the value for theprofileIdrecord componentplatform- the value for theplatformrecord componentplacementId- the value for theplacementIdrecord componentexternalId- the value for theexternalIdrecord componentparentExternalId- the value for theparentExternalIdrecord componentbody- the value for thebodyrecord componentstatus- the value for thestatusrecord componentauthorUsername- the value for theauthorUsernamerecord componentauthorAvatarUrl- the value for theauthorAvatarUrlrecord componentplatformData- the value for theplatformDatarecord componentpostedAt- the value for thepostedAtrecord componentcreatedAt- the value for thecreatedAtrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
profileId
Returns the value of theprofileIdrecord component.- Returns:
- the value of the
profileIdrecord component
-
platform
Returns the value of theplatformrecord component.- Returns:
- the value of the
platformrecord component
-
placementId
Returns the value of theplacementIdrecord component.- Returns:
- the value of the
placementIdrecord component
-
externalId
Returns the value of theexternalIdrecord component.- Returns:
- the value of the
externalIdrecord component
-
parentExternalId
Returns the value of theparentExternalIdrecord component.- Returns:
- the value of the
parentExternalIdrecord component
-
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
authorUsername
Returns the value of theauthorUsernamerecord component.- Returns:
- the value of the
authorUsernamerecord component
-
authorAvatarUrl
Returns the value of theauthorAvatarUrlrecord component.- Returns:
- the value of the
authorAvatarUrlrecord component
-
platformData
Returns the value of theplatformDatarecord component.- Returns:
- the value of the
platformDatarecord component
-
postedAt
Returns the value of thepostedAtrecord component.- Returns:
- the value of the
postedAtrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-