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 and request builders #1321

Merged
merged 2 commits into from
Aug 15, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ You can install the PHP SDK with Composer by editing your `composer.json` file:
{
"minimum-stability": "RC",
"require": {
"microsoft/microsoft-graph": "^2.0.0-RC21",
"microsoft/microsoft-graph": "^2.0.0-RC22",
}
}
```
OR
```
{
"require": {
"microsoft/microsoft-graph": "^2.0.0-RC21",
"microsoft/microsoft-graph": "^2.0.0-RC22",
"microsoft/microsoft-graph-core": "@RC"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity.
* @param string $browserSharedCookieId Unique identifier of the item
* @param string $browserSharedCookieId The unique identifier of browserSharedCookie
* @return BrowserSharedCookieItemRequestBuilder
*/
public function byBrowserSharedCookieId(string $browserSharedCookieId): BrowserSharedCookieItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity.
* @param string $browserSiteId Unique identifier of the item
* @param string $browserSiteId The unique identifier of browserSite
* @return BrowserSiteItemRequestBuilder
*/
public function byBrowserSiteId(string $browserSiteId): BrowserSiteItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity.
* @param string $browserSiteListId Unique identifier of the item
* @param string $browserSiteListId The unique identifier of browserSiteList
* @return BrowserSiteListItemRequestBuilder
*/
public function byBrowserSiteListId(string $browserSiteListId): BrowserSiteListItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity.
* @param string $serviceHealthId Unique identifier of the item
* @param string $serviceHealthId The unique identifier of serviceHealth
* @return ServiceHealthItemRequestBuilder
*/
public function byServiceHealthId(string $serviceHealthId): ServiceHealthItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the issues property of the microsoft.graph.serviceHealth entity.
* @param string $serviceHealthIssueId Unique identifier of the item
* @param string $serviceHealthIssueId The unique identifier of serviceHealthIssue
* @return ServiceHealthIssueItemRequestBuilder
*/
public function byServiceHealthIssueId(string $serviceHealthIssueId): ServiceHealthIssueItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity.
* @param string $serviceHealthIssueId Unique identifier of the item
* @param string $serviceHealthIssueId The unique identifier of serviceHealthIssue
* @return ServiceHealthIssueItemRequestBuilder
*/
public function byServiceHealthIssueId(string $serviceHealthIssueId): ServiceHealthIssueItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity.
* @param string $serviceAnnouncementAttachmentId Unique identifier of the item
* @param string $serviceAnnouncementAttachmentId The unique identifier of serviceAnnouncementAttachment
* @return ServiceAnnouncementAttachmentItemRequestBuilder
*/
public function byServiceAnnouncementAttachmentId(string $serviceAnnouncementAttachmentId): ServiceAnnouncementAttachmentItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function unfavorite(): UnfavoriteRequestBuilder {

/**
* Provides operations to manage the messages property of the microsoft.graph.serviceAnnouncement entity.
* @param string $serviceUpdateMessageId Unique identifier of the item
* @param string $serviceUpdateMessageId The unique identifier of serviceUpdateMessage
* @return ServiceUpdateMessageItemRequestBuilder
*/
public function byServiceUpdateMessageId(string $serviceUpdateMessageId): ServiceUpdateMessageItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AgreementAcceptancesRequestBuilder extends BaseRequestBuilder
{
/**
* Provides operations to manage the collection of agreementAcceptance entities.
* @param string $agreementAcceptanceId Unique identifier of the item
* @param string $agreementAcceptanceId The unique identifier of agreementAcceptance
* @return AgreementAcceptanceItemRequestBuilder
*/
public function byAgreementAcceptanceId(string $agreementAcceptanceId): AgreementAcceptanceItemRequestBuilder {
Expand Down
2 changes: 1 addition & 1 deletion src/Generated/Agreements/AgreementsRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AgreementsRequestBuilder extends BaseRequestBuilder
{
/**
* Provides operations to manage the collection of agreement entities.
* @param string $agreementId Unique identifier of the item
* @param string $agreementId The unique identifier of agreement
* @return AgreementItemRequestBuilder
*/
public function byAgreementId(string $agreementId): AgreementItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the acceptances property of the microsoft.graph.agreement entity.
* @param string $agreementAcceptanceId Unique identifier of the item
* @param string $agreementAcceptanceId The unique identifier of agreementAcceptance
* @return AgreementAcceptanceItemRequestBuilder
*/
public function byAgreementAcceptanceId(string $agreementAcceptanceId): AgreementAcceptanceItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.
* @param string $agreementFileVersionId Unique identifier of the item
* @param string $agreementFileVersionId The unique identifier of agreementFileVersion
* @return AgreementFileVersionItemRequestBuilder
*/
public function byAgreementFileVersionId(string $agreementFileVersionId): AgreementFileVersionItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity.
* @param string $agreementFileLocalizationId Unique identifier of the item
* @param string $agreementFileLocalizationId The unique identifier of agreementFileLocalization
* @return AgreementFileLocalizationItemRequestBuilder
*/
public function byAgreementFileLocalizationId(string $agreementFileLocalizationId): AgreementFileLocalizationItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the files property of the microsoft.graph.agreement entity.
* @param string $agreementFileLocalizationId Unique identifier of the item
* @param string $agreementFileLocalizationId The unique identifier of agreementFileLocalization
* @return AgreementFileLocalizationItemRequestBuilder
*/
public function byAgreementFileLocalizationId(string $agreementFileLocalizationId): AgreementFileLocalizationItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.
* @param string $agreementFileVersionId Unique identifier of the item
* @param string $agreementFileVersionId The unique identifier of agreementFileVersion
* @return AgreementFileVersionItemRequestBuilder
*/
public function byAgreementFileVersionId(string $agreementFileVersionId): AgreementFileVersionItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity.
* @param string $teamsAppDefinitionId Unique identifier of the item
* @param string $teamsAppDefinitionId The unique identifier of teamsAppDefinition
* @return TeamsAppDefinitionItemRequestBuilder
*/
public function byTeamsAppDefinitionId(string $teamsAppDefinitionId): TeamsAppDefinitionItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity.
* @param string $teamsAppId Unique identifier of the item
* @param string $teamsAppId The unique identifier of teamsApp
* @return TeamsAppItemRequestBuilder
*/
public function byTeamsAppId(string $teamsAppId): TeamsAppItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the collection of applicationTemplate entities.
* @param string $applicationTemplateId Unique identifier of the item
* @param string $applicationTemplateId The unique identifier of applicationTemplate
* @return ApplicationTemplateItemRequestBuilder
*/
public function byApplicationTemplateId(string $applicationTemplateId): ApplicationTemplateItemRequestBuilder {
Expand Down
2 changes: 1 addition & 1 deletion src/Generated/Applications/ApplicationsRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function validateProperties(): ValidatePropertiesRequestBuilder {

/**
* Provides operations to manage the collection of application entities.
* @param string $applicationId Unique identifier of the item
* @param string $applicationId The unique identifier of application
* @return ApplicationItemRequestBuilder
*/
public function byApplicationId(string $applicationId): ApplicationItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the extensionProperties property of the microsoft.graph.application entity.
* @param string $extensionPropertyId Unique identifier of the item
* @param string $extensionPropertyId The unique identifier of extensionProperty
* @return ExtensionPropertyItemRequestBuilder
*/
public function byExtensionPropertyId(string $extensionPropertyId): ExtensionPropertyItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.
* @param string $federatedIdentityCredentialId Unique identifier of the item
* @param string $federatedIdentityCredentialId The unique identifier of federatedIdentityCredential
* @return FederatedIdentityCredentialItemRequestBuilder
*/
public function byFederatedIdentityCredentialId(string $federatedIdentityCredentialId): FederatedIdentityCredentialItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity.
* @param string $homeRealmDiscoveryPolicyId Unique identifier of the item
* @param string $homeRealmDiscoveryPolicyId The unique identifier of homeRealmDiscoveryPolicy
* @return HomeRealmDiscoveryPolicyItemRequestBuilder
*/
public function byHomeRealmDiscoveryPolicyId(string $homeRealmDiscoveryPolicyId): HomeRealmDiscoveryPolicyItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
* @param OwnersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0 Find more info here
Expand All @@ -111,7 +111,7 @@ public function get(?OwnersRequestBuilderGetRequestConfiguration $requestConfigu
}

/**
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
* @param OwnersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*/
class OwnersRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
* @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0 Find more info here
Expand Down Expand Up @@ -72,7 +72,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu
}

/**
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
* @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*/
class RefRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity.
* @param string $directoryDefinitionId Unique identifier of the item
* @param string $directoryDefinitionId The unique identifier of directoryDefinition
* @return DirectoryDefinitionItemRequestBuilder
*/
public function byDirectoryDefinitionId(string $directoryDefinitionId): DirectoryDefinitionItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function validateCredentials(): ValidateCredentialsRequestBuilder {

/**
* Provides operations to manage the jobs property of the microsoft.graph.synchronization entity.
* @param string $synchronizationJobId Unique identifier of the item
* @param string $synchronizationJobId The unique identifier of synchronizationJob
* @return SynchronizationJobItemRequestBuilder
*/
public function bySynchronizationJobId(string $synchronizationJobId): SynchronizationJobItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity.
* @param string $directoryDefinitionId Unique identifier of the item
* @param string $directoryDefinitionId The unique identifier of directoryDefinition
* @return DirectoryDefinitionItemRequestBuilder
*/
public function byDirectoryDefinitionId(string $directoryDefinitionId): DirectoryDefinitionItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the templates property of the microsoft.graph.synchronization entity.
* @param string $synchronizationTemplateId Unique identifier of the item
* @param string $synchronizationTemplateId The unique identifier of synchronizationTemplate
* @return SynchronizationTemplateItemRequestBuilder
*/
public function bySynchronizationTemplateId(string $synchronizationTemplateId): SynchronizationTemplateItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity.
* @param string $directoryAuditId Unique identifier of the item
* @param string $directoryAuditId The unique identifier of directoryAudit
* @return DirectoryAuditItemRequestBuilder
*/
public function byDirectoryAuditId(string $directoryAuditId): DirectoryAuditItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity.
* @param string $provisioningObjectSummaryId Unique identifier of the item
* @param string $provisioningObjectSummaryId The unique identifier of provisioningObjectSummary
* @return ProvisioningObjectSummaryItemRequestBuilder
*/
public function byProvisioningObjectSummaryId(string $provisioningObjectSummaryId): ProvisioningObjectSummaryItemRequestBuilder {
Expand Down
2 changes: 1 addition & 1 deletion src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.
* @param string $signInId Unique identifier of the item
* @param string $signInId The unique identifier of signIn
* @return SignInItemRequestBuilder
*/
public function bySignInId(string $signInId): SignInItemRequestBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function count(): CountRequestBuilder {

/**
* Provides operations to manage the collection of authenticationMethodConfiguration entities.
* @param string $authenticationMethodConfigurationId Unique identifier of the item
* @param string $authenticationMethodConfigurationId The unique identifier of authenticationMethodConfiguration
* @return AuthenticationMethodConfigurationItemRequestBuilder
*/
public function byAuthenticationMethodConfigurationId(string $authenticationMethodConfigurationId): AuthenticationMethodConfigurationItemRequestBuilder {
Expand Down
Loading