def set_recent_config(self, max_samples=0):
        """Update/configure recent data settings for this Feed. If the container does not support recent storage or it
        is not enabled for this owner, this function will have no effect.

        `max_samples` (optional) (int) how many shares to store for later retrieval. If not supported by container, this
        argument will be ignored. A value of zero disables this feature whilst a negative value requests the maximum
        sample store amount.

        Returns QAPI recent config function payload

            #!python
            {
                "maxSamples": 0
            }

        Raises [IOTException](./Exceptions.m.html#IoticAgent.IOT.Exceptions.IOTException)
        containing the error if the infrastructure detects a problem

        Raises [LinkException](../Core/AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException)
        if there is a communications problem between you and the infrastructure
        """
        evt = self._client._request_point_recent_config(self._type, self.lid, self.pid, max_samples)

        self._client._wait_and_except_if_failed(evt)
        return evt.payload
def set_recent_config ( self , max_samples = 0 ) : evt = self . _client . _request_point_recent_config ( self . _type , self . lid , self . pid , max_samples ) self . _client . _wait_and_except_if_failed ( evt ) return evt . payload
Update/configure recent data settings for this Feed. If the container does not support recent storage or it
        is not enabled for this owner, this function will have no effect.

        `max_samples` (optional) (int) how many shares to store for later retrieval. If not supported by container, this
        argument will be ignored. A value of zero disables this feature whilst a negative value requests the maximum
        sample store amount.

        Returns QAPI recent config function payload

            #!python
            {
                "maxSamples": 0
            }

        Raises [IOTException](./Exceptions.m.html#IoticAgent.IOT.Exceptions.IOTException)
        containing the error if the infrastructure detects a problem

        Raises [LinkException](../Core/AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException)
        if there is a communications problem between you and the infrastructure