public final class UserFeedback
extends java.lang.Object
Constructor and Description |
---|
UserFeedback(SentryId eventId)
Initializes SentryUserFeedback and sets the required eventId.
|
UserFeedback(SentryId eventId,
@Nullable java.lang.String name,
@Nullable java.lang.String email,
@Nullable java.lang.String comments)
Initializes SentryUserFeedback and sets the required eventId.
|
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.String |
getComments()
Gets comments of the user about what happened.
|
@Nullable java.lang.String |
getEmail()
Gets the email of the user.
|
SentryId |
getEventId()
Gets the eventId of the event to which the user feedback is associated.
|
@Nullable java.lang.String |
getName()
Gets the name of the user.
|
void |
setComments(@Nullable java.lang.String comments)
Sets comments of the user about what happened.
|
void |
setEmail(@Nullable java.lang.String email)
Sets the email of the user.
|
void |
setName(java.lang.String name)
Sets the name of the user.
|
java.lang.String |
toString() |
public UserFeedback(SentryId eventId)
eventId
- The eventId of the event to which the user feedback is associated.public UserFeedback(SentryId eventId, @Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String email, @Nullable @Nullable java.lang.String comments)
eventId
- The eventId of the event to which the user feedback is associated.name
- the name of the user.email
- the email of the user.comments
- comments of the user about what happened.public SentryId getEventId()
@Nullable public @Nullable java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the user.@Nullable public @Nullable java.lang.String getEmail()
public void setEmail(@Nullable @Nullable java.lang.String email)
email
- the email of the user.@Nullable public @Nullable java.lang.String getComments()
public void setComments(@Nullable @Nullable java.lang.String comments)
comments
- the commentspublic java.lang.String toString()
toString
in class java.lang.Object