(clock, params)
return Suppression(**params_copy)
Creates a suppression

    :return: a Suppression model, which is described in `the Rackspace
        Cloud Monitoring Developer Guide, section 5.16
        <http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/service-suppressions.html>`_
    :rtype: ``dict`` mapping ``unicode`` to ``unicode`` or ``list``.
Creates a suppression
Creates a suppression
def create_suppression(clock, params):
    """
    Creates a suppression

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