code: def sample_rate(self, value):
          
          if value == self._defaults['sampleRate'] and 'sampleRate' in self._values:
              del self._values['sampleRate']
          else:
              self._values['sampleRate'] = value
docs: The sample_rate property.
          
          Args:
              value (float). the property value.