<?php

require_once(__DIR__ . '/../GitHubObject.php');

	

class GitHubTeam extends GitHubObject
{
	/* (non-PHPdoc)
	 * @see GitHubObject::getAttributes()
	 */
	protected function getAttributes()
	{
		return array_merge(parent::getAttributes(), array(
			'id' => 'int',
			'url' => 'string',
			'name' => 'string'
		));
	}

	/**
	 * @var int
	 */
	protected $id;
	
	/**
	 * @var string
	 */
	protected $url;

	/**
	 * @var string
	 */
	protected $name;

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this->id;
	}

	/**
	 * @return string
	 */
	public function getUrl()
	{
		return $this->url;
	}

	/**
	 * @return string
	 */
	public function getName()
	{
		return $this->name;
	}

}


<?php

require_once(__DIR__ . '/../GitHubObject.php');

	

class GitHubTeam extends GitHubObject
{
	/* (non-PHPdoc)
	 * @see GitHubObject::getAttributes()
	 */
	protected function getAttributes()
	{
		return array_merge(parent::getAttributes(), array(
			'url' => 'string',
			'name' => 'string',
		));
	}
	
	/**
	 * @var string
	 */
	protected $url;

	/**
	 * @var string
	 */
	protected $name;

	/**
	 * @return string
	 */
	public function getUrl()
	{
		return $this->url;
	}

	/**
	 * @return string
	 */
	public function getName()
	{
		return $this->name;
	}

}


--- 
+++ 
@@ -12,10 +12,16 @@
 	protected function getAttributes()
 	{
 		return array_merge(parent::getAttributes(), array(
+			'id' => 'int',
 			'url' => 'string',
-			'name' => 'string',
+			'name' => 'string'
 		));
 	}
+
+	/**
+	 * @var int
+	 */
+	protected $id;
 	
 	/**
 	 * @var string
@@ -26,6 +32,14 @@
 	 * @var string
 	 */
 	protected $name;
+
+	/**
+	 * @return int
+	 */
+	public function getId()
+	{
+		return $this->id;
+	}
 
 	/**
 	 * @return string
Add Id in github team