code: public function updateDomainCacheRule($domain, $ruleId, $rule)
      {
          self::getClient()->updateDomainCacheRule($this->sn, $domain, $ruleId, $rule);
      }
docs: Update CacheRule $ruleId of domain $domain
  
  @param string $domain
  @param int $ruleId
  @param array $rule . Requiered keys 'status': 'on' | 'off', 'ttl' : integer