'Deserialize and apply the corresponding query string arg'

def _set_url_heartbeat_interval(self, value):

    warnings.warn('heartbeat_interval    is    deprecated,    use    heartbeat', DeprecationWarning, stacklevel=2)
    if ('heartbeat' in self._all_url_query_values):
        raise ValueError('Deprecated    URL    parameter    heartbeat_interval    must    not    be    specified    together    with    heartbeat')
    try:
        heartbeat_timeout = int(value)
    except ValueError as exc:
        raise ValueError(('Invalid    heartbeat_interval    value    %r:    %r' % (value, exc)))
    self.heartbeat = heartbeat_timeout
