text: (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define([undefined, '../ApiClient', './GetResponse', './Modification'], factory);
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(undefined, require('../ApiClient'), require('./GetResponse'), require('./Modification'));
    } else {
      // Browser globals (root is window)
      if (!root.OpenmoneyApi) {
        root.OpenmoneyApi = {};
      }
      factory(root.OpenmoneyApi, root.OpenmoneyApi.ApiClient, root.OpenmoneyApi.GetResponse, root.OpenmoneyApi.Modification);
    }
  }(this, function(module, ApiClient, GetResponse, Modification) {
    'use strict';
  
    
    
  
    
    var CurrenciesGet = function CurrenciesGet(currency_namespace, currency, id, stewards) { /* extends GetResponse*/
      var self = this;
      
      /**
       * timestamp in milliseconds since epoch
       * datatype: Integer
       **/
      self['created'] = null;
      
      /**
       * datatype: String
       * required
       **/
      self['currency_namespace'] = currency_namespace;
      
      /**
       * datatype: String
       * required
       **/
      self['currency'] = currency;
      
      /**
       * datatype: String
       * required
       **/
      self['id'] = id;
      
      /**
       * stewardname of steward who made change
       * datatype: String
       **/
      self['created_by'] = null;
      
      /**
       * datatype: [String]
       * required
       **/
      self['stewards'] = stewards;
      
      /**
       * datatype: [Modification]
       **/
      self['modifications'] = [];
      
  
      self.constructFromObject = function(data) {
        if (!data) {
          return this;
        }
        
        self['created'] = ApiClient.convertToType(data['created'], 'Integer');
        
        self['currency_namespace'] = ApiClient.convertToType(data['currency_namespace'], 'String');
        
        self['currency'] = ApiClient.convertToType(data['currency'], 'String');
        
        self['id'] = ApiClient.convertToType(data['id'], 'String');
        
        self['created_by'] = ApiClient.convertToType(data['created_by'], 'String');
        
        self['stewards'] = ApiClient.convertToType(data['stewards'], ['String']);
        
        self['modifications'] = ApiClient.convertToType(data['modifications'], [Modification]);
        
        return this;
      }
  
      
      /**
       * get timestamp in milliseconds since epoch
       * @return {Integer}
       **/
      self.getCreated = function() {
        return self['created'];
      }
  
      /**
       * set timestamp in milliseconds since epoch
       * @param {Integer} created
       **/
      self.setCreated = function(created) {
        self['created'] = created;
      }
      
      /**
       * @return {String}
       **/
      self.getCurrencyNamespace = function() {
        return self['currency_namespace'];
      }
  
      /**
       * @param {String} currencyNamespace
       **/
      self.setCurrencyNamespace = function(currencyNamespace) {
        self['currency_namespace'] = currencyNamespace;
      }
      
      /**
       * @return {String}
       **/
      self.getCurrency = function() {
        return self['currency'];
      }
  
      /**
       * @param {String} currency
       **/
      self.setCurrency = function(currency) {
        self['currency'] = currency;
      }
      
      /**
       * @return {String}
       **/
      self.getId = function() {
        return self['id'];
      }
  
      /**
       * @param {String} id
       **/
      self.setId = function(id) {
        self['id'] = id;
      }
      
      /**
       * get stewardname of steward who made change
       * @return {String}
       **/
      self.getCreatedBy = function() {
        return self['created_by'];
      }
  
      /**
       * set stewardname of steward who made change
       * @param {String} createdBy
       **/
      self.setCreatedBy = function(createdBy) {
        self['created_by'] = createdBy;
      }
      
      /**
       * @return {[String]}
       **/
      self.getStewards = function() {
        return self['stewards'];
      }
  
      /**
       * @param {[String]} stewards
       **/
      self.setStewards = function(stewards) {
        self['stewards'] = stewards;
      }
      
      /**
       * @return {[Modification]}
       **/
      self.getModifications = function() {
        return self['modifications'];
      }
  
      /**
       * @param {[Modification]} modifications
       **/
      self.setModifications = function(modifications) {
        self['modifications'] = modifications;
      }
      
  
      self.toJson = function() {
        return JSON.stringify(self);
      }
    };
  
    if (module) {
      module.CurrenciesGet = CurrenciesGet;
    }
  
    return CurrenciesGet;
    
    
  }));
  