com.pubnub.internal.endpoints.objects.uuid.RemoveUUIDMetadataImpl.kt Maven / Gradle / Ivy
package com.pubnub.internal.endpoints.objects.uuid
import com.pubnub.api.endpoints.remoteaction.ExtendedRemoteAction
import com.pubnub.api.endpoints.remoteaction.MappingRemoteAction
import com.pubnub.api.models.consumer.objects.PNRemoveMetadataResult
import com.pubnub.internal.DelegatingEndpoint
class RemoveUUIDMetadataImpl internal constructor(removeUUIDMetadata: RemoveUUIDMetadataEndpoint) :
DelegatingEndpoint(
removeUUIDMetadata,
),
RemoveUUIDMetadataInterface by removeUUIDMetadata,
com.pubnub.api.endpoints.objects.uuid.RemoveUUIDMetadata {
override fun convertAction(
remoteAction: ExtendedRemoteAction,
): ExtendedRemoteAction {
return MappingRemoteAction(remoteAction, PNRemoveMetadataResult.Companion::from)
}
}