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

com.pubnub.internal.endpoints.objects.uuid.SetUUIDMetadataImpl.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.PNUUIDMetadataResult

/**
 * @see [PubNubImpl.setUUIDMetadata]
 */
class SetUUIDMetadataImpl internal constructor(setUUIDMetadata: SetUUIDMetadataEndpoint) :
    DelegatingEndpoint(
        setUUIDMetadata,
    ),
    SetUUIDMetadataInterface by setUUIDMetadata,
    com.pubnub.api.endpoints.objects.uuid.SetUUIDMetadata {
        override fun convertAction(
            remoteAction: ExtendedRemoteAction,
        ): ExtendedRemoteAction {
            return MappingRemoteAction(remoteAction, com.pubnub.api.models.consumer.objects.uuid.PNUUIDMetadataResult::from)
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy