set Consent
fun setConsent(sessionToken: String, consentUpdateSource: String, response: ConsentUserResponse): Completable
setConsent, This method is used for updating the single consent state, this method should only be called when the user actively make a decision to accept or decline a consent. After the update the cache is updated and the getConsents observable will emmit the updated ConsentGroups Some consent will affect others so the user should be blocked from making changes, until the Completable is completed or failed.
Return
a Completable that indicates if the request was successful.
Parameters
session Token
token of the user.
consent Update Source
source of the permission update
response