Class UpdatePersonRequestType
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.models.UpdatePersonRequestType
-
public class UpdatePersonRequestType extends Object
The UpdatePersonRequestType model.
-
-
Constructor Summary
Constructors Constructor Description UpdatePersonRequestType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.LocalDatedateOfBirth()Get the date of birth of a person.Stringgender()Get the sex of the person.List<HashedNameType>nameHashes()Get a list of hashes generated by the FIFA hashing service.StringpersonId()Get fIFA Unique Identifier.UpdatePersonRequestTypewithDateOfBirth(org.joda.time.LocalDate dateOfBirth)Set the date of birth of a person.UpdatePersonRequestTypewithGender(String gender)Set the sex of the person.UpdatePersonRequestTypewithNameHashes(List<HashedNameType> nameHashes)Set a list of hashes generated by the FIFA hashing service.UpdatePersonRequestTypewithPersonId(String personId)Set fIFA Unique Identifier.
-
-
-
Method Detail
-
personId
public String personId()
Get fIFA Unique Identifier.- Returns:
- the personId value
-
withPersonId
public UpdatePersonRequestType withPersonId(String personId)
Set fIFA Unique Identifier.- Parameters:
personId- the personId value to set- Returns:
- the UpdatePersonRequestType object itself.
-
nameHashes
public List<HashedNameType> nameHashes()
Get a list of hashes generated by the FIFA hashing service.- Returns:
- the nameHashes value
-
withNameHashes
public UpdatePersonRequestType withNameHashes(List<HashedNameType> nameHashes)
Set a list of hashes generated by the FIFA hashing service.- Parameters:
nameHashes- the nameHashes value to set- Returns:
- the UpdatePersonRequestType object itself.
-
dateOfBirth
public org.joda.time.LocalDate dateOfBirth()
Get the date of birth of a person.- Returns:
- the dateOfBirth value
-
withDateOfBirth
public UpdatePersonRequestType withDateOfBirth(org.joda.time.LocalDate dateOfBirth)
Set the date of birth of a person.- Parameters:
dateOfBirth- the dateOfBirth value to set- Returns:
- the UpdatePersonRequestType object itself.
-
gender
public String gender()
Get the sex of the person. Possible values include: 'male', 'female'.- Returns:
- the gender value
-
withGender
public UpdatePersonRequestType withGender(String gender)
Set the sex of the person. Possible values include: 'male', 'female'.- Parameters:
gender- the gender value to set- Returns:
- the UpdatePersonRequestType object itself.
-
-