Class PitcherImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.PitcherImpl
- All Implemented Interfaces:
Pitcher
Represents a sport event pitcher
-
Constructor Summary
ConstructorsConstructorDescriptionPitcherImpl(PitcherCi pitcherCi) Initializes a new instance ofPitcherImplclass -
Method Summary
Modifier and TypeMethodDescriptionReturns indication if thePitcheris home or awaygetHand()Returns indication if thePitcheris left or right handedgetId()Returns the unique identifier of the currentRefereeinstancegetName()Returns the name of the referee represented by the currentRefereeinstancetoString()
-
Constructor Details
-
PitcherImpl
Initializes a new instance ofPitcherImplclass- Parameters:
pitcherCi- - aPitcherCiused to create a new instance
-
-
Method Details
-
getId
Returns the unique identifier of the currentRefereeinstance -
getName
Returns the name of the referee represented by the currentRefereeinstance -
getCompetitor
Returns indication if thePitcheris home or away- Specified by:
getCompetitorin interfacePitcher- Returns:
- - indication if the
Pitcheris home or away
-
getHand
Returns indication if thePitcheris left or right handed -
toString
-