Package dev.postproxy.sdk.param
Record Class CreateChatParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.CreateChatParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateChatParams(String participantExternalId, String participantUsername, String participantName, String profileGroupId) Creates an instance of aCreateChatParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateChatParams.Builderfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparticipantExternalIdrecord component.Returns the value of theparticipantNamerecord component.Returns the value of theparticipantUsernamerecord component.Returns the value of theprofileGroupIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateChatParams
public CreateChatParams(String participantExternalId, String participantUsername, String participantName, String profileGroupId) Creates an instance of aCreateChatParamsrecord class.- Parameters:
participantExternalId- the value for theparticipantExternalIdrecord componentparticipantUsername- the value for theparticipantUsernamerecord componentparticipantName- the value for theparticipantNamerecord componentprofileGroupId- the value for theprofileGroupIdrecord component
-
-
Method Details
-
builder
-
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). -
participantExternalId
Returns the value of theparticipantExternalIdrecord component.- Returns:
- the value of the
participantExternalIdrecord component
-
participantUsername
Returns the value of theparticipantUsernamerecord component.- Returns:
- the value of the
participantUsernamerecord component
-
participantName
Returns the value of theparticipantNamerecord component.- Returns:
- the value of the
participantNamerecord component
-
profileGroupId
Returns the value of theprofileGroupIdrecord component.- Returns:
- the value of the
profileGroupIdrecord component
-