Class PersonsImpl

  • All Implemented Interfaces:
    Persons

    public class PersonsImpl
    extends Object
    implements Persons
    An instance of this class provides access to all the operations defined in Persons.
    • Constructor Detail

      • PersonsImpl

        public PersonsImpl​(retrofit2.Retrofit retrofit,
                           FIFAConnectIDIDDirectoryV6Impl client)
        Initializes an instance of Persons.
        Parameters:
        retrofit - the Retrofit instance built from a Retrofit Builder.
        client - the instance of the service client containing this operation class.
    • Method Detail

      • getByPersonfifaid

        public Object getByPersonfifaid​(String personFifaId)
        Gets person data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByPersonfifaid in interface Persons
        Parameters:
        personFifaId - FIFA Unique Identifier
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getByPersonfifaidAsync

        public com.microsoft.rest.ServiceFuture<Object> getByPersonfifaidAsync​(String personFifaId,
                                                                               com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets person data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByPersonfifaidAsync in interface Persons
        Parameters:
        personFifaId - FIFA Unique Identifier
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getByPersonfifaidAsync

        public rx.Observable<Object> getByPersonfifaidAsync​(String personFifaId)
        Gets person data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByPersonfifaidAsync in interface Persons
        Parameters:
        personFifaId - FIFA Unique Identifier
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicates

        public Object getDuplicates​(GetDuplicatesRequestType body)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicates in interface Persons
        Parameters:
        body - Person data with name hashes
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getDuplicatesAsync

        public com.microsoft.rest.ServiceFuture<Object> getDuplicatesAsync​(GetDuplicatesRequestType body,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicates

        public Object getDuplicates​(GetDuplicatesRequestType body,
                                    String xActorDetails)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicates in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getDuplicatesAsync

        public com.microsoft.rest.ServiceFuture<Object> getDuplicatesAsync​(GetDuplicatesRequestType body,
                                                                           String xActorDetails,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesAsync

        public rx.Observable<Object> getDuplicatesAsync​(GetDuplicatesRequestType body,
                                                        String xActorDetails)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> getDuplicatesWithServiceResponseAsync​(GetDuplicatesRequestType body,
                                                                                                               String xActorDetails)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesWithServiceResponseAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesByFIFAId

        public Object getDuplicatesByFIFAId​(GetDuplicatesByFIFAIdRequestType body)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAId in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getDuplicatesByFIFAIdAsync

        public com.microsoft.rest.ServiceFuture<Object> getDuplicatesByFIFAIdAsync​(GetDuplicatesByFIFAIdRequestType body,
                                                                                   com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAIdAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesByFIFAIdAsync

        public rx.Observable<Object> getDuplicatesByFIFAIdAsync​(GetDuplicatesByFIFAIdRequestType body)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAIdAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesByFIFAIdWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> getDuplicatesByFIFAIdWithServiceResponseAsync​(GetDuplicatesByFIFAIdRequestType body)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAIdWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesByFIFAId

        public Object getDuplicatesByFIFAId​(GetDuplicatesByFIFAIdRequestType body,
                                            String xActorDetails)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAId in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getDuplicatesByFIFAIdAsync

        public com.microsoft.rest.ServiceFuture<Object> getDuplicatesByFIFAIdAsync​(GetDuplicatesByFIFAIdRequestType body,
                                                                                   String xActorDetails,
                                                                                   com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAIdAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesByFIFAIdAsync

        public rx.Observable<Object> getDuplicatesByFIFAIdAsync​(GetDuplicatesByFIFAIdRequestType body,
                                                                String xActorDetails)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAIdAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicatesByFIFAIdWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> getDuplicatesByFIFAIdWithServiceResponseAsync​(GetDuplicatesByFIFAIdRequestType body,
                                                                                                                       String xActorDetails)
        Gets a list of people this person may be duplicated with.
        Specified by:
        getDuplicatesByFIFAIdWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and trusted organisations' FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrimaryDataProviderRegistrationByPersonfifaid

        public Object getPrimaryDataProviderRegistrationByPersonfifaid​(String personFifaId)
        Gets registration belonging to the primary data provider.
        Specified by:
        getPrimaryDataProviderRegistrationByPersonfifaid in interface Persons
        Parameters:
        personFifaId - FIFA Unique Identifier
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getPrimaryDataProviderRegistrationByPersonfifaidAsync

        public com.microsoft.rest.ServiceFuture<Object> getPrimaryDataProviderRegistrationByPersonfifaidAsync​(String personFifaId,
                                                                                                              com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets registration belonging to the primary data provider.
        Specified by:
        getPrimaryDataProviderRegistrationByPersonfifaidAsync in interface Persons
        Parameters:
        personFifaId - FIFA Unique Identifier
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrimaryDataProviderRegistrationByPersonfifaidAsync

        public rx.Observable<Object> getPrimaryDataProviderRegistrationByPersonfifaidAsync​(String personFifaId)
        Gets registration belonging to the primary data provider.
        Specified by:
        getPrimaryDataProviderRegistrationByPersonfifaidAsync in interface Persons
        Parameters:
        personFifaId - FIFA Unique Identifier
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • register

        public Object register​(RegisterPersonRequestType body)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        register in interface Persons
        Parameters:
        body - Person data with name hashes
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • registerAsync

        public com.microsoft.rest.ServiceFuture<Object> registerAsync​(RegisterPersonRequestType body,
                                                                      com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        registerAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • registerAsync

        public rx.Observable<Object> registerAsync​(RegisterPersonRequestType body)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        registerAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • registerWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> registerWithServiceResponseAsync​(RegisterPersonRequestType body)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        registerWithServiceResponseAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • register

        public Object register​(RegisterPersonRequestType body,
                               String xActorDetails)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        register in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • registerAsync

        public com.microsoft.rest.ServiceFuture<Object> registerAsync​(RegisterPersonRequestType body,
                                                                      String xActorDetails,
                                                                      com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        registerAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • registerAsync

        public rx.Observable<Object> registerAsync​(RegisterPersonRequestType body,
                                                   String xActorDetails)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        registerAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • registerWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> registerWithServiceResponseAsync​(RegisterPersonRequestType body,
                                                                                                          String xActorDetails)
        Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered.
        Specified by:
        registerWithServiceResponseAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • forceRegister

        public Object forceRegister​(RegisterPersonRequestType body)
        Registers a new person even if possible duplicates are found.
        Specified by:
        forceRegister in interface Persons
        Parameters:
        body - Person data with name hashes
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • forceRegisterAsync

        public com.microsoft.rest.ServiceFuture<Object> forceRegisterAsync​(RegisterPersonRequestType body,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Registers a new person even if possible duplicates are found.
        Specified by:
        forceRegisterAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • forceRegister

        public Object forceRegister​(RegisterPersonRequestType body,
                                    String xActorDetails)
        Registers a new person even if possible duplicates are found.
        Specified by:
        forceRegister in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • forceRegisterAsync

        public com.microsoft.rest.ServiceFuture<Object> forceRegisterAsync​(RegisterPersonRequestType body,
                                                                           String xActorDetails,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Registers a new person even if possible duplicates are found.
        Specified by:
        forceRegisterAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • forceRegisterAsync

        public rx.Observable<Object> forceRegisterAsync​(RegisterPersonRequestType body,
                                                        String xActorDetails)
        Registers a new person even if possible duplicates are found.
        Specified by:
        forceRegisterAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • forceRegisterWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> forceRegisterWithServiceResponseAsync​(RegisterPersonRequestType body,
                                                                                                               String xActorDetails)
        Registers a new person even if possible duplicates are found.
        Specified by:
        forceRegisterWithServiceResponseAsync in interface Persons
        Parameters:
        body - Person data with name hashes
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePersonByForce

        public Object updatePersonByForce​(UpdatePersonRequestType body)
        Updates person data.
        Specified by:
        updatePersonByForce in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and data to be updated.
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updatePersonByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> updatePersonByForceAsync​(UpdatePersonRequestType body,
                                                                                 com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Updates person data.
        Specified by:
        updatePersonByForceAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and data to be updated.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePersonByForce

        public Object updatePersonByForce​(UpdatePersonRequestType body,
                                          Boolean force,
                                          String xActorDetails)
        Updates person data.
        Specified by:
        updatePersonByForce in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and data to be updated.
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updatePersonByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> updatePersonByForceAsync​(UpdatePersonRequestType body,
                                                                                 Boolean force,
                                                                                 String xActorDetails,
                                                                                 com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Updates person data.
        Specified by:
        updatePersonByForceAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and data to be updated.
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePersonByForceAsync

        public rx.Observable<Object> updatePersonByForceAsync​(UpdatePersonRequestType body,
                                                              Boolean force,
                                                              String xActorDetails)
        Updates person data.
        Specified by:
        updatePersonByForceAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and data to be updated.
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePersonByForceWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> updatePersonByForceWithServiceResponseAsync​(UpdatePersonRequestType body,
                                                                                                                     Boolean force,
                                                                                                                     String xActorDetails)
        Updates person data.
        Specified by:
        updatePersonByForceWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with person FIFA Unique Identifier and data to be updated.
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • merge

        public Object merge​(MergePersonsRequestType body)
        Merges two persons. Returns the primary person.
        Specified by:
        merge in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • mergeAsync

        public com.microsoft.rest.ServiceFuture<Object> mergeAsync​(MergePersonsRequestType body,
                                                                   com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Merges two persons. Returns the primary person.
        Specified by:
        mergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • mergeAsync

        public rx.Observable<Object> mergeAsync​(MergePersonsRequestType body)
        Merges two persons. Returns the primary person.
        Specified by:
        mergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • mergeWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> mergeWithServiceResponseAsync​(MergePersonsRequestType body)
        Merges two persons. Returns the primary person.
        Specified by:
        mergeWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • merge

        public Object merge​(MergePersonsRequestType body,
                            String xActorDetails)
        Merges two persons. Returns the primary person.
        Specified by:
        merge in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • mergeAsync

        public com.microsoft.rest.ServiceFuture<Object> mergeAsync​(MergePersonsRequestType body,
                                                                   String xActorDetails,
                                                                   com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Merges two persons. Returns the primary person.
        Specified by:
        mergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • mergeAsync

        public rx.Observable<Object> mergeAsync​(MergePersonsRequestType body,
                                                String xActorDetails)
        Merges two persons. Returns the primary person.
        Specified by:
        mergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • mergeWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> mergeWithServiceResponseAsync​(MergePersonsRequestType body,
                                                                                                       String xActorDetails)
        Merges two persons. Returns the primary person.
        Specified by:
        mergeWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • unmerge

        public Object unmerge​(UnmergePersonsRequestType body)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmerge in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • unmergeAsync

        public com.microsoft.rest.ServiceFuture<Object> unmergeAsync​(UnmergePersonsRequestType body,
                                                                     com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • unmergeAsync

        public rx.Observable<Object> unmergeAsync​(UnmergePersonsRequestType body)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • unmergeWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> unmergeWithServiceResponseAsync​(UnmergePersonsRequestType body)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmergeWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • unmerge

        public Object unmerge​(UnmergePersonsRequestType body,
                              String xActorDetails)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmerge in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • unmergeAsync

        public com.microsoft.rest.ServiceFuture<Object> unmergeAsync​(UnmergePersonsRequestType body,
                                                                     String xActorDetails,
                                                                     com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • unmergeAsync

        public rx.Observable<Object> unmergeAsync​(UnmergePersonsRequestType body,
                                                  String xActorDetails)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmergeAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • unmergeWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> unmergeWithServiceResponseAsync​(UnmergePersonsRequestType body,
                                                                                                         String xActorDetails)
        Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.
        Specified by:
        unmergeWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request with secondary and primary persons FIFA Unique Identifiers.
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addRegistrationsByForce

        public Object addRegistrationsByForce​(AddRegistrationsRequestType body)
        Adds new person registrations.
        Specified by:
        addRegistrationsByForce in interface Persons
        Parameters:
        body - the AddRegistrationsRequestType value
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addRegistrationsByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> addRegistrationsByForceAsync​(AddRegistrationsRequestType body,
                                                                                     com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Adds new person registrations.
        Specified by:
        addRegistrationsByForceAsync in interface Persons
        Parameters:
        body - the AddRegistrationsRequestType value
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addRegistrationsByForce

        public Object addRegistrationsByForce​(AddRegistrationsRequestType body,
                                              Boolean force,
                                              String xActorDetails)
        Adds new person registrations.
        Specified by:
        addRegistrationsByForce in interface Persons
        Parameters:
        body - the AddRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addRegistrationsByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> addRegistrationsByForceAsync​(AddRegistrationsRequestType body,
                                                                                     Boolean force,
                                                                                     String xActorDetails,
                                                                                     com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Adds new person registrations.
        Specified by:
        addRegistrationsByForceAsync in interface Persons
        Parameters:
        body - the AddRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addRegistrationsByForceAsync

        public rx.Observable<Object> addRegistrationsByForceAsync​(AddRegistrationsRequestType body,
                                                                  Boolean force,
                                                                  String xActorDetails)
        Adds new person registrations.
        Specified by:
        addRegistrationsByForceAsync in interface Persons
        Parameters:
        body - the AddRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addRegistrationsByForceWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> addRegistrationsByForceWithServiceResponseAsync​(AddRegistrationsRequestType body,
                                                                                                                         Boolean force,
                                                                                                                         String xActorDetails)
        Adds new person registrations.
        Specified by:
        addRegistrationsByForceWithServiceResponseAsync in interface Persons
        Parameters:
        body - the AddRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegistrationsByForce

        public Object updateRegistrationsByForce​(UpdateRegistrationsRequestType body)
        Updates specified person registrations.
        Specified by:
        updateRegistrationsByForce in interface Persons
        Parameters:
        body - the UpdateRegistrationsRequestType value
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateRegistrationsByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> updateRegistrationsByForceAsync​(UpdateRegistrationsRequestType body,
                                                                                        com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Updates specified person registrations.
        Specified by:
        updateRegistrationsByForceAsync in interface Persons
        Parameters:
        body - the UpdateRegistrationsRequestType value
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegistrationsByForce

        public Object updateRegistrationsByForce​(UpdateRegistrationsRequestType body,
                                                 Boolean force,
                                                 String xActorDetails)
        Updates specified person registrations.
        Specified by:
        updateRegistrationsByForce in interface Persons
        Parameters:
        body - the UpdateRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateRegistrationsByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> updateRegistrationsByForceAsync​(UpdateRegistrationsRequestType body,
                                                                                        Boolean force,
                                                                                        String xActorDetails,
                                                                                        com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Updates specified person registrations.
        Specified by:
        updateRegistrationsByForceAsync in interface Persons
        Parameters:
        body - the UpdateRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegistrationsByForceAsync

        public rx.Observable<Object> updateRegistrationsByForceAsync​(UpdateRegistrationsRequestType body,
                                                                     Boolean force,
                                                                     String xActorDetails)
        Updates specified person registrations.
        Specified by:
        updateRegistrationsByForceAsync in interface Persons
        Parameters:
        body - the UpdateRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegistrationsByForceWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> updateRegistrationsByForceWithServiceResponseAsync​(UpdateRegistrationsRequestType body,
                                                                                                                            Boolean force,
                                                                                                                            String xActorDetails)
        Updates specified person registrations.
        Specified by:
        updateRegistrationsByForceWithServiceResponseAsync in interface Persons
        Parameters:
        body - the UpdateRegistrationsRequestType value
        force - Ignores FIFA registration rules violation check
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • bulkDeactivateRegistrations

        public Object bulkDeactivateRegistrations​(BulkDeactivateRegistrationsRequestType body)
        Deactivates given set of registrations.
        Specified by:
        bulkDeactivateRegistrations in interface Persons
        Parameters:
        body - Request contains a list of pairs: Person FIFA ID with Person Registrations that should be deactivated
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • bulkDeactivateRegistrationsAsync

        public com.microsoft.rest.ServiceFuture<Object> bulkDeactivateRegistrationsAsync​(BulkDeactivateRegistrationsRequestType body,
                                                                                         com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Deactivates given set of registrations.
        Specified by:
        bulkDeactivateRegistrationsAsync in interface Persons
        Parameters:
        body - Request contains a list of pairs: Person FIFA ID with Person Registrations that should be deactivated
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • bulkDeactivateRegistrations

        public Object bulkDeactivateRegistrations​(BulkDeactivateRegistrationsRequestType body,
                                                  String xActorDetails)
        Deactivates given set of registrations.
        Specified by:
        bulkDeactivateRegistrations in interface Persons
        Parameters:
        body - Request contains a list of pairs: Person FIFA ID with Person Registrations that should be deactivated
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • bulkDeactivateRegistrationsAsync

        public com.microsoft.rest.ServiceFuture<Object> bulkDeactivateRegistrationsAsync​(BulkDeactivateRegistrationsRequestType body,
                                                                                         String xActorDetails,
                                                                                         com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Deactivates given set of registrations.
        Specified by:
        bulkDeactivateRegistrationsAsync in interface Persons
        Parameters:
        body - Request contains a list of pairs: Person FIFA ID with Person Registrations that should be deactivated
        xActorDetails - Name or identifier of a user invoking the method on API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • bulkDeactivateRegistrationsAsync

        public rx.Observable<Object> bulkDeactivateRegistrationsAsync​(BulkDeactivateRegistrationsRequestType body,
                                                                      String xActorDetails)
        Deactivates given set of registrations.
        Specified by:
        bulkDeactivateRegistrationsAsync in interface Persons
        Parameters:
        body - Request contains a list of pairs: Person FIFA ID with Person Registrations that should be deactivated
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • bulkDeactivateRegistrationsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> bulkDeactivateRegistrationsWithServiceResponseAsync​(BulkDeactivateRegistrationsRequestType body,
                                                                                                                             String xActorDetails)
        Deactivates given set of registrations.
        Specified by:
        bulkDeactivateRegistrationsWithServiceResponseAsync in interface Persons
        Parameters:
        body - Request contains a list of pairs: Person FIFA ID with Person Registrations that should be deactivated
        xActorDetails - Name or identifier of a user invoking the method on API
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getMergedSecondaryFifaIdsByPersonfifaid

        public Object getMergedSecondaryFifaIdsByPersonfifaid​(String personFifaId)
        Specified by:
        getMergedSecondaryFifaIdsByPersonfifaid in interface Persons
        Parameters:
        personFifaId - the String value
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getMergedSecondaryFifaIdsByPersonfifaidAsync

        public com.microsoft.rest.ServiceFuture<Object> getMergedSecondaryFifaIdsByPersonfifaidAsync​(String personFifaId,
                                                                                                     com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Specified by:
        getMergedSecondaryFifaIdsByPersonfifaidAsync in interface Persons
        Parameters:
        personFifaId - the String value
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation