<?php

/**
 *
 * 
 *
 * Generated by <a href="http://enunciate.codehaus.org">Enunciate</a>.
 *
 */
 

  namespace Com\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class PentahoTLSupSummary  {
    
    
      /**
       * (no documentation provided)
       */
      private $licesneSummary;

      /**
       * Constructs a PentahoTLSupSummary from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getLicesneSummary() {
        return $this->licesneSummary;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLicesneSummary($licesneSummary) {
        $this->licesneSummary = $licesneSummary;
      }
      /**
       * Returns the associative array for this PentahoTLSupSummary
       */
      public function toArray() {
        $a = array();
        if( $this->licesneSummary ) {
          $ab = array();
          foreach( $this->licesneSummary as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['license'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this PentahoTLSupSummary
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this PentahoTLSupSummary from an associative array
       */
      public function initFromArray($o) {
        $this->licesneSummary = array();
        if( isset($o['license']) ) {
          foreach( $o['license'] as $i => $x ) {
            $this->licesneSummary[$i] = new \Com\Pentaho\Platform\Web\Http\Api\Resources\PentahoTLSup($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Database\Model {

    /**
     * 
     */
    class DatabaseType  {
    
    
      /**
       * (no documentation provided)
       */
      private $defaultDatabasePort;
      /**
       * (no documentation provided)
       */
      private $supportedAccessTypes;
      /**
       * (no documentation provided)
       */
      private $extraOptionsHelpUrl;
      /**
       * (no documentation provided)
       */
      private $name;
      /**
       * (no documentation provided)
       */
      private $shortName;

      /**
       * Constructs a DatabaseType from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getDefaultDatabasePort() {
        return $this->defaultDatabasePort;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDefaultDatabasePort($defaultDatabasePort) {
        $this->defaultDatabasePort = $defaultDatabasePort;
      }
      /**
       * (no documentation provided)
       */
      public function getSupportedAccessTypes() {
        return $this->supportedAccessTypes;
      }
      
      /**
       * (no documentation provided)
       */
      public function setSupportedAccessTypes($supportedAccessTypes) {
        $this->supportedAccessTypes = $supportedAccessTypes;
      }
      /**
       * (no documentation provided)
       */
      public function getExtraOptionsHelpUrl() {
        return $this->extraOptionsHelpUrl;
      }
      
      /**
       * (no documentation provided)
       */
      public function setExtraOptionsHelpUrl($extraOptionsHelpUrl) {
        $this->extraOptionsHelpUrl = $extraOptionsHelpUrl;
      }
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * (no documentation provided)
       */
      public function getShortName() {
        return $this->shortName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setShortName($shortName) {
        $this->shortName = $shortName;
      }
      /**
       * Returns the associative array for this DatabaseType
       */
      public function toArray() {
        $a = array();
        if( $this->defaultDatabasePort ) {
          $a["defaultDatabasePort"] = $this->defaultDatabasePort;
        }
        if( $this->supportedAccessTypes ) {
          $ab = array();
          foreach( $this->supportedAccessTypes as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['supportedAccessTypes'] = $ab;
        }
        if( $this->extraOptionsHelpUrl ) {
          $a["extraOptionsHelpUrl"] = $this->extraOptionsHelpUrl;
        }
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        if( $this->shortName ) {
          $a["shortName"] = $this->shortName;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this DatabaseType
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this DatabaseType from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['defaultDatabasePort']) ) {
          $this->defaultDatabasePort = $o["defaultDatabasePort"];
        }
        $this->supportedAccessTypes = array();
        if( isset($o['supportedAccessTypes']) ) {
          foreach( $o['supportedAccessTypes'] as $i => $x ) {
            $this->supportedAccessTypes[$i] = $x;
          }
        }
        if( isset($o['extraOptionsHelpUrl']) ) {
          $this->extraOptionsHelpUrl = $o["extraOptionsHelpUrl"];
        }
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
        if( isset($o['shortName']) ) {
          $this->shortName = $o["shortName"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Database\Model {

    /**
     * 
     */
    class PartitionDatabaseMeta  {
    
    
      /**
       * (no documentation provided)
       */
      private $databaseName;
      /**
       * (no documentation provided)
       */
      private $port;
      /**
       * (no documentation provided)
       */
      private $password;
      /**
       * (no documentation provided)
       */
      private $partitionId;
      /**
       * (no documentation provided)
       */
      private $username;
      /**
       * (no documentation provided)
       */
      private $hostname;

      /**
       * Constructs a PartitionDatabaseMeta from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getDatabaseName() {
        return $this->databaseName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDatabaseName($databaseName) {
        $this->databaseName = $databaseName;
      }
      /**
       * (no documentation provided)
       */
      public function getPort() {
        return $this->port;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPort($port) {
        $this->port = $port;
      }
      /**
       * (no documentation provided)
       */
      public function getPassword() {
        return $this->password;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPassword($password) {
        $this->password = $password;
      }
      /**
       * (no documentation provided)
       */
      public function getPartitionId() {
        return $this->partitionId;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPartitionId($partitionId) {
        $this->partitionId = $partitionId;
      }
      /**
       * (no documentation provided)
       */
      public function getUsername() {
        return $this->username;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUsername($username) {
        $this->username = $username;
      }
      /**
       * (no documentation provided)
       */
      public function getHostname() {
        return $this->hostname;
      }
      
      /**
       * (no documentation provided)
       */
      public function setHostname($hostname) {
        $this->hostname = $hostname;
      }
      /**
       * Returns the associative array for this PartitionDatabaseMeta
       */
      public function toArray() {
        $a = array();
        if( $this->databaseName ) {
          $a["databaseName"] = $this->databaseName;
        }
        if( $this->port ) {
          $a["port"] = $this->port;
        }
        if( $this->password ) {
          $a["password"] = $this->password;
        }
        if( $this->partitionId ) {
          $a["partitionId"] = $this->partitionId;
        }
        if( $this->username ) {
          $a["username"] = $this->username;
        }
        if( $this->hostname ) {
          $a["hostname"] = $this->hostname;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this PartitionDatabaseMeta
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this PartitionDatabaseMeta from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['databaseName']) ) {
          $this->databaseName = $o["databaseName"];
        }
        if( isset($o['port']) ) {
          $this->port = $o["port"];
        }
        if( isset($o['password']) ) {
          $this->password = $o["password"];
        }
        if( isset($o['partitionId']) ) {
          $this->partitionId = $o["partitionId"];
        }
        if( isset($o['username']) ) {
          $this->username = $o["username"];
        }
        if( isset($o['hostname']) ) {
          $this->hostname = $o["hostname"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class Job  {
    
    
      /**
       * (no documentation provided)
       */
      private $jobParams;
      /**
       * (no documentation provided)
       */
      private $groupName;
      /**
       * (no documentation provided)
       */
      private $jobId;
      /**
       * (no documentation provided)
       */
      private $jobTrigger;
      /**
       * (no documentation provided)
       */
      private $userName;
      /**
       * (no documentation provided)
       */
      private $state;
      /**
       * (no documentation provided)
       */
      private $jobName;
      /**
       * (no documentation provided)
       */
      private $lastRun;
      /**
       * (no documentation provided)
       */
      private $nextRun;

      /**
       * Constructs a Job from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getJobParams() {
        return $this->jobParams;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobParams($jobParams) {
        $this->jobParams = $jobParams;
      }
      /**
       * (no documentation provided)
       */
      public function getGroupName() {
        return $this->groupName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setGroupName($groupName) {
        $this->groupName = $groupName;
      }
      /**
       * (no documentation provided)
       */
      public function getJobId() {
        return $this->jobId;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobId($jobId) {
        $this->jobId = $jobId;
      }
      /**
       * (no documentation provided)
       */
      public function getJobTrigger() {
        return $this->jobTrigger;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobTrigger($jobTrigger) {
        $this->jobTrigger = $jobTrigger;
      }
      /**
       * (no documentation provided)
       */
      public function getUserName() {
        return $this->userName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUserName($userName) {
        $this->userName = $userName;
      }
      /**
       * (no documentation provided)
       */
      public function getState() {
        return $this->state;
      }
      
      /**
       * (no documentation provided)
       */
      public function setState($state) {
        $this->state = $state;
      }
      /**
       * (no documentation provided)
       */
      public function getJobName() {
        return $this->jobName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobName($jobName) {
        $this->jobName = $jobName;
      }
      /**
       * (no documentation provided)
       */
      public function getLastRun() {
        return $this->lastRun;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLastRun($lastRun) {
        $this->lastRun = $lastRun;
      }
      /**
       * (no documentation provided)
       */
      public function getNextRun() {
        return $this->nextRun;
      }
      
      /**
       * (no documentation provided)
       */
      public function setNextRun($nextRun) {
        $this->nextRun = $nextRun;
      }
      /**
       * Returns the associative array for this Job
       */
      public function toArray() {
        $a = array();
        if( $this->jobParams ) {
          $a["jobParams"] = $this->jobParams->toArray();
        }
        if( $this->groupName ) {
          $a["groupName"] = $this->groupName;
        }
        if( $this->jobId ) {
          $a["jobId"] = $this->jobId;
        }
        if( $this->jobTrigger ) {
          $a["jobTrigger"] = $this->jobTrigger->toArray();
        }
        if( $this->userName ) {
          $a["userName"] = $this->userName;
        }
        if( $this->state ) {
          $a["state"] = $this->state;
        }
        if( $this->jobName ) {
          $a["jobName"] = $this->jobName;
        }
        if( $this->lastRun ) {
          $a["lastRun"] = $this->lastRun;
        }
        if( $this->nextRun ) {
          $a["nextRun"] = $this->nextRun;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this Job
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this Job from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['jobParams']) ) {
          $this->jobParams = new \Org\Pentaho\Platform\Api\Scheduler2\JobParams($o["jobParams"]);
        }
        if( isset($o['groupName']) ) {
          $this->groupName = $o["groupName"];
        }
        if( isset($o['jobId']) ) {
          $this->jobId = $o["jobId"];
        }
        if( isset($o['jobTrigger']) ) {
          $this->jobTrigger = new \Org\Pentaho\Platform\Api\Scheduler2\JobTrigger($o["jobTrigger"]);
        }
        if( isset($o['userName']) ) {
          $this->userName = $o["userName"];
        }
        if( isset($o['state']) ) {
          $this->state = $o["state"];
        }
        if( isset($o['jobName']) ) {
          $this->jobName = $o["jobName"];
        }
        if( isset($o['lastRun']) ) {
          $this->lastRun = $o["lastRun"];
        }
        if( isset($o['nextRun']) ) {
          $this->nextRun = $o["nextRun"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Repository2\Unified\Webservices {

    /**
     * 
     */
    class LocaleMapDto  {
    
    
      /**
       * (no documentation provided)
       */
      private $locale;
      /**
       * (no documentation provided)
       */
      private $properties;

      /**
       * Constructs a LocaleMapDto from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getLocale() {
        return $this->locale;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLocale($locale) {
        $this->locale = $locale;
      }
      /**
       * (no documentation provided)
       */
      public function getProperties() {
        return $this->properties;
      }
      
      /**
       * (no documentation provided)
       */
      public function setProperties($properties) {
        $this->properties = $properties;
      }
      /**
       * Returns the associative array for this LocaleMapDto
       */
      public function toArray() {
        $a = array();
        if( $this->locale ) {
          $a["locale"] = $this->locale;
        }
        if( $this->properties ) {
          $ab = array();
          foreach( $this->properties as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['properties'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this LocaleMapDto
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this LocaleMapDto from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['locale']) ) {
          $this->locale = $o["locale"];
        }
        $this->properties = array();
        if( isset($o['properties']) ) {
          foreach( $o['properties'] as $i => $x ) {
            $this->properties[$i] = new \Org\Pentaho\Platform\Repository2\Unified\Webservices\StringKeyStringValueDto($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Repository2\Unified\Webservices {

    /**
     * 
     */
    class RepositoryFileAclAceDto  {
    
    
      /**
       * (no documentation provided)
       */
      private $permissions;
      /**
       * (no documentation provided)
       */
      private $recipient;
      /**
       * (no documentation provided)
       */
      private $tenantPath;
      /**
       * (no documentation provided)
       */
      private $modifiable;
      /**
       * (no documentation provided)
       */
      private $recipientType;

      /**
       * Constructs a RepositoryFileAclAceDto from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getPermissions() {
        return $this->permissions;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPermissions($permissions) {
        $this->permissions = $permissions;
      }
      /**
       * (no documentation provided)
       */
      public function getRecipient() {
        return $this->recipient;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecipient($recipient) {
        $this->recipient = $recipient;
      }
      /**
       * (no documentation provided)
       */
      public function getTenantPath() {
        return $this->tenantPath;
      }
      
      /**
       * (no documentation provided)
       */
      public function setTenantPath($tenantPath) {
        $this->tenantPath = $tenantPath;
      }
      /**
       * (no documentation provided)
       */
      public function getModifiable() {
        return $this->modifiable;
      }
      
      /**
       * (no documentation provided)
       */
      public function setModifiable($modifiable) {
        $this->modifiable = $modifiable;
      }
      /**
       * (no documentation provided)
       */
      public function getRecipientType() {
        return $this->recipientType;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecipientType($recipientType) {
        $this->recipientType = $recipientType;
      }
      /**
       * Returns the associative array for this RepositoryFileAclAceDto
       */
      public function toArray() {
        $a = array();
        if( $this->permissions ) {
          $ab = array();
          foreach( $this->permissions as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['permissions'] = $ab;
        }
        if( $this->recipient ) {
          $a["recipient"] = $this->recipient;
        }
        if( $this->tenantPath ) {
          $a["tenantPath"] = $this->tenantPath;
        }
        if( $this->modifiable ) {
          $a["modifiable"] = $this->modifiable;
        }
        if( $this->recipientType ) {
          $a["recipientType"] = $this->recipientType;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this RepositoryFileAclAceDto
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this RepositoryFileAclAceDto from an associative array
       */
      public function initFromArray($o) {
        $this->permissions = array();
        if( isset($o['permissions']) ) {
          foreach( $o['permissions'] as $i => $x ) {
            $this->permissions[$i] = $x;
          }
        }
        if( isset($o['recipient']) ) {
          $this->recipient = $o["recipient"];
        }
        if( isset($o['tenantPath']) ) {
          $this->tenantPath = $o["tenantPath"];
        }
        if( isset($o['modifiable']) ) {
          $this->modifiable = $o["modifiable"];
        }
        if( isset($o['recipientType']) ) {
          $this->recipientType = $o["recipientType"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class JobParam  {
    
    
      /**
       * (no documentation provided)
       */
      private $name;
      /**
       * (no documentation provided)
       */
      private $value;

      /**
       * Constructs a JobParam from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * (no documentation provided)
       */
      public function getValue() {
        return $this->value;
      }
      
      /**
       * (no documentation provided)
       */
      public function setValue($value) {
        $this->value = $value;
      }
      /**
       * Returns the associative array for this JobParam
       */
      public function toArray() {
        $a = array();
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        if( $this->value ) {
          $a["value"] = $this->value;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JobParam
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JobParam from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
        if( isset($o['value']) ) {
          $this->value = $o["value"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class JobTrigger  {
    
    
      /**
       * (no documentation provided)
       */
      private $uiPassParam;
      /**
       * (no documentation provided)
       */
      private $cronString;
      /**
       * (no documentation provided)
       */
      private $duration;
      /**
       * (no documentation provided)
       */
      private $endTime;
      /**
       * (no documentation provided)
       */
      private $startTime;

      /**
       * Constructs a JobTrigger from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getUiPassParam() {
        return $this->uiPassParam;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUiPassParam($uiPassParam) {
        $this->uiPassParam = $uiPassParam;
      }
      /**
       * (no documentation provided)
       */
      public function getCronString() {
        return $this->cronString;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCronString($cronString) {
        $this->cronString = $cronString;
      }
      /**
       * (no documentation provided)
       */
      public function getDuration() {
        return $this->duration;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDuration($duration) {
        $this->duration = $duration;
      }
      /**
       * (no documentation provided)
       */
      public function getEndTime() {
        return $this->endTime;
      }
      
      /**
       * (no documentation provided)
       */
      public function setEndTime($endTime) {
        $this->endTime = $endTime;
      }
      /**
       * (no documentation provided)
       */
      public function getStartTime() {
        return $this->startTime;
      }
      
      /**
       * (no documentation provided)
       */
      public function setStartTime($startTime) {
        $this->startTime = $startTime;
      }
      /**
       * Returns the associative array for this JobTrigger
       */
      public function toArray() {
        $a = array();
        if( $this->uiPassParam ) {
          $a["uiPassParam"] = $this->uiPassParam;
        }
        if( $this->cronString ) {
          $a["cronString"] = $this->cronString;
        }
        if( $this->duration ) {
          $a["duration"] = $this->duration;
        }
        if( $this->endTime ) {
          $a["endTime"] = $this->endTime;
        }
        if( $this->startTime ) {
          $a["startTime"] = $this->startTime;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JobTrigger
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JobTrigger from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['uiPassParam']) ) {
          $this->uiPassParam = $o["uiPassParam"];
        }
        if( isset($o['cronString']) ) {
          $this->cronString = $o["cronString"];
        }
        if( isset($o['duration']) ) {
          $this->duration = $o["duration"];
        }
        if( isset($o['endTime']) ) {
          $this->endTime = $o["endTime"];
        }
        if( isset($o['startTime']) ) {
          $this->startTime = $o["startTime"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class JobParams  {
    
    
      /**
       * (no documentation provided)
       */
      private $jobParams;

      /**
       * Constructs a JobParams from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getJobParams() {
        return $this->jobParams;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobParams($jobParams) {
        $this->jobParams = $jobParams;
      }
      /**
       * Returns the associative array for this JobParams
       */
      public function toArray() {
        $a = array();
        if( $this->jobParams ) {
          $ab = array();
          foreach( $this->jobParams as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['jobParams'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JobParams
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JobParams from an associative array
       */
      public function initFromArray($o) {
        $this->jobParams = array();
        if( isset($o['jobParams']) ) {
          foreach( $o['jobParams'] as $i => $x ) {
            $this->jobParams[$i] = new \Org\Pentaho\Platform\Api\Scheduler2\JobParam($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Database\Model {

    /**
     * 
     */
    class DatabaseConnection  {
    
    
      /**
       * (no documentation provided)
       */
      private $connectionPoolingProperties;
      /**
       * (no documentation provided)
       */
      private $id;
      /**
       * (no documentation provided)
       */
      private $databaseType;
      /**
       * (no documentation provided)
       */
      private $partitioningInformation;
      /**
       * (no documentation provided)
       */
      private $accessType;
      /**
       * (no documentation provided)
       */
      private $maximumPoolSize;
      /**
       * (no documentation provided)
       */
      private $indexTablespace;
      /**
       * (no documentation provided)
       */
      private $usingConnectionPool;
      /**
       * (no documentation provided)
       */
      private $quoteAllFields;
      /**
       * (no documentation provided)
       */
      private $forcingIdentifiersToLowerCase;
      /**
       * (no documentation provided)
       */
      private $SQLServerInstance;
      /**
       * (no documentation provided)
       */
      private $usingDoubleDecimalAsSchemaTableSeparator;
      /**
       * (no documentation provided)
       */
      private $connectSql;
      /**
       * (no documentation provided)
       */
      private $password;
      /**
       * (no documentation provided)
       */
      private $forcingIdentifiersToUpperCase;
      /**
       * (no documentation provided)
       */
      private $hostname;
      /**
       * (no documentation provided)
       */
      private $databasePort;
      /**
       * (no documentation provided)
       */
      private $username;
      /**
       * (no documentation provided)
       */
      private $extraOptions;
      /**
       * (no documentation provided)
       */
      private $dataTablespace;
      /**
       * (no documentation provided)
       */
      private $informixServername;
      /**
       * (no documentation provided)
       */
      private $databaseName;
      /**
       * (no documentation provided)
       */
      private $attributes;
      /**
       * (no documentation provided)
       */
      private $streamingResults;
      /**
       * (no documentation provided)
       */
      private $accessTypeValue;
      /**
       * (no documentation provided)
       */
      private $changed;
      /**
       * (no documentation provided)
       */
      private $partitioned;
      /**
       * (no documentation provided)
       */
      private $initialPoolSize;
      /**
       * (no documentation provided)
       */
      private $name;

      /**
       * Constructs a DatabaseConnection from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getConnectionPoolingProperties() {
        return $this->connectionPoolingProperties;
      }
      
      /**
       * (no documentation provided)
       */
      public function setConnectionPoolingProperties($connectionPoolingProperties) {
        $this->connectionPoolingProperties = $connectionPoolingProperties;
      }
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * (no documentation provided)
       */
      public function getDatabaseType() {
        return $this->databaseType;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDatabaseType($databaseType) {
        $this->databaseType = $databaseType;
      }
      /**
       * (no documentation provided)
       */
      public function getPartitioningInformation() {
        return $this->partitioningInformation;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPartitioningInformation($partitioningInformation) {
        $this->partitioningInformation = $partitioningInformation;
      }
      /**
       * (no documentation provided)
       */
      public function getAccessType() {
        return $this->accessType;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAccessType($accessType) {
        $this->accessType = $accessType;
      }
      /**
       * (no documentation provided)
       */
      public function getMaximumPoolSize() {
        return $this->maximumPoolSize;
      }
      
      /**
       * (no documentation provided)
       */
      public function setMaximumPoolSize($maximumPoolSize) {
        $this->maximumPoolSize = $maximumPoolSize;
      }
      /**
       * (no documentation provided)
       */
      public function getIndexTablespace() {
        return $this->indexTablespace;
      }
      
      /**
       * (no documentation provided)
       */
      public function setIndexTablespace($indexTablespace) {
        $this->indexTablespace = $indexTablespace;
      }
      /**
       * (no documentation provided)
       */
      public function getUsingConnectionPool() {
        return $this->usingConnectionPool;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUsingConnectionPool($usingConnectionPool) {
        $this->usingConnectionPool = $usingConnectionPool;
      }
      /**
       * (no documentation provided)
       */
      public function getQuoteAllFields() {
        return $this->quoteAllFields;
      }
      
      /**
       * (no documentation provided)
       */
      public function setQuoteAllFields($quoteAllFields) {
        $this->quoteAllFields = $quoteAllFields;
      }
      /**
       * (no documentation provided)
       */
      public function getForcingIdentifiersToLowerCase() {
        return $this->forcingIdentifiersToLowerCase;
      }
      
      /**
       * (no documentation provided)
       */
      public function setForcingIdentifiersToLowerCase($forcingIdentifiersToLowerCase) {
        $this->forcingIdentifiersToLowerCase = $forcingIdentifiersToLowerCase;
      }
      /**
       * (no documentation provided)
       */
      public function getSQLServerInstance() {
        return $this->SQLServerInstance;
      }
      
      /**
       * (no documentation provided)
       */
      public function setSQLServerInstance($SQLServerInstance) {
        $this->SQLServerInstance = $SQLServerInstance;
      }
      /**
       * (no documentation provided)
       */
      public function getUsingDoubleDecimalAsSchemaTableSeparator() {
        return $this->usingDoubleDecimalAsSchemaTableSeparator;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUsingDoubleDecimalAsSchemaTableSeparator($usingDoubleDecimalAsSchemaTableSeparator) {
        $this->usingDoubleDecimalAsSchemaTableSeparator = $usingDoubleDecimalAsSchemaTableSeparator;
      }
      /**
       * (no documentation provided)
       */
      public function getConnectSql() {
        return $this->connectSql;
      }
      
      /**
       * (no documentation provided)
       */
      public function setConnectSql($connectSql) {
        $this->connectSql = $connectSql;
      }
      /**
       * (no documentation provided)
       */
      public function getPassword() {
        return $this->password;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPassword($password) {
        $this->password = $password;
      }
      /**
       * (no documentation provided)
       */
      public function getForcingIdentifiersToUpperCase() {
        return $this->forcingIdentifiersToUpperCase;
      }
      
      /**
       * (no documentation provided)
       */
      public function setForcingIdentifiersToUpperCase($forcingIdentifiersToUpperCase) {
        $this->forcingIdentifiersToUpperCase = $forcingIdentifiersToUpperCase;
      }
      /**
       * (no documentation provided)
       */
      public function getHostname() {
        return $this->hostname;
      }
      
      /**
       * (no documentation provided)
       */
      public function setHostname($hostname) {
        $this->hostname = $hostname;
      }
      /**
       * (no documentation provided)
       */
      public function getDatabasePort() {
        return $this->databasePort;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDatabasePort($databasePort) {
        $this->databasePort = $databasePort;
      }
      /**
       * (no documentation provided)
       */
      public function getUsername() {
        return $this->username;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUsername($username) {
        $this->username = $username;
      }
      /**
       * (no documentation provided)
       */
      public function getExtraOptions() {
        return $this->extraOptions;
      }
      
      /**
       * (no documentation provided)
       */
      public function setExtraOptions($extraOptions) {
        $this->extraOptions = $extraOptions;
      }
      /**
       * (no documentation provided)
       */
      public function getDataTablespace() {
        return $this->dataTablespace;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDataTablespace($dataTablespace) {
        $this->dataTablespace = $dataTablespace;
      }
      /**
       * (no documentation provided)
       */
      public function getInformixServername() {
        return $this->informixServername;
      }
      
      /**
       * (no documentation provided)
       */
      public function setInformixServername($informixServername) {
        $this->informixServername = $informixServername;
      }
      /**
       * (no documentation provided)
       */
      public function getDatabaseName() {
        return $this->databaseName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDatabaseName($databaseName) {
        $this->databaseName = $databaseName;
      }
      /**
       * (no documentation provided)
       */
      public function getAttributes() {
        return $this->attributes;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAttributes($attributes) {
        $this->attributes = $attributes;
      }
      /**
       * (no documentation provided)
       */
      public function getStreamingResults() {
        return $this->streamingResults;
      }
      
      /**
       * (no documentation provided)
       */
      public function setStreamingResults($streamingResults) {
        $this->streamingResults = $streamingResults;
      }
      /**
       * (no documentation provided)
       */
      public function getAccessTypeValue() {
        return $this->accessTypeValue;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAccessTypeValue($accessTypeValue) {
        $this->accessTypeValue = $accessTypeValue;
      }
      /**
       * (no documentation provided)
       */
      public function getChanged() {
        return $this->changed;
      }
      
      /**
       * (no documentation provided)
       */
      public function setChanged($changed) {
        $this->changed = $changed;
      }
      /**
       * (no documentation provided)
       */
      public function getPartitioned() {
        return $this->partitioned;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPartitioned($partitioned) {
        $this->partitioned = $partitioned;
      }
      /**
       * (no documentation provided)
       */
      public function getInitialPoolSize() {
        return $this->initialPoolSize;
      }
      
      /**
       * (no documentation provided)
       */
      public function setInitialPoolSize($initialPoolSize) {
        $this->initialPoolSize = $initialPoolSize;
      }
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * Returns the associative array for this DatabaseConnection
       */
      public function toArray() {
        $a = array();
        if( $this->connectionPoolingProperties ) {
          $a["connectionPoolingProperties"] = $this->connectionPoolingProperties;
        }
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        if( $this->databaseType ) {
          $a["databaseType"] = $this->databaseType->toArray();
        }
        if( $this->partitioningInformation ) {
          $ab = array();
          foreach( $this->partitioningInformation as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['partitioningInformation'] = $ab;
        }
        if( $this->accessType ) {
          $a["accessType"] = $this->accessType;
        }
        if( $this->maximumPoolSize ) {
          $a["maximumPoolSize"] = $this->maximumPoolSize;
        }
        if( $this->indexTablespace ) {
          $a["indexTablespace"] = $this->indexTablespace;
        }
        if( $this->usingConnectionPool ) {
          $a["usingConnectionPool"] = $this->usingConnectionPool;
        }
        if( $this->quoteAllFields ) {
          $a["quoteAllFields"] = $this->quoteAllFields;
        }
        if( $this->forcingIdentifiersToLowerCase ) {
          $a["forcingIdentifiersToLowerCase"] = $this->forcingIdentifiersToLowerCase;
        }
        if( $this->SQLServerInstance ) {
          $a["SQLServerInstance"] = $this->SQLServerInstance;
        }
        if( $this->usingDoubleDecimalAsSchemaTableSeparator ) {
          $a["usingDoubleDecimalAsSchemaTableSeparator"] = $this->usingDoubleDecimalAsSchemaTableSeparator;
        }
        if( $this->connectSql ) {
          $a["connectSql"] = $this->connectSql;
        }
        if( $this->password ) {
          $a["password"] = $this->password;
        }
        if( $this->forcingIdentifiersToUpperCase ) {
          $a["forcingIdentifiersToUpperCase"] = $this->forcingIdentifiersToUpperCase;
        }
        if( $this->hostname ) {
          $a["hostname"] = $this->hostname;
        }
        if( $this->databasePort ) {
          $a["databasePort"] = $this->databasePort;
        }
        if( $this->username ) {
          $a["username"] = $this->username;
        }
        if( $this->extraOptions ) {
          $a["extraOptions"] = $this->extraOptions;
        }
        if( $this->dataTablespace ) {
          $a["dataTablespace"] = $this->dataTablespace;
        }
        if( $this->informixServername ) {
          $a["informixServername"] = $this->informixServername;
        }
        if( $this->databaseName ) {
          $a["databaseName"] = $this->databaseName;
        }
        if( $this->attributes ) {
          $a["attributes"] = $this->attributes;
        }
        if( $this->streamingResults ) {
          $a["streamingResults"] = $this->streamingResults;
        }
        if( $this->accessTypeValue ) {
          $a["accessTypeValue"] = $this->accessTypeValue;
        }
        if( $this->changed ) {
          $a["changed"] = $this->changed;
        }
        if( $this->partitioned ) {
          $a["partitioned"] = $this->partitioned;
        }
        if( $this->initialPoolSize ) {
          $a["initialPoolSize"] = $this->initialPoolSize;
        }
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this DatabaseConnection
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this DatabaseConnection from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['connectionPoolingProperties']) ) {
          $this->connectionPoolingProperties = $o["connectionPoolingProperties"];
        }
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
        if( isset($o['databaseType']) ) {
          $this->databaseType = new \Org\Pentaho\Database\Model\DatabaseType($o["databaseType"]);
        }
        $this->partitioningInformation = array();
        if( isset($o['partitioningInformation']) ) {
          foreach( $o['partitioningInformation'] as $i => $x ) {
            $this->partitioningInformation[$i] = new \Org\Pentaho\Database\Model\PartitionDatabaseMeta($x);
          }
        }
        if( isset($o['accessType']) ) {
          $this->accessType = $o["accessType"];
        }
        if( isset($o['maximumPoolSize']) ) {
          $this->maximumPoolSize = $o["maximumPoolSize"];
        }
        if( isset($o['indexTablespace']) ) {
          $this->indexTablespace = $o["indexTablespace"];
        }
        if( isset($o['usingConnectionPool']) ) {
          $this->usingConnectionPool = $o["usingConnectionPool"];
        }
        if( isset($o['quoteAllFields']) ) {
          $this->quoteAllFields = $o["quoteAllFields"];
        }
        if( isset($o['forcingIdentifiersToLowerCase']) ) {
          $this->forcingIdentifiersToLowerCase = $o["forcingIdentifiersToLowerCase"];
        }
        if( isset($o['SQLServerInstance']) ) {
          $this->SQLServerInstance = $o["SQLServerInstance"];
        }
        if( isset($o['usingDoubleDecimalAsSchemaTableSeparator']) ) {
          $this->usingDoubleDecimalAsSchemaTableSeparator = $o["usingDoubleDecimalAsSchemaTableSeparator"];
        }
        if( isset($o['connectSql']) ) {
          $this->connectSql = $o["connectSql"];
        }
        if( isset($o['password']) ) {
          $this->password = $o["password"];
        }
        if( isset($o['forcingIdentifiersToUpperCase']) ) {
          $this->forcingIdentifiersToUpperCase = $o["forcingIdentifiersToUpperCase"];
        }
        if( isset($o['hostname']) ) {
          $this->hostname = $o["hostname"];
        }
        if( isset($o['databasePort']) ) {
          $this->databasePort = $o["databasePort"];
        }
        if( isset($o['username']) ) {
          $this->username = $o["username"];
        }
        if( isset($o['extraOptions']) ) {
          $this->extraOptions = $o["extraOptions"];
        }
        if( isset($o['dataTablespace']) ) {
          $this->dataTablespace = $o["dataTablespace"];
        }
        if( isset($o['informixServername']) ) {
          $this->informixServername = $o["informixServername"];
        }
        if( isset($o['databaseName']) ) {
          $this->databaseName = $o["databaseName"];
        }
        if( isset($o['attributes']) ) {
          $this->attributes = $o["attributes"];
        }
        if( isset($o['streamingResults']) ) {
          $this->streamingResults = $o["streamingResults"];
        }
        if( isset($o['accessTypeValue']) ) {
          $this->accessTypeValue = $o["accessTypeValue"];
        }
        if( isset($o['changed']) ) {
          $this->changed = $o["changed"];
        }
        if( isset($o['partitioned']) ) {
          $this->partitioned = $o["partitioned"];
        }
        if( isset($o['initialPoolSize']) ) {
          $this->initialPoolSize = $o["initialPoolSize"];
        }
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class ITimeWrapper  {
    
    

      /**
       * Constructs a ITimeWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * Returns the associative array for this ITimeWrapper
       */
      public function toArray() {
        $a = array();
        return $a;
      }
      
      /**
       * Returns the JSON string for this ITimeWrapper
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this ITimeWrapper from an associative array
       */
      public function initFromArray($o) {
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Repository2\Unified\Webservices {

    /**
     * 
     */
    class RepositoryFileAclDto  {
    
    
      /**
       * (no documentation provided)
       */
      private $ownerType;
      /**
       * (no documentation provided)
       */
      private $entriesInheriting;
      /**
       * (no documentation provided)
       */
      private $owner;
      /**
       * (no documentation provided)
       */
      private $id;
      /**
       * (no documentation provided)
       */
      private $tenantPath;
      /**
       * (no documentation provided)
       */
      private $aces;

      /**
       * Constructs a RepositoryFileAclDto from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getOwnerType() {
        return $this->ownerType;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOwnerType($ownerType) {
        $this->ownerType = $ownerType;
      }
      /**
       * (no documentation provided)
       */
      public function getEntriesInheriting() {
        return $this->entriesInheriting;
      }
      
      /**
       * (no documentation provided)
       */
      public function setEntriesInheriting($entriesInheriting) {
        $this->entriesInheriting = $entriesInheriting;
      }
      /**
       * (no documentation provided)
       */
      public function getOwner() {
        return $this->owner;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOwner($owner) {
        $this->owner = $owner;
      }
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * (no documentation provided)
       */
      public function getTenantPath() {
        return $this->tenantPath;
      }
      
      /**
       * (no documentation provided)
       */
      public function setTenantPath($tenantPath) {
        $this->tenantPath = $tenantPath;
      }
      /**
       * (no documentation provided)
       */
      public function getAces() {
        return $this->aces;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAces($aces) {
        $this->aces = $aces;
      }
      /**
       * Returns the associative array for this RepositoryFileAclDto
       */
      public function toArray() {
        $a = array();
        if( $this->ownerType ) {
          $a["ownerType"] = $this->ownerType;
        }
        if( $this->entriesInheriting ) {
          $a["entriesInheriting"] = $this->entriesInheriting;
        }
        if( $this->owner ) {
          $a["owner"] = $this->owner;
        }
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        if( $this->tenantPath ) {
          $a["tenantPath"] = $this->tenantPath;
        }
        if( $this->aces ) {
          $ab = array();
          foreach( $this->aces as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['aces'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this RepositoryFileAclDto
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this RepositoryFileAclDto from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['ownerType']) ) {
          $this->ownerType = $o["ownerType"];
        }
        if( isset($o['entriesInheriting']) ) {
          $this->entriesInheriting = $o["entriesInheriting"];
        }
        if( isset($o['owner']) ) {
          $this->owner = $o["owner"];
        }
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
        if( isset($o['tenantPath']) ) {
          $this->tenantPath = $o["tenantPath"];
        }
        $this->aces = array();
        if( isset($o['aces']) ) {
          foreach( $o['aces'] as $i => $x ) {
            $this->aces[$i] = new \Org\Pentaho\Platform\Repository2\Unified\Webservices\RepositoryFileAclAceDto($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Repository2\Unified\Webservices {

    /**
     * 
     */
    class RepositoryFileTreeDto  {
    
    
      /**
       * (no documentation provided)
       */
      private $file;
      /**
       * (no documentation provided)
       */
      private $children;

      /**
       * Constructs a RepositoryFileTreeDto from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getFile() {
        return $this->file;
      }
      
      /**
       * (no documentation provided)
       */
      public function setFile($file) {
        $this->file = $file;
      }
      /**
       * (no documentation provided)
       */
      public function getChildren() {
        return $this->children;
      }
      
      /**
       * (no documentation provided)
       */
      public function setChildren($children) {
        $this->children = $children;
      }
      /**
       * Returns the associative array for this RepositoryFileTreeDto
       */
      public function toArray() {
        $a = array();
        if( $this->file ) {
          $a["file"] = $this->file->toArray();
        }
        if( $this->children ) {
          $ab = array();
          foreach( $this->children as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['children'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this RepositoryFileTreeDto
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this RepositoryFileTreeDto from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['file']) ) {
          $this->file = new \Org\Pentaho\Platform\Repository2\Unified\Webservices\RepositoryFileDto($o["file"]);
        }
        $this->children = array();
        if( isset($o['children']) ) {
          foreach( $o['children'] as $i => $x ) {
            $this->children[$i] = new \Org\Pentaho\Platform\Repository2\Unified\Webservices\RepositoryFileTreeDto($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * POJO to simply represent authentication providers in SystemResource endpoints
     */
    class AuthenticationProvider  {
    
    
      /**
       * (no documentation provided)
       */
      private $authenticationType;

      /**
       * Constructs a AuthenticationProvider from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getAuthenticationType() {
        return $this->authenticationType;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAuthenticationType($authenticationType) {
        $this->authenticationType = $authenticationType;
      }
      /**
       * Returns the associative array for this AuthenticationProvider
       */
      public function toArray() {
        $a = array();
        if( $this->authenticationType ) {
          $a["authenticationType"] = $this->authenticationType;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this AuthenticationProvider
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this AuthenticationProvider from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['authenticationType']) ) {
          $this->authenticationType = $o["authenticationType"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class Cube  {
    
    
      /**
       * (no documentation provided)
       */
      private $name;
      /**
       * (no documentation provided)
       */
      private $id;
      /**
       * (no documentation provided)
       */
      private $catName;

      /**
       * Constructs a Cube from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * (no documentation provided)
       */
      public function getCatName() {
        return $this->catName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCatName($catName) {
        $this->catName = $catName;
      }
      /**
       * Returns the associative array for this Cube
       */
      public function toArray() {
        $a = array();
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        if( $this->catName ) {
          $a["catName"] = $this->catName;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this Cube
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this Cube from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
        if( isset($o['catName']) ) {
          $this->catName = $o["catName"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class JobRequest  {
    
    
      /**
       * (no documentation provided)
       */
      private $jobId;

      /**
       * Constructs a JobRequest from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getJobId() {
        return $this->jobId;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobId($jobId) {
        $this->jobId = $jobId;
      }
      /**
       * Returns the associative array for this JobRequest
       */
      public function toArray() {
        $a = array();
        if( $this->jobId ) {
          $a["jobId"] = $this->jobId;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JobRequest
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JobRequest from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['jobId']) ) {
          $this->jobId = $o["jobId"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class JobScheduleRequest  {
    
    
      /**
       * (no documentation provided)
       */
      private $inputFile;
      /**
       * (no documentation provided)
       */
      private $outputFile;
      /**
       * (no documentation provided)
       */
      private $cronJobTrigger;
      /**
       * (no documentation provided)
       */
      private $complexJobTrigger;
      /**
       * (no documentation provided)
       */
      private $simpleJobTrigger;
      /**
       * (no documentation provided)
       */
      private $jobParameters;
      /**
       * (no documentation provided)
       */
      private $jobName;
      /**
       * (no documentation provided)
       */
      private $actionClass;
      /**
       * (no documentation provided)
       */
      private $duration;
      /**
       * (no documentation provided)
       */
      private $timeZone;

      /**
       * Constructs a JobScheduleRequest from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getInputFile() {
        return $this->inputFile;
      }
      
      /**
       * (no documentation provided)
       */
      public function setInputFile($inputFile) {
        $this->inputFile = $inputFile;
      }
      /**
       * (no documentation provided)
       */
      public function getOutputFile() {
        return $this->outputFile;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOutputFile($outputFile) {
        $this->outputFile = $outputFile;
      }
      /**
       * (no documentation provided)
       */
      public function getCronJobTrigger() {
        return $this->cronJobTrigger;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCronJobTrigger($cronJobTrigger) {
        $this->cronJobTrigger = $cronJobTrigger;
      }
      /**
       * (no documentation provided)
       */
      public function getComplexJobTrigger() {
        return $this->complexJobTrigger;
      }
      
      /**
       * (no documentation provided)
       */
      public function setComplexJobTrigger($complexJobTrigger) {
        $this->complexJobTrigger = $complexJobTrigger;
      }
      /**
       * (no documentation provided)
       */
      public function getSimpleJobTrigger() {
        return $this->simpleJobTrigger;
      }
      
      /**
       * (no documentation provided)
       */
      public function setSimpleJobTrigger($simpleJobTrigger) {
        $this->simpleJobTrigger = $simpleJobTrigger;
      }
      /**
       * (no documentation provided)
       */
      public function getJobParameters() {
        return $this->jobParameters;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobParameters($jobParameters) {
        $this->jobParameters = $jobParameters;
      }
      /**
       * (no documentation provided)
       */
      public function getJobName() {
        return $this->jobName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setJobName($jobName) {
        $this->jobName = $jobName;
      }
      /**
       * (no documentation provided)
       */
      public function getActionClass() {
        return $this->actionClass;
      }
      
      /**
       * (no documentation provided)
       */
      public function setActionClass($actionClass) {
        $this->actionClass = $actionClass;
      }
      /**
       * (no documentation provided)
       */
      public function getDuration() {
        return $this->duration;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDuration($duration) {
        $this->duration = $duration;
      }
      /**
       * (no documentation provided)
       */
      public function getTimeZone() {
        return $this->timeZone;
      }
      
      /**
       * (no documentation provided)
       */
      public function setTimeZone($timeZone) {
        $this->timeZone = $timeZone;
      }
      /**
       * Returns the associative array for this JobScheduleRequest
       */
      public function toArray() {
        $a = array();
        if( $this->inputFile ) {
          $a["inputFile"] = $this->inputFile;
        }
        if( $this->outputFile ) {
          $a["outputFile"] = $this->outputFile;
        }
        if( $this->cronJobTrigger ) {
          $a["cronJobTrigger"] = $this->cronJobTrigger->toArray();
        }
        if( $this->complexJobTrigger ) {
          $a["complexJobTrigger"] = $this->complexJobTrigger->toArray();
        }
        if( $this->simpleJobTrigger ) {
          $a["simpleJobTrigger"] = $this->simpleJobTrigger->toArray();
        }
        if( $this->jobParameters ) {
          $ab = array();
          foreach( $this->jobParameters as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['jobParameters'] = $ab;
        }
        if( $this->jobName ) {
          $a["jobName"] = $this->jobName;
        }
        if( $this->actionClass ) {
          $a["actionClass"] = $this->actionClass;
        }
        if( $this->duration ) {
          $a["duration"] = $this->duration;
        }
        if( $this->timeZone ) {
          $a["timeZone"] = $this->timeZone;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JobScheduleRequest
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JobScheduleRequest from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['inputFile']) ) {
          $this->inputFile = $o["inputFile"];
        }
        if( isset($o['outputFile']) ) {
          $this->outputFile = $o["outputFile"];
        }
        if( isset($o['cronJobTrigger']) ) {
          $this->cronJobTrigger = new \Org\Pentaho\Platform\Api\Scheduler2\CronJobTrigger($o["cronJobTrigger"]);
        }
        if( isset($o['complexJobTrigger']) ) {
          $this->complexJobTrigger = new \Org\Pentaho\Platform\Web\Http\Api\Resources\ComplexJobTriggerProxy($o["complexJobTrigger"]);
        }
        if( isset($o['simpleJobTrigger']) ) {
          $this->simpleJobTrigger = new \Org\Pentaho\Platform\Api\Scheduler2\SimpleJobTrigger($o["simpleJobTrigger"]);
        }
        $this->jobParameters = array();
        if( isset($o['jobParameters']) ) {
          foreach( $o['jobParameters'] as $i => $x ) {
            $this->jobParameters[$i] = new \Org\Pentaho\Platform\Web\Http\Api\Resources\JobScheduleParam($x);
          }
        }
        if( isset($o['jobName']) ) {
          $this->jobName = $o["jobName"];
        }
        if( isset($o['actionClass']) ) {
          $this->actionClass = $o["actionClass"];
        }
        if( isset($o['duration']) ) {
          $this->duration = $o["duration"];
        }
        if( isset($o['timeZone']) ) {
          $this->timeZone = $o["timeZone"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class LogicalRoleAssignment  {
    
    
      /**
       * (no documentation provided)
       */
      private $roleName;
      /**
       * (no documentation provided)
       */
      private $logicalRoles;
      /**
       * (no documentation provided)
       */
      private $immutable;

      /**
       * Constructs a LogicalRoleAssignment from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRoleName() {
        return $this->roleName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRoleName($roleName) {
        $this->roleName = $roleName;
      }
      /**
       * (no documentation provided)
       */
      public function getLogicalRoles() {
        return $this->logicalRoles;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLogicalRoles($logicalRoles) {
        $this->logicalRoles = $logicalRoles;
      }
      /**
       * (no documentation provided)
       */
      public function getImmutable() {
        return $this->immutable;
      }
      
      /**
       * (no documentation provided)
       */
      public function setImmutable($immutable) {
        $this->immutable = $immutable;
      }
      /**
       * Returns the associative array for this LogicalRoleAssignment
       */
      public function toArray() {
        $a = array();
        if( $this->roleName ) {
          $a["roleName"] = $this->roleName;
        }
        if( $this->logicalRoles ) {
          $ab = array();
          foreach( $this->logicalRoles as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['logicalRoles'] = $ab;
        }
        if( $this->immutable ) {
          $a["immutable"] = $this->immutable;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this LogicalRoleAssignment
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this LogicalRoleAssignment from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['roleName']) ) {
          $this->roleName = $o["roleName"];
        }
        $this->logicalRoles = array();
        if( isset($o['logicalRoles']) ) {
          foreach( $o['logicalRoles'] as $i => $x ) {
            $this->logicalRoles[$i] = $x;
          }
        }
        if( isset($o['immutable']) ) {
          $this->immutable = $o["immutable"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class Overlay  {
    
    
      /**
       * (no documentation provided)
       */
      private $resourceBundleUri;
      /**
       * (no documentation provided)
       */
      private $source;
      /**
       * (no documentation provided)
       */
      private $overlayXml;
      /**
       * (no documentation provided)
       */
      private $overlayUri;
      /**
       * (no documentation provided)
       */
      private $id;
      /**
       * (no documentation provided)
       */
      private $priority;

      /**
       * Constructs a Overlay from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getResourceBundleUri() {
        return $this->resourceBundleUri;
      }
      
      /**
       * (no documentation provided)
       */
      public function setResourceBundleUri($resourceBundleUri) {
        $this->resourceBundleUri = $resourceBundleUri;
      }
      /**
       * (no documentation provided)
       */
      public function getSource() {
        return $this->source;
      }
      
      /**
       * (no documentation provided)
       */
      public function setSource($source) {
        $this->source = $source;
      }
      /**
       * (no documentation provided)
       */
      public function getOverlayXml() {
        return $this->overlayXml;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOverlayXml($overlayXml) {
        $this->overlayXml = $overlayXml;
      }
      /**
       * (no documentation provided)
       */
      public function getOverlayUri() {
        return $this->overlayUri;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOverlayUri($overlayUri) {
        $this->overlayUri = $overlayUri;
      }
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * (no documentation provided)
       */
      public function getPriority() {
        return $this->priority;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPriority($priority) {
        $this->priority = $priority;
      }
      /**
       * Returns the associative array for this Overlay
       */
      public function toArray() {
        $a = array();
        if( $this->resourceBundleUri ) {
          $a["resourceBundleUri"] = $this->resourceBundleUri;
        }
        if( $this->source ) {
          $a["source"] = $this->source;
        }
        if( $this->overlayXml ) {
          $a["overlayXml"] = $this->overlayXml;
        }
        if( $this->overlayUri ) {
          $a["overlayUri"] = $this->overlayUri;
        }
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        if( $this->priority ) {
          $a["priority"] = $this->priority;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this Overlay
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this Overlay from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['resourceBundleUri']) ) {
          $this->resourceBundleUri = $o["resourceBundleUri"];
        }
        if( isset($o['source']) ) {
          $this->source = $o["source"];
        }
        if( isset($o['overlayXml']) ) {
          $this->overlayXml = $o["overlayXml"];
        }
        if( isset($o['overlayUri']) ) {
          $this->overlayUri = $o["overlayUri"];
        }
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
        if( isset($o['priority']) ) {
          $this->priority = $o["priority"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class RoleListWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $roles;

      /**
       * Constructs a RoleListWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRoles() {
        return $this->roles;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRoles($roles) {
        $this->roles = $roles;
      }
      /**
       * Returns the associative array for this RoleListWrapper
       */
      public function toArray() {
        $a = array();
        if( $this->roles ) {
          $ab = array();
          foreach( $this->roles as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['roles'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this RoleListWrapper
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this RoleListWrapper from an associative array
       */
      public function initFromArray($o) {
        $this->roles = array();
        if( isset($o['roles']) ) {
          foreach( $o['roles'] as $i => $x ) {
            $this->roles[$i] = $x;
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class StringListWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $strings;

      /**
       * Constructs a StringListWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getStrings() {
        return $this->strings;
      }
      
      /**
       * (no documentation provided)
       */
      public function setStrings($strings) {
        $this->strings = $strings;
      }
      /**
       * Returns the associative array for this StringListWrapper
       */
      public function toArray() {
        $a = array();
        if( $this->strings ) {
          $ab = array();
          foreach( $this->strings as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['strings'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this StringListWrapper
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this StringListWrapper from an associative array
       */
      public function initFromArray($o) {
        $this->strings = array();
        if( isset($o['strings']) ) {
          foreach( $o['strings'] as $i => $x ) {
            $this->strings[$i] = $x;
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class Theme  {
    
    
      /**
       * (no documentation provided)
       */
      private $id;
      /**
       * (no documentation provided)
       */
      private $name;

      /**
       * Constructs a Theme from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * Returns the associative array for this Theme
       */
      public function toArray() {
        $a = array();
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this Theme
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this Theme from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class User  {
    
    
      /**
       * (no documentation provided)
       */
      private $userName;
      /**
       * (no documentation provided)
       */
      private $password;

      /**
       * Constructs a User from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getUserName() {
        return $this->userName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUserName($userName) {
        $this->userName = $userName;
      }
      /**
       * (no documentation provided)
       */
      public function getPassword() {
        return $this->password;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPassword($password) {
        $this->password = $password;
      }
      /**
       * Returns the associative array for this User
       */
      public function toArray() {
        $a = array();
        if( $this->userName ) {
          $a["userName"] = $this->userName;
        }
        if( $this->password ) {
          $a["password"] = $this->password;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this User
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this User from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['userName']) ) {
          $this->userName = $o["userName"];
        }
        if( isset($o['password']) ) {
          $this->password = $o["password"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class UserListWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $users;

      /**
       * Constructs a UserListWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getUsers() {
        return $this->users;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUsers($users) {
        $this->users = $users;
      }
      /**
       * Returns the associative array for this UserListWrapper
       */
      public function toArray() {
        $a = array();
        if( $this->users ) {
          $ab = array();
          foreach( $this->users as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['users'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this UserListWrapper
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this UserListWrapper from an associative array
       */
      public function initFromArray($o) {
        $this->users = array();
        if( isset($o['users']) ) {
          foreach( $o['users'] as $i => $x ) {
            $this->users[$i] = $x;
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class TimeZoneWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $timeZones;
      /**
       * (no documentation provided)
       */
      private $serverTzId;

      /**
       * Constructs a TimeZoneWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getTimeZones() {
        return $this->timeZones;
      }
      
      /**
       * (no documentation provided)
       */
      public function setTimeZones($timeZones) {
        $this->timeZones = $timeZones;
      }
      /**
       * (no documentation provided)
       */
      public function getServerTzId() {
        return $this->serverTzId;
      }
      
      /**
       * (no documentation provided)
       */
      public function setServerTzId($serverTzId) {
        $this->serverTzId = $serverTzId;
      }
      /**
       * Returns the associative array for this TimeZoneWrapper
       */
      public function toArray() {
        $a = array();
        if( $this->timeZones ) {
          $a["timeZones"] = $this->timeZones;
        }
        if( $this->serverTzId ) {
          $a["serverTzId"] = $this->serverTzId;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this TimeZoneWrapper
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this TimeZoneWrapper from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['timeZones']) ) {
          $this->timeZones = $o["timeZones"];
        }
        if( isset($o['serverTzId']) ) {
          $this->serverTzId = $o["serverTzId"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class Setting  {
    
    
      /**
       * (no documentation provided)
       */
      private $name;
      /**
       * (no documentation provided)
       */
      private $value;

      /**
       * Constructs a Setting from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * (no documentation provided)
       */
      public function getValue() {
        return $this->value;
      }
      
      /**
       * (no documentation provided)
       */
      public function setValue($value) {
        $this->value = $value;
      }
      /**
       * Returns the associative array for this Setting
       */
      public function toArray() {
        $a = array();
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        if( $this->value ) {
          $a["value"] = $this->value;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this Setting
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this Setting from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
        if( isset($o['value']) ) {
          $this->value = $o["value"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class PluginPerspective  {
    
    
      /**
       * (no documentation provided)
       */
      private $id;
      /**
       * (no documentation provided)
       */
      private $title;
      /**
       * (no documentation provided)
       */
      private $contentUrl;
      /**
       * (no documentation provided)
       */
      private $resourceBundleUri;
      /**
       * (no documentation provided)
       */
      private $overlays;
      /**
       * (no documentation provided)
       */
      private $layoutPriority;
      /**
       * (no documentation provided)
       */
      private $requiredSecurityActions;

      /**
       * Constructs a PluginPerspective from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * (no documentation provided)
       */
      public function getTitle() {
        return $this->title;
      }
      
      /**
       * (no documentation provided)
       */
      public function setTitle($title) {
        $this->title = $title;
      }
      /**
       * (no documentation provided)
       */
      public function getContentUrl() {
        return $this->contentUrl;
      }
      
      /**
       * (no documentation provided)
       */
      public function setContentUrl($contentUrl) {
        $this->contentUrl = $contentUrl;
      }
      /**
       * (no documentation provided)
       */
      public function getResourceBundleUri() {
        return $this->resourceBundleUri;
      }
      
      /**
       * (no documentation provided)
       */
      public function setResourceBundleUri($resourceBundleUri) {
        $this->resourceBundleUri = $resourceBundleUri;
      }
      /**
       * (no documentation provided)
       */
      public function getOverlays() {
        return $this->overlays;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOverlays($overlays) {
        $this->overlays = $overlays;
      }
      /**
       * (no documentation provided)
       */
      public function getLayoutPriority() {
        return $this->layoutPriority;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLayoutPriority($layoutPriority) {
        $this->layoutPriority = $layoutPriority;
      }
      /**
       * (no documentation provided)
       */
      public function getRequiredSecurityActions() {
        return $this->requiredSecurityActions;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRequiredSecurityActions($requiredSecurityActions) {
        $this->requiredSecurityActions = $requiredSecurityActions;
      }
      /**
       * Returns the associative array for this PluginPerspective
       */
      public function toArray() {
        $a = array();
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        if( $this->title ) {
          $a["title"] = $this->title;
        }
        if( $this->contentUrl ) {
          $a["contentUrl"] = $this->contentUrl;
        }
        if( $this->resourceBundleUri ) {
          $a["resourceBundleUri"] = $this->resourceBundleUri;
        }
        if( $this->overlays ) {
          $ab = array();
          foreach( $this->overlays as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['overlays'] = $ab;
        }
        if( $this->layoutPriority ) {
          $a["layoutPriority"] = $this->layoutPriority;
        }
        if( $this->requiredSecurityActions ) {
          $ab = array();
          foreach( $this->requiredSecurityActions as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['requiredSecurityActions'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this PluginPerspective
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this PluginPerspective from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
        if( isset($o['title']) ) {
          $this->title = $o["title"];
        }
        if( isset($o['contentUrl']) ) {
          $this->contentUrl = $o["contentUrl"];
        }
        if( isset($o['resourceBundleUri']) ) {
          $this->resourceBundleUri = $o["resourceBundleUri"];
        }
        $this->overlays = array();
        if( isset($o['overlays']) ) {
          foreach( $o['overlays'] as $i => $x ) {
            $this->overlays[$i] = new \Org\Pentaho\Platform\Web\Http\Api\Resources\Overlay($x);
          }
        }
        if( isset($o['layoutPriority']) ) {
          $this->layoutPriority = $o["layoutPriority"];
        }
        $this->requiredSecurityActions = array();
        if( isset($o['requiredSecurityActions']) ) {
          foreach( $o['requiredSecurityActions'] as $i => $x ) {
            $this->requiredSecurityActions[$i] = $x;
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class LogicalRoleAssignments  {
    
    
      /**
       * (no documentation provided)
       */
      private $assignments;

      /**
       * Constructs a LogicalRoleAssignments from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getAssignments() {
        return $this->assignments;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAssignments($assignments) {
        $this->assignments = $assignments;
      }
      /**
       * Returns the associative array for this LogicalRoleAssignments
       */
      public function toArray() {
        $a = array();
        if( $this->assignments ) {
          $ab = array();
          foreach( $this->assignments as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['assignments'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this LogicalRoleAssignments
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this LogicalRoleAssignments from an associative array
       */
      public function initFromArray($o) {
        $this->assignments = array();
        if( isset($o['assignments']) ) {
          foreach( $o['assignments'] as $i => $x ) {
            $this->assignments[$i] = new \Org\Pentaho\Platform\Web\Http\Api\Resources\LogicalRoleAssignment($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class LocalizedLogicalRoleName  {
    
    
      /**
       * (no documentation provided)
       */
      private $roleName;
      /**
       * (no documentation provided)
       */
      private $localizedName;

      /**
       * Constructs a LocalizedLogicalRoleName from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRoleName() {
        return $this->roleName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRoleName($roleName) {
        $this->roleName = $roleName;
      }
      /**
       * (no documentation provided)
       */
      public function getLocalizedName() {
        return $this->localizedName;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLocalizedName($localizedName) {
        $this->localizedName = $localizedName;
      }
      /**
       * Returns the associative array for this LocalizedLogicalRoleName
       */
      public function toArray() {
        $a = array();
        if( $this->roleName ) {
          $a["roleName"] = $this->roleName;
        }
        if( $this->localizedName ) {
          $a["localizedName"] = $this->localizedName;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this LocalizedLogicalRoleName
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this LocalizedLogicalRoleName from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['roleName']) ) {
          $this->roleName = $o["roleName"];
        }
        if( isset($o['localizedName']) ) {
          $this->localizedName = $o["localizedName"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class JobScheduleParam  {
    
    
      /**
       * (no documentation provided)
       */
      private $name;
      /**
       * (no documentation provided)
       */
      private $type;
      /**
       * (no documentation provided)
       */
      private $stringValue;

      /**
       * Constructs a JobScheduleParam from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * (no documentation provided)
       */
      public function getType() {
        return $this->type;
      }
      
      /**
       * (no documentation provided)
       */
      public function setType($type) {
        $this->type = $type;
      }
      /**
       * (no documentation provided)
       */
      public function getStringValue() {
        return $this->stringValue;
      }
      
      /**
       * (no documentation provided)
       */
      public function setStringValue($stringValue) {
        $this->stringValue = $stringValue;
      }
      /**
       * Returns the associative array for this JobScheduleParam
       */
      public function toArray() {
        $a = array();
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        if( $this->type ) {
          $a["type"] = $this->type;
        }
        if( $this->stringValue ) {
          $ab = array();
          foreach( $this->stringValue as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['stringValue'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JobScheduleParam
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JobScheduleParam from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
        if( isset($o['type']) ) {
          $this->type = $o["type"];
        }
        $this->stringValue = array();
        if( isset($o['stringValue']) ) {
          foreach( $o['stringValue'] as $i => $x ) {
            $this->stringValue[$i] = $x;
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class JaxbList  {
    
    
      /**
       * (no documentation provided)
       */
      private $list;

      /**
       * Constructs a JaxbList from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getList() {
        return $this->list;
      }
      
      /**
       * (no documentation provided)
       */
      public function setList($list) {
        $this->list = $list;
      }
      /**
       * Returns the associative array for this JaxbList
       */
      public function toArray() {
        $a = array();
        if( $this->list ) {
          $ab = array();
          foreach( $this->list as $i => $x ) {
            $ab[$i] = (array) $x;
          }
          $a['Item'] = $ab;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this JaxbList
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this JaxbList from an associative array
       */
      public function initFromArray($o) {
        $this->list = array();
        if( isset($o['Item']) ) {
          foreach( $o['Item'] as $i => $x ) {
            $this->list[$i] = (object) $x;
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class ComplexJobTriggerProxy  {
    
    
      /**
       * (no documentation provided)
       */
      private $startTime;
      /**
       * (no documentation provided)
       */
      private $endTime;
      /**
       * (no documentation provided)
       */
      private $daysOfWeek;
      /**
       * (no documentation provided)
       */
      private $daysOfMonth;
      /**
       * (no documentation provided)
       */
      private $weeksOfMonth;
      /**
       * (no documentation provided)
       */
      private $monthsOfYear;
      /**
       * (no documentation provided)
       */
      private $years;
      /**
       * (no documentation provided)
       */
      private $uiPassParam;
      /**
       * (no documentation provided)
       */
      private $cronString;

      /**
       * Constructs a ComplexJobTriggerProxy from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getStartTime() {
        return $this->startTime;
      }
      
      /**
       * (no documentation provided)
       */
      public function setStartTime($startTime) {
        $this->startTime = $startTime;
      }
      /**
       * (no documentation provided)
       */
      public function getEndTime() {
        return $this->endTime;
      }
      
      /**
       * (no documentation provided)
       */
      public function setEndTime($endTime) {
        $this->endTime = $endTime;
      }
      /**
       * (no documentation provided)
       */
      public function getDaysOfWeek() {
        return $this->daysOfWeek;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDaysOfWeek($daysOfWeek) {
        $this->daysOfWeek = $daysOfWeek;
      }
      /**
       * (no documentation provided)
       */
      public function getDaysOfMonth() {
        return $this->daysOfMonth;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDaysOfMonth($daysOfMonth) {
        $this->daysOfMonth = $daysOfMonth;
      }
      /**
       * (no documentation provided)
       */
      public function getWeeksOfMonth() {
        return $this->weeksOfMonth;
      }
      
      /**
       * (no documentation provided)
       */
      public function setWeeksOfMonth($weeksOfMonth) {
        $this->weeksOfMonth = $weeksOfMonth;
      }
      /**
       * (no documentation provided)
       */
      public function getMonthsOfYear() {
        return $this->monthsOfYear;
      }
      
      /**
       * (no documentation provided)
       */
      public function setMonthsOfYear($monthsOfYear) {
        $this->monthsOfYear = $monthsOfYear;
      }
      /**
       * (no documentation provided)
       */
      public function getYears() {
        return $this->years;
      }
      
      /**
       * (no documentation provided)
       */
      public function setYears($years) {
        $this->years = $years;
      }
      /**
       * (no documentation provided)
       */
      public function getUiPassParam() {
        return $this->uiPassParam;
      }
      
      /**
       * (no documentation provided)
       */
      public function setUiPassParam($uiPassParam) {
        $this->uiPassParam = $uiPassParam;
      }
      /**
       * (no documentation provided)
       */
      public function getCronString() {
        return $this->cronString;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCronString($cronString) {
        $this->cronString = $cronString;
      }
      /**
       * Returns the associative array for this ComplexJobTriggerProxy
       */
      public function toArray() {
        $a = array();
        if( $this->startTime ) {
          $a["startTime"] = $this->startTime;
        }
        if( $this->endTime ) {
          $a["endTime"] = $this->endTime;
        }
        if( $this->daysOfWeek ) {
          $ab = array();
          foreach( $this->daysOfWeek as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['daysOfWeek'] = $ab;
        }
        if( $this->daysOfMonth ) {
          $ab = array();
          foreach( $this->daysOfMonth as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['daysOfMonth'] = $ab;
        }
        if( $this->weeksOfMonth ) {
          $ab = array();
          foreach( $this->weeksOfMonth as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['weeksOfMonth'] = $ab;
        }
        if( $this->monthsOfYear ) {
          $ab = array();
          foreach( $this->monthsOfYear as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['monthsOfYear'] = $ab;
        }
        if( $this->years ) {
          $ab = array();
          foreach( $this->years as $i => $x ) {
            $ab[$i] = $x;
          }
          $a['years'] = $ab;
        }
        if( $this->uiPassParam ) {
          $a["uiPassParam"] = $this->uiPassParam;
        }
        if( $this->cronString ) {
          $a["cronString"] = $this->cronString;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this ComplexJobTriggerProxy
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this ComplexJobTriggerProxy from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['startTime']) ) {
          $this->startTime = $o["startTime"];
        }
        if( isset($o['endTime']) ) {
          $this->endTime = $o["endTime"];
        }
        $this->daysOfWeek = array();
        if( isset($o['daysOfWeek']) ) {
          foreach( $o['daysOfWeek'] as $i => $x ) {
            $this->daysOfWeek[$i] = $x;
          }
        }
        $this->daysOfMonth = array();
        if( isset($o['daysOfMonth']) ) {
          foreach( $o['daysOfMonth'] as $i => $x ) {
            $this->daysOfMonth[$i] = $x;
          }
        }
        $this->weeksOfMonth = array();
        if( isset($o['weeksOfMonth']) ) {
          foreach( $o['weeksOfMonth'] as $i => $x ) {
            $this->weeksOfMonth[$i] = $x;
          }
        }
        $this->monthsOfYear = array();
        if( isset($o['monthsOfYear']) ) {
          foreach( $o['monthsOfYear'] as $i => $x ) {
            $this->monthsOfYear[$i] = $x;
          }
        }
        $this->years = array();
        if( isset($o['years']) ) {
          foreach( $o['years'] as $i => $x ) {
            $this->years[$i] = $x;
          }
        }
        if( isset($o['uiPassParam']) ) {
          $this->uiPassParam = $o["uiPassParam"];
        }
        if( isset($o['cronString']) ) {
          $this->cronString = $o["cronString"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Repository2\Unified\Webservices {

    /**
     * 
     */
    class StringKeyStringValueDto  {
    
    
      /**
       * (no documentation provided)
       */
      private $key;
      /**
       * (no documentation provided)
       */
      private $value;

      /**
       * Constructs a StringKeyStringValueDto from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getKey() {
        return $this->key;
      }
      
      /**
       * (no documentation provided)
       */
      public function setKey($key) {
        $this->key = $key;
      }
      /**
       * (no documentation provided)
       */
      public function getValue() {
        return $this->value;
      }
      
      /**
       * (no documentation provided)
       */
      public function setValue($value) {
        $this->value = $value;
      }
      /**
       * Returns the associative array for this StringKeyStringValueDto
       */
      public function toArray() {
        $a = array();
        if( $this->key ) {
          $a["key"] = $this->key;
        }
        if( $this->value ) {
          $a["value"] = $this->value;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this StringKeyStringValueDto
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this StringKeyStringValueDto from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['key']) ) {
          $this->key = $o["key"];
        }
        if( isset($o['value']) ) {
          $this->value = $o["value"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Repository2\Unified\Webservices {

    /**
     * 
     */
    class RepositoryFileDto  {
    
    
      /**
       * (no documentation provided)
       */
      private $owner;
      /**
       * (no documentation provided)
       */
      private $locked;
      /**
       * (no documentation provided)
       */
      private $fileSize;
      /**
       * (no documentation provided)
       */
      private $name;
      /**
       * (no documentation provided)
       */
      private $path;
      /**
       * (no documentation provided)
       */
      private $ownerType;
      /**
       * (no documentation provided)
       */
      private $lastModifiedDate;
      /**
       * (no documentation provided)
       */
      private $localePropertiesMapEntries;
      /**
       * (no documentation provided)
       */
      private $title;
      /**
       * (no documentation provided)
       */
      private $ownerTenantPath;
      /**
       * (no documentation provided)
       */
      private $folder;
      /**
       * (no documentation provided)
       */
      private $createdDate;
      /**
       * (no documentation provided)
       */
      private $aclNode;
      /**
       * (no documentation provided)
       */
      private $description;
      /**
       * (no documentation provided)
       */
      private $versioned;
      /**
       * (no documentation provided)
       */
      private $hidden;
      /**
       * (no documentation provided)
       */
      private $locale;
      /**
       * (no documentation provided)
       */
      private $lockDate;
      /**
       * (no documentation provided)
       */
      private $creatorId;
      /**
       * (no documentation provided)
       */
      private $repositoryFileAclDto;
      /**
       * (no documentation provided)
       */
      private $lockOwner;
      /**
       * (no documentation provided)
       */
      private $originalParentFolderPath;
      /**
       * (no documentation provided)
       */
      private $versionId;
      /**
       * (no documentation provided)
       */
      private $lockMessage;
      /**
       * (no documentation provided)
       */
      private $deletedDate;
      /**
       * (no documentation provided)
       */
      private $id;

      /**
       * Constructs a RepositoryFileDto from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getOwner() {
        return $this->owner;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOwner($owner) {
        $this->owner = $owner;
      }
      /**
       * (no documentation provided)
       */
      public function getLocked() {
        return $this->locked;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLocked($locked) {
        $this->locked = $locked;
      }
      /**
       * (no documentation provided)
       */
      public function getFileSize() {
        return $this->fileSize;
      }
      
      /**
       * (no documentation provided)
       */
      public function setFileSize($fileSize) {
        $this->fileSize = $fileSize;
      }
      /**
       * (no documentation provided)
       */
      public function getName() {
        return $this->name;
      }
      
      /**
       * (no documentation provided)
       */
      public function setName($name) {
        $this->name = $name;
      }
      /**
       * (no documentation provided)
       */
      public function getPath() {
        return $this->path;
      }
      
      /**
       * (no documentation provided)
       */
      public function setPath($path) {
        $this->path = $path;
      }
      /**
       * (no documentation provided)
       */
      public function getOwnerType() {
        return $this->ownerType;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOwnerType($ownerType) {
        $this->ownerType = $ownerType;
      }
      /**
       * (no documentation provided)
       */
      public function getLastModifiedDate() {
        return $this->lastModifiedDate;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLastModifiedDate($lastModifiedDate) {
        $this->lastModifiedDate = $lastModifiedDate;
      }
      /**
       * (no documentation provided)
       */
      public function getLocalePropertiesMapEntries() {
        return $this->localePropertiesMapEntries;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLocalePropertiesMapEntries($localePropertiesMapEntries) {
        $this->localePropertiesMapEntries = $localePropertiesMapEntries;
      }
      /**
       * (no documentation provided)
       */
      public function getTitle() {
        return $this->title;
      }
      
      /**
       * (no documentation provided)
       */
      public function setTitle($title) {
        $this->title = $title;
      }
      /**
       * (no documentation provided)
       */
      public function getOwnerTenantPath() {
        return $this->ownerTenantPath;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOwnerTenantPath($ownerTenantPath) {
        $this->ownerTenantPath = $ownerTenantPath;
      }
      /**
       * (no documentation provided)
       */
      public function getFolder() {
        return $this->folder;
      }
      
      /**
       * (no documentation provided)
       */
      public function setFolder($folder) {
        $this->folder = $folder;
      }
      /**
       * (no documentation provided)
       */
      public function getCreatedDate() {
        return $this->createdDate;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCreatedDate($createdDate) {
        $this->createdDate = $createdDate;
      }
      /**
       * (no documentation provided)
       */
      public function getAclNode() {
        return $this->aclNode;
      }
      
      /**
       * (no documentation provided)
       */
      public function setAclNode($aclNode) {
        $this->aclNode = $aclNode;
      }
      /**
       * (no documentation provided)
       */
      public function getDescription() {
        return $this->description;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDescription($description) {
        $this->description = $description;
      }
      /**
       * (no documentation provided)
       */
      public function getVersioned() {
        return $this->versioned;
      }
      
      /**
       * (no documentation provided)
       */
      public function setVersioned($versioned) {
        $this->versioned = $versioned;
      }
      /**
       * (no documentation provided)
       */
      public function getHidden() {
        return $this->hidden;
      }
      
      /**
       * (no documentation provided)
       */
      public function setHidden($hidden) {
        $this->hidden = $hidden;
      }
      /**
       * (no documentation provided)
       */
      public function getLocale() {
        return $this->locale;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLocale($locale) {
        $this->locale = $locale;
      }
      /**
       * (no documentation provided)
       */
      public function getLockDate() {
        return $this->lockDate;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLockDate($lockDate) {
        $this->lockDate = $lockDate;
      }
      /**
       * (no documentation provided)
       */
      public function getCreatorId() {
        return $this->creatorId;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCreatorId($creatorId) {
        $this->creatorId = $creatorId;
      }
      /**
       * (no documentation provided)
       */
      public function getRepositoryFileAclDto() {
        return $this->repositoryFileAclDto;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRepositoryFileAclDto($repositoryFileAclDto) {
        $this->repositoryFileAclDto = $repositoryFileAclDto;
      }
      /**
       * (no documentation provided)
       */
      public function getLockOwner() {
        return $this->lockOwner;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLockOwner($lockOwner) {
        $this->lockOwner = $lockOwner;
      }
      /**
       * (no documentation provided)
       */
      public function getOriginalParentFolderPath() {
        return $this->originalParentFolderPath;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOriginalParentFolderPath($originalParentFolderPath) {
        $this->originalParentFolderPath = $originalParentFolderPath;
      }
      /**
       * (no documentation provided)
       */
      public function getVersionId() {
        return $this->versionId;
      }
      
      /**
       * (no documentation provided)
       */
      public function setVersionId($versionId) {
        $this->versionId = $versionId;
      }
      /**
       * (no documentation provided)
       */
      public function getLockMessage() {
        return $this->lockMessage;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLockMessage($lockMessage) {
        $this->lockMessage = $lockMessage;
      }
      /**
       * (no documentation provided)
       */
      public function getDeletedDate() {
        return $this->deletedDate;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDeletedDate($deletedDate) {
        $this->deletedDate = $deletedDate;
      }
      /**
       * (no documentation provided)
       */
      public function getId() {
        return $this->id;
      }
      
      /**
       * (no documentation provided)
       */
      public function setId($id) {
        $this->id = $id;
      }
      /**
       * Returns the associative array for this RepositoryFileDto
       */
      public function toArray() {
        $a = array();
        if( $this->owner ) {
          $a["owner"] = $this->owner;
        }
        if( $this->locked ) {
          $a["locked"] = $this->locked;
        }
        if( $this->fileSize ) {
          $a["fileSize"] = $this->fileSize;
        }
        if( $this->name ) {
          $a["name"] = $this->name;
        }
        if( $this->path ) {
          $a["path"] = $this->path;
        }
        if( $this->ownerType ) {
          $a["ownerType"] = $this->ownerType;
        }
        if( $this->lastModifiedDate ) {
          $a["lastModifiedDate"] = $this->lastModifiedDate;
        }
        if( $this->localePropertiesMapEntries ) {
          $ab = array();
          foreach( $this->localePropertiesMapEntries as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['localePropertiesMapEntries'] = $ab;
        }
        if( $this->title ) {
          $a["title"] = $this->title;
        }
        if( $this->ownerTenantPath ) {
          $a["ownerTenantPath"] = $this->ownerTenantPath;
        }
        if( $this->folder ) {
          $a["folder"] = $this->folder;
        }
        if( $this->createdDate ) {
          $a["createdDate"] = $this->createdDate;
        }
        if( $this->aclNode ) {
          $a["aclNode"] = $this->aclNode;
        }
        if( $this->description ) {
          $a["description"] = $this->description;
        }
        if( $this->versioned ) {
          $a["versioned"] = $this->versioned;
        }
        if( $this->hidden ) {
          $a["hidden"] = $this->hidden;
        }
        if( $this->locale ) {
          $a["locale"] = $this->locale;
        }
        if( $this->lockDate ) {
          $a["lockDate"] = $this->lockDate;
        }
        if( $this->creatorId ) {
          $a["creatorId"] = $this->creatorId;
        }
        if( $this->repositoryFileAclDto ) {
          $a["repositoryFileAclDto"] = $this->repositoryFileAclDto->toArray();
        }
        if( $this->lockOwner ) {
          $a["lockOwner"] = $this->lockOwner;
        }
        if( $this->originalParentFolderPath ) {
          $a["originalParentFolderPath"] = $this->originalParentFolderPath;
        }
        if( $this->versionId ) {
          $a["versionId"] = $this->versionId;
        }
        if( $this->lockMessage ) {
          $a["lockMessage"] = $this->lockMessage;
        }
        if( $this->deletedDate ) {
          $a["deletedDate"] = $this->deletedDate;
        }
        if( $this->id ) {
          $a["id"] = $this->id;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this RepositoryFileDto
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this RepositoryFileDto from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['owner']) ) {
          $this->owner = $o["owner"];
        }
        if( isset($o['locked']) ) {
          $this->locked = $o["locked"];
        }
        if( isset($o['fileSize']) ) {
          $this->fileSize = $o["fileSize"];
        }
        if( isset($o['name']) ) {
          $this->name = $o["name"];
        }
        if( isset($o['path']) ) {
          $this->path = $o["path"];
        }
        if( isset($o['ownerType']) ) {
          $this->ownerType = $o["ownerType"];
        }
        if( isset($o['lastModifiedDate']) ) {
          $this->lastModifiedDate = $o["lastModifiedDate"];
        }
        $this->localePropertiesMapEntries = array();
        if( isset($o['localePropertiesMapEntries']) ) {
          foreach( $o['localePropertiesMapEntries'] as $i => $x ) {
            $this->localePropertiesMapEntries[$i] = new \Org\Pentaho\Platform\Repository2\Unified\Webservices\LocaleMapDto($x);
          }
        }
        if( isset($o['title']) ) {
          $this->title = $o["title"];
        }
        if( isset($o['ownerTenantPath']) ) {
          $this->ownerTenantPath = $o["ownerTenantPath"];
        }
        if( isset($o['folder']) ) {
          $this->folder = $o["folder"];
        }
        if( isset($o['createdDate']) ) {
          $this->createdDate = $o["createdDate"];
        }
        if( isset($o['aclNode']) ) {
          $this->aclNode = $o["aclNode"];
        }
        if( isset($o['description']) ) {
          $this->description = $o["description"];
        }
        if( isset($o['versioned']) ) {
          $this->versioned = $o["versioned"];
        }
        if( isset($o['hidden']) ) {
          $this->hidden = $o["hidden"];
        }
        if( isset($o['locale']) ) {
          $this->locale = $o["locale"];
        }
        if( isset($o['lockDate']) ) {
          $this->lockDate = $o["lockDate"];
        }
        if( isset($o['creatorId']) ) {
          $this->creatorId = $o["creatorId"];
        }
        if( isset($o['repositoryFileAclDto']) ) {
          $this->repositoryFileAclDto = new \Org\Pentaho\Platform\Repository2\Unified\Webservices\RepositoryFileAclDto($o["repositoryFileAclDto"]);
        }
        if( isset($o['lockOwner']) ) {
          $this->lockOwner = $o["lockOwner"];
        }
        if( isset($o['originalParentFolderPath']) ) {
          $this->originalParentFolderPath = $o["originalParentFolderPath"];
        }
        if( isset($o['versionId']) ) {
          $this->versionId = $o["versionId"];
        }
        if( isset($o['lockMessage']) ) {
          $this->lockMessage = $o["lockMessage"];
        }
        if( isset($o['deletedDate']) ) {
          $this->deletedDate = $o["deletedDate"];
        }
        if( isset($o['id']) ) {
          $this->id = $o["id"];
        }
      }
    
    }
    
  }


  namespace Com\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * This is a generic object to transfer license information to the GUI
     */
    class PentahoTLSup  {
    
    
      /**
       * (no documentation provided)
       */
      private $subject;
      /**
       * (no documentation provided)
       */
      private $notBefore;
      /**
       * (no documentation provided)
       */
      private $notAfter;
      /**
       * (no documentation provided)
       */
      private $outOfBounds;
      /**
       * (no documentation provided)
       */
      private $versionPattern;
      /**
       * (no documentation provided)
       */
      private $code;
      /**
       * (no documentation provided)
       */
      private $licenseFormat;

      /**
       * Constructs a PentahoTLSup from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getSubject() {
        return $this->subject;
      }
      
      /**
       * (no documentation provided)
       */
      public function setSubject($subject) {
        $this->subject = $subject;
      }
      /**
       * (no documentation provided)
       */
      public function getNotBefore() {
        return $this->notBefore;
      }
      
      /**
       * (no documentation provided)
       */
      public function setNotBefore($notBefore) {
        $this->notBefore = $notBefore;
      }
      /**
       * (no documentation provided)
       */
      public function getNotAfter() {
        return $this->notAfter;
      }
      
      /**
       * (no documentation provided)
       */
      public function setNotAfter($notAfter) {
        $this->notAfter = $notAfter;
      }
      /**
       * (no documentation provided)
       */
      public function getOutOfBounds() {
        return $this->outOfBounds;
      }
      
      /**
       * (no documentation provided)
       */
      public function setOutOfBounds($outOfBounds) {
        $this->outOfBounds = $outOfBounds;
      }
      /**
       * (no documentation provided)
       */
      public function getVersionPattern() {
        return $this->versionPattern;
      }
      
      /**
       * (no documentation provided)
       */
      public function setVersionPattern($versionPattern) {
        $this->versionPattern = $versionPattern;
      }
      /**
       * (no documentation provided)
       */
      public function getCode() {
        return $this->code;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCode($code) {
        $this->code = $code;
      }
      /**
       * (no documentation provided)
       */
      public function getLicenseFormat() {
        return $this->licenseFormat;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLicenseFormat($licenseFormat) {
        $this->licenseFormat = $licenseFormat;
      }
      /**
       * Returns the associative array for this PentahoTLSup
       */
      public function toArray() {
        $a = array();
        if( $this->subject ) {
          $a["subject"] = $this->subject;
        }
        if( $this->notBefore ) {
          $a["notBefore"] = $this->notBefore;
        }
        if( $this->notAfter ) {
          $a["notAfter"] = $this->notAfter;
        }
        if( $this->outOfBounds ) {
          $a["outofbounds"] = $this->outOfBounds;
        }
        if( $this->versionPattern ) {
          $a["pattern"] = $this->versionPattern;
        }
        if( $this->code ) {
          $a["code"] = $this->code;
        }
        if( $this->licenseFormat ) {
          $a["format"] = $this->licenseFormat;
        }
        return $a;
      }
      
      /**
       * Returns the JSON string for this PentahoTLSup
       */
      public function toJson() {
        return json_encode($this->toArray());
      }

      /**
       * Initializes this PentahoTLSup from an associative array
       */
      public function initFromArray($o) {
        if( isset($o['subject']) ) {
          $this->subject = $o["subject"];
        }
        if( isset($o['notBefore']) ) {
          $this->notBefore = $o["notBefore"];
        }
        if( isset($o['notAfter']) ) {
          $this->notAfter = $o["notAfter"];
        }
        if( isset($o['outofbounds']) ) {
          $this->outOfBounds = $o["outofbounds"];
        }
        if( isset($o['pattern']) ) {
          $this->versionPattern = $o["pattern"];
        }
        if( isset($o['code']) ) {
          $this->code = $o["code"];
        }
        if( isset($o['format']) ) {
          $this->licenseFormat = $o["format"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class YearlyWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a YearlyWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this YearlyWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this YearlyWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Web\Http\Api\Resources {

    /**
     * 
     */
    class SystemRolesMap extends \Org\Pentaho\Platform\Web\Http\Api\Resources\LogicalRoleAssignments  {
    
    
      /**
       * (no documentation provided)
       */
      private $localizedRoleNames;

      /**
       * Constructs a SystemRolesMap from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getLocalizedRoleNames() {
        return $this->localizedRoleNames;
      }
      
      /**
       * (no documentation provided)
       */
      public function setLocalizedRoleNames($localizedRoleNames) {
        $this->localizedRoleNames = $localizedRoleNames;
      }
      /**
       * Returns the associative array for this SystemRolesMap
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->localizedRoleNames ) {
          $ab = array();
          foreach( $this->localizedRoleNames as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['localizedRoleNames'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this SystemRolesMap from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->localizedRoleNames = array();
        if( isset($o['localizedRoleNames']) ) {
          foreach( $o['localizedRoleNames'] as $i => $x ) {
            $this->localizedRoleNames[$i] = new \Org\Pentaho\Platform\Web\Http\Api\Resources\LocalizedLogicalRoleName($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class SimpleJobTrigger extends \Org\Pentaho\Platform\Api\Scheduler2\JobTrigger  {
    
    
      /**
       * (no documentation provided)
       */
      private $repeatInterval;
      /**
       * (no documentation provided)
       */
      private $repeatCount;

      /**
       * Constructs a SimpleJobTrigger from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRepeatInterval() {
        return $this->repeatInterval;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRepeatInterval($repeatInterval) {
        $this->repeatInterval = $repeatInterval;
      }
      /**
       * (no documentation provided)
       */
      public function getRepeatCount() {
        return $this->repeatCount;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRepeatCount($repeatCount) {
        $this->repeatCount = $repeatCount;
      }
      /**
       * Returns the associative array for this SimpleJobTrigger
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->repeatInterval ) {
          $a["repeatInterval"] = $this->repeatInterval;
        }
        if( $this->repeatCount ) {
          $a["repeatCount"] = $this->repeatCount;
        }
        return $a;
      }
      

      /**
       * Initializes this SimpleJobTrigger from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        if( isset($o['repeatInterval']) ) {
          $this->repeatInterval = $o["repeatInterval"];
        }
        if( isset($o['repeatCount']) ) {
          $this->repeatCount = $o["repeatCount"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class DayOfMonthWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a DayOfMonthWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this DayOfMonthWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this DayOfMonthWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class HourlyWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a HourlyWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this HourlyWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this HourlyWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class MinuteWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a MinuteWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this MinuteWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this MinuteWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class SecondWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a SecondWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this SecondWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this SecondWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class MonthlyWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a MonthlyWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this MonthlyWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this MonthlyWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2\Wrappers {

    /**
     * 
     */
    class DayOfWeekWrapper extends \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\ITimeWrapper  {
    
    
      /**
       * (no documentation provided)
       */
      private $recurrences;

      /**
       * Constructs a DayOfWeekWrapper from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getRecurrences() {
        return $this->recurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setRecurrences($recurrences) {
        $this->recurrences = $recurrences;
      }
      /**
       * Returns the associative array for this DayOfWeekWrapper
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->recurrences ) {
          $ab = array();
          foreach( $this->recurrences as $i => $x ) {
            $ab[$i] = $x->toArray();
          }
          $a['recurrences'] = $ab;
        }
        return $a;
      }
      

      /**
       * Initializes this DayOfWeekWrapper from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        $this->recurrences = array();
        if( isset($o['recurrences']) ) {
          foreach( $o['recurrences'] as $i => $x ) {
            $this->recurrences[$i] = new \Org\Pentaho\Platform\Api\Scheduler2.recur\ITimeRecurrence($x);
          }
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    // 
    class JobState {
    

      // (no documentation provided)
      const NORMAL = "NORMAL";

      // (no documentation provided)
      const PAUSED = "PAUSED";

      // (no documentation provided)
      const COMPLETE = "COMPLETE";

      // (no documentation provided)
      const ERROR = "ERROR";

      // (no documentation provided)
      const BLOCKED = "BLOCKED";

      // (no documentation provided)
      const UNKNOWN = "UNKNOWN";
    
    }

  }  
    

  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class CronJobTrigger extends \Org\Pentaho\Platform\Api\Scheduler2\JobTrigger  {
    
    
      /**
       * (no documentation provided)
       */
      private $cronString;

      /**
       * Constructs a CronJobTrigger from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getCronString() {
        return $this->cronString;
      }
      
      /**
       * (no documentation provided)
       */
      public function setCronString($cronString) {
        $this->cronString = $cronString;
      }
      /**
       * Returns the associative array for this CronJobTrigger
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->cronString ) {
          $a["cronString"] = $this->cronString;
        }
        return $a;
      }
      

      /**
       * Initializes this CronJobTrigger from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        if( isset($o['cronString']) ) {
          $this->cronString = $o["cronString"];
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Platform\Api\Scheduler2 {

    /**
     * 
     */
    class ComplexJobTrigger extends \Org\Pentaho\Platform\Api\Scheduler2\JobTrigger  {
    
    
      /**
       * (no documentation provided)
       */
      private $dayOfWeekRecurrences;
      /**
       * (no documentation provided)
       */
      private $monthlyRecurrences;
      /**
       * (no documentation provided)
       */
      private $hourlyRecurrences;
      /**
       * (no documentation provided)
       */
      private $dayOfMonthRecurrences;
      /**
       * (no documentation provided)
       */
      private $yearlyRecurrences;
      /**
       * (no documentation provided)
       */
      private $minuteRecurrences;
      /**
       * (no documentation provided)
       */
      private $secondRecurrences;

      /**
       * Constructs a ComplexJobTrigger from a (parsed) JSON hash
       */
      public function __construct($o = null) {
        if( $o ) {
          $this->initFromArray($o);
        }
      }
      
      /**
       * (no documentation provided)
       */
      public function getDayOfWeekRecurrences() {
        return $this->dayOfWeekRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDayOfWeekRecurrences($dayOfWeekRecurrences) {
        $this->dayOfWeekRecurrences = $dayOfWeekRecurrences;
      }
      /**
       * (no documentation provided)
       */
      public function getMonthlyRecurrences() {
        return $this->monthlyRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setMonthlyRecurrences($monthlyRecurrences) {
        $this->monthlyRecurrences = $monthlyRecurrences;
      }
      /**
       * (no documentation provided)
       */
      public function getHourlyRecurrences() {
        return $this->hourlyRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setHourlyRecurrences($hourlyRecurrences) {
        $this->hourlyRecurrences = $hourlyRecurrences;
      }
      /**
       * (no documentation provided)
       */
      public function getDayOfMonthRecurrences() {
        return $this->dayOfMonthRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setDayOfMonthRecurrences($dayOfMonthRecurrences) {
        $this->dayOfMonthRecurrences = $dayOfMonthRecurrences;
      }
      /**
       * (no documentation provided)
       */
      public function getYearlyRecurrences() {
        return $this->yearlyRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setYearlyRecurrences($yearlyRecurrences) {
        $this->yearlyRecurrences = $yearlyRecurrences;
      }
      /**
       * (no documentation provided)
       */
      public function getMinuteRecurrences() {
        return $this->minuteRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setMinuteRecurrences($minuteRecurrences) {
        $this->minuteRecurrences = $minuteRecurrences;
      }
      /**
       * (no documentation provided)
       */
      public function getSecondRecurrences() {
        return $this->secondRecurrences;
      }
      
      /**
       * (no documentation provided)
       */
      public function setSecondRecurrences($secondRecurrences) {
        $this->secondRecurrences = $secondRecurrences;
      }
      /**
       * Returns the associative array for this ComplexJobTrigger
       */
      public function toArray() {
        $a = parent::toArray();
        if( $this->dayOfWeekRecurrences ) {
          $a["dayOfWeekRecurrences"] = $this->dayOfWeekRecurrences->toArray();
        }
        if( $this->monthlyRecurrences ) {
          $a["monthlyRecurrences"] = $this->monthlyRecurrences->toArray();
        }
        if( $this->hourlyRecurrences ) {
          $a["hourlyRecurrences"] = $this->hourlyRecurrences->toArray();
        }
        if( $this->dayOfMonthRecurrences ) {
          $a["dayOfMonthRecurrences"] = $this->dayOfMonthRecurrences->toArray();
        }
        if( $this->yearlyRecurrences ) {
          $a["yearlyRecurrences"] = $this->yearlyRecurrences->toArray();
        }
        if( $this->minuteRecurrences ) {
          $a["minuteRecurrences"] = $this->minuteRecurrences->toArray();
        }
        if( $this->secondRecurrences ) {
          $a["secondRecurrences"] = $this->secondRecurrences->toArray();
        }
        return $a;
      }
      

      /**
       * Initializes this ComplexJobTrigger from an associative array
       */
      public function initFromArray($o) {
        parent::initFromArray($o);
        if( isset($o['dayOfWeekRecurrences']) ) {
          $this->dayOfWeekRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\DayOfWeekWrapper($o["dayOfWeekRecurrences"]);
        }
        if( isset($o['monthlyRecurrences']) ) {
          $this->monthlyRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\MonthlyWrapper($o["monthlyRecurrences"]);
        }
        if( isset($o['hourlyRecurrences']) ) {
          $this->hourlyRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\HourlyWrapper($o["hourlyRecurrences"]);
        }
        if( isset($o['dayOfMonthRecurrences']) ) {
          $this->dayOfMonthRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\DayOfMonthWrapper($o["dayOfMonthRecurrences"]);
        }
        if( isset($o['yearlyRecurrences']) ) {
          $this->yearlyRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\YearlyWrapper($o["yearlyRecurrences"]);
        }
        if( isset($o['minuteRecurrences']) ) {
          $this->minuteRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\MinuteWrapper($o["minuteRecurrences"]);
        }
        if( isset($o['secondRecurrences']) ) {
          $this->secondRecurrences = new \Org\Pentaho\Platform\Api\Scheduler2\Wrappers\SecondWrapper($o["secondRecurrences"]);
        }
      }
    
    }
    
  }


  namespace Org\Pentaho\Database\Model {

    // 
    class DatabaseAccessType {
    

      // (no documentation provided)
      const NATIVE = "NATIVE";

      // (no documentation provided)
      const ODBC = "ODBC";

      // (no documentation provided)
      const OCI = "OCI";

      // (no documentation provided)
      const PLUGIN = "PLUGIN";

      // (no documentation provided)
      const JNDI = "JNDI";

      // (no documentation provided)
      const CUSTOM = "CUSTOM";
    
    }

  }  
    
  
?>