Class HashsImpl

  • All Implemented Interfaces:
    Hashs

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

      • HashsImpl

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

      • computeByRequest

        public Object computeByRequest​(String lastName)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequest in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        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
      • computeByRequestAsync

        public com.microsoft.rest.ServiceFuture<Object> computeByRequestAsync​(String lastName,
                                                                              com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequestAsync in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • computeByRequestAsync

        public rx.Observable<Object> computeByRequestAsync​(String lastName)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequestAsync in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • computeByRequestWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> computeByRequestWithServiceResponseAsync​(String lastName)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequestWithServiceResponseAsync in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • computeByRequest

        public Object computeByRequest​(String lastName,
                                       String firstName,
                                       String prefer)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequest in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        firstName - 'LocalFirstName' or 'InternationalFirstName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        prefer - 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
      • computeByRequestAsync

        public com.microsoft.rest.ServiceFuture<Object> computeByRequestAsync​(String lastName,
                                                                              String firstName,
                                                                              String prefer,
                                                                              com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequestAsync in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        firstName - 'LocalFirstName' or 'InternationalFirstName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        prefer - 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
      • computeByRequestAsync

        public rx.Observable<Object> computeByRequestAsync​(String lastName,
                                                           String firstName,
                                                           String prefer)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequestAsync in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        firstName - 'LocalFirstName' or 'InternationalFirstName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        prefer - the String value
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • computeByRequestWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> computeByRequestWithServiceResponseAsync​(String lastName,
                                                                                                                  String firstName,
                                                                                                                  String prefer)
        Computes a collection of hashes of person's first and last name.
        Specified by:
        computeByRequestWithServiceResponseAsync in interface Hashs
        Parameters:
        lastName - 'LocalLastName' or 'InternationalLastName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        firstName - 'LocalFirstName' or 'InternationalFirstName' of 'PersonLocalType' as defined in FIFA Connect Data Standard.
        prefer - the String value
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation