Class TeamPlayerRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.TeamPlayerRequestBody
TeamPlayerRequestBody provides the request body payload for linking roles to teams.
-
Constructor Summary
ConstructorDescriptionDefault constructorTeamPlayerRequestBody
(TeamPlayerRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.boolean
Return whether it is a TeamLeadership role or a TeamMembership role.Return the position description for this role.int
hashCode()
Return hash code for this objectvoid
setIsLeadershipRole
(boolean leadershipRole) Set up whether it is a TeamLeadership role or a TeamMembership role.void
setPosition
(String position) Set up the position description for this role.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
TeamPlayerRequestBody
public TeamPlayerRequestBody()Default constructor -
TeamPlayerRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getIsLeadershipRole
public boolean getIsLeadershipRole()Return whether it is a TeamLeadership role or a TeamMembership role.- Returns:
- flag
-
setIsLeadershipRole
public void setIsLeadershipRole(boolean leadershipRole) Set up whether it is a TeamLeadership role or a TeamMembership role.- Parameters:
leadershipRole
- flag
-
getPosition
Return the position description for this role.- Returns:
- name
-
setPosition
Set up the position description for this role.- Parameters:
position
- name
-
toString
JSON-style toString.- Overrides:
toString
in classExternalSourceRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classExternalSourceRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalSourceRequestBody
- Returns:
- int hash code
-