Class FacilitysImpl
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.implementation.FacilitysImpl
-
-
Constructor Summary
Constructors Constructor Description FacilitysImpl(retrofit2.Retrofit retrofit, FIFAConnectIDIDDirectoryV6Impl client)Initializes an instance of Facilitys.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectfind(FindFacilitiesRequestType body)Finds facilities matching provided data.Objectfind(FindFacilitiesRequestType body, String xActorDetails)Finds facilities matching provided data.rx.Observable<Object>findAsync(FindFacilitiesRequestType body)Finds facilities matching provided data.com.microsoft.rest.ServiceFuture<Object>findAsync(FindFacilitiesRequestType body, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Finds facilities matching provided data.rx.Observable<Object>findAsync(FindFacilitiesRequestType body, String xActorDetails)Finds facilities matching provided data.com.microsoft.rest.ServiceFuture<Object>findAsync(FindFacilitiesRequestType body, String xActorDetails, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Finds facilities matching provided data.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>findWithServiceResponseAsync(FindFacilitiesRequestType body)Finds facilities matching provided data.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>findWithServiceResponseAsync(FindFacilitiesRequestType body, String xActorDetails)Finds facilities matching provided data.ObjectgetByFacilityfifaid(String facilityFifaId)Gets facility data associated with the specified FIFA Unique Identifier.rx.Observable<Object>getByFacilityfifaidAsync(String facilityFifaId)Gets facility data associated with the specified FIFA Unique Identifier.com.microsoft.rest.ServiceFuture<Object>getByFacilityfifaidAsync(String facilityFifaId, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Gets facility data associated with the specified FIFA Unique Identifier.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>getByFacilityfifaidWithServiceResponseAsync(String facilityFifaId)Gets facility data associated with the specified FIFA Unique Identifier.ObjectgetDuplicates(FacilityLocalType body)Gets a list of facilities this facility may be duplicated with.ObjectgetDuplicates(FacilityLocalType body, String xActorDetails)Gets a list of facilities this facility may be duplicated with.rx.Observable<Object>getDuplicatesAsync(FacilityLocalType body)Gets a list of facilities this facility may be duplicated with.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.rx.Observable<Object>getDuplicatesAsync(FacilityLocalType body, String xActorDetails)Gets a list of facilities this facility may be duplicated with.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.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>getDuplicatesWithServiceResponseAsync(FacilityLocalType body)Gets a list of facilities this facility may be duplicated with.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>getDuplicatesWithServiceResponseAsync(FacilityLocalType body, String xActorDetails)Gets a list of facilities this facility may be duplicated with.ObjectregisterByForce(FacilityLocalType body)Registers a new facility and assigns FIFA Unique Identifier.ObjectregisterByForce(FacilityLocalType body, Boolean force, String xActorDetails)Registers a new facility and assigns FIFA Unique Identifier.rx.Observable<Object>registerByForceAsync(FacilityLocalType body)Registers a new facility and assigns FIFA Unique Identifier.com.microsoft.rest.ServiceFuture<Object>registerByForceAsync(FacilityLocalType body, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Registers a new facility and assigns FIFA Unique Identifier.rx.Observable<Object>registerByForceAsync(FacilityLocalType body, Boolean force, String xActorDetails)Registers a new facility and assigns FIFA Unique Identifier.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.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>registerByForceWithServiceResponseAsync(FacilityLocalType body)Registers a new facility and assigns FIFA Unique Identifier.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>registerByForceWithServiceResponseAsync(FacilityLocalType body, Boolean force, String xActorDetails)Registers a new facility and assigns FIFA Unique Identifier.ObjectupdateByForce(FacilityLocalType body)Updates facility data.ObjectupdateByForce(FacilityLocalType body, Boolean force, String xActorDetails)Updates facility data.rx.Observable<Object>updateByForceAsync(FacilityLocalType body)Updates facility data.com.microsoft.rest.ServiceFuture<Object>updateByForceAsync(FacilityLocalType body, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Updates facility data.rx.Observable<Object>updateByForceAsync(FacilityLocalType body, Boolean force, String xActorDetails)Updates facility data.com.microsoft.rest.ServiceFuture<Object>updateByForceAsync(FacilityLocalType body, Boolean force, String xActorDetails, com.microsoft.rest.ServiceCallback<Object> serviceCallback)Updates facility data.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>updateByForceWithServiceResponseAsync(FacilityLocalType body)Updates facility data.rx.Observable<com.microsoft.rest.ServiceResponse<Object>>updateByForceWithServiceResponseAsync(FacilityLocalType body, Boolean force, String xActorDetails)Updates facility data.
-
-
-
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:
getByFacilityfifaidin interfaceFacilitys- Parameters:
facilityFifaId- FIFA Unique Identifier- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
getByFacilityfifaidAsyncin interfaceFacilitys- Parameters:
facilityFifaId- FIFA Unique IdentifierserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - 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:
getByFacilityfifaidAsyncin interfaceFacilitys- 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:
getByFacilityfifaidWithServiceResponseAsyncin interfaceFacilitys- 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:
getDuplicatesin interfaceFacilitys- Parameters:
body- Facility data- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
getDuplicatesAsyncin interfaceFacilitys- Parameters:
body- Facility dataserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - 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:
getDuplicatesAsyncin interfaceFacilitys- 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:
getDuplicatesWithServiceResponseAsyncin interfaceFacilitys- 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:
getDuplicatesin interfaceFacilitys- Parameters:
body- Facility dataxActorDetails- Name or identifier of a user invoking the method on API- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
getDuplicatesAsyncin interfaceFacilitys- Parameters:
body- Facility dataxActorDetails- Name or identifier of a user invoking the method on APIserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - 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:
getDuplicatesAsyncin interfaceFacilitys- Parameters:
body- Facility dataxActorDetails- 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:
getDuplicatesWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Facility dataxActorDetails- 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:
registerByForcein interfaceFacilitys- Parameters:
body- Facility data.- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
registerByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data.serviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
registerByForceAsync
public rx.Observable<Object> registerByForceAsync(FacilityLocalType body)
Registers a new facility and assigns FIFA Unique Identifier.- Specified by:
registerByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data.- 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)
Registers a new facility and assigns FIFA Unique Identifier.- Specified by:
registerByForceWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Facility data.- Returns:
- the observable to the Object 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:
registerByForcein interfaceFacilitys- Parameters:
body- Facility data.force- Ignores FIFA registration rules violation checkxActorDetails- Name or identifier of a user invoking the method on API- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
registerByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data.force- Ignores FIFA registration rules violation checkxActorDetails- Name or identifier of a user invoking the method on APIserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - 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:
registerByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data.force- Ignores FIFA registration rules violation checkxActorDetails- 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:
registerByForceWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Facility data.force- Ignores FIFA registration rules violation checkxActorDetails- 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:
updateByForcein interfaceFacilitys- Parameters:
body- Facility data to be updated.- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
updateByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data to be updated.serviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
updateByForceAsync
public rx.Observable<Object> updateByForceAsync(FacilityLocalType body)
Updates facility data.- Specified by:
updateByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data to be updated.- 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)
Updates facility data.- Specified by:
updateByForceWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Facility data to be updated.- Returns:
- the observable to the Object object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
updateByForce
public Object updateByForce(FacilityLocalType body, Boolean force, String xActorDetails)
Updates facility data.- Specified by:
updateByForcein interfaceFacilitys- Parameters:
body- Facility data to be updated.force- Ignores FIFA registration rules violation checkxActorDetails- Name or identifier of a user invoking the method on API- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
updateByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data to be updated.force- Ignores FIFA registration rules violation checkxActorDetails- Name or identifier of a user invoking the method on APIserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - 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:
updateByForceAsyncin interfaceFacilitys- Parameters:
body- Facility data to be updated.force- Ignores FIFA registration rules violation checkxActorDetails- 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:
updateByForceWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Facility data to be updated.force- Ignores FIFA registration rules violation checkxActorDetails- 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:
findin interfaceFacilitys- Parameters:
body- Request object- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
findAsyncin interfaceFacilitys- Parameters:
body- Request objectserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
findAsync
public rx.Observable<Object> findAsync(FindFacilitiesRequestType body)
Finds facilities matching provided data.- Specified by:
findAsyncin interfaceFacilitys- Parameters:
body- Request object- 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)
Finds facilities matching provided data.- Specified by:
findWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Request object- Returns:
- the observable to the Object object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
find
public Object find(FindFacilitiesRequestType body, String xActorDetails)
Finds facilities matching provided data.- Specified by:
findin interfaceFacilitys- Parameters:
body- Request objectxActorDetails- Name or identifier of a user invoking the method on API- Returns:
- the Object object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.rest.RestException- thrown if the request is rejected by serverRuntimeException- 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:
findAsyncin interfaceFacilitys- Parameters:
body- Request objectxActorDetails- Name or identifier of a user invoking the method on APIserviceCallback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject - 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:
findAsyncin interfaceFacilitys- Parameters:
body- Request objectxActorDetails- 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:
findWithServiceResponseAsyncin interfaceFacilitys- Parameters:
body- Request objectxActorDetails- 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
-
-