public class SecondaryTeamRequestCanceledDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
sentBy |
protected java.lang.String |
sentTo |
Constructor and Description |
---|
SecondaryTeamRequestCanceledDetails(java.lang.String sentTo,
java.lang.String sentBy)
Team merge request cancellation details shown to the secondary team
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSentBy()
The name of the secondary team admin who sent the request originally.
|
java.lang.String |
getSentTo()
The email of the primary team admin that the request was sent to.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String sentTo
protected final java.lang.String sentBy
public SecondaryTeamRequestCanceledDetails(java.lang.String sentTo, java.lang.String sentBy)
sentTo
- The email of the primary team admin that the request was
sent to. Must not be null
.sentBy
- The name of the secondary team admin who sent the request
originally. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getSentTo()
null
.public java.lang.String getSentBy()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.