Class FacilitysImpl

  • All Implemented Interfaces:
    Facilitys

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

      • FacilitysImpl

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

      • getByFacilityfifaid

        public Object getByFacilityfifaid​(String facilityFifaId)
        Gets facility data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByFacilityfifaid in interface Facilitys
        Parameters:
        facilityFifaId - 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
      • getByFacilityfifaidAsync

        public com.microsoft.rest.ServiceFuture<Object> getByFacilityfifaidAsync​(String facilityFifaId,
                                                                                 com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets facility data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByFacilityfifaidAsync in interface Facilitys
        Parameters:
        facilityFifaId - 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
      • getByFacilityfifaidAsync

        public rx.Observable<Object> getByFacilityfifaidAsync​(String facilityFifaId)
        Gets facility data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByFacilityfifaidAsync in interface Facilitys
        Parameters:
        facilityFifaId - FIFA Unique Identifier
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getByFacilityfifaidWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> getByFacilityfifaidWithServiceResponseAsync​(String facilityFifaId)
        Gets facility data associated with the specified FIFA Unique Identifier.
        Specified by:
        getByFacilityfifaidWithServiceResponseAsync in interface Facilitys
        Parameters:
        facilityFifaId - FIFA Unique Identifier
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicates

        public Object getDuplicates​(FacilityLocalType body)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicates in interface Facilitys
        Parameters:
        body - Facility data
        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​(FacilityLocalType body,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Facilitys
        Parameters:
        body - Facility data
        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​(FacilityLocalType body)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Facilitys
        Parameters:
        body - Facility data
        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​(FacilityLocalType body)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicatesWithServiceResponseAsync in interface Facilitys
        Parameters:
        body - Facility data
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getDuplicates

        public Object getDuplicates​(FacilityLocalType body,
                                    String xActorDetails)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicates in interface Facilitys
        Parameters:
        body - Facility data
        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​(FacilityLocalType body,
                                                                           String xActorDetails,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Facilitys
        Parameters:
        body - Facility data
        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​(FacilityLocalType body,
                                                        String xActorDetails)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicatesAsync in interface Facilitys
        Parameters:
        body - Facility data
        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​(FacilityLocalType body,
                                                                                                               String xActorDetails)
        Gets a list of facilities this facility may be duplicated with.
        Specified by:
        getDuplicatesWithServiceResponseAsync in interface Facilitys
        Parameters:
        body - Facility data
        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
      • registerByForce

        public Object registerByForce​(FacilityLocalType body)
        Registers a new facility and assigns FIFA Unique Identifier.
        Specified by:
        registerByForce in interface Facilitys
        Parameters:
        body - Facility data.
        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
      • registerByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> registerByForceAsync​(FacilityLocalType body,
                                                                             com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Registers a new facility and assigns FIFA Unique Identifier.
        Specified by:
        registerByForceAsync in interface Facilitys
        Parameters:
        body - Facility data.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • registerByForce

        public Object registerByForce​(FacilityLocalType body,
                                      Boolean force,
                                      String xActorDetails)
        Registers a new facility and assigns FIFA Unique Identifier.
        Specified by:
        registerByForce in interface Facilitys
        Parameters:
        body - Facility data.
        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
      • registerByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> registerByForceAsync​(FacilityLocalType body,
                                                                             Boolean force,
                                                                             String xActorDetails,
                                                                             com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Registers a new facility and assigns FIFA Unique Identifier.
        Specified by:
        registerByForceAsync in interface Facilitys
        Parameters:
        body - Facility data.
        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
      • registerByForceAsync

        public rx.Observable<Object> registerByForceAsync​(FacilityLocalType body,
                                                          Boolean force,
                                                          String xActorDetails)
        Registers a new facility and assigns FIFA Unique Identifier.
        Specified by:
        registerByForceAsync in interface Facilitys
        Parameters:
        body - Facility data.
        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
      • registerByForceWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> registerByForceWithServiceResponseAsync​(FacilityLocalType body,
                                                                                                                 Boolean force,
                                                                                                                 String xActorDetails)
        Registers a new facility and assigns FIFA Unique Identifier.
        Specified by:
        registerByForceWithServiceResponseAsync in interface Facilitys
        Parameters:
        body - Facility data.
        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
      • updateByForce

        public Object updateByForce​(FacilityLocalType body)
        Updates facility data.
        Specified by:
        updateByForce in interface Facilitys
        Parameters:
        body - Facility 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
      • updateByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> updateByForceAsync​(FacilityLocalType body,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Updates facility data.
        Specified by:
        updateByForceAsync in interface Facilitys
        Parameters:
        body - Facility 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
      • updateByForce

        public Object updateByForce​(FacilityLocalType body,
                                    Boolean force,
                                    String xActorDetails)
        Updates facility data.
        Specified by:
        updateByForce in interface Facilitys
        Parameters:
        body - Facility 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
      • updateByForceAsync

        public com.microsoft.rest.ServiceFuture<Object> updateByForceAsync​(FacilityLocalType body,
                                                                           Boolean force,
                                                                           String xActorDetails,
                                                                           com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Updates facility data.
        Specified by:
        updateByForceAsync in interface Facilitys
        Parameters:
        body - Facility 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
      • updateByForceAsync

        public rx.Observable<Object> updateByForceAsync​(FacilityLocalType body,
                                                        Boolean force,
                                                        String xActorDetails)
        Updates facility data.
        Specified by:
        updateByForceAsync in interface Facilitys
        Parameters:
        body - Facility 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
      • updateByForceWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> updateByForceWithServiceResponseAsync​(FacilityLocalType body,
                                                                                                               Boolean force,
                                                                                                               String xActorDetails)
        Updates facility data.
        Specified by:
        updateByForceWithServiceResponseAsync in interface Facilitys
        Parameters:
        body - Facility 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
      • find

        public Object find​(FindFacilitiesRequestType body)
        Finds facilities matching provided data.
        Specified by:
        find in interface Facilitys
        Parameters:
        body - Request object
        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
      • findAsync

        public com.microsoft.rest.ServiceFuture<Object> findAsync​(FindFacilitiesRequestType body,
                                                                  com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Finds facilities matching provided data.
        Specified by:
        findAsync in interface Facilitys
        Parameters:
        body - Request object
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • find

        public Object find​(FindFacilitiesRequestType body,
                           String xActorDetails)
        Finds facilities matching provided data.
        Specified by:
        find in interface Facilitys
        Parameters:
        body - Request object
        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
      • findAsync

        public com.microsoft.rest.ServiceFuture<Object> findAsync​(FindFacilitiesRequestType body,
                                                                  String xActorDetails,
                                                                  com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Finds facilities matching provided data.
        Specified by:
        findAsync in interface Facilitys
        Parameters:
        body - Request object
        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
      • findAsync

        public rx.Observable<Object> findAsync​(FindFacilitiesRequestType body,
                                               String xActorDetails)
        Finds facilities matching provided data.
        Specified by:
        findAsync in interface Facilitys
        Parameters:
        body - Request object
        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
      • findWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> findWithServiceResponseAsync​(FindFacilitiesRequestType body,
                                                                                                      String xActorDetails)
        Finds facilities matching provided data.
        Specified by:
        findWithServiceResponseAsync in interface Facilitys
        Parameters:
        body - Request object
        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