text: /**
   * Cloud Governance Api
   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
   *
   * The version of the OpenAPI document: 1.0
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   *
   * OpenAPI Generator version: 4.2.2
   *
   * Do not edit the class manually.
   *
   */
  
  (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['ApiClient'], factory);
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(require('../ApiClient'));
    } else {
      // Browser globals (root is window)
      if (!root.CgClient) {
        root.CgClient = {};
      }
      root.CgClient.PolicyElectionSetting = factory(root.CgClient.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
  
  
    /**
     * The PolicyElectionSetting model module.
     * @module model/PolicyElectionSetting
     * @version 1.0
     */
  
    /**
     * Constructs a new <code>PolicyElectionSetting</code>.
     * @alias module:model/PolicyElectionSetting
     * @class
     */
    var exports = function() {
      var _this = this;
  
    };
  
    /**
     * Constructs a <code>PolicyElectionSetting</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:model/PolicyElectionSetting} obj Optional instance to populate.
     * @return {module:model/PolicyElectionSetting} The populated <code>PolicyElectionSetting</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
        if (data.hasOwnProperty('isEnabled')) {
          obj['isEnabled'] = ApiClient.convertToType(data['isEnabled'], 'Boolean');
        }
        if (data.hasOwnProperty('excludeUsers')) {
          obj['excludeUsers'] = ApiClient.convertToType(data['excludeUsers'], 'String');
        }
        if (data.hasOwnProperty('isNotifyTaskEnabled')) {
          obj['isNotifyTaskEnabled'] = ApiClient.convertToType(data['isNotifyTaskEnabled'], 'Boolean');
        }
        if (data.hasOwnProperty('taskEmailTemplate')) {
          obj['taskEmailTemplate'] = ApiClient.convertToType(data['taskEmailTemplate'], 'String');
        }
        if (data.hasOwnProperty('isNotifyPrimaryContactEnabled')) {
          obj['isNotifyPrimaryContactEnabled'] = ApiClient.convertToType(data['isNotifyPrimaryContactEnabled'], 'Boolean');
        }
        if (data.hasOwnProperty('notifyPrimaryContactTemplate')) {
          obj['notifyPrimaryContactTemplate'] = ApiClient.convertToType(data['notifyPrimaryContactTemplate'], 'String');
        }
        if (data.hasOwnProperty('isNotifySecondaryContactEnabled')) {
          obj['isNotifySecondaryContactEnabled'] = ApiClient.convertToType(data['isNotifySecondaryContactEnabled'], 'Boolean');
        }
        if (data.hasOwnProperty('notifySecondaryContactTemplate')) {
          obj['notifySecondaryContactTemplate'] = ApiClient.convertToType(data['notifySecondaryContactTemplate'], 'String');
        }
        if (data.hasOwnProperty('duration')) {
          obj['duration'] = ApiClient.convertToType(data['duration'], 'Number');
        }
        if (data.hasOwnProperty('durationType')) {
          obj['durationType'] = ApiClient.convertToType(data['durationType'], 'Number');
        }
        if (data.hasOwnProperty('isReminderEnabled')) {
          obj['isReminderEnabled'] = ApiClient.convertToType(data['isReminderEnabled'], 'Boolean');
        }
        if (data.hasOwnProperty('reminderProfileId')) {
          obj['reminderProfileId'] = ApiClient.convertToType(data['reminderProfileId'], 'String');
        }
        if (data.hasOwnProperty('enableOnlyOtherContactElection')) {
          obj['enableOnlyOtherContactElection'] = ApiClient.convertToType(data['enableOnlyOtherContactElection'], 'Boolean');
        }
      }
      return obj;
    }
  
    /**
     * @member {Boolean} isEnabled
     */
    exports.prototype['isEnabled'] = undefined;
    /**
     * @member {String} excludeUsers
     */
    exports.prototype['excludeUsers'] = undefined;
    /**
     * @member {Boolean} isNotifyTaskEnabled
     */
    exports.prototype['isNotifyTaskEnabled'] = undefined;
    /**
     * @member {String} taskEmailTemplate
     */
    exports.prototype['taskEmailTemplate'] = undefined;
    /**
     * @member {Boolean} isNotifyPrimaryContactEnabled
     */
    exports.prototype['isNotifyPrimaryContactEnabled'] = undefined;
    /**
     * @member {String} notifyPrimaryContactTemplate
     */
    exports.prototype['notifyPrimaryContactTemplate'] = undefined;
    /**
     * @member {Boolean} isNotifySecondaryContactEnabled
     */
    exports.prototype['isNotifySecondaryContactEnabled'] = undefined;
    /**
     * @member {String} notifySecondaryContactTemplate
     */
    exports.prototype['notifySecondaryContactTemplate'] = undefined;
    /**
     * @member {Number} duration
     */
    exports.prototype['duration'] = undefined;
    /**
     * @member {Number} durationType
     */
    exports.prototype['durationType'] = undefined;
    /**
     * @member {Boolean} isReminderEnabled
     */
    exports.prototype['isReminderEnabled'] = undefined;
    /**
     * @member {String} reminderProfileId
     */
    exports.prototype['reminderProfileId'] = undefined;
    /**
     * @member {Boolean} enableOnlyOtherContactElection
     */
    exports.prototype['enableOnlyOtherContactElection'] = undefined;
  
  
  
    return exports;
  }));
  
  
  