All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pubnub.internal.endpoints.objects.uuid.GetAllUUIDMetadataImpl.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.internal.DelegatingEndpoint
import com.pubnub.internal.PubNubImpl
import com.pubnub.internal.models.consumer.objects.uuid.PNUUIDMetadataArrayResult

/**
 * @see [PubNubImpl.getAllUUIDMetadata]
 */
class GetAllUUIDMetadataImpl internal constructor(getAllUUIDMetadata: GetAllUUIDMetadataEndpoint) :
    DelegatingEndpoint(
        getAllUUIDMetadata,
    ),
    GetAllUUIDMetadataInterface by getAllUUIDMetadata,
    com.pubnub.api.endpoints.objects.uuid.GetAllUUIDMetadata {
        override fun convertAction(
            remoteAction: ExtendedRemoteAction,
        ): ExtendedRemoteAction {
            return MappingRemoteAction(
                remoteAction,
                com.pubnub.api.models.consumer.objects.uuid.PNUUIDMetadataArrayResult.Companion::from,
            )
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy