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
6 changes: 3 additions & 3 deletions src/Core/GraphConstants.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*
* @category Library
* @package Microsoft.Graph
* @copyright 2018 Microsoft Corporation
* @copyright 2019 Microsoft Corporation
* @license https://opensource.org/licenses/MIT MIT License
* @version GIT: 1.0.0
* @version GIT: 1.11.0
* @link https://graph.microsoft.io/
*/

Expand All @@ -24,7 +24,7 @@ final class GraphConstants
const REST_ENDPOINT = "https://graph.microsoft.com/";

// Define HTTP request constants
const SDK_VERSION = "1.10.0";
const SDK_VERSION = "1.11.0";

// Define error constants
const MAX_PAGE_SIZE = 999;
Expand Down
88 changes: 44 additions & 44 deletions src/Model/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,121 +239,121 @@ public function setOwner($val)


/**
* Gets the events
* The events in the calendar. Navigation property. Read-only.
* Gets the singleValueExtendedProperties
* The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
*
* @return array The events
* @return array The singleValueExtendedProperties
*/
public function getEvents()
public function getSingleValueExtendedProperties()
{
if (array_key_exists("events", $this->_propDict)) {
return $this->_propDict["events"];
if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) {
return $this->_propDict["singleValueExtendedProperties"];
} else {
return null;
}
}

/**
* Sets the events
* The events in the calendar. Navigation property. Read-only.
* Sets the singleValueExtendedProperties
* The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
*
* @param Event $val The events
* @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties
*
* @return Calendar
*/
public function setEvents($val)
public function setSingleValueExtendedProperties($val)
{
$this->_propDict["events"] = $val;
$this->_propDict["singleValueExtendedProperties"] = $val;
return $this;
}


/**
* Gets the calendarView
* The calendar view for the calendar. Navigation property. Read-only.
* Gets the multiValueExtendedProperties
* The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
*
* @return array The calendarView
* @return array The multiValueExtendedProperties
*/
public function getCalendarView()
public function getMultiValueExtendedProperties()
{
if (array_key_exists("calendarView", $this->_propDict)) {
return $this->_propDict["calendarView"];
if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) {
return $this->_propDict["multiValueExtendedProperties"];
} else {
return null;
}
}

/**
* Sets the calendarView
* The calendar view for the calendar. Navigation property. Read-only.
* Sets the multiValueExtendedProperties
* The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
*
* @param Event $val The calendarView
* @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties
*
* @return Calendar
*/
public function setCalendarView($val)
public function setMultiValueExtendedProperties($val)
{
$this->_propDict["calendarView"] = $val;
$this->_propDict["multiValueExtendedProperties"] = $val;
return $this;
}


/**
* Gets the singleValueExtendedProperties
* The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
* Gets the events
* The events in the calendar. Navigation property. Read-only.
*
* @return array The singleValueExtendedProperties
* @return array The events
*/
public function getSingleValueExtendedProperties()
public function getEvents()
{
if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) {
return $this->_propDict["singleValueExtendedProperties"];
if (array_key_exists("events", $this->_propDict)) {
return $this->_propDict["events"];
} else {
return null;
}
}

/**
* Sets the singleValueExtendedProperties
* The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
* Sets the events
* The events in the calendar. Navigation property. Read-only.
*
* @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties
* @param Event $val The events
*
* @return Calendar
*/
public function setSingleValueExtendedProperties($val)
public function setEvents($val)
{
$this->_propDict["singleValueExtendedProperties"] = $val;
$this->_propDict["events"] = $val;
return $this;
}


/**
* Gets the multiValueExtendedProperties
* The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
* Gets the calendarView
* The calendar view for the calendar. Navigation property. Read-only.
*
* @return array The multiValueExtendedProperties
* @return array The calendarView
*/
public function getMultiValueExtendedProperties()
public function getCalendarView()
{
if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) {
return $this->_propDict["multiValueExtendedProperties"];
if (array_key_exists("calendarView", $this->_propDict)) {
return $this->_propDict["calendarView"];
} else {
return null;
}
}

/**
* Sets the multiValueExtendedProperties
* The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
* Sets the calendarView
* The calendar view for the calendar. Navigation property. Read-only.
*
* @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties
* @param Event $val The calendarView
*
* @return Calendar
*/
public function setMultiValueExtendedProperties($val)
public function setCalendarView($val)
{
$this->_propDict["multiValueExtendedProperties"] = $val;
$this->_propDict["calendarView"] = $val;
return $this;
}

Expand Down
60 changes: 30 additions & 30 deletions src/Model/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -1001,36 +1001,6 @@ public function setChildren($val)
}


/**
* Gets the extensions
* The collection of open extensions defined for the contact. Read-only. Nullable.
*
* @return array The extensions
*/
public function getExtensions()
{
if (array_key_exists("extensions", $this->_propDict)) {
return $this->_propDict["extensions"];
} else {
return null;
}
}

/**
* Sets the extensions
* The collection of open extensions defined for the contact. Read-only. Nullable.
*
* @param Extension $val The extensions
*
* @return Contact
*/
public function setExtensions($val)
{
$this->_propDict["extensions"] = $val;
return $this;
}


/**
* Gets the singleValueExtendedProperties
* The collection of single-value extended properties defined for the contact. Read-only. Nullable.
Expand Down Expand Up @@ -1123,4 +1093,34 @@ public function setPhoto($val)
return $this;
}


/**
* Gets the extensions
* The collection of open extensions defined for the contact. Read-only. Nullable.
*
* @return array The extensions
*/
public function getExtensions()
{
if (array_key_exists("extensions", $this->_propDict)) {
return $this->_propDict["extensions"];
} else {
return null;
}
}

/**
* Sets the extensions
* The collection of open extensions defined for the contact. Read-only. Nullable.
*
* @param Extension $val The extensions
*
* @return Contact
*/
public function setExtensions($val)
{
$this->_propDict["extensions"] = $val;
return $this;
}

}
Loading