Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 58 additions & 81 deletions src/Model/AlternativeSecurityId.php
Original file line number Diff line number Diff line change
@@ -1,68 +1,45 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AlternativeSecurityId File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright 2016 Microsoft Corporation
* @license https://opensource.org/licenses/MIT MIT License
* @version GIT: 0.1.0
* @link https://graph.microsoft.io/
*/
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AlternativeSecurityId File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright 2016 Microsoft Corporation
* @license https://opensource.org/licenses/MIT MIT License
* @version GIT: 0.1.0
* @link https://graph.microsoft.io/
*/
namespace Microsoft\Graph\Model;
/**
* AlternativeSecurityId class
*
* @category Model
* @package Microsoft.Graph
* @copyright 2016 Microsoft Corporation
* @license https://opensource.org/licenses/MIT MIT License
* @version Release: 0.1.0
* @link https://graph.microsoft.io/
*/
* AlternativeSecurityId class
*
* @category Model
* @package Microsoft.Graph
* @copyright 2016 Microsoft Corporation
* @license https://opensource.org/licenses/MIT MIT License
* @version Release: 0.1.0
* @link https://graph.microsoft.io/
*/
class AlternativeSecurityId extends Entity
{
/**
* The array of properties available
* to the model
*
* @var array(string => string)
*/
private $_propDict;

/**
* AlternativeSecurityId constructor
*
* @param array $propDict List of properties to set
* Defaults to an empty array
*
* @return AlternativeSecurityId
*/
public function __construct($propDict = array())
{
parent::__construct();
$this->_propDict = $propDict;
return $this;
}

/**
* Gets the property dictionary of the AlternativeSecurityId
*
* @return array The list of properties
*/
* Gets the property dictionary of the AlternativeSecurityId
*
* @return array The list of properties
*/
public function getProperties()
{
return $this->_propDict;
}

/**
* Gets the type
*
* @return int The type
*/
* Gets the type
*
* @return int The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
Expand All @@ -73,23 +50,23 @@ public function getType()
}

/**
* Sets the type
*
* @param int $val The value of the type
*
* @return AlternativeSecurityId
*/
* Sets the type
*
* @param int $val The value of the type
*
* @return AlternativeSecurityId
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}

/**
* Gets the identityProvider
*
* @return string The identityProvider
*/
* Gets the identityProvider
*
* @return string The identityProvider
*/
public function getIdentityProvider()
{
if (array_key_exists("identityProvider", $this->_propDict)) {
Expand All @@ -100,23 +77,23 @@ public function getIdentityProvider()
}

/**
* Sets the identityProvider
*
* @param string $val The value of the identityProvider
*
* @return AlternativeSecurityId
*/
* Sets the identityProvider
*
* @param string $val The value of the identityProvider
*
* @return AlternativeSecurityId
*/
public function setIdentityProvider($val)
{
$this->_propDict["identity_provider"] = $val;
return $this;
}

/**
* Gets the key
*
* @return \GuzzleHttp\Psr7\Stream The key
*/
* Gets the key
*
* @return \GuzzleHttp\Psr7\Stream The key
*/
public function getKey()
{
if (array_key_exists("key", $this->_propDict)) {
Expand All @@ -131,15 +108,15 @@ public function getKey()
}

/**
* Sets the key
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key
*
* @return AlternativeSecurityId The AlternativeSecurityId
*/
* Sets the key
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key
*
* @return AlternativeSecurityId The AlternativeSecurityId
*/
public function setKey($val)
{
$this->_propDict["key"] = $val;
return $this;
return $this;
}
}
22 changes: 0 additions & 22 deletions src/Model/AssignedLicense.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@
class AssignedLicense extends Entity
{
/**
* The array of properties available
* to the model
*
* @var array(string => string)
*/
private $_propDict;
/**
* AssignedLicense constructor
*
* @param array $propDict List of properties to set
* Defaults to an empty array
*
* @return AssignedLicense
*/
public function __construct($propDict=array())
{
parent::__construct();
$this->_propDict = $propDict;
return $this;
}

/**
* Gets the property dictionary of the AssignedLicense
*
* @return array The list of properties
Expand Down
22 changes: 0 additions & 22 deletions src/Model/AssignedPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@
class AssignedPlan extends Entity
{
/**
* The array of properties available
* to the model
*
* @var array(string => string)
*/
private $_propDict;
/**
* AssignedPlan constructor
*
* @param array $propDict List of properties to set
* Defaults to an empty array
*
* @return AssignedPlan
*/
public function __construct($propDict=array())
{
parent::__construct();
$this->_propDict = $propDict;
return $this;
}

/**
* Gets the property dictionary of the AssignedPlan
*
* @return array The list of properties
Expand Down
22 changes: 0 additions & 22 deletions src/Model/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@
*/
class Attachment extends Entity
{
/**
* The array of properties available
* to the model
*
* @var array(string => string)
*/
private $_propDict;

/**
* Construct a new Attachment
*
* @param array $propDict A list of properties to set
*
* @return Attachment
*/
function __construct($propDict = array())
{
parent::__construct();
$this->_propDict = $propDict;
return $this;
}

/**
* Gets the property dictionary of the Attachment
*
Expand Down
53 changes: 0 additions & 53 deletions src/Model/Attendee.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@
class Attendee extends Entity
{
/**
* The array of properties available
* to the model
*
* @var array(string => string)
*/
private $_propDict;
/**
* Attendee constructor
*
* @param array $propDict List of properties to set
* Defaults to an empty array
*
* @return Attendee
*/
public function __construct($propDict=array())
{
parent::__construct();
$this->_propDict = $propDict;
return $this;
}

/**
* Gets the property dictionary of the Attendee
*
* @return array The list of properties
Expand Down Expand Up @@ -87,35 +65,4 @@ public function setStatus($val)
$this->_propDict["status"] = $val;
return $this;
}

/**
* Gets the type
*
* @return AttendeeType The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "AttendeeType")) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new AttendeeType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
}

/**
* Sets the type
*
* @param AttendeeType $val The value to assign to the type
*
* @return Attendee The Attendee
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}
22 changes: 0 additions & 22 deletions src/Model/Audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@
class Audio extends Entity
{
/**
* The array of properties available
* to the model
*
* @var array(string => string)
*/
private $_propDict;
/**
* Audio constructor
*
* @param array $propDict List of properties to set
* Defaults to an empty array
*
* @return Audio
*/
public function __construct($propDict=array())
{
parent::__construct();
$this->_propDict = $propDict;
return $this;
}

/**
* Gets the property dictionary of the Audio
*
* @return array The list of properties
Expand Down
Loading