Skip to content

Commit

Permalink
Merge pull request #1306 from microsoftgraph/kiota/v1.0/pipelinebuild…
Browse files Browse the repository at this point in the history
…/121145

Generated  models and request builders
  • Loading branch information
Ndiritu authored Jul 25, 2023
2 parents 05c47c3 + 16f49ac commit 4eef7e6
Show file tree
Hide file tree
Showing 579 changed files with 4,409 additions and 3,172 deletions.
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-RC18",
"microsoft/microsoft-graph": "^2.0.0-RC19",
}
}
```
OR
```
{
"require": {
"microsoft/microsoft-graph": "^2.0.0-RC18",
"microsoft/microsoft-graph": "^2.0.0-RC19",
"microsoft/microsoft-graph-core": "@RC"
}
}
Expand Down
8 changes: 0 additions & 8 deletions src/Generated/BaseGraphClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
use Microsoft\Graph\Generated\IdentityProviders\IdentityProvidersRequestBuilder;
use Microsoft\Graph\Generated\InformationProtection\InformationProtectionRequestBuilder;
use Microsoft\Graph\Generated\Invitations\InvitationsRequestBuilder;
use Microsoft\Graph\Generated\Localizations\LocalizationsRequestBuilder;
use Microsoft\Graph\Generated\Oauth2PermissionGrants\Oauth2PermissionGrantsRequestBuilder;
use Microsoft\Graph\Generated\Organization\OrganizationRequestBuilder;
use Microsoft\Graph\Generated\PermissionGrants\PermissionGrantsRequestBuilder;
Expand Down Expand Up @@ -390,13 +389,6 @@ public function invitations(): InvitationsRequestBuilder {
return new InvitationsRequestBuilder($this->pathParameters, $this->requestAdapter);
}

/**
* Provides operations to manage the collection of organizationalBrandingLocalization entities.
*/
public function localizations(): LocalizationsRequestBuilder {
return new LocalizationsRequestBuilder($this->pathParameters, $this->requestAdapter);
}

/**
* Provides operations to manage the collection of oAuth2PermissionGrant entities.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig
}

/**
* Send a new reply to a chatMessage in a specified channel.
* Create a new reply to a chatMessage in a specified channel.
* @param ChatMessage $body The request body
* @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here
*/
public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur
}

/**
* Send a new reply to a chatMessage in a specified channel.
* Create a new reply to a chatMessage in a specified channel.
* @param ChatMessage $body The request body
* @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
6 changes: 3 additions & 3 deletions src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi
}

/**
* Send a new chatMessage in the specified channel or a chat.
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* @param ChatMessage $body The request body
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here
*/
public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -121,7 +121,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu
}

/**
* Send a new chatMessage in the specified channel or a chat.
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* @param ChatMessage $body The request body
* @param MessagesRequestBuilderPostRequestConfiguration|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 @@ -53,9 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Android managed app policies.
* List properties and relationships of the androidManagedAppProtection objects.
* @param AndroidManagedAppProtectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-list?view=graph-rest-1.0 Find more info here
*/
public function get(?AndroidManagedAppProtectionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -71,10 +72,11 @@ public function get(?AndroidManagedAppProtectionsRequestBuilderGetRequestConfigu
}

/**
* Create new navigation property to androidManagedAppProtections for deviceAppManagement
* Create a new androidManagedAppProtection object.
* @param AndroidManagedAppProtection $body The request body
* @param AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-create?view=graph-rest-1.0 Find more info here
*/
public function post(AndroidManagedAppProtection $body, ?AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand All @@ -90,7 +92,7 @@ public function post(AndroidManagedAppProtection $body, ?AndroidManagedAppProtec
}

/**
* Android managed app policies.
* List properties and relationships of the androidManagedAppProtection objects.
* @param AndroidManagedAppProtectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -111,7 +113,7 @@ public function toGetRequestInformation(?AndroidManagedAppProtectionsRequestBuil
}

/**
* Create new navigation property to androidManagedAppProtections for deviceAppManagement
* Create a new androidManagedAppProtection object.
* @param AndroidManagedAppProtection $body The request body
* @param AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration|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;

/**
* Android managed app policies.
* List properties and relationships of the androidManagedAppProtection objects.
*/
class AndroidManagedAppProtectionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Delete navigation property androidManagedAppProtections for deviceAppManagement
* Deletes a androidManagedAppProtection.
* @param AndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-delete?view=graph-rest-1.0 Find more info here
*/
public function delete(?AndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand All @@ -74,9 +75,10 @@ public function delete(?AndroidManagedAppProtectionItemRequestBuilderDeleteReque
}

/**
* Android managed app policies.
* Read properties and relationships of the androidManagedAppProtection object.
* @param AndroidManagedAppProtectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-get?view=graph-rest-1.0 Find more info here
*/
public function get(?AndroidManagedAppProtectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -92,10 +94,11 @@ public function get(?AndroidManagedAppProtectionItemRequestBuilderGetRequestConf
}

/**
* Update the navigation property androidManagedAppProtections in deviceAppManagement
* Update the properties of a androidManagedAppProtection object.
* @param AndroidManagedAppProtection $body The request body
* @param AndroidManagedAppProtectionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-update?view=graph-rest-1.0 Find more info here
*/
public function patch(AndroidManagedAppProtection $body, ?AndroidManagedAppProtectionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand All @@ -111,7 +114,7 @@ public function patch(AndroidManagedAppProtection $body, ?AndroidManagedAppProte
}

/**
* Delete navigation property androidManagedAppProtections for deviceAppManagement
* Deletes a androidManagedAppProtection.
* @param AndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -128,7 +131,7 @@ public function toDeleteRequestInformation(?AndroidManagedAppProtectionItemReque
}

/**
* Android managed app policies.
* Read properties and relationships of the androidManagedAppProtection object.
* @param AndroidManagedAppProtectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -149,7 +152,7 @@ public function toGetRequestInformation(?AndroidManagedAppProtectionItemRequestB
}

/**
* Update the navigation property androidManagedAppProtections in deviceAppManagement
* Update the properties of a androidManagedAppProtection object.
* @param AndroidManagedAppProtection $body The request body
* @param AndroidManagedAppProtectionItemRequestBuilderPatchRequestConfiguration|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;

/**
* Android managed app policies.
* Read properties and relationships of the androidManagedAppProtection object.
*/
class AndroidManagedAppProtectionItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Default managed app policies.
* List properties and relationships of the defaultManagedAppProtection objects.
* @param DefaultManagedAppProtectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-list?view=graph-rest-1.0 Find more info here
*/
public function get(?DefaultManagedAppProtectionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -71,10 +72,11 @@ public function get(?DefaultManagedAppProtectionsRequestBuilderGetRequestConfigu
}

/**
* Create new navigation property to defaultManagedAppProtections for deviceAppManagement
* Create a new defaultManagedAppProtection object.
* @param DefaultManagedAppProtection $body The request body
* @param DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-create?view=graph-rest-1.0 Find more info here
*/
public function post(DefaultManagedAppProtection $body, ?DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand All @@ -90,7 +92,7 @@ public function post(DefaultManagedAppProtection $body, ?DefaultManagedAppProtec
}

/**
* Default managed app policies.
* List properties and relationships of the defaultManagedAppProtection objects.
* @param DefaultManagedAppProtectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -111,7 +113,7 @@ public function toGetRequestInformation(?DefaultManagedAppProtectionsRequestBuil
}

/**
* Create new navigation property to defaultManagedAppProtections for deviceAppManagement
* Create a new defaultManagedAppProtection object.
* @param DefaultManagedAppProtection $body The request body
* @param DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration|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;

/**
* Default managed app policies.
* List properties and relationships of the defaultManagedAppProtection objects.
*/
class DefaultManagedAppProtectionsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Delete navigation property defaultManagedAppProtections for deviceAppManagement
* Deletes a defaultManagedAppProtection.
* @param DefaultManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-delete?view=graph-rest-1.0 Find more info here
*/
public function delete(?DefaultManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand All @@ -66,9 +67,10 @@ public function delete(?DefaultManagedAppProtectionItemRequestBuilderDeleteReque
}

/**
* Default managed app policies.
* Read properties and relationships of the defaultManagedAppProtection object.
* @param DefaultManagedAppProtectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-get?view=graph-rest-1.0 Find more info here
*/
public function get(?DefaultManagedAppProtectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -84,10 +86,11 @@ public function get(?DefaultManagedAppProtectionItemRequestBuilderGetRequestConf
}

/**
* Update the navigation property defaultManagedAppProtections in deviceAppManagement
* Update the properties of a defaultManagedAppProtection object.
* @param DefaultManagedAppProtection $body The request body
* @param DefaultManagedAppProtectionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-update?view=graph-rest-1.0 Find more info here
*/
public function patch(DefaultManagedAppProtection $body, ?DefaultManagedAppProtectionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand All @@ -103,7 +106,7 @@ public function patch(DefaultManagedAppProtection $body, ?DefaultManagedAppProte
}

/**
* Delete navigation property defaultManagedAppProtections for deviceAppManagement
* Deletes a defaultManagedAppProtection.
* @param DefaultManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -120,7 +123,7 @@ public function toDeleteRequestInformation(?DefaultManagedAppProtectionItemReque
}

/**
* Default managed app policies.
* Read properties and relationships of the defaultManagedAppProtection object.
* @param DefaultManagedAppProtectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -141,7 +144,7 @@ public function toGetRequestInformation(?DefaultManagedAppProtectionItemRequestB
}

/**
* Update the navigation property defaultManagedAppProtections in deviceAppManagement
* Update the properties of a defaultManagedAppProtection object.
* @param DefaultManagedAppProtection $body The request body
* @param DefaultManagedAppProtectionItemRequestBuilderPatchRequestConfiguration|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;

/**
* Default managed app policies.
* Read properties and relationships of the defaultManagedAppProtection object.
*/
class DefaultManagedAppProtectionItemRequestBuilderGetQueryParameters
{
Expand Down
Loading

0 comments on commit 4eef7e6

Please sign in to comment.