com.pubnub.internal.endpoints.objects.channel.RemoveChannelMetadataImpl.kt Maven / Gradle / Ivy
package com.pubnub.internal.endpoints.objects.channel
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 RemoveChannelMetadataImpl internal constructor(removeChannelMetadata: RemoveChannelMetadataEndpoint) :
DelegatingEndpoint(
removeChannelMetadata,
),
RemoveChannelMetadataInterface by removeChannelMetadata,
com.pubnub.api.endpoints.objects.channel.RemoveChannelMetadata {
override fun convertAction(
remoteAction: ExtendedRemoteAction,
): ExtendedRemoteAction {
return MappingRemoteAction(remoteAction, PNRemoveMetadataResult::from)
}
}