Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Gavryliuk committed May 17, 2017
1 parent 1fcce7d commit 56b91c5
Show file tree
Hide file tree
Showing 236 changed files with 3,099 additions and 166 deletions.
3 changes: 3 additions & 0 deletions Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}


Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;

}

Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/DatabaseUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/EmailAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/Ftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions ApplicationServer/SystemApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
7 changes: 7 additions & 0 deletions Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
$this->fields['integrated_storage_disabled'] = array(
ONAPP_FIELD_MAP => '_integrated_storage_disabled',
ONAPP_FIELD_TYPE => 'boolean',
);
break;
}


Expand Down
3 changes: 3 additions & 0 deletions AutobackupPresets.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability/CommunicationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability/CommunicationRing.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability/Host.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability/Subsystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions Availability/Subsystem/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BackgroundTaskDaemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
7 changes: 7 additions & 0 deletions BackupServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
$this->fields['os_version_minor'] = array(
ONAPP_FIELD_MAP => '_os_version_minor',
ONAPP_FIELD_TYPE => 'string',
);
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BackupServerZone.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ public function initFields( $version = null, $className = '' ) {
ONAPP_FIELD_TYPE => 'string',
);
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
33 changes: 33 additions & 0 deletions BaremetalServer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* Managing Baremetal Servers
*
*/

/**
* Baremetal Servers
*
* The Baremetal Servers class represents the Baremetal Servers of the OnAPP installation.
*
* The OnApp_BaremetalServer class uses the following basic methods:
* {@link load}, {@link save}, {@link delete}, and {@link getList}.
*
* For full fields reference and curl request details visit: ( http://help.onapp.com/manual.php?m=2 )
*/
class OnApp_BaremetalServer extends OnApp_VirtualMachine {
/**
* root tag used in the API request
*
* @var string
*/
var $_tagRoot = 'baremetal_server';

/**
* alias processing the object data
*
* @var string
*/
var $_resource = 'baremetal_servers';


}
3 changes: 3 additions & 0 deletions BillingCompany.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingCompany/BaseResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingCompany/BaseResource/Limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingCompany/BaseResource/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingCompany/ResourceVCloudComputeZone.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

return $this->fields;
Expand Down
3 changes: 3 additions & 0 deletions BillingCompany/ResourceVCloudDataStoreZone.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

return $this->fields;
Expand Down
3 changes: 3 additions & 0 deletions BillingCompany/ResourceVCloudNetworkZone.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

return $this->fields;
Expand Down
3 changes: 3 additions & 0 deletions BillingPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingPlan/BaseResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingPlan/BaseResource/Limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
3 changes: 3 additions & 0 deletions BillingPlan/BaseResource/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public function initFields( $version = null, $className = '' ) {
case 5.3:
$this->fields = $this->initFields( 5.2 );
break;
case 5.4:
$this->fields = $this->initFields( 5.3 );
break;
}

parent::initFields( $version, __CLASS__ );
Expand Down
Loading

0 comments on commit 56b91c5

Please sign in to comment.