public class PrimaryTeamRequestCanceledDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
secondaryTeam |
protected java.lang.String |
sentBy |
Constructor and Description |
---|
PrimaryTeamRequestCanceledDetails(java.lang.String secondaryTeam,
java.lang.String sentBy)
Team merge request cancellation details shown to the primary team
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSecondaryTeam()
The secondary team name.
|
java.lang.String |
getSentBy()
The name of the secondary team admin who sent the request originally.
|
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 secondaryTeam
protected final java.lang.String sentBy
public PrimaryTeamRequestCanceledDetails(java.lang.String secondaryTeam, java.lang.String sentBy)
secondaryTeam
- The secondary team name. 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 getSecondaryTeam()
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.