(clock, params)
return Check(**params_copy)
Returns a dictionary representing a check

    :return: a Check model, which is described in `the Rackspace Cloud
        Monitoring Developer Guide, section 5.7
        <http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/service-checks.html>`_
    :rtype: ``dict`` mapping ``unicode`` to ``unicode``, ``float``,
        ``int``, ``bool``, ``dict`` or ``NoneType``.
Returns a dictionary representing a check
Returns a dictionary representing a check
def create_check(clock, params):
    """
    Returns a dictionary representing a check

    :return: a Check model, which is described in `the Rackspace Cloud
        Monitoring Developer Guide, section 5.7
        <http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/service-checks.html>`_
    :rtype: ``dict`` mapping ``unicode`` to ``unicode``, ``float``,
        ``int``, ``bool``, ``dict`` or ``NoneType``.
    """
    current_time_milliseconds = int(1000 * clock.seconds())
    params_copy = _only_keys(params, Check.USER_SPECIFIABLE_KEYS)
    params_copy['created_at'] = params_copy[
        'updated_at'] = current_time_milliseconds
    return Check(**params_copy)
def create_check ( clock , params ) : current_time_milliseconds = int ( 1000 * clock . seconds ( ) ) params_copy = _only_keys ( params , Check . USER_SPECIFIABLE_KEYS ) params_copy [ 'created_at' ] = params_copy [ 'updated_at' ] = current_time_milliseconds return Check ( * * params_copy )