Skip to content

Commit

Permalink
Merge 101e477 into 28f9fdd
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylfriend committed Apr 5, 2017
2 parents 28f9fdd + 101e477 commit 2f0b1ce
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Groups/Details.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class Details implements GroupInterface, \JsonSerializable {
'internet_bill_inc' => array('type' => 'boolean'),
'business_for_sale' => array('type' => 'boolean'),
'comm_use_class' => array('type' => 'objectarray', 'class' => 'Frozensheep\RightmoveADF\Values\CommercialuseClasses'),
'rooms' => array('type' => 'objectarray', 'class' => 'Frozensheep\RightmoveADF\Groups\Room', 'max' => 99)
'rooms' => array('type' => 'objectarray', 'class' => 'Frozensheep\RightmoveADF\Groups\Room', 'max' => 99),
'sizing' => array('type' => 'object', 'class' => 'Frozensheep\RightmoveADF\Groups\Sizing', 'required' => false)
);
}
33 changes: 33 additions & 0 deletions src/Groups/Sizing.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* This file contains the Sizing Group model class.
*
* @package Frozensheep\RightmoveADF
* @author Jacob Wyke <jacob@frozensheep.com>
* @license MIT
*
*/

namespace Frozensheep\RightmoveADF\Groups;

use Frozensheep\Synthesize\Synthesizer;
use Frozensheep\RightmoveADF\Values\Accessibilities;

/**
* Sizing Group Class
*
* Class to handle sizing group.
*
* @package Frozensheep\RightmoveADF
*
*/
class Sizing implements GroupInterface, \JsonSerializable {

use Synthesizer;

protected $arrSynthesize = array(
'minimum' => array('type' => 'int', 'min' => 0),
'maximum' => array('type' => 'int', 'min' => 0),
'area_unit' => array('type' => 'enum', 'class' => 'Frozensheep\RightmoveADF\Values\AreaUnits'),
);
}

0 comments on commit 2f0b1ce

Please sign in to comment.