text: 
  'use strict';
  
  const { RPCClient } = require('@alicloud/pop-core');
  
  function hasOwnProperty(obj, key) {
    return Object.prototype.hasOwnProperty.call(obj, key);
  }
  
  class Client extends RPCClient {
    constructor(config) {
      config.apiVersion = '2018-05-07';
      super(config);
    }
  
    /**
     * @param {Boolean} Interrupt - interrupt. optional.
     * @param {String} Invoker - invoker. required.
     * @param {String} Pk - pk. required.
     * @param {String} Bid - bid. required.
     * @param {Long} Hid - hid. required.
     * @param {String} Country - country. required.
     * @param {String} TaskIdentifier - taskIdentifier. required.
     * @param {String} TaskExtraData - taskExtraData. required.
     * @param {String} GmtWakeup - gmtWakeup. required.
     * @param {Boolean} Success - success. optional.
     * @param {String} Message - message. optional.
     * @param {Long} Level - level. optional.
     * @param {String} Url - url. optional.
     * @param {String} Prompt - prompt. optional.
     */
    checkResource(params = {}, options = {}) {
      if (!hasOwnProperty(params, 'Invoker')) {
        throw new TypeError('parameter "Invoker" is required');
      }
  
      if (!hasOwnProperty(params, 'Pk')) {
        throw new TypeError('parameter "Pk" is required');
      }
  
      if (!hasOwnProperty(params, 'Bid')) {
        throw new TypeError('parameter "Bid" is required');
      }
  
      if (!hasOwnProperty(params, 'Hid')) {
        throw new TypeError('parameter "Hid" is required');
      }
  
      if (!hasOwnProperty(params, 'Country')) {
        throw new TypeError('parameter "Country" is required');
      }
  
      if (!hasOwnProperty(params, 'TaskIdentifier')) {
        throw new TypeError('parameter "TaskIdentifier" is required');
      }
  
      if (!hasOwnProperty(params, 'TaskExtraData')) {
        throw new TypeError('parameter "TaskExtraData" is required');
      }
  
      if (!hasOwnProperty(params, 'GmtWakeup')) {
        throw new TypeError('parameter "GmtWakeup" is required');
      }
  
      return this.request('CheckResource', params, options);
    }
  
    /**
     * @param {Boolean} Interrupt - interrupt. optional.
     * @param {String} Invoker - invoker. required.
     * @param {String} Pk - pk. required.
     * @param {String} Bid - bid. required.
     * @param {Long} Hid - hid. required.
     * @param {String} Country - country. required.
     * @param {String} TaskIdentifier - taskIdentifier. required.
     * @param {String} TaskExtraData - taskExtraData. required.
     * @param {String} GmtWakeup - gmtWakeup. required.
     * @param {Boolean} Success - success. optional.
     * @param {String} Message - message. optional.
     */
    logicalDeleteResource(params = {}, options = {}) {
      if (!hasOwnProperty(params, 'Invoker')) {
        throw new TypeError('parameter "Invoker" is required');
      }
  
      if (!hasOwnProperty(params, 'Pk')) {
        throw new TypeError('parameter "Pk" is required');
      }
  
      if (!hasOwnProperty(params, 'Bid')) {
        throw new TypeError('parameter "Bid" is required');
      }
  
      if (!hasOwnProperty(params, 'Hid')) {
        throw new TypeError('parameter "Hid" is required');
      }
  
      if (!hasOwnProperty(params, 'Country')) {
        throw new TypeError('parameter "Country" is required');
      }
  
      if (!hasOwnProperty(params, 'TaskIdentifier')) {
        throw new TypeError('parameter "TaskIdentifier" is required');
      }
  
      if (!hasOwnProperty(params, 'TaskExtraData')) {
        throw new TypeError('parameter "TaskExtraData" is required');
      }
  
      if (!hasOwnProperty(params, 'GmtWakeup')) {
        throw new TypeError('parameter "GmtWakeup" is required');
      }
  
      return this.request('LogicalDeleteResource', params, options);
    }
  
    /**
     * @param {Boolean} Interrupt - interrupt. optional.
     * @param {String} Invoker - invoker. required.
     * @param {String} Pk - pk. required.
     * @param {String} Bid - bid. required.
     * @param {Long} Hid - hid. required.
     * @param {String} Country - country. required.
     * @param {String} TaskIdentifier - taskIdentifier. required.
     * @param {String} TaskExtraData - taskExtraData. required.
     * @param {String} GmtWakeup - gmtWakeup. required.
     * @param {Boolean} Success - success. optional.
     * @param {String} Message - message. optional.
     */
    physicalDeleteResource(params = {}, options = {}) {
      if (!hasOwnProperty(params, 'Invoker')) {
        throw new TypeError('parameter "Invoker" is required');
      }
  
      if (!hasOwnProperty(params, 'Pk')) {
        throw new TypeError('parameter "Pk" is required');
      }
  
      if (!hasOwnProperty(params, 'Bid')) {
        throw new TypeError('parameter "Bid" is required');
      }
  
      if (!hasOwnProperty(params, 'Hid')) {
        throw new TypeError('parameter "Hid" is required');
      }
  
      if (!hasOwnProperty(params, 'Country')) {
        throw new TypeError('parameter "Country" is required');
      }
  
      if (!hasOwnProperty(params, 'TaskIdentifier')) {
        throw new TypeError('parameter "TaskIdentifier" is required');
      }
  
      if (!hasOwnProperty(params, 'TaskExtraData')) {
        throw new TypeError('parameter "TaskExtraData" is required');
      }
  
      if (!hasOwnProperty(params, 'GmtWakeup')) {
        throw new TypeError('parameter "GmtWakeup" is required');
      }
  
      return this.request('PhysicalDeleteResource', params, options);
    }
  
  }
  
  module.exports = Client;
  