Skip to content

Commit

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

Generated  models and request builders
  • Loading branch information
Ndiritu authored Jun 20, 2023
2 parents 9383e3b + 047ff1e commit d039c4f
Show file tree
Hide file tree
Showing 327 changed files with 794 additions and 540 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-RC15",
"microsoft/microsoft-graph": "^2.0.0-RC16",
}
}
```
OR
```
{
"require": {
"microsoft/microsoft-graph": "^2.0.0-RC15",
"microsoft/microsoft-graph": "^2.0.0-RC16",
"microsoft/microsoft-graph-core": "@RC"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu
}

/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
* @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder
}

/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
* @param ConversationMemberItemRequestBuilderGetRequestConfiguration|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;

/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
*/
class ConversationMemberItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig
}

/**
* Create a new reply to a chatMessage in a specified channel.
* Send 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/channel-post-messagereply?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/chatmessage-post-replies?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
}

/**
* Create a new reply to a chatMessage in a specified channel.
* Send 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
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $
}

/**
* Update the navigation property columns in drives
* Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].
* @param ColumnDefinition $body The request body
* @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 Find more info here
*/
public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -135,7 +136,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe
}

/**
* Update the navigation property columns in drives
* Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition].
* @param ColumnDefinition $body The request body
* @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|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 @@ -284,11 +284,11 @@ public function getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInter
}

/**
* To move a DriveItem to a new parent item, your app requests to update the **parentReference** of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request.
* Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's **parentReference** property.
* @param DriveItem $body The request body
* @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0 Find more info here
*/
public function patch(DriveItem $body, ?DriveItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -351,7 +351,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo
}

/**
* To move a DriveItem to a new parent item, your app requests to update the **parentReference** of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request.
* Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's **parentReference** property.
* @param DriveItem $body The request body
* @param DriveItemItemRequestBuilderPatchRequestConfiguration|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 @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Retrieve the properties and relationships of range object.
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/range-get?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here
*/
public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -51,7 +51,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur
}

/**
* Retrieve the properties and relationships of range object.
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param RangeRequestBuilderGetRequestConfiguration|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 @@ -72,7 +72,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of nameditem objects.
* @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/nameditem-list?view=graph-rest-1.0 Find more info here
*/
public function get(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of tablecolumn objects.
* @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of tablerow objects.
* @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here
*/
public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of table objects.
* @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/table-list?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/workbook-list-tables?view=graph-rest-1.0 Find more info here
*/
public function get(?TablesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of chart objects.
* @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/chart-list?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0 Find more info here
*/
public function get(?ChartsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Retrieve a list of chartpoints objects.
* Retrieve a list of chartpoint objects.
* @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0 Find more info here
*/
public function get(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -102,7 +102,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC
}

/**
* Retrieve a list of chartpoints objects.
* Retrieve a list of chartpoint objects.
* @param PointsRequestBuilderGetRequestConfiguration|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;

/**
* Retrieve a list of chartpoints objects.
* Retrieve a list of chartpoint objects.
*/
class PointsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of chartseries objects.
* @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0 Find more info here
*/
public function get(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Retrieve the properties and relationships of range object.
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/range-get?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here
*/
public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -51,7 +51,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur
}

/**
* Retrieve the properties and relationships of range object.
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param RangeRequestBuilderGetRequestConfiguration|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 @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of tablecolumn objects.
* @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* Retrieve a list of tablerow objects.
* @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here
* @link https://docs.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here
*/
public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque
}

/**
* Get submittedResources from education
* Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Note that teachers can leave notes in some resources.
* @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise
* @link https://docs.microsoft.com/graph/api/educationsubmittedsubmissionresource-get?view=graph-rest-1.0 Find more info here
*/
public function get(?EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -104,7 +105,7 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque
}

/**
* Get submittedResources from education
* Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Note that teachers can leave notes in some resources.
* @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|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;

/**
* Get submittedResources from education
* Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Note that teachers can leave notes in some resources.
*/
class EducationSubmissionResourceItemRequestBuilderGetQueryParameters
{
Expand Down
Loading

0 comments on commit d039c4f

Please sign in to comment.