text: /**
   * freee API
   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
   *
   * OpenAPI spec version: v1.0
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.4.0-SNAPSHOT
   *
   * 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.FreeeAccountingClient) {
        root.FreeeAccountingClient = {};
      }
      root.FreeeAccountingClient.SelectablesIndexResponseAccountGroups = factory(root.FreeeAccountingClient.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
  
  
  
    /**
     * The SelectablesIndexResponseAccountGroups model module.
     * @module model/SelectablesIndexResponseAccountGroups
     * @version v0.0.2
     */
  
    /**
     * Constructs a new <code>SelectablesIndexResponseAccountGroups</code>.
     * @alias module:model/SelectablesIndexResponseAccountGroups
     * @class
     * @param id {Number} 決算書表示名（小カテゴリー）ID
     * @param name {String} 決算書表示名
     * @param accountStructureId {Number} 年度ID
     * @param accountCategoryId {Number} 勘定科目カテゴリーID
     * @param index {Number} 並び順
     */
    var exports = function(id, name, accountStructureId, accountCategoryId, index) {
      var _this = this;
  
      _this['id'] = id;
      _this['name'] = name;
      _this['account_structure_id'] = accountStructureId;
      _this['account_category_id'] = accountCategoryId;
  
      _this['index'] = index;
  
  
    };
  
    /**
     * Constructs a <code>SelectablesIndexResponseAccountGroups</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/SelectablesIndexResponseAccountGroups} obj Optional instance to populate.
     * @return {module:model/SelectablesIndexResponseAccountGroups} The populated <code>SelectablesIndexResponseAccountGroups</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
  
        if (data.hasOwnProperty('id')) {
          obj['id'] = ApiClient.convertToType(data['id'], 'Number');
        }
        if (data.hasOwnProperty('name')) {
          obj['name'] = ApiClient.convertToType(data['name'], 'String');
        }
        if (data.hasOwnProperty('account_structure_id')) {
          obj['account_structure_id'] = ApiClient.convertToType(data['account_structure_id'], 'Number');
        }
        if (data.hasOwnProperty('account_category_id')) {
          obj['account_category_id'] = ApiClient.convertToType(data['account_category_id'], 'Number');
        }
        if (data.hasOwnProperty('detail_type')) {
          obj['detail_type'] = ApiClient.convertToType(data['detail_type'], 'Number');
        }
        if (data.hasOwnProperty('index')) {
          obj['index'] = ApiClient.convertToType(data['index'], 'Number');
        }
        if (data.hasOwnProperty('created_at')) {
          obj['created_at'] = ApiClient.convertToType(data['created_at'], 'String');
        }
        if (data.hasOwnProperty('updated_at')) {
          obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'String');
        }
      }
      return obj;
    }
  
    /**
     * 決算書表示名（小カテゴリー）ID
     * @member {Number} id
     */
    exports.prototype['id'] = undefined;
    /**
     * 決算書表示名
     * @member {String} name
     */
    exports.prototype['name'] = undefined;
    /**
     * 年度ID
     * @member {Number} account_structure_id
     */
    exports.prototype['account_structure_id'] = undefined;
    /**
     * 勘定科目カテゴリーID
     * @member {Number} account_category_id
     */
    exports.prototype['account_category_id'] = undefined;
    /**
     * 詳細パラメータの種類
     * @member {Number} detail_type
     */
    exports.prototype['detail_type'] = undefined;
    /**
     * 並び順
     * @member {Number} index
     */
    exports.prototype['index'] = undefined;
    /**
     * 作成日時
     * @member {String} created_at
     */
    exports.prototype['created_at'] = undefined;
    /**
     * 更新日時
     * @member {String} updated_at
     */
    exports.prototype['updated_at'] = undefined;
  
  
  
    return exports;
  }));
  
  
  