Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models using Typewriter #1041

Merged
merged 2 commits into from
Oct 25, 2022
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
```
{
"require": {
"microsoft/microsoft-graph": "^1.80.0"
"microsoft/microsoft-graph": "^1.81.0"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/Microsoft-Graph-Core-GraphConstants.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h3 id="toc">
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Microsoft-Graph-Core-GraphConstants.html#constant_SDK_VERSION">SDK_VERSION</a>
<span>
&nbsp;= &quot;1.80.0&quot; </span>
&nbsp;= &quot;1.81.0&quot; </span>
</dt>
<dd></dd>

Expand Down Expand Up @@ -483,7 +483,7 @@ <h4 class="phpdocumentor-element__name" id="constant_SDK_VERSION">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">SDK_VERSION</span>
= <span class="phpdocumentor-signature__default-value">&quot;1.80.0&quot;</span>
= <span class="phpdocumentor-signature__default-value">&quot;1.81.0&quot;</span>
</code>


Expand Down
2 changes: 1 addition & 1 deletion src/Core/GraphConstants.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class GraphConstants
const REST_ENDPOINT = "https://graph.microsoft.com/";

// Define HTTP request constants
const SDK_VERSION = "1.80.0";
const SDK_VERSION = "1.81.0";

// Define error constants
const MAX_PAGE_SIZE = 999;
Expand Down
24 changes: 12 additions & 12 deletions src/Model/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function setCloudAppStates($val)
* Gets the comments
* Customer-provided comments on alert (for customer alert management) (supports update).
*
* @return string|null The comments
* @return array|null The comments
*/
public function getComments()
{
Expand All @@ -279,7 +279,7 @@ public function getComments()
* Sets the comments
* Customer-provided comments on alert (for customer alert management) (supports update).
*
* @param string $val The comments
* @param string[] $val The comments
*
* @return Alert
*/
Expand Down Expand Up @@ -384,7 +384,7 @@ public function setDescription($val)
* Gets the detectionIds
* Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
*
* @return string|null The detectionIds
* @return array|null The detectionIds
*/
public function getDetectionIds()
{
Expand All @@ -399,7 +399,7 @@ public function getDetectionIds()
* Sets the detectionIds
* Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
*
* @param string $val The detectionIds
* @param string[] $val The detectionIds
*
* @return Alert
*/
Expand Down Expand Up @@ -567,7 +567,7 @@ public function setHostStates($val)
* Gets the incidentIds
* IDs of incidents related to current alert.
*
* @return string|null The incidentIds
* @return array|null The incidentIds
*/
public function getIncidentIds()
{
Expand All @@ -582,7 +582,7 @@ public function getIncidentIds()
* Sets the incidentIds
* IDs of incidents related to current alert.
*
* @param string $val The incidentIds
* @param string[] $val The incidentIds
*
* @return Alert
*/
Expand Down Expand Up @@ -806,7 +806,7 @@ public function setProcesses($val)
* Gets the recommendedActions
* Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
*
* @return string|null The recommendedActions
* @return array|null The recommendedActions
*/
public function getRecommendedActions()
{
Expand All @@ -821,7 +821,7 @@ public function getRecommendedActions()
* Sets the recommendedActions
* Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
*
* @param string $val The recommendedActions
* @param string[] $val The recommendedActions
*
* @return Alert
*/
Expand Down Expand Up @@ -928,7 +928,7 @@ public function setSeverity($val)
* Gets the sourceMaterials
* Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
*
* @return string|null The sourceMaterials
* @return array|null The sourceMaterials
*/
public function getSourceMaterials()
{
Expand All @@ -943,7 +943,7 @@ public function getSourceMaterials()
* Sets the sourceMaterials
* Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
*
* @param string $val The sourceMaterials
* @param string[] $val The sourceMaterials
*
* @return Alert
*/
Expand Down Expand Up @@ -990,7 +990,7 @@ public function setStatus($val)
* Gets the tags
* User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update).
*
* @return string|null The tags
* @return array|null The tags
*/
public function getTags()
{
Expand All @@ -1005,7 +1005,7 @@ public function getTags()
* Sets the tags
* User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update).
*
* @param string $val The tags
* @param string[] $val The tags
*
* @return Alert
*/
Expand Down
8 changes: 4 additions & 4 deletions src/Model/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function setGroupMembershipClaims($val)
* Gets the identifierUris
* Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
*
* @return string|null The identifierUris
* @return array|null The identifierUris
*/
public function getIdentifierUris()
{
Expand All @@ -403,7 +403,7 @@ public function getIdentifierUris()
* Sets the identifierUris
* Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
*
* @param string $val The identifierUris
* @param string[] $val The identifierUris
*
* @return Application
*/
Expand Down Expand Up @@ -935,7 +935,7 @@ public function setSpa($val)
* Gets the tags
* Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith).
*
* @return string|null The tags
* @return array|null The tags
*/
public function getTags()
{
Expand All @@ -950,7 +950,7 @@ public function getTags()
* Sets the tags
* Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith).
*
* @param string $val The tags
* @param string[] $val The tags
*
* @return Application
*/
Expand Down
12 changes: 6 additions & 6 deletions src/Model/ApplicationTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ApplicationTemplate extends Entity
* Gets the categories
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
*
* @return string|null The categories
* @return array|null The categories
*/
public function getCategories()
{
Expand All @@ -43,7 +43,7 @@ public function getCategories()
* Sets the categories
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
*
* @param string $val The categories
* @param string[] $val The categories
*
* @return ApplicationTemplate
*/
Expand Down Expand Up @@ -202,7 +202,7 @@ public function setPublisher($val)
* Gets the supportedProvisioningTypes
* The list of provisioning modes supported by this application. The only valid value is sync.
*
* @return string|null The supportedProvisioningTypes
* @return array|null The supportedProvisioningTypes
*/
public function getSupportedProvisioningTypes()
{
Expand All @@ -217,7 +217,7 @@ public function getSupportedProvisioningTypes()
* Sets the supportedProvisioningTypes
* The list of provisioning modes supported by this application. The only valid value is sync.
*
* @param string $val The supportedProvisioningTypes
* @param string[] $val The supportedProvisioningTypes
*
* @return ApplicationTemplate
*/
Expand All @@ -231,7 +231,7 @@ public function setSupportedProvisioningTypes($val)
* Gets the supportedSingleSignOnModes
* The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
*
* @return string|null The supportedSingleSignOnModes
* @return array|null The supportedSingleSignOnModes
*/
public function getSupportedSingleSignOnModes()
{
Expand All @@ -246,7 +246,7 @@ public function getSupportedSingleSignOnModes()
* Sets the supportedSingleSignOnModes
* The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
*
* @param string $val The supportedSingleSignOnModes
* @param string[] $val The supportedSingleSignOnModes
*
* @return ApplicationTemplate
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AttachmentSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function setExpirationDateTime($val)
/**
* Gets the nextExpectedRanges
*
* @return string|null The nextExpectedRanges
* @return array|null The nextExpectedRanges
*/
public function getNextExpectedRanges()
{
Expand All @@ -103,7 +103,7 @@ public function getNextExpectedRanges()
/**
* Sets the nextExpectedRanges
*
* @param string $val The nextExpectedRanges
* @param string[] $val The nextExpectedRanges
*
* @return AttachmentSession
*/
Expand Down
8 changes: 4 additions & 4 deletions src/Model/AudioRoutingGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AudioRoutingGroup extends Entity
/**
* Gets the receivers
*
* @return string|null The receivers
* @return array|null The receivers
*/
public function getReceivers()
{
Expand All @@ -41,7 +41,7 @@ public function getReceivers()
/**
* Sets the receivers
*
* @param string $val The receivers
* @param string[] $val The receivers
*
* @return AudioRoutingGroup
*/
Expand Down Expand Up @@ -85,7 +85,7 @@ public function setRoutingMode($val)
/**
* Gets the sources
*
* @return string|null The sources
* @return array|null The sources
*/
public function getSources()
{
Expand All @@ -99,7 +99,7 @@ public function getSources()
/**
* Sets the sources
*
* @param string $val The sources
* @param string[] $val The sources
*
* @return AudioRoutingGroup
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Model/BookingAppointment.php
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ public function setSmsNotificationsEnabled($val)
* Gets the staffMemberIds
* The ID of each bookingStaffMember who is scheduled in this appointment.
*
* @return string|null The staffMemberIds
* @return array|null The staffMemberIds
*/
public function getStaffMemberIds()
{
Expand All @@ -705,7 +705,7 @@ public function getStaffMemberIds()
* Sets the staffMemberIds
* The ID of each bookingStaffMember who is scheduled in this appointment.
*
* @param string $val The staffMemberIds
* @param string[] $val The staffMemberIds
*
* @return BookingAppointment
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Model/BookingCustomQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function setAnswerInputType($val)
* Gets the answerOptions
* List of possible answer values.
*
* @return string|null The answerOptions
* @return array|null The answerOptions
*/
public function getAnswerOptions()
{
Expand All @@ -76,7 +76,7 @@ public function getAnswerOptions()
* Sets the answerOptions
* List of possible answer values.
*
* @param string $val The answerOptions
* @param string[] $val The answerOptions
*
* @return BookingCustomQuestion
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Model/BookingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ public function setSmsNotificationsEnabled($val)
* Gets the staffMemberIds
* Represents those staff members who provide this service.
*
* @return string|null The staffMemberIds
* @return array|null The staffMemberIds
*/
public function getStaffMemberIds()
{
Expand All @@ -616,7 +616,7 @@ public function getStaffMemberIds()
* Sets the staffMemberIds
* Represents those staff members who provide this service.
*
* @param string $val The staffMemberIds
* @param string[] $val The staffMemberIds
*
* @return BookingService
*/
Expand Down
Loading