Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function delete(?TargetedChatMessageItemRequestBuilderDeleteRequestConfig
}

/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param TargetedChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<TargetedChatMessage|null>
* @throws Exception
Expand Down Expand Up @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?TargetedChatMessageItemRequestBuilde
}

/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param TargetedChatMessageItemRequestBuilderGetRequestConfiguration|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 targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
*/
class TargetedChatMessageItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param TargetedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<TargetedChatMessageCollectionResponse|null>
* @throws Exception
Expand Down Expand Up @@ -81,7 +81,7 @@ public function post(TargetedChatMessage $body, ?TargetedMessagesRequestBuilderP
}

/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param TargetedMessagesRequestBuilderGetRequestConfiguration|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 targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
*/
class TargetedMessagesRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function delete(?RecoveryJobBaseItemRequestBuilderDeleteRequestConfigurat
}

/**
* Get jobs from directory
* Collection of all recovery jobs (both preview and recovery) for the tenant.
* @param RecoveryJobBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<RecoveryJobBase|null>
* @throws Exception
Expand Down Expand Up @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?RecoveryJobBaseItemRequestBuilderDel
}

/**
* Get jobs from directory
* Collection of all recovery jobs (both preview and recovery) for the tenant.
* @param RecoveryJobBaseItemRequestBuilderGetRequestConfiguration|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 jobs from directory
* Collection of all recovery jobs (both preview and recovery) for the tenant.
*/
class RecoveryJobBaseItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get jobs from directory
* Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
* @param JobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<RecoveryJobBaseCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/entrarecoveryservices-recovery-list-jobs?view=graph-rest-1.0 Find more info here
*/
public function get(?JobsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -81,7 +82,7 @@ public function post(RecoveryJobBase $body, ?JobsRequestBuilderPostRequestConfig
}

/**
* Get jobs from directory
* Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
* @param JobsRequestBuilderGetRequestConfiguration|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 jobs from directory
* Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
*/
class JobsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param RecoveryJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<RecoveryJob|null>
* @throws Exception
Expand All @@ -45,7 +45,7 @@ public function get(?RecoveryJobItemRequestBuilderGetRequestConfiguration $reque
}

/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param RecoveryJobItemRequestBuilderGetRequestConfiguration|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 recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
*/
class RecoveryJobItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param RecoveryJobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<RecoveryJobCollectionResponse|null>
* @throws Exception
Expand All @@ -65,7 +65,7 @@ public function get(?RecoveryJobsRequestBuilderGetRequestConfiguration $requestC
}

/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param RecoveryJobsRequestBuilderGetRequestConfiguration|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 recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
*/
class RecoveryJobsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param RecoveryPreviewJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<RecoveryPreviewJob|null>
* @throws Exception
Expand All @@ -45,7 +45,7 @@ public function get(?RecoveryPreviewJobItemRequestBuilderGetRequestConfiguration
}

/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param RecoveryPreviewJobItemRequestBuilderGetRequestConfiguration|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 recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
*/
class RecoveryPreviewJobItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param RecoveryPreviewJobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<RecoveryPreviewJobCollectionResponse|null>
* @throws Exception
Expand All @@ -65,7 +65,7 @@ public function get(?RecoveryPreviewJobsRequestBuilderGetRequestConfiguration $r
}

/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param RecoveryPreviewJobsRequestBuilderGetRequestConfiguration|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 recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
*/
class RecoveryPreviewJobsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function delete(?SnapshotItemRequestBuilderDeleteRequestConfiguration $re
}

/**
* Get snapshots from directory
* Collection of backup snapshots available for the tenant.
* @param SnapshotItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<Snapshot|null>
* @throws Exception
Expand Down Expand Up @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?SnapshotItemRequestBuilderDeleteRequ
}

/**
* Get snapshots from directory
* Collection of backup snapshots available for the tenant.
* @param SnapshotItemRequestBuilderGetRequestConfiguration|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 snapshots from directory
* Collection of backup snapshots available for the tenant.
*/
class SnapshotItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get snapshots from directory
* Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
* @param SnapshotsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<SnapshotCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/entrarecoveryservices-recovery-list-snapshots?view=graph-rest-1.0 Find more info here
*/
public function get(?SnapshotsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -81,7 +82,7 @@ public function post(Snapshot $body, ?SnapshotsRequestBuilderPostRequestConfigur
}

/**
* Get snapshots from directory
* Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
* @param SnapshotsRequestBuilderGetRequestConfiguration|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 snapshots from directory
* Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
*/
class SnapshotsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Invoke action assignSensitivityLabel
* Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
* @param AssignSensitivityLabelPostRequestBody $body The request body
* @param AssignSensitivityLabelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-1.0 Find more info here
*/
public function post(AssignSensitivityLabelPostRequestBody $body, ?AssignSensitivityLabelRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand All @@ -45,7 +46,7 @@ public function post(AssignSensitivityLabelPostRequestBody $body, ?AssignSensiti
}

/**
* Invoke action assignSensitivityLabel
* Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
* @param AssignSensitivityLabelPostRequestBody $body The request body
* @param AssignSensitivityLabelRequestBuilderPostRequestConfiguration|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 @@ -115,7 +115,7 @@ public function getOdataType(): ?string {
}

/**
* Gets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy.
* Gets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy.
* @return string|null
*/
public function getType(): ?string {
Expand Down Expand Up @@ -179,7 +179,7 @@ public function setOdataType(?string $value): void {
}

/**
* Sets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy.
* Sets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy.
* @param string|null $value Value to set for the type property.
*/
public function setType(?string $value): void {
Expand Down
4 changes: 2 additions & 2 deletions src/Generated/Models/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function getTabs(): ?array {
}

/**
* Gets the targetedMessages property value. The targetedMessages property
* Gets the targetedMessages property value. A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @return array<TargetedChatMessage>|null
*/
public function getTargetedMessages(): ?array {
Expand Down Expand Up @@ -437,7 +437,7 @@ public function setTabs(?array $value): void {
}

/**
* Sets the targetedMessages property value. The targetedMessages property
* Sets the targetedMessages property value. A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param array<TargetedChatMessage>|null $value Value to set for the targetedMessages property.
*/
public function setTargetedMessages(?array $value): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore {
}

/**
* Gets the entityIds property value. The entityIds property
* Gets the entityIds property value. The list of entity IDs for the specified entity type.
* @return array<string>|null
*/
public function getEntityIds(): ?array {
Expand Down Expand Up @@ -142,7 +142,7 @@ public function setBackingStore(BackingStore $value): void {
}

/**
* Sets the entityIds property value. The entityIds property
* Sets the entityIds property value. The list of entity IDs for the specified entity type.
* @param array<string>|null $value Value to set for the entityIds property.
*/
public function setEntityIds(?array $value): void {
Expand Down
Loading
Loading