diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 73cebe29760..95257bc5ead 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 13da59c62c1..421bd7f2048 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index 12acddc4670..8bcf9646ece 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invite participants to the active call. For more information about how to handle operations, see commsOperation. + * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Invite participants to the active call. For more information about how to handle operations, see commsOperation. + * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php index d4a94c32929..d6d77c4f556 100644 --- a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. * @param OnlineMeetingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -106,7 +106,7 @@ public function post(OnlineMeeting $body, ?OnlineMeetingsRequestBuilderPostReque } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. * @param OnlineMeetingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php index 3d7a71828bb..59876eaefb0 100644 --- a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. */ class OnlineMeetingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index b9dc36bcf9a..e445dd4543d 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index ea6ff0df539..b87ed38f982 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the managedAppPolicy object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the managedAppPolicy object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index ef9bce96aef..58b0bb0c0c9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the managedAppPolicy object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index c9e0d3a0088..2c92f59d08d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 98d1e73293e..0cf00c54e3d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index f8dc868a894..d534a409ba9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index 49c7472578f..f2aeb41e1d8 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php index 83949e72d79..bae004f29fe 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 0e65ab6bf24..81082a207c7 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index b4f489ab30a..8163f822b71 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 1b81a537200..767ab2c7107 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php index e257e0cbe70..1a778e35b25 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index 09583ad8d7a..1b6706769e5 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppStatus $body, ?ManagedAppStatusesRequestBuilderPo } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php index 02671246a61..1de2629bd1c 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. */ class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index 01a4d78f3e1..e6210e194fc 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index 724f1b87c4e..3d660b86958 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemR } /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index 854e051c551..fa920db8c52 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php index 1d32b9e08bd..59b3854b25c 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php @@ -86,11 +86,11 @@ public function delete(?ManagedEBookItemRequestBuilderDeleteRequestConfiguration } /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -135,7 +135,7 @@ public function toDeleteRequestInformation(?ManagedEBookItemRequestBuilderDelete } /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php index 271c28a403d..5270a02e617 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. */ class ManagedEBookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 1cc73821995..84440f830ba 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosiPadOSWebClip. + * Deletes a win32LobApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the win32LobApp object. + * Read properties and relationships of the iosStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a macOSLobApp object. + * Update the properties of a managedAndroidLobApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a iosiPadOSWebClip. + * Deletes a win32LobApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the win32LobApp object. + * Read properties and relationships of the iosStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a macOSLobApp object. + * Update the properties of a managedAndroidLobApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index 6755f5b832b..0c383048134 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the win32LobApp object. + * Read properties and relationships of the iosStoreApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 3dbdbb63ec8..539b4071481 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the mobileLobApp objects. + * List properties and relationships of the windowsMobileMSI objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-mobilelobapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -195,12 +195,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new androidLobApp object. + * Create a new managedAndroidLobApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the mobileLobApp objects. + * List properties and relationships of the windowsMobileMSI objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -232,7 +232,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new androidLobApp object. + * Create a new managedAndroidLobApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php index 992e0c67b21..ec8cf4b26b5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the mobileLobApp objects. + * List properties and relationships of the windowsMobileMSI objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 50816ecc9ce..69e636d3803 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windows10CompliancePolicy object. + * Create a new androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windows10CompliancePolicy object. + * Create a new androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 1cbad02b025..da4e76d940e 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows81CompliancePolicy. + * Deletes a windows10CompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a windows81CompliancePolicy. + * Deletes a windows10CompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index ea4fc4eba34..b4825fdae1d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the androidWorkProfileCompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index b7221c52c92..d7a18bd0d59 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosDeviceFeaturesConfiguration objects. + * List properties and relationships of the appleDeviceFeaturesConfigurationBase objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-appledevicefeaturesconfigurationbase-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the iosDeviceFeaturesConfiguration objects. + * List properties and relationships of the appleDeviceFeaturesConfigurationBase objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php index a3322f142df..9b64cdba0ec 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosDeviceFeaturesConfiguration objects. + * List properties and relationships of the appleDeviceFeaturesConfigurationBase objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index 0522e69efdd..c0d18bca1ea 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosGeneralDeviceConfiguration. + * Deletes a windows81GeneralConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the windows81GeneralConfiguration object. + * Read properties and relationships of the windowsUpdateForBusinessConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. + * Update the properties of a macOSCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a iosGeneralDeviceConfiguration. + * Deletes a windows81GeneralConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the windows81GeneralConfiguration object. + * Read properties and relationships of the windowsUpdateForBusinessConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. + * Update the properties of a macOSCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index 85bbe439da1..18dac0f0170 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windows81GeneralConfiguration object. + * Read properties and relationships of the windowsUpdateForBusinessConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index 737b07129ef..f47aa1f4793 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php index 4120d08866e..548f8e3b8a8 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 6e29c91b949..3e463d5b739 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -85,12 +85,12 @@ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestCo } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,7 +140,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index b1f0ee940b0..294e6cdca16 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -509,7 +509,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -534,7 +534,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index e13378d3623..268f71f1c9f 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 5b0c2ffab4f..448a7624ee5 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 47be9ad9743..419c92ac755 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php index 02cf8f938d1..12be304bc7c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php index cc31d651f51..817867f8755 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 814e400c329..6c371b0f61a 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?ExternalItemItemRequestBuilderGetRequestConfiguration $requ } /** - * Create a new externalItem object. + * Update the properties of an externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 Find more info here */ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -132,7 +132,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } /** - * Create a new externalItem object. + * Update the properties of an externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/GroupsRequestBuilder.php index 53cf3f32c0e..f6a2b404f5e 100644 --- a/src/Generated/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/GroupsRequestBuilder.php @@ -99,12 +99,12 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 Find more info here */ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -136,7 +136,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 8598f814057..c4618ce7781 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 7ed4daa3440..a21735b2eae 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 Find more info here */ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -87,7 +87,7 @@ public function toDeleteRequestInformation(?ConversationItemRequestBuilderDelete } /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php index 7065f9e0262..54b516ea9f8 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. */ class ConversationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index ff71408b5cc..87ff9d06b72 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..b3c58ef3d5c --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c2c7e97a74e --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cbfd902f322 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.php new file mode 100644 index 00000000000..f8539a6250b --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + * @param string $dayNoteId The unique identifier of dayNote + * @return DayNoteItemRequestBuilder + */ + public function byDayNoteId(string $dayNoteId): DayNoteItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['dayNote%2Did'] = $dayNoteId; + return new DayNoteItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new DayNotesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The day notes in the schedule. + * @param DayNotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DayNotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNoteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to dayNotes for groups + * @param DayNote $body The request body + * @param DayNotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DayNote $body, ?DayNotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The day notes in the schedule. + * @param DayNotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DayNotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to dayNotes for groups + * @param DayNote $body The request body + * @param DayNotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DayNote $body, ?DayNotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DayNotesRequestBuilder + */ + public function withUrl(string $rawUrl): DayNotesRequestBuilder { + return new DayNotesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5540d46586a --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new DayNotesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..971962cc7b9 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DayNotesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DayNotesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DayNotesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return DayNotesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DayNotesRequestBuilderGetQueryParameters { + return new DayNotesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilderPutRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php similarity index 66% rename from src/Generated/Users/Item/Manager/Ref/RefRequestBuilderPutRequestConfiguration.php rename to src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php index cc967f54447..31ee80cd1b1 100644 --- a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilderPutRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php new file mode 100644 index 00000000000..bc1632afb83 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property dayNotes for groups + * @param DayNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DayNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The day notes in the schedule. + * @param DayNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DayNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property dayNotes in groups + * @param DayNote $body The request body + * @param DayNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(DayNote $body, ?DayNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property dayNotes for groups + * @param DayNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DayNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The day notes in the schedule. + * @param DayNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DayNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property dayNotes in groups + * @param DayNote $body The request body + * @param DayNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(DayNote $body, ?DayNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DayNoteItemRequestBuilder + */ + public function withUrl(string $rawUrl): DayNoteItemRequestBuilder { + return new DayNoteItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..d665c390168 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a8b433ac8ec --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new DayNoteItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f8e3a187f39 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DayNoteItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DayNoteItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DayNoteItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DayNoteItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DayNoteItemRequestBuilderGetQueryParameters { + return new DayNoteItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..369e942231c --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php index 181d69142d6..626a06f7047 100644 --- a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\DayNotes\DayNotesRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\OfferShiftRequests\OfferShiftRequestsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\OpenShiftChangeRequests\OpenShiftChangeRequestsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\OpenShifts\OpenShiftsRequestBuilder; @@ -11,6 +12,7 @@ use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\Share\ShareRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\Shifts\ShiftsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\SwapShiftsChangeRequests\SwapShiftsChangeRequestsRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\TimeCards\TimeCardsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\TimeOffReasons\TimeOffReasonsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\TimeOffRequests\TimeOffRequestsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Schedule\TimesOff\TimesOffRequestBuilder; @@ -26,6 +28,13 @@ */ class ScheduleRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + */ + public function dayNotes(): DayNotesRequestBuilder { + return new DayNotesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. */ @@ -75,6 +84,13 @@ public function swapShiftsChangeRequests(): SwapShiftsChangeRequestsRequestBuild return new SwapShiftsChangeRequestsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + */ + public function timeCards(): TimeCardsRequestBuilder { + return new TimeCardsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. */ diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php new file mode 100644 index 00000000000..1e14a118c3f --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ClockInPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClockInPostRequestBody { + return new ClockInPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php new file mode 100644 index 00000000000..562d106c246 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clock in to start a timeCard. + * @param ClockInPostRequestBody $body The request body + * @param ClockInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 Find more info here + */ + public function post(ClockInPostRequestBody $body, ?ClockInRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Clock in to start a timeCard. + * @param ClockInPostRequestBody $body The request body + * @param ClockInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ClockInPostRequestBody $body, ?ClockInRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ClockInRequestBuilder + */ + public function withUrl(string $rawUrl): ClockInRequestBuilder { + return new ClockInRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6193cd40d79 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..96501f6f46e --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fe1f6ce5dcf --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c248ca828ea --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php new file mode 100644 index 00000000000..76fbf9382fb --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ClockOutPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClockOutPostRequestBody { + return new ClockOutPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php new file mode 100644 index 00000000000..588da0e49a1 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action clockOut + * @param ClockOutPostRequestBody $body The request body + * @param ClockOutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ClockOutPostRequestBody $body, ?ClockOutRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action clockOut + * @param ClockOutPostRequestBody $body The request body + * @param ClockOutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ClockOutPostRequestBody $body, ?ClockOutRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ClockOutRequestBuilder + */ + public function withUrl(string $rawUrl): ClockOutRequestBuilder { + return new ClockOutRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..9eae1a0e070 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php new file mode 100644 index 00000000000..059fd3cf3d2 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php @@ -0,0 +1,75 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Confirm a timeCard. + * @param ConfirmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 Find more info here + */ + public function post(?ConfirmRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Confirm a timeCard. + * @param ConfirmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ConfirmRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmRequestBuilder { + return new ConfirmRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..fd9edd24470 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php new file mode 100644 index 00000000000..8e6ff04ad0a --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EndBreakPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EndBreakPostRequestBody { + return new EndBreakPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php new file mode 100644 index 00000000000..4614de3fbe0 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action endBreak + * @param EndBreakPostRequestBody $body The request body + * @param EndBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EndBreakPostRequestBody $body, ?EndBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action endBreak + * @param EndBreakPostRequestBody $body The request body + * @param EndBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EndBreakPostRequestBody $body, ?EndBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EndBreakRequestBuilder + */ + public function withUrl(string $rawUrl): EndBreakRequestBuilder { + return new EndBreakRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5c6431ae596 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php new file mode 100644 index 00000000000..a1fb315c79e --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartBreakPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartBreakPostRequestBody { + return new StartBreakPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php new file mode 100644 index 00000000000..3dc02408c77 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action startBreak + * @param StartBreakPostRequestBody $body The request body + * @param StartBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(StartBreakPostRequestBody $body, ?StartBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action startBreak + * @param StartBreakPostRequestBody $body The request body + * @param StartBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartBreakPostRequestBody $body, ?StartBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartBreakRequestBuilder + */ + public function withUrl(string $rawUrl): StartBreakRequestBuilder { + return new StartBreakRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..51fc017de40 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php new file mode 100644 index 00000000000..986808c19d7 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -0,0 +1,176 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the confirm method. + */ + public function confirm(): ConfirmRequestBuilder { + return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the endBreak method. + */ + public function endBreak(): EndBreakRequestBuilder { + return new EndBreakRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the startBreak method. + */ + public function startBreak(): StartBreakRequestBuilder { + return new StartBreakRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TimeCardItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property timeCards for groups + * @param TimeCardItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TimeCardItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The time cards in the schedule. + * @param TimeCardItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TimeCardItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property timeCards in groups + * @param TimeCard $body The request body + * @param TimeCardItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TimeCard $body, ?TimeCardItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property timeCards for groups + * @param TimeCardItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TimeCardItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The time cards in the schedule. + * @param TimeCardItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TimeCardItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property timeCards in groups + * @param TimeCard $body The request body + * @param TimeCardItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TimeCard $body, ?TimeCardItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TimeCardItemRequestBuilder + */ + public function withUrl(string $rawUrl): TimeCardItemRequestBuilder { + return new TimeCardItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..cec7de64413 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d04380d69cf --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TimeCardItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3f3804a888e --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TimeCardItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TimeCardItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TimeCardItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TimeCardItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeCardItemRequestBuilderGetQueryParameters { + return new TimeCardItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..47782775ef6 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.php new file mode 100644 index 00000000000..ece20e16c8b --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to count the resources in the collection. + */ + public function count(): CountRequestBuilder { + return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + * @param string $timeCardId The unique identifier of timeCard + * @return TimeCardItemRequestBuilder + */ + public function byTimeCardId(string $timeCardId): TimeCardItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['timeCard%2Did'] = $timeCardId; + return new TimeCardItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new TimeCardsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The time cards in the schedule. + * @param TimeCardsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TimeCardsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCardCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to timeCards for groups + * @param TimeCard $body The request body + * @param TimeCardsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(TimeCard $body, ?TimeCardsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The time cards in the schedule. + * @param TimeCardsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TimeCardsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to timeCards for groups + * @param TimeCard $body The request body + * @param TimeCardsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TimeCard $body, ?TimeCardsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TimeCardsRequestBuilder + */ + public function withUrl(string $rawUrl): TimeCardsRequestBuilder { + return new TimeCardsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d6aed13a72b --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new TimeCardsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c148c3fbbd6 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TimeCardsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TimeCardsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TimeCardsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return TimeCardsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeCardsRequestBuilderGetQueryParameters { + return new TimeCardsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..095f1566556 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index c270b3b312f..5d9dc5868e9 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -62,11 +62,11 @@ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfigu } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -111,7 +111,7 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index fefa316602e..64e1539675a 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index f4530b3b65b..719c5714495 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 87edf4131b2..2e64bf9f2fe 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a namedLocation object. + * Delete a countryNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a namedLocation object. + * Delete a countryNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 7ed57d3f26d..1ade86add76 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -102,11 +102,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -151,7 +151,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index b0dedf46c49..95e920d4be4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index a0f01050229..6bb138e77b9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -61,12 +61,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -116,7 +116,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 4e607afdbae..943430a02e7 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index 3ba58bfc831..c02c9925684 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AllowedLobbyAdmitterRoles.php b/src/Generated/Models/AllowedLobbyAdmitterRoles.php new file mode 100644 index 00000000000..67d7e8cff8e --- /dev/null +++ b/src/Generated/Models/AllowedLobbyAdmitterRoles.php @@ -0,0 +1,11 @@ +|null */ public function getOwners(): ?array { @@ -963,7 +963,7 @@ public function setOptionalClaims(?OptionalClaims $value): void { } /** - * Sets the owners property value. 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. + * Sets the owners property value. Directory objects that are owners of this application. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * @param array|null $value Value to set for the owners property. */ public function setOwners(?array $value): void { diff --git a/src/Generated/Models/ChangeTrackedEntity.php b/src/Generated/Models/ChangeTrackedEntity.php index 9c0ba22fabc..7938bfe728f 100644 --- a/src/Generated/Models/ChangeTrackedEntity.php +++ b/src/Generated/Models/ChangeTrackedEntity.php @@ -26,6 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Chang if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.dayNote': return new DayNote(); case '#microsoft.graph.offerShiftRequest': return new OfferShiftRequest(); case '#microsoft.graph.openShift': return new OpenShift(); case '#microsoft.graph.openShiftChangeRequest': return new OpenShiftChangeRequest(); @@ -34,6 +35,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Chang case '#microsoft.graph.shift': return new Shift(); case '#microsoft.graph.shiftPreferences': return new ShiftPreferences(); case '#microsoft.graph.swapShiftsChangeRequest': return new SwapShiftsChangeRequest(); + case '#microsoft.graph.timeCard': return new TimeCard(); case '#microsoft.graph.timeOff': return new TimeOff(); case '#microsoft.graph.timeOffReason': return new TimeOffReason(); case '#microsoft.graph.timeOffRequest': return new TimeOffRequest(); @@ -43,6 +45,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Chang return new ChangeTrackedEntity(); } + /** + * Gets the createdBy property value. Identity of the creator of the entity. + * @return IdentitySet|null + */ + public function getCreatedBy(): ?IdentitySet { + $val = $this->getBackingStore()->get('createdBy'); + if (is_null($val) || $val instanceof IdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdBy'"); + } + /** * Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * @return DateTime|null @@ -62,6 +76,7 @@ public function getCreatedDateTime(): ?DateTime { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'createdBy' => fn(ParseNode $n) => $o->setCreatedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'lastModifiedBy' => fn(ParseNode $n) => $o->setLastModifiedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), @@ -98,6 +113,15 @@ public function getLastModifiedDateTime(): ?DateTime { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('createdBy', $this->getCreatedBy()); + } + + /** + * Sets the createdBy property value. Identity of the creator of the entity. + * @param IdentitySet|null $value Value to set for the createdBy property. + */ + public function setCreatedBy(?IdentitySet $value): void { + $this->getBackingStore()->set('createdBy', $value); } /** diff --git a/src/Generated/Models/ConfirmedBy.php b/src/Generated/Models/ConfirmedBy.php new file mode 100644 index 00000000000..3f1322fe9cf --- /dev/null +++ b/src/Generated/Models/ConfirmedBy.php @@ -0,0 +1,12 @@ +setOdataType('#microsoft.graph.dayNote'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DayNote + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DayNote { + return new DayNote(); + } + + /** + * Gets the dayNoteDate property value. The date of the day note. + * @return Date|null + */ + public function getDayNoteDate(): ?Date { + $val = $this->getBackingStore()->get('dayNoteDate'); + if (is_null($val) || $val instanceof Date) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dayNoteDate'"); + } + + /** + * Gets the draftDayNote property value. The draft version of this day note that is viewable by managers. Only contentType text is supported. + * @return ItemBody|null + */ + public function getDraftDayNote(): ?ItemBody { + $val = $this->getBackingStore()->get('draftDayNote'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'draftDayNote'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'dayNoteDate' => fn(ParseNode $n) => $o->setDayNoteDate($n->getDateValue()), + 'draftDayNote' => fn(ParseNode $n) => $o->setDraftDayNote($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + 'sharedDayNote' => fn(ParseNode $n) => $o->setSharedDayNote($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the sharedDayNote property value. The shared version of this day note that is viewable by both employees and managers. Only contentType text is supported. + * @return ItemBody|null + */ + public function getSharedDayNote(): ?ItemBody { + $val = $this->getBackingStore()->get('sharedDayNote'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sharedDayNote'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateValue('dayNoteDate', $this->getDayNoteDate()); + $writer->writeObjectValue('draftDayNote', $this->getDraftDayNote()); + $writer->writeObjectValue('sharedDayNote', $this->getSharedDayNote()); + } + + /** + * Sets the dayNoteDate property value. The date of the day note. + * @param Date|null $value Value to set for the dayNoteDate property. + */ + public function setDayNoteDate(?Date $value): void { + $this->getBackingStore()->set('dayNoteDate', $value); + } + + /** + * Sets the draftDayNote property value. The draft version of this day note that is viewable by managers. Only contentType text is supported. + * @param ItemBody|null $value Value to set for the draftDayNote property. + */ + public function setDraftDayNote(?ItemBody $value): void { + $this->getBackingStore()->set('draftDayNote', $value); + } + + /** + * Sets the sharedDayNote property value. The shared version of this day note that is viewable by both employees and managers. Only contentType text is supported. + * @param ItemBody|null $value Value to set for the sharedDayNote property. + */ + public function setSharedDayNote(?ItemBody $value): void { + $this->getBackingStore()->set('sharedDayNote', $value); + } + +} diff --git a/src/Generated/Models/DayNoteCollectionResponse.php b/src/Generated/Models/DayNoteCollectionResponse.php new file mode 100644 index 00000000000..4c660f22407 --- /dev/null +++ b/src/Generated/Models/DayNoteCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DayNote::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DayNote::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 59b935e3a70..3ceb4cb8f62 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -333,6 +333,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.customExtensionStageSetting': return new CustomExtensionStageSetting(); case '#microsoft.graph.customSecurityAttributeDefinition': return new CustomSecurityAttributeDefinition(); case '#microsoft.graph.dataPolicyOperation': return new DataPolicyOperation(); + case '#microsoft.graph.dayNote': return new DayNote(); case '#microsoft.graph.defaultManagedAppProtection': return new DefaultManagedAppProtection(); case '#microsoft.graph.delegatedAdminAccessAssignment': return new DelegatedAdminAccessAssignment(); case '#microsoft.graph.delegatedAdminCustomer': return new DelegatedAdminCustomer(); @@ -939,6 +940,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.threatAssessmentRequest': return new ThreatAssessmentRequest(); case '#microsoft.graph.threatAssessmentResult': return new ThreatAssessmentResult(); case '#microsoft.graph.thumbnailSet': return new ThumbnailSet(); + case '#microsoft.graph.timeCard': return new TimeCard(); case '#microsoft.graph.timeOff': return new TimeOff(); case '#microsoft.graph.timeOffReason': return new TimeOffReason(); case '#microsoft.graph.timeOffRequest': return new TimeOffRequest(); diff --git a/src/Generated/Models/MeetingLiveShareOptions.php b/src/Generated/Models/MeetingLiveShareOptions.php new file mode 100644 index 00000000000..b01d15ff489 --- /dev/null +++ b/src/Generated/Models/MeetingLiveShareOptions.php @@ -0,0 +1,11 @@ +getBackingStore()->get('allowBreakoutRooms'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowBreakoutRooms'"); + } + + /** + * Gets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. + * @return AllowedLobbyAdmitterRoles|null + */ + public function getAllowedLobbyAdmitters(): ?AllowedLobbyAdmitterRoles { + $val = $this->getBackingStore()->get('allowedLobbyAdmitters'); + if (is_null($val) || $val instanceof AllowedLobbyAdmitterRoles) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowedLobbyAdmitters'"); + } + /** * Gets the allowedPresenters property value. Specifies who can be a presenter in a meeting. * @return OnlineMeetingPresenters|null @@ -69,6 +93,18 @@ public function getAllowedPresenters(): ?OnlineMeetingPresenters { throw new \UnexpectedValueException("Invalid type found in backing store for 'allowedPresenters'"); } + /** + * Gets the allowLiveShare property value. Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue. + * @return MeetingLiveShareOptions|null + */ + public function getAllowLiveShare(): ?MeetingLiveShareOptions { + $val = $this->getBackingStore()->get('allowLiveShare'); + if (is_null($val) || $val instanceof MeetingLiveShareOptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowLiveShare'"); + } + /** * Gets the allowMeetingChat property value. Specifies the mode of the meeting chat. * @return MeetingChatMode|null @@ -93,6 +129,18 @@ public function getAllowParticipantsToChangeName(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'allowParticipantsToChangeName'"); } + /** + * Gets the allowPowerPointSharing property value. Indicates whether PowerPoint live is enabled for the meeting. + * @return bool|null + */ + public function getAllowPowerPointSharing(): ?bool { + $val = $this->getBackingStore()->get('allowPowerPointSharing'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowPowerPointSharing'"); + } + /** * Gets the allowRecording property value. Indicates whether recording is enabled for the meeting. * @return bool|null @@ -129,6 +177,18 @@ public function getAllowTranscription(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'allowTranscription'"); } + /** + * Gets the allowWhiteboard property value. Indicates whether whiteboard is enabled for the meeting. + * @return bool|null + */ + public function getAllowWhiteboard(): ?bool { + $val = $this->getBackingStore()->get('allowWhiteboard'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowWhiteboard'"); + } + /** * Gets the attendanceReports property value. The attendance reports of an online meeting. Read-only. * @return array|null @@ -188,12 +248,17 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'allowAttendeeToEnableCamera' => fn(ParseNode $n) => $o->setAllowAttendeeToEnableCamera($n->getBooleanValue()), 'allowAttendeeToEnableMic' => fn(ParseNode $n) => $o->setAllowAttendeeToEnableMic($n->getBooleanValue()), + 'allowBreakoutRooms' => fn(ParseNode $n) => $o->setAllowBreakoutRooms($n->getBooleanValue()), + 'allowedLobbyAdmitters' => fn(ParseNode $n) => $o->setAllowedLobbyAdmitters($n->getEnumValue(AllowedLobbyAdmitterRoles::class)), 'allowedPresenters' => fn(ParseNode $n) => $o->setAllowedPresenters($n->getEnumValue(OnlineMeetingPresenters::class)), + 'allowLiveShare' => fn(ParseNode $n) => $o->setAllowLiveShare($n->getEnumValue(MeetingLiveShareOptions::class)), 'allowMeetingChat' => fn(ParseNode $n) => $o->setAllowMeetingChat($n->getEnumValue(MeetingChatMode::class)), 'allowParticipantsToChangeName' => fn(ParseNode $n) => $o->setAllowParticipantsToChangeName($n->getBooleanValue()), + 'allowPowerPointSharing' => fn(ParseNode $n) => $o->setAllowPowerPointSharing($n->getBooleanValue()), 'allowRecording' => fn(ParseNode $n) => $o->setAllowRecording($n->getBooleanValue()), 'allowTeamworkReactions' => fn(ParseNode $n) => $o->setAllowTeamworkReactions($n->getBooleanValue()), 'allowTranscription' => fn(ParseNode $n) => $o->setAllowTranscription($n->getBooleanValue()), + 'allowWhiteboard' => fn(ParseNode $n) => $o->setAllowWhiteboard($n->getBooleanValue()), 'attendanceReports' => fn(ParseNode $n) => $o->setAttendanceReports($n->getCollectionOfObjectValues([MeetingAttendanceReport::class, 'createFromDiscriminatorValue'])), 'audioConferencing' => fn(ParseNode $n) => $o->setAudioConferencing($n->getObjectValue([AudioConferencing::class, 'createFromDiscriminatorValue'])), 'chatInfo' => fn(ParseNode $n) => $o->setChatInfo($n->getObjectValue([ChatInfo::class, 'createFromDiscriminatorValue'])), @@ -339,12 +404,17 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeBooleanValue('allowAttendeeToEnableCamera', $this->getAllowAttendeeToEnableCamera()); $writer->writeBooleanValue('allowAttendeeToEnableMic', $this->getAllowAttendeeToEnableMic()); + $writer->writeBooleanValue('allowBreakoutRooms', $this->getAllowBreakoutRooms()); + $writer->writeEnumValue('allowedLobbyAdmitters', $this->getAllowedLobbyAdmitters()); $writer->writeEnumValue('allowedPresenters', $this->getAllowedPresenters()); + $writer->writeEnumValue('allowLiveShare', $this->getAllowLiveShare()); $writer->writeEnumValue('allowMeetingChat', $this->getAllowMeetingChat()); $writer->writeBooleanValue('allowParticipantsToChangeName', $this->getAllowParticipantsToChangeName()); + $writer->writeBooleanValue('allowPowerPointSharing', $this->getAllowPowerPointSharing()); $writer->writeBooleanValue('allowRecording', $this->getAllowRecording()); $writer->writeBooleanValue('allowTeamworkReactions', $this->getAllowTeamworkReactions()); $writer->writeBooleanValue('allowTranscription', $this->getAllowTranscription()); + $writer->writeBooleanValue('allowWhiteboard', $this->getAllowWhiteboard()); $writer->writeCollectionOfObjectValues('attendanceReports', $this->getAttendanceReports()); $writer->writeObjectValue('audioConferencing', $this->getAudioConferencing()); $writer->writeObjectValue('chatInfo', $this->getChatInfo()); @@ -377,6 +447,22 @@ public function setAllowAttendeeToEnableMic(?bool $value): void { $this->getBackingStore()->set('allowAttendeeToEnableMic', $value); } + /** + * Sets the allowBreakoutRooms property value. Indicates whether breakout rooms are enabled for the meeting. + * @param bool|null $value Value to set for the allowBreakoutRooms property. + */ + public function setAllowBreakoutRooms(?bool $value): void { + $this->getBackingStore()->set('allowBreakoutRooms', $value); + } + + /** + * Sets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. + * @param AllowedLobbyAdmitterRoles|null $value Value to set for the allowedLobbyAdmitters property. + */ + public function setAllowedLobbyAdmitters(?AllowedLobbyAdmitterRoles $value): void { + $this->getBackingStore()->set('allowedLobbyAdmitters', $value); + } + /** * Sets the allowedPresenters property value. Specifies who can be a presenter in a meeting. * @param OnlineMeetingPresenters|null $value Value to set for the allowedPresenters property. @@ -385,6 +471,14 @@ public function setAllowedPresenters(?OnlineMeetingPresenters $value): void { $this->getBackingStore()->set('allowedPresenters', $value); } + /** + * Sets the allowLiveShare property value. Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue. + * @param MeetingLiveShareOptions|null $value Value to set for the allowLiveShare property. + */ + public function setAllowLiveShare(?MeetingLiveShareOptions $value): void { + $this->getBackingStore()->set('allowLiveShare', $value); + } + /** * Sets the allowMeetingChat property value. Specifies the mode of the meeting chat. * @param MeetingChatMode|null $value Value to set for the allowMeetingChat property. @@ -401,6 +495,14 @@ public function setAllowParticipantsToChangeName(?bool $value): void { $this->getBackingStore()->set('allowParticipantsToChangeName', $value); } + /** + * Sets the allowPowerPointSharing property value. Indicates whether PowerPoint live is enabled for the meeting. + * @param bool|null $value Value to set for the allowPowerPointSharing property. + */ + public function setAllowPowerPointSharing(?bool $value): void { + $this->getBackingStore()->set('allowPowerPointSharing', $value); + } + /** * Sets the allowRecording property value. Indicates whether recording is enabled for the meeting. * @param bool|null $value Value to set for the allowRecording property. @@ -425,6 +527,14 @@ public function setAllowTranscription(?bool $value): void { $this->getBackingStore()->set('allowTranscription', $value); } + /** + * Sets the allowWhiteboard property value. Indicates whether whiteboard is enabled for the meeting. + * @param bool|null $value Value to set for the allowWhiteboard property. + */ + public function setAllowWhiteboard(?bool $value): void { + $this->getBackingStore()->set('allowWhiteboard', $value); + } + /** * Sets the attendanceReports property value. The attendance reports of an online meeting. Read-only. * @param array|null $value Value to set for the attendanceReports property. diff --git a/src/Generated/Models/Schedule.php b/src/Generated/Models/Schedule.php index c578595f64f..dbacf1f420d 100644 --- a/src/Generated/Models/Schedule.php +++ b/src/Generated/Models/Schedule.php @@ -25,6 +25,20 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Sched return new Schedule(); } + /** + * Gets the dayNotes property value. The day notes in the schedule. + * @return array|null + */ + public function getDayNotes(): ?array { + $val = $this->getBackingStore()->get('dayNotes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DayNote::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dayNotes'"); + } + /** * Gets the enabled property value. Indicates whether the schedule is enabled for the team. Required. * @return bool|null @@ -44,7 +58,9 @@ public function getEnabled(): ?bool { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'dayNotes' => fn(ParseNode $n) => $o->setDayNotes($n->getCollectionOfObjectValues([DayNote::class, 'createFromDiscriminatorValue'])), 'enabled' => fn(ParseNode $n) => $o->setEnabled($n->getBooleanValue()), + 'isActivitiesIncludedWhenCopyingShiftsEnabled' => fn(ParseNode $n) => $o->setIsActivitiesIncludedWhenCopyingShiftsEnabled($n->getBooleanValue()), 'offerShiftRequests' => fn(ParseNode $n) => $o->setOfferShiftRequests($n->getCollectionOfObjectValues([OfferShiftRequest::class, 'createFromDiscriminatorValue'])), 'offerShiftRequestsEnabled' => fn(ParseNode $n) => $o->setOfferShiftRequestsEnabled($n->getBooleanValue()), 'openShiftChangeRequests' => fn(ParseNode $n) => $o->setOpenShiftChangeRequests($n->getCollectionOfObjectValues([OpenShiftChangeRequest::class, 'createFromDiscriminatorValue'])), @@ -54,9 +70,12 @@ public function getFieldDeserializers(): array { 'provisionStatusCode' => fn(ParseNode $n) => $o->setProvisionStatusCode($n->getStringValue()), 'schedulingGroups' => fn(ParseNode $n) => $o->setSchedulingGroups($n->getCollectionOfObjectValues([SchedulingGroup::class, 'createFromDiscriminatorValue'])), 'shifts' => fn(ParseNode $n) => $o->setShifts($n->getCollectionOfObjectValues([Shift::class, 'createFromDiscriminatorValue'])), + 'startDayOfWeek' => fn(ParseNode $n) => $o->setStartDayOfWeek($n->getEnumValue(DayOfWeek::class)), 'swapShiftsChangeRequests' => fn(ParseNode $n) => $o->setSwapShiftsChangeRequests($n->getCollectionOfObjectValues([SwapShiftsChangeRequest::class, 'createFromDiscriminatorValue'])), 'swapShiftsRequestsEnabled' => fn(ParseNode $n) => $o->setSwapShiftsRequestsEnabled($n->getBooleanValue()), + 'timeCards' => fn(ParseNode $n) => $o->setTimeCards($n->getCollectionOfObjectValues([TimeCard::class, 'createFromDiscriminatorValue'])), 'timeClockEnabled' => fn(ParseNode $n) => $o->setTimeClockEnabled($n->getBooleanValue()), + 'timeClockSettings' => fn(ParseNode $n) => $o->setTimeClockSettings($n->getObjectValue([TimeClockSettings::class, 'createFromDiscriminatorValue'])), 'timeOffReasons' => fn(ParseNode $n) => $o->setTimeOffReasons($n->getCollectionOfObjectValues([TimeOffReason::class, 'createFromDiscriminatorValue'])), 'timeOffRequests' => fn(ParseNode $n) => $o->setTimeOffRequests($n->getCollectionOfObjectValues([TimeOffRequest::class, 'createFromDiscriminatorValue'])), 'timeOffRequestsEnabled' => fn(ParseNode $n) => $o->setTimeOffRequestsEnabled($n->getBooleanValue()), @@ -73,6 +92,18 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the isActivitiesIncludedWhenCopyingShiftsEnabled property value. Indicates whether copied shifts include activities from the original shift. + * @return bool|null + */ + public function getIsActivitiesIncludedWhenCopyingShiftsEnabled(): ?bool { + $val = $this->getBackingStore()->get('isActivitiesIncludedWhenCopyingShiftsEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isActivitiesIncludedWhenCopyingShiftsEnabled'"); + } + /** * Gets the offerShiftRequests property value. The offer requests for shifts in the schedule. * @return array|null @@ -191,6 +222,18 @@ public function getShifts(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'shifts'"); } + /** + * Gets the startDayOfWeek property value. Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * @return DayOfWeek|null + */ + public function getStartDayOfWeek(): ?DayOfWeek { + $val = $this->getBackingStore()->get('startDayOfWeek'); + if (is_null($val) || $val instanceof DayOfWeek) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDayOfWeek'"); + } + /** * Gets the swapShiftsChangeRequests property value. The swap requests for shifts in the schedule. * @return array|null @@ -217,6 +260,20 @@ public function getSwapShiftsRequestsEnabled(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'swapShiftsRequestsEnabled'"); } + /** + * Gets the timeCards property value. The time cards in the schedule. + * @return array|null + */ + public function getTimeCards(): ?array { + $val = $this->getBackingStore()->get('timeCards'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TimeCard::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'timeCards'"); + } + /** * Gets the timeClockEnabled property value. Indicates whether time clock is enabled for the schedule. * @return bool|null @@ -229,6 +286,18 @@ public function getTimeClockEnabled(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'timeClockEnabled'"); } + /** + * Gets the timeClockSettings property value. The time clock location settings for this schedule. + * @return TimeClockSettings|null + */ + public function getTimeClockSettings(): ?TimeClockSettings { + $val = $this->getBackingStore()->get('timeClockSettings'); + if (is_null($val) || $val instanceof TimeClockSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'timeClockSettings'"); + } + /** * Gets the timeOffReasons property value. The set of reasons for a time off in the schedule. * @return array|null @@ -315,7 +384,9 @@ public function getWorkforceIntegrationIds(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('dayNotes', $this->getDayNotes()); $writer->writeBooleanValue('enabled', $this->getEnabled()); + $writer->writeBooleanValue('isActivitiesIncludedWhenCopyingShiftsEnabled', $this->getIsActivitiesIncludedWhenCopyingShiftsEnabled()); $writer->writeCollectionOfObjectValues('offerShiftRequests', $this->getOfferShiftRequests()); $writer->writeBooleanValue('offerShiftRequestsEnabled', $this->getOfferShiftRequestsEnabled()); $writer->writeCollectionOfObjectValues('openShiftChangeRequests', $this->getOpenShiftChangeRequests()); @@ -323,9 +394,12 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('openShiftsEnabled', $this->getOpenShiftsEnabled()); $writer->writeCollectionOfObjectValues('schedulingGroups', $this->getSchedulingGroups()); $writer->writeCollectionOfObjectValues('shifts', $this->getShifts()); + $writer->writeEnumValue('startDayOfWeek', $this->getStartDayOfWeek()); $writer->writeCollectionOfObjectValues('swapShiftsChangeRequests', $this->getSwapShiftsChangeRequests()); $writer->writeBooleanValue('swapShiftsRequestsEnabled', $this->getSwapShiftsRequestsEnabled()); + $writer->writeCollectionOfObjectValues('timeCards', $this->getTimeCards()); $writer->writeBooleanValue('timeClockEnabled', $this->getTimeClockEnabled()); + $writer->writeObjectValue('timeClockSettings', $this->getTimeClockSettings()); $writer->writeCollectionOfObjectValues('timeOffReasons', $this->getTimeOffReasons()); $writer->writeCollectionOfObjectValues('timeOffRequests', $this->getTimeOffRequests()); $writer->writeBooleanValue('timeOffRequestsEnabled', $this->getTimeOffRequestsEnabled()); @@ -334,6 +408,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfPrimitiveValues('workforceIntegrationIds', $this->getWorkforceIntegrationIds()); } + /** + * Sets the dayNotes property value. The day notes in the schedule. + * @param array|null $value Value to set for the dayNotes property. + */ + public function setDayNotes(?array $value): void { + $this->getBackingStore()->set('dayNotes', $value); + } + /** * Sets the enabled property value. Indicates whether the schedule is enabled for the team. Required. * @param bool|null $value Value to set for the enabled property. @@ -342,6 +424,14 @@ public function setEnabled(?bool $value): void { $this->getBackingStore()->set('enabled', $value); } + /** + * Sets the isActivitiesIncludedWhenCopyingShiftsEnabled property value. Indicates whether copied shifts include activities from the original shift. + * @param bool|null $value Value to set for the isActivitiesIncludedWhenCopyingShiftsEnabled property. + */ + public function setIsActivitiesIncludedWhenCopyingShiftsEnabled(?bool $value): void { + $this->getBackingStore()->set('isActivitiesIncludedWhenCopyingShiftsEnabled', $value); + } + /** * Sets the offerShiftRequests property value. The offer requests for shifts in the schedule. * @param array|null $value Value to set for the offerShiftRequests property. @@ -414,6 +504,14 @@ public function setShifts(?array $value): void { $this->getBackingStore()->set('shifts', $value); } + /** + * Sets the startDayOfWeek property value. Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * @param DayOfWeek|null $value Value to set for the startDayOfWeek property. + */ + public function setStartDayOfWeek(?DayOfWeek $value): void { + $this->getBackingStore()->set('startDayOfWeek', $value); + } + /** * Sets the swapShiftsChangeRequests property value. The swap requests for shifts in the schedule. * @param array|null $value Value to set for the swapShiftsChangeRequests property. @@ -430,6 +528,14 @@ public function setSwapShiftsRequestsEnabled(?bool $value): void { $this->getBackingStore()->set('swapShiftsRequestsEnabled', $value); } + /** + * Sets the timeCards property value. The time cards in the schedule. + * @param array|null $value Value to set for the timeCards property. + */ + public function setTimeCards(?array $value): void { + $this->getBackingStore()->set('timeCards', $value); + } + /** * Sets the timeClockEnabled property value. Indicates whether time clock is enabled for the schedule. * @param bool|null $value Value to set for the timeClockEnabled property. @@ -438,6 +544,14 @@ public function setTimeClockEnabled(?bool $value): void { $this->getBackingStore()->set('timeClockEnabled', $value); } + /** + * Sets the timeClockSettings property value. The time clock location settings for this schedule. + * @param TimeClockSettings|null $value Value to set for the timeClockSettings property. + */ + public function setTimeClockSettings(?TimeClockSettings $value): void { + $this->getBackingStore()->set('timeClockSettings', $value); + } + /** * Sets the timeOffReasons property value. The set of reasons for a time off in the schedule. * @param array|null $value Value to set for the timeOffReasons property. diff --git a/src/Generated/Models/SchedulingGroup.php b/src/Generated/Models/SchedulingGroup.php index b3e33a2779a..887b4909b2e 100644 --- a/src/Generated/Models/SchedulingGroup.php +++ b/src/Generated/Models/SchedulingGroup.php @@ -26,6 +26,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Sched return new SchedulingGroup(); } + /** + * Gets the code property value. The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. + * @return string|null + */ + public function getCode(): ?string { + $val = $this->getBackingStore()->get('code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'code'"); + } + /** * Gets the displayName property value. The display name for the schedulingGroup. Required. * @return string|null @@ -45,6 +57,7 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'code' => fn(ParseNode $n) => $o->setCode($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'isActive' => fn(ParseNode $n) => $o->setIsActive($n->getBooleanValue()), 'userIds' => function (ParseNode $n) { @@ -90,10 +103,19 @@ public function getUserIds(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeStringValue('code', $this->getCode()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeCollectionOfPrimitiveValues('userIds', $this->getUserIds()); } + /** + * Sets the code property value. The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. + * @param string|null $value Value to set for the code property. + */ + public function setCode(?string $value): void { + $this->getBackingStore()->set('code', $value); + } + /** * Sets the displayName property value. The display name for the schedulingGroup. Required. * @param string|null $value Value to set for the displayName property. diff --git a/src/Generated/Models/ServicePrincipal.php b/src/Generated/Models/ServicePrincipal.php index 6dd3a711b15..37fdb1d5fb1 100644 --- a/src/Generated/Models/ServicePrincipal.php +++ b/src/Generated/Models/ServicePrincipal.php @@ -568,7 +568,7 @@ public function getOwnedObjects(): ?array { } /** - * Gets the owners property value. Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Gets the owners property value. Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * @return array|null */ public function getOwners(): ?array { @@ -1134,7 +1134,7 @@ public function setOwnedObjects(?array $value): void { } /** - * Sets the owners property value. Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Sets the owners property value. Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * @param array|null $value Value to set for the owners property. */ public function setOwners(?array $value): void { diff --git a/src/Generated/Models/TimeCard.php b/src/Generated/Models/TimeCard.php new file mode 100644 index 00000000000..bbd812c3081 --- /dev/null +++ b/src/Generated/Models/TimeCard.php @@ -0,0 +1,225 @@ +setOdataType('#microsoft.graph.timeCard'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TimeCard + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeCard { + return new TimeCard(); + } + + /** + * Gets the breaks property value. The list of breaks associated with the timeCard. + * @return array|null + */ + public function getBreaks(): ?array { + $val = $this->getBackingStore()->get('breaks'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TimeCardBreak::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'breaks'"); + } + + /** + * Gets the clockInEvent property value. The clock-in event of the timeCard. + * @return TimeCardEvent|null + */ + public function getClockInEvent(): ?TimeCardEvent { + $val = $this->getBackingStore()->get('clockInEvent'); + if (is_null($val) || $val instanceof TimeCardEvent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clockInEvent'"); + } + + /** + * Gets the clockOutEvent property value. The clock-out event of the timeCard. + * @return TimeCardEvent|null + */ + public function getClockOutEvent(): ?TimeCardEvent { + $val = $this->getBackingStore()->get('clockOutEvent'); + if (is_null($val) || $val instanceof TimeCardEvent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clockOutEvent'"); + } + + /** + * Gets the confirmedBy property value. Indicates whether this timeCard entry is confirmed. Possible values are: none, user, manager, unknownFutureValue. + * @return ConfirmedBy|null + */ + public function getConfirmedBy(): ?ConfirmedBy { + $val = $this->getBackingStore()->get('confirmedBy'); + if (is_null($val) || $val instanceof ConfirmedBy) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'confirmedBy'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'breaks' => fn(ParseNode $n) => $o->setBreaks($n->getCollectionOfObjectValues([TimeCardBreak::class, 'createFromDiscriminatorValue'])), + 'clockInEvent' => fn(ParseNode $n) => $o->setClockInEvent($n->getObjectValue([TimeCardEvent::class, 'createFromDiscriminatorValue'])), + 'clockOutEvent' => fn(ParseNode $n) => $o->setClockOutEvent($n->getObjectValue([TimeCardEvent::class, 'createFromDiscriminatorValue'])), + 'confirmedBy' => fn(ParseNode $n) => $o->setConfirmedBy($n->getEnumValue(ConfirmedBy::class)), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + 'originalEntry' => fn(ParseNode $n) => $o->setOriginalEntry($n->getObjectValue([TimeCardEntry::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(TimeCardState::class)), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]); + } + + /** + * Gets the notes property value. Notes about the timeCard. + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Gets the originalEntry property value. The original timeCardEntry of the timeCard before it was edited. + * @return TimeCardEntry|null + */ + public function getOriginalEntry(): ?TimeCardEntry { + $val = $this->getBackingStore()->get('originalEntry'); + if (is_null($val) || $val instanceof TimeCardEntry) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'originalEntry'"); + } + + /** + * Gets the state property value. The current state of the timeCard during its life cycle. The possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue. + * @return TimeCardState|null + */ + public function getState(): ?TimeCardState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof TimeCardState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the userId property value. User ID to which the timeCard belongs. + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('breaks', $this->getBreaks()); + $writer->writeObjectValue('clockInEvent', $this->getClockInEvent()); + $writer->writeObjectValue('clockOutEvent', $this->getClockOutEvent()); + $writer->writeEnumValue('confirmedBy', $this->getConfirmedBy()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeObjectValue('originalEntry', $this->getOriginalEntry()); + $writer->writeEnumValue('state', $this->getState()); + $writer->writeStringValue('userId', $this->getUserId()); + } + + /** + * Sets the breaks property value. The list of breaks associated with the timeCard. + * @param array|null $value Value to set for the breaks property. + */ + public function setBreaks(?array $value): void { + $this->getBackingStore()->set('breaks', $value); + } + + /** + * Sets the clockInEvent property value. The clock-in event of the timeCard. + * @param TimeCardEvent|null $value Value to set for the clockInEvent property. + */ + public function setClockInEvent(?TimeCardEvent $value): void { + $this->getBackingStore()->set('clockInEvent', $value); + } + + /** + * Sets the clockOutEvent property value. The clock-out event of the timeCard. + * @param TimeCardEvent|null $value Value to set for the clockOutEvent property. + */ + public function setClockOutEvent(?TimeCardEvent $value): void { + $this->getBackingStore()->set('clockOutEvent', $value); + } + + /** + * Sets the confirmedBy property value. Indicates whether this timeCard entry is confirmed. Possible values are: none, user, manager, unknownFutureValue. + * @param ConfirmedBy|null $value Value to set for the confirmedBy property. + */ + public function setConfirmedBy(?ConfirmedBy $value): void { + $this->getBackingStore()->set('confirmedBy', $value); + } + + /** + * Sets the notes property value. Notes about the timeCard. + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + + /** + * Sets the originalEntry property value. The original timeCardEntry of the timeCard before it was edited. + * @param TimeCardEntry|null $value Value to set for the originalEntry property. + */ + public function setOriginalEntry(?TimeCardEntry $value): void { + $this->getBackingStore()->set('originalEntry', $value); + } + + /** + * Sets the state property value. The current state of the timeCard during its life cycle. The possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue. + * @param TimeCardState|null $value Value to set for the state property. + */ + public function setState(?TimeCardState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the userId property value. User ID to which the timeCard belongs. + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Models/TimeCardBreak.php b/src/Generated/Models/TimeCardBreak.php new file mode 100644 index 00000000000..daf7b5fb935 --- /dev/null +++ b/src/Generated/Models/TimeCardBreak.php @@ -0,0 +1,202 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TimeCardBreak + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeCardBreak { + return new TimeCardBreak(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the breakId property value. ID of the timeCardBreak. + * @return string|null + */ + public function getBreakId(): ?string { + $val = $this->getBackingStore()->get('breakId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'breakId'"); + } + + /** + * Gets the end property value. The start event of the timeCardBreak. + * @return TimeCardEvent|null + */ + public function getEnd(): ?TimeCardEvent { + $val = $this->getBackingStore()->get('end'); + if (is_null($val) || $val instanceof TimeCardEvent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'end'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'breakId' => fn(ParseNode $n) => $o->setBreakId($n->getStringValue()), + 'end' => fn(ParseNode $n) => $o->setEnd($n->getObjectValue([TimeCardEvent::class, 'createFromDiscriminatorValue'])), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'start' => fn(ParseNode $n) => $o->setStart($n->getObjectValue([TimeCardEvent::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the notes property value. Notes about the timeCardBreak. + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the start property value. The start property + * @return TimeCardEvent|null + */ + public function getStart(): ?TimeCardEvent { + $val = $this->getBackingStore()->get('start'); + if (is_null($val) || $val instanceof TimeCardEvent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'start'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('breakId', $this->getBreakId()); + $writer->writeObjectValue('end', $this->getEnd()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('start', $this->getStart()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the breakId property value. ID of the timeCardBreak. + * @param string|null $value Value to set for the breakId property. + */ + public function setBreakId(?string $value): void { + $this->getBackingStore()->set('breakId', $value); + } + + /** + * Sets the end property value. The start event of the timeCardBreak. + * @param TimeCardEvent|null $value Value to set for the end property. + */ + public function setEnd(?TimeCardEvent $value): void { + $this->getBackingStore()->set('end', $value); + } + + /** + * Sets the notes property value. Notes about the timeCardBreak. + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the start property value. The start property + * @param TimeCardEvent|null $value Value to set for the start property. + */ + public function setStart(?TimeCardEvent $value): void { + $this->getBackingStore()->set('start', $value); + } + +} diff --git a/src/Generated/Models/TimeCardCollectionResponse.php b/src/Generated/Models/TimeCardCollectionResponse.php new file mode 100644 index 00000000000..c32ca772670 --- /dev/null +++ b/src/Generated/Models/TimeCardCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TimeCard::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TimeCard::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/TimeCardEntry.php b/src/Generated/Models/TimeCardEntry.php new file mode 100644 index 00000000000..a84ea0d2a99 --- /dev/null +++ b/src/Generated/Models/TimeCardEntry.php @@ -0,0 +1,183 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TimeCardEntry + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeCardEntry { + return new TimeCardEntry(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the breaks property value. The clock-in event of the timeCard. + * @return array|null + */ + public function getBreaks(): ?array { + $val = $this->getBackingStore()->get('breaks'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TimeCardBreak::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'breaks'"); + } + + /** + * Gets the clockInEvent property value. The clock-out event of the timeCard. + * @return TimeCardEvent|null + */ + public function getClockInEvent(): ?TimeCardEvent { + $val = $this->getBackingStore()->get('clockInEvent'); + if (is_null($val) || $val instanceof TimeCardEvent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clockInEvent'"); + } + + /** + * Gets the clockOutEvent property value. The list of breaks associated with the timeCard. + * @return TimeCardEvent|null + */ + public function getClockOutEvent(): ?TimeCardEvent { + $val = $this->getBackingStore()->get('clockOutEvent'); + if (is_null($val) || $val instanceof TimeCardEvent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clockOutEvent'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'breaks' => fn(ParseNode $n) => $o->setBreaks($n->getCollectionOfObjectValues([TimeCardBreak::class, 'createFromDiscriminatorValue'])), + 'clockInEvent' => fn(ParseNode $n) => $o->setClockInEvent($n->getObjectValue([TimeCardEvent::class, 'createFromDiscriminatorValue'])), + 'clockOutEvent' => fn(ParseNode $n) => $o->setClockOutEvent($n->getObjectValue([TimeCardEvent::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('breaks', $this->getBreaks()); + $writer->writeObjectValue('clockInEvent', $this->getClockInEvent()); + $writer->writeObjectValue('clockOutEvent', $this->getClockOutEvent()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the breaks property value. The clock-in event of the timeCard. + * @param array|null $value Value to set for the breaks property. + */ + public function setBreaks(?array $value): void { + $this->getBackingStore()->set('breaks', $value); + } + + /** + * Sets the clockInEvent property value. The clock-out event of the timeCard. + * @param TimeCardEvent|null $value Value to set for the clockInEvent property. + */ + public function setClockInEvent(?TimeCardEvent $value): void { + $this->getBackingStore()->set('clockInEvent', $value); + } + + /** + * Sets the clockOutEvent property value. The list of breaks associated with the timeCard. + * @param TimeCardEvent|null $value Value to set for the clockOutEvent property. + */ + public function setClockOutEvent(?TimeCardEvent $value): void { + $this->getBackingStore()->set('clockOutEvent', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/TimeCardEvent.php b/src/Generated/Models/TimeCardEvent.php new file mode 100644 index 00000000000..a482a354c8a --- /dev/null +++ b/src/Generated/Models/TimeCardEvent.php @@ -0,0 +1,181 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TimeCardEvent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeCardEvent { + return new TimeCardEvent(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the dateTime property value. The time the entry is recorded. + * @return DateTime|null + */ + public function getDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('dateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'dateTime' => fn(ParseNode $n) => $o->setDateTime($n->getDateTimeValue()), + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. Indicates whether this action happens at an approved location. + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. Notes about the timeCardEvent. + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('dateTime', $this->getDateTime()); + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the dateTime property value. The time the entry is recorded. + * @param DateTime|null $value Value to set for the dateTime property. + */ + public function setDateTime(?DateTime $value): void { + $this->getBackingStore()->set('dateTime', $value); + } + + /** + * Sets the isAtApprovedLocation property value. Indicates whether this action happens at an approved location. + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. Notes about the timeCardEvent. + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/TimeCardState.php b/src/Generated/Models/TimeCardState.php new file mode 100644 index 00000000000..6f0be43d8f6 --- /dev/null +++ b/src/Generated/Models/TimeCardState.php @@ -0,0 +1,12 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TimeClockSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeClockSettings { + return new TimeClockSettings(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the approvedLocation property value. The approved location of the timeClock. + * @return GeoCoordinates|null + */ + public function getApprovedLocation(): ?GeoCoordinates { + $val = $this->getBackingStore()->get('approvedLocation'); + if (is_null($val) || $val instanceof GeoCoordinates) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'approvedLocation'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'approvedLocation' => fn(ParseNode $n) => $o->setApprovedLocation($n->getObjectValue([GeoCoordinates::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('approvedLocation', $this->getApprovedLocation()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the approvedLocation property value. The approved location of the timeClock. + * @param GeoCoordinates|null $value Value to set for the approvedLocation property. + */ + public function setApprovedLocation(?GeoCoordinates $value): void { + $this->getBackingStore()->set('approvedLocation', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/TimeOffReason.php b/src/Generated/Models/TimeOffReason.php index b9af7ad12f6..f7824804e9b 100644 --- a/src/Generated/Models/TimeOffReason.php +++ b/src/Generated/Models/TimeOffReason.php @@ -25,6 +25,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeO return new TimeOffReason(); } + /** + * Gets the code property value. The code of the timeOffReason to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. + * @return string|null + */ + public function getCode(): ?string { + $val = $this->getBackingStore()->get('code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'code'"); + } + /** * Gets the displayName property value. The name of the timeOffReason. Required. * @return string|null @@ -44,6 +56,7 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'code' => fn(ParseNode $n) => $o->setCode($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'iconType' => fn(ParseNode $n) => $o->setIconType($n->getEnumValue(TimeOffReasonIconType::class)), 'isActive' => fn(ParseNode $n) => $o->setIsActive($n->getBooleanValue()), @@ -80,11 +93,20 @@ public function getIsActive(): ?bool { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeStringValue('code', $this->getCode()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeEnumValue('iconType', $this->getIconType()); $writer->writeBooleanValue('isActive', $this->getIsActive()); } + /** + * Sets the code property value. The code of the timeOffReason to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. + * @param string|null $value Value to set for the code property. + */ + public function setCode(?string $value): void { + $this->getBackingStore()->set('code', $value); + } + /** * Sets the displayName property value. The name of the timeOffReason. Required. * @param string|null $value Value to set for the displayName property. diff --git a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php index eb3f1e6a2ec..5e08ab1aa53 100644 --- a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php +++ b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. + * Gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. * @return bool|null */ public function getAllowAutoFilter(): ?bool { @@ -60,7 +60,7 @@ public function getAllowAutoFilter(): ?bool { } /** - * Gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. + * Gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. * @return bool|null */ public function getAllowDeleteColumns(): ?bool { @@ -72,7 +72,7 @@ public function getAllowDeleteColumns(): ?bool { } /** - * Gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. + * Gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. * @return bool|null */ public function getAllowDeleteRows(): ?bool { @@ -84,7 +84,7 @@ public function getAllowDeleteRows(): ?bool { } /** - * Gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. + * Gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. * @return bool|null */ public function getAllowFormatCells(): ?bool { @@ -96,7 +96,7 @@ public function getAllowFormatCells(): ?bool { } /** - * Gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. + * Gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. * @return bool|null */ public function getAllowFormatColumns(): ?bool { @@ -108,7 +108,7 @@ public function getAllowFormatColumns(): ?bool { } /** - * Gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. + * Gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. * @return bool|null */ public function getAllowFormatRows(): ?bool { @@ -120,7 +120,7 @@ public function getAllowFormatRows(): ?bool { } /** - * Gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. + * Gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. * @return bool|null */ public function getAllowInsertColumns(): ?bool { @@ -132,7 +132,7 @@ public function getAllowInsertColumns(): ?bool { } /** - * Gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. + * Gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. * @return bool|null */ public function getAllowInsertHyperlinks(): ?bool { @@ -144,7 +144,7 @@ public function getAllowInsertHyperlinks(): ?bool { } /** - * Gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. + * Gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. * @return bool|null */ public function getAllowInsertRows(): ?bool { @@ -156,7 +156,7 @@ public function getAllowInsertRows(): ?bool { } /** - * Gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. + * Gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. * @return bool|null */ public function getAllowPivotTables(): ?bool { @@ -168,7 +168,7 @@ public function getAllowPivotTables(): ?bool { } /** - * Gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. + * Gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. * @return bool|null */ public function getAllowSort(): ?bool { @@ -250,7 +250,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. + * Sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. * @param bool|null $value Value to set for the allowAutoFilter property. */ public function setAllowAutoFilter(?bool $value): void { @@ -258,7 +258,7 @@ public function setAllowAutoFilter(?bool $value): void { } /** - * Sets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. + * Sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. * @param bool|null $value Value to set for the allowDeleteColumns property. */ public function setAllowDeleteColumns(?bool $value): void { @@ -266,7 +266,7 @@ public function setAllowDeleteColumns(?bool $value): void { } /** - * Sets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. + * Sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. * @param bool|null $value Value to set for the allowDeleteRows property. */ public function setAllowDeleteRows(?bool $value): void { @@ -274,7 +274,7 @@ public function setAllowDeleteRows(?bool $value): void { } /** - * Sets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. + * Sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. * @param bool|null $value Value to set for the allowFormatCells property. */ public function setAllowFormatCells(?bool $value): void { @@ -282,7 +282,7 @@ public function setAllowFormatCells(?bool $value): void { } /** - * Sets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. + * Sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. * @param bool|null $value Value to set for the allowFormatColumns property. */ public function setAllowFormatColumns(?bool $value): void { @@ -290,7 +290,7 @@ public function setAllowFormatColumns(?bool $value): void { } /** - * Sets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. + * Sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. * @param bool|null $value Value to set for the allowFormatRows property. */ public function setAllowFormatRows(?bool $value): void { @@ -298,7 +298,7 @@ public function setAllowFormatRows(?bool $value): void { } /** - * Sets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. + * Sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. * @param bool|null $value Value to set for the allowInsertColumns property. */ public function setAllowInsertColumns(?bool $value): void { @@ -306,7 +306,7 @@ public function setAllowInsertColumns(?bool $value): void { } /** - * Sets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. + * Sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. * @param bool|null $value Value to set for the allowInsertHyperlinks property. */ public function setAllowInsertHyperlinks(?bool $value): void { @@ -314,7 +314,7 @@ public function setAllowInsertHyperlinks(?bool $value): void { } /** - * Sets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. + * Sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. * @param bool|null $value Value to set for the allowInsertRows property. */ public function setAllowInsertRows(?bool $value): void { @@ -322,7 +322,7 @@ public function setAllowInsertRows(?bool $value): void { } /** - * Sets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. + * Sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. * @param bool|null $value Value to set for the allowPivotTables property. */ public function setAllowPivotTables(?bool $value): void { @@ -330,7 +330,7 @@ public function setAllowPivotTables(?bool $value): void { } /** - * Sets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. + * Sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. * @param bool|null $value Value to set for the allowSort property. */ public function setAllowSort(?bool $value): void { diff --git a/src/Generated/Models/WorkforceIntegrationSupportedEntities.php b/src/Generated/Models/WorkforceIntegrationSupportedEntities.php index 843c055faae..d0946a32c07 100644 --- a/src/Generated/Models/WorkforceIntegrationSupportedEntities.php +++ b/src/Generated/Models/WorkforceIntegrationSupportedEntities.php @@ -13,6 +13,7 @@ class WorkforceIntegrationSupportedEntities extends Enum { public const OPEN_SHIFT_REQUEST = "openShiftRequest"; public const OFFER_SHIFT_REQUEST = "offerShiftRequest"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + public const TIME_CARD = "timeCard"; public const TIME_OFF_REASON = "timeOffReason"; public const TIME_OFF = "timeOff"; public const TIME_OFF_REQUEST = "timeOffRequest"; diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index f2a5a2103ea..319b02c2e3d 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?BannerLogoRequestBuilderDeleteRequestConfiguration $requ } /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 Find more info here */ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?BannerLogoRequestBuilderDeleteReques } /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index fce821c0172..7b3508bdb1f 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -117,11 +117,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Read properties and relationships of the organization object. + * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -166,7 +166,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Read properties and relationships of the organization object. + * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index 8c22067b457..4f144e8136a 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the organization object. + * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php index 83ce4eff53f..cc1887eb8e5 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php @@ -91,7 +91,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. 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 * @throws Exception @@ -105,7 +105,7 @@ public function get(?OwnersRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. 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 */ diff --git a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilderGetQueryParameters.php index 35b2fef0ace..a3480aece0b 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. */ class OwnersRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php index abda001d7b2..08572151d80 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php @@ -47,7 +47,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. 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 * @throws Exception @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } /** - * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. 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 */ diff --git a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilderGetQueryParameters.php index b00323a40a8..c551ea9c01f 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + * Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 5762865a54b..3d7f8acc4b4 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,11 +83,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 Find more info here */ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +98,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 8e8b1c7a645..66d728ca0a9 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index a110dbbb245..437b474e198 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index ba88609dded..a9a419c07bb 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -75,12 +75,12 @@ 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 * @throws Exception - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.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); @@ -112,7 +112,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 diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index f324450624a..53df36713d4 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.php b/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..03a2f71d714 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/dayNotes/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..918d40a52f5 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8ea62b011b3 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.php b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.php new file mode 100644 index 00000000000..752dfa4e65a --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + * @param string $dayNoteId The unique identifier of dayNote + * @return DayNoteItemRequestBuilder + */ + public function byDayNoteId(string $dayNoteId): DayNoteItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['dayNote%2Did'] = $dayNoteId; + return new DayNoteItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new DayNotesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The day notes in the schedule. + * @param DayNotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DayNotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNoteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to dayNotes for teams + * @param DayNote $body The request body + * @param DayNotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DayNote $body, ?DayNotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The day notes in the schedule. + * @param DayNotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DayNotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to dayNotes for teams + * @param DayNote $body The request body + * @param DayNotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DayNote $body, ?DayNotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DayNotesRequestBuilder + */ + public function withUrl(string $rawUrl): DayNotesRequestBuilder { + return new DayNotesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..875f19d6e46 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new DayNotesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b8f6d4ab1cd --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DayNotesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DayNotesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DayNotesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return DayNotesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DayNotesRequestBuilderGetQueryParameters { + return new DayNotesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php similarity index 67% rename from src/Generated/Users/Item/Manager/Ref/RefRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php index 8fcc9ef631f..09a0a6ab0ea 100644 --- a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php new file mode 100644 index 00000000000..6947c039deb --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property dayNotes for teams + * @param DayNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DayNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The day notes in the schedule. + * @param DayNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DayNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property dayNotes in teams + * @param DayNote $body The request body + * @param DayNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(DayNote $body, ?DayNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property dayNotes for teams + * @param DayNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DayNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The day notes in the schedule. + * @param DayNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DayNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property dayNotes in teams + * @param DayNote $body The request body + * @param DayNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(DayNote $body, ?DayNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DayNoteItemRequestBuilder + */ + public function withUrl(string $rawUrl): DayNoteItemRequestBuilder { + return new DayNoteItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..e602ce6e782 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..377edba3714 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new DayNoteItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c41195c6a05 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DayNoteItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DayNoteItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DayNoteItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DayNoteItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DayNoteItemRequestBuilderGetQueryParameters { + return new DayNoteItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..0a5d7db1d0f --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php index 0717a467d07..e21af05357f 100644 --- a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\Schedule; +use Microsoft\Graph\Generated\Teams\Item\Schedule\DayNotes\DayNotesRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\OfferShiftRequests\OfferShiftRequestsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\OpenShiftChangeRequests\OpenShiftChangeRequestsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\OpenShifts\OpenShiftsRequestBuilder; @@ -13,6 +14,7 @@ use Microsoft\Graph\Generated\Teams\Item\Schedule\Share\ShareRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\Shifts\ShiftsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\SwapShiftsChangeRequests\SwapShiftsChangeRequestsRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\Schedule\TimeCards\TimeCardsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\TimeOffReasons\TimeOffReasonsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\TimeOffRequests\TimeOffRequestsRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Schedule\TimesOff\TimesOffRequestBuilder; @@ -26,6 +28,13 @@ */ class ScheduleRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + */ + public function dayNotes(): DayNotesRequestBuilder { + return new DayNotesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. */ @@ -75,6 +84,13 @@ public function swapShiftsChangeRequests(): SwapShiftsChangeRequestsRequestBuild return new SwapShiftsChangeRequestsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + */ + public function timeCards(): TimeCardsRequestBuilder { + return new TimeCardsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. */ diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php b/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php new file mode 100644 index 00000000000..6af2c00abf9 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ClockInPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClockInPostRequestBody { + return new ClockInPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php new file mode 100644 index 00000000000..82d4469c0eb --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/clockIn'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clock in to start a timeCard. + * @param ClockInPostRequestBody $body The request body + * @param ClockInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 Find more info here + */ + public function post(ClockInPostRequestBody $body, ?ClockInRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Clock in to start a timeCard. + * @param ClockInPostRequestBody $body The request body + * @param ClockInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ClockInPostRequestBody $body, ?ClockInRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ClockInRequestBuilder + */ + public function withUrl(string $rawUrl): ClockInRequestBuilder { + return new ClockInRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8d4c0bf049b --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..3a945495d72 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1c9093faf9c --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e18db84b8a0 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php new file mode 100644 index 00000000000..c414349c530 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ClockOutPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClockOutPostRequestBody { + return new ClockOutPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php new file mode 100644 index 00000000000..e1bd70586a6 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action clockOut + * @param ClockOutPostRequestBody $body The request body + * @param ClockOutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ClockOutPostRequestBody $body, ?ClockOutRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action clockOut + * @param ClockOutPostRequestBody $body The request body + * @param ClockOutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ClockOutPostRequestBody $body, ?ClockOutRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ClockOutRequestBuilder + */ + public function withUrl(string $rawUrl): ClockOutRequestBuilder { + return new ClockOutRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..624b75f5181 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php new file mode 100644 index 00000000000..3099b1cebc5 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php @@ -0,0 +1,75 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Confirm a timeCard. + * @param ConfirmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 Find more info here + */ + public function post(?ConfirmRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Confirm a timeCard. + * @param ConfirmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ConfirmRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmRequestBuilder { + return new ConfirmRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..cb61828c0c4 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php new file mode 100644 index 00000000000..7ac7709f736 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EndBreakPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EndBreakPostRequestBody { + return new EndBreakPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php new file mode 100644 index 00000000000..2d909b5180d --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action endBreak + * @param EndBreakPostRequestBody $body The request body + * @param EndBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EndBreakPostRequestBody $body, ?EndBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action endBreak + * @param EndBreakPostRequestBody $body The request body + * @param EndBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EndBreakPostRequestBody $body, ?EndBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EndBreakRequestBuilder + */ + public function withUrl(string $rawUrl): EndBreakRequestBuilder { + return new EndBreakRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e1174e588c9 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php new file mode 100644 index 00000000000..b7eef60f8e5 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartBreakPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartBreakPostRequestBody { + return new StartBreakPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php new file mode 100644 index 00000000000..8da347e7c81 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action startBreak + * @param StartBreakPostRequestBody $body The request body + * @param StartBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(StartBreakPostRequestBody $body, ?StartBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action startBreak + * @param StartBreakPostRequestBody $body The request body + * @param StartBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartBreakPostRequestBody $body, ?StartBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartBreakRequestBuilder + */ + public function withUrl(string $rawUrl): StartBreakRequestBuilder { + return new StartBreakRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..9b4fdcabccc --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php new file mode 100644 index 00000000000..8994852f847 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -0,0 +1,177 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the confirm method. + */ + public function confirm(): ConfirmRequestBuilder { + return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the endBreak method. + */ + public function endBreak(): EndBreakRequestBuilder { + return new EndBreakRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the startBreak method. + */ + public function startBreak(): StartBreakRequestBuilder { + return new StartBreakRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TimeCardItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a timeCard instance in a schedule. + * @param TimeCardItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/schedule-delete-timecards?view=graph-rest-1.0 Find more info here + */ + public function delete(?TimeCardItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The time cards in the schedule. + * @param TimeCardItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TimeCardItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property timeCards in teams + * @param TimeCard $body The request body + * @param TimeCardItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TimeCard $body, ?TimeCardItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a timeCard instance in a schedule. + * @param TimeCardItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TimeCardItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The time cards in the schedule. + * @param TimeCardItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TimeCardItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property timeCards in teams + * @param TimeCard $body The request body + * @param TimeCardItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TimeCard $body, ?TimeCardItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TimeCardItemRequestBuilder + */ + public function withUrl(string $rawUrl): TimeCardItemRequestBuilder { + return new TimeCardItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0e6bfcf476b --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..79bb26a6cba --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TimeCardItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f3b6b4ecb0f --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TimeCardItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TimeCardItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TimeCardItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TimeCardItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeCardItemRequestBuilderGetQueryParameters { + return new TimeCardItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..bac448d56b9 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.php new file mode 100644 index 00000000000..5de6fcf27dd --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.php @@ -0,0 +1,143 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to count the resources in the collection. + */ + public function count(): CountRequestBuilder { + return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + * @param string $timeCardId The unique identifier of timeCard + * @return TimeCardItemRequestBuilder + */ + public function byTimeCardId(string $timeCardId): TimeCardItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['timeCard%2Did'] = $timeCardId; + return new TimeCardItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new TimeCardsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Retrieve a list of timeCard entries in a schedule. + * @param TimeCardsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/schedule-list-timecards?view=graph-rest-1.0 Find more info here + */ + public function get(?TimeCardsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCardCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a timeCard instance in a schedule. + * @param TimeCard $body The request body + * @param TimeCardsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/schedule-post-timecards?view=graph-rest-1.0 Find more info here + */ + public function post(TimeCard $body, ?TimeCardsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Retrieve a list of timeCard entries in a schedule. + * @param TimeCardsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TimeCardsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create a timeCard instance in a schedule. + * @param TimeCard $body The request body + * @param TimeCardsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TimeCard $body, ?TimeCardsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TimeCardsRequestBuilder + */ + public function withUrl(string $rawUrl): TimeCardsRequestBuilder { + return new TimeCardsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0e5f51aa390 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new TimeCardsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..534c2fd7471 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TimeCardsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TimeCardsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TimeCardsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return TimeCardsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeCardsRequestBuilderGetQueryParameters { + return new TimeCardsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php similarity index 67% rename from src/Generated/Users/Item/Manager/Ref/RefRequestBuilderGetRequestConfiguration.php rename to src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php index 6950134ec3e..caceaccdcd4 100644 --- a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index 2abc4972dc7..ea912f9dee8 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -62,12 +62,12 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a multitenant organization. + * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 Find more info here */ public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe } /** - * Update the properties of a multitenant organization. + * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..becc528103a --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..02c36a972fe --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..357d2256edd --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.php new file mode 100644 index 00000000000..a3dcac6c336 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + * @param string $dayNoteId The unique identifier of dayNote + * @return DayNoteItemRequestBuilder + */ + public function byDayNoteId(string $dayNoteId): DayNoteItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['dayNote%2Did'] = $dayNoteId; + return new DayNoteItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new DayNotesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The day notes in the schedule. + * @param DayNotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DayNotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNoteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to dayNotes for users + * @param DayNote $body The request body + * @param DayNotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DayNote $body, ?DayNotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The day notes in the schedule. + * @param DayNotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DayNotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to dayNotes for users + * @param DayNote $body The request body + * @param DayNotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DayNote $body, ?DayNotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DayNotesRequestBuilder + */ + public function withUrl(string $rawUrl): DayNotesRequestBuilder { + return new DayNotesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1da67621ba9 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new DayNotesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..708c97c66c7 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DayNotesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DayNotesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DayNotesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return DayNotesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DayNotesRequestBuilderGetQueryParameters { + return new DayNotesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..470ceca6850 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php similarity index 50% rename from src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php rename to src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php index e503402d7f6..a6a9a1f28dd 100644 --- a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.php @@ -1,28 +1,28 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/manager/$ref'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,13 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user's manager. - * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property dayNotes for users + * @param DayNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-delete-manager?view=graph-rest-1.0 Find more info here */ - public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?DayNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -46,44 +45,40 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * The day notes in the schedule. + * @param DayNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0 Find more info here */ - public function get(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?DayNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - /** @var Promise $result */ - $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'string', $errorMappings); - return $result; + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Assign a user's manager. - * @param ReferenceUpdate $body The request body - * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property dayNotes in users + * @param DayNote $body The request body + * @param DayNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-post-manager?view=graph-rest-1.0 Find more info here */ - public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + public function patch(DayNote $body, ?DayNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [DayNote::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Remove a user's manager. - * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property dayNotes for users + * @param DayNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?DayNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -97,17 +92,20 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * The day notes in the schedule. + * @param DayNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?DayNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; $requestInfo->httpMethod = HttpMethod::GET; if ($requestConfiguration !== null) { $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); @@ -115,16 +113,16 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } /** - * Assign a user's manager. - * @param ReferenceUpdate $body The request body - * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property dayNotes in users + * @param DayNote $body The request body + * @param DayNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(DayNote $body, ?DayNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; + $requestInfo->httpMethod = HttpMethod::PATCH; if ($requestConfiguration !== null) { $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); @@ -137,10 +135,10 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. - * @return RefRequestBuilder + * @return DayNoteItemRequestBuilder */ - public function withUrl(string $rawUrl): RefRequestBuilder { - return new RefRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): DayNoteItemRequestBuilder { + return new DayNoteItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..acc06f6ee0c --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..bcfd1018cb0 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new DayNoteItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..34151bcb992 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DayNoteItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DayNoteItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DayNoteItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DayNoteItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DayNoteItemRequestBuilderGetQueryParameters { + return new DayNoteItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..0c5a7ecf3b7 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php index ef7505d9612..1f58cfa035e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\Schedule; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\DayNotes\DayNotesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\OfferShiftRequests\OfferShiftRequestsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\OpenShiftChangeRequests\OpenShiftChangeRequestsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\OpenShifts\OpenShiftsRequestBuilder; @@ -13,6 +14,7 @@ use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\Share\ShareRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\Shifts\ShiftsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\SwapShiftsChangeRequests\SwapShiftsChangeRequestsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\TimeCards\TimeCardsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\TimeOffReasons\TimeOffReasonsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\TimeOffRequests\TimeOffRequestsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Schedule\TimesOff\TimesOffRequestBuilder; @@ -26,6 +28,13 @@ */ class ScheduleRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + */ + public function dayNotes(): DayNotesRequestBuilder { + return new DayNotesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. */ @@ -75,6 +84,13 @@ public function swapShiftsChangeRequests(): SwapShiftsChangeRequestsRequestBuild return new SwapShiftsChangeRequestsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + */ + public function timeCards(): TimeCardsRequestBuilder { + return new TimeCardsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. */ diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php new file mode 100644 index 00000000000..7ddda2affa6 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ClockInPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClockInPostRequestBody { + return new ClockInPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php new file mode 100644 index 00000000000..8e4b7e82000 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/clockIn'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clock in to start a timeCard. + * @param ClockInPostRequestBody $body The request body + * @param ClockInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 Find more info here + */ + public function post(ClockInPostRequestBody $body, ?ClockInRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Clock in to start a timeCard. + * @param ClockInPostRequestBody $body The request body + * @param ClockInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ClockInPostRequestBody $body, ?ClockInRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ClockInRequestBuilder + */ + public function withUrl(string $rawUrl): ClockInRequestBuilder { + return new ClockInRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..9d8e2dadb55 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..70628cd8dc8 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a4b1a4ec3cf --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..06d31bb28b7 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php new file mode 100644 index 00000000000..5fea7e4aa1d --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ClockOutPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClockOutPostRequestBody { + return new ClockOutPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php new file mode 100644 index 00000000000..38c61351b9b --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action clockOut + * @param ClockOutPostRequestBody $body The request body + * @param ClockOutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ClockOutPostRequestBody $body, ?ClockOutRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action clockOut + * @param ClockOutPostRequestBody $body The request body + * @param ClockOutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ClockOutPostRequestBody $body, ?ClockOutRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ClockOutRequestBuilder + */ + public function withUrl(string $rawUrl): ClockOutRequestBuilder { + return new ClockOutRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..95251e775a9 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php new file mode 100644 index 00000000000..556afc09b6e --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.php @@ -0,0 +1,75 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Confirm a timeCard. + * @param ConfirmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 Find more info here + */ + public function post(?ConfirmRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Confirm a timeCard. + * @param ConfirmRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ConfirmRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmRequestBuilder { + return new ConfirmRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..c050c16b602 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php new file mode 100644 index 00000000000..a43d61bc40b --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EndBreakPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EndBreakPostRequestBody { + return new EndBreakPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php new file mode 100644 index 00000000000..975a17cc2e0 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action endBreak + * @param EndBreakPostRequestBody $body The request body + * @param EndBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EndBreakPostRequestBody $body, ?EndBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action endBreak + * @param EndBreakPostRequestBody $body The request body + * @param EndBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EndBreakPostRequestBody $body, ?EndBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EndBreakRequestBuilder + */ + public function withUrl(string $rawUrl): EndBreakRequestBuilder { + return new EndBreakRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..24366f3ec68 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php new file mode 100644 index 00000000000..2338cf571ea --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.php @@ -0,0 +1,137 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartBreakPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartBreakPostRequestBody { + return new StartBreakPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAtApprovedLocation' => fn(ParseNode $n) => $o->setIsAtApprovedLocation($n->getBooleanValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @return bool|null + */ + public function getIsAtApprovedLocation(): ?bool { + $val = $this->getBackingStore()->get('isAtApprovedLocation'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAtApprovedLocation'"); + } + + /** + * Gets the notes property value. The notes property + * @return ItemBody|null + */ + public function getNotes(): ?ItemBody { + $val = $this->getBackingStore()->get('notes'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAtApprovedLocation', $this->getIsAtApprovedLocation()); + $writer->writeObjectValue('notes', $this->getNotes()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAtApprovedLocation property value. The isAtApprovedLocation property + * @param bool|null $value Value to set for the isAtApprovedLocation property. + */ + public function setIsAtApprovedLocation(?bool $value): void { + $this->getBackingStore()->set('isAtApprovedLocation', $value); + } + + /** + * Sets the notes property value. The notes property + * @param ItemBody|null $value Value to set for the notes property. + */ + public function setNotes(?ItemBody $value): void { + $this->getBackingStore()->set('notes', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php new file mode 100644 index 00000000000..ce5377604dc --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action startBreak + * @param StartBreakPostRequestBody $body The request body + * @param StartBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(StartBreakPostRequestBody $body, ?StartBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action startBreak + * @param StartBreakPostRequestBody $body The request body + * @param StartBreakRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartBreakPostRequestBody $body, ?StartBreakRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartBreakRequestBuilder + */ + public function withUrl(string $rawUrl): StartBreakRequestBuilder { + return new StartBreakRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..df610c9f76a --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php new file mode 100644 index 00000000000..7ca4317c6da --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -0,0 +1,176 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the confirm method. + */ + public function confirm(): ConfirmRequestBuilder { + return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the endBreak method. + */ + public function endBreak(): EndBreakRequestBuilder { + return new EndBreakRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the startBreak method. + */ + public function startBreak(): StartBreakRequestBuilder { + return new StartBreakRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TimeCardItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property timeCards for users + * @param TimeCardItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TimeCardItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The time cards in the schedule. + * @param TimeCardItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TimeCardItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property timeCards in users + * @param TimeCard $body The request body + * @param TimeCardItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TimeCard $body, ?TimeCardItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property timeCards for users + * @param TimeCardItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TimeCardItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The time cards in the schedule. + * @param TimeCardItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TimeCardItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property timeCards in users + * @param TimeCard $body The request body + * @param TimeCardItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TimeCard $body, ?TimeCardItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TimeCardItemRequestBuilder + */ + public function withUrl(string $rawUrl): TimeCardItemRequestBuilder { + return new TimeCardItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..04c5ae4948d --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c4790fa1f0e --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TimeCardItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fa2eb859278 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TimeCardItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TimeCardItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TimeCardItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TimeCardItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeCardItemRequestBuilderGetQueryParameters { + return new TimeCardItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..860441aa979 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.php new file mode 100644 index 00000000000..cbd10884d23 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to count the resources in the collection. + */ + public function count(): CountRequestBuilder { + return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + * @param string $timeCardId The unique identifier of timeCard + * @return TimeCardItemRequestBuilder + */ + public function byTimeCardId(string $timeCardId): TimeCardItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['timeCard%2Did'] = $timeCardId; + return new TimeCardItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new TimeCardsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The time cards in the schedule. + * @param TimeCardsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TimeCardsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCardCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to timeCards for users + * @param TimeCard $body The request body + * @param TimeCardsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(TimeCard $body, ?TimeCardsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The time cards in the schedule. + * @param TimeCardsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TimeCardsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to timeCards for users + * @param TimeCard $body The request body + * @param TimeCardsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TimeCard $body, ?TimeCardsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TimeCardsRequestBuilder + */ + public function withUrl(string $rawUrl): TimeCardsRequestBuilder { + return new TimeCardsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4dffc729fd0 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new TimeCardsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1a006236906 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TimeCardsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TimeCardsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TimeCardsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return TimeCardsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeCardsRequestBuilderGetQueryParameters { + return new TimeCardsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0579ced0423 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php b/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php index 9edad14bd84..57047bdbc40 100644 --- a/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php +++ b/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php @@ -6,7 +6,6 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\DirectoryObject; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; -use Microsoft\Graph\Generated\Users\Item\Manager\Ref\RefRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -17,13 +16,6 @@ */ class ManagerRequestBuilder extends BaseRequestBuilder { - /** - * Provides operations to manage the collection of user entities. - */ - public function ref(): RefRequestBuilder { - return new RefRequestBuilder($this->pathParameters, $this->requestAdapter); - } - /** * Instantiates a new ManagerRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 9d61c5f6f27..d964ee26acc 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -85,11 +85,11 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 Find more info here */ public function get(?PresenceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,7 +133,7 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index 7aecc5f7422..3794e0b7d32 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 3f20798e159..3d0025b6462 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -629,7 +629,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -654,7 +654,7 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index 06425a513f1..346eefac4c2 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -115,7 +115,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index 3e762ac4482..1e989d3b59e 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php index 47ba872b508..af46de55966 100644 --- a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php +++ b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php @@ -38,7 +38,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -53,7 +53,7 @@ public function delete(?UsersWithUserPrincipalNameRequestBuilderDeleteRequestCon * @param UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 Find more info here */ public function get(?UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 82b658e6080..55f8a2f0fd5 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -89782,6 +89782,71 @@ Microsoft\Graph\Generated.groups.item.team.primaryChannel.unarchive.UnarchiveReq Microsoft\Graph\Generated.groups.item.team.primaryChannel.unarchive.UnarchiveRequestBuilder::|public|WithUrl(rawUrl:string):UnarchiveRequestBuilder Microsoft\Graph\Generated.groups.item.team.primaryChannel.unarchive.unarchiveRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groups.item.team.primaryChannel.unarchive.unarchiveRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|ByDayNoteId(dayNoteId:string):DayNoteItemRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|Get(requestConfiguration?:DayNotesRequestBuilderGetRequestConfiguration):DayNoteCollectionResponse +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|Post(body:DayNote; requestConfiguration?:DayNotesRequestBuilderPostRequestConfiguration):DayNote +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DayNotesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|ToPostRequestInformation(body:DayNote; requestConfiguration?:DayNotesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.DayNotesRequestBuilder::|public|WithUrl(rawUrl:string):DayNotesRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DayNotesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|public|queryParameters:DayNotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DayNotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.dayNotesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Delete(requestConfiguration?:DayNoteItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Get(requestConfiguration?:DayNoteItemRequestBuilderGetRequestConfiguration):DayNote +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Patch(body:DayNote; requestConfiguration?:DayNoteItemRequestBuilderPatchRequestConfiguration):DayNote +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DayNoteItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DayNoteItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:DayNote; requestConfiguration?:DayNoteItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):DayNoteItemRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DayNoteItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|public|queryParameters:DayNoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DayNoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.dayNotes.item.DayNoteItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.groups.item.team.schedule.offerShiftRequests.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.offerShiftRequests.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groups.item.team.schedule.offerShiftRequests.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -89979,6 +90044,7 @@ Microsoft\Graph\Generated.groups.item.team.schedule.openShifts.openShiftsRequest Microsoft\Graph\Generated.groups.item.team.schedule.openShifts.openShiftsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|dayNotes:DayNotesRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|Delete(requestConfiguration?:ScheduleRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|Get(requestConfiguration?:ScheduleRequestBuilderGetRequestConfiguration):Schedule Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|offerShiftRequests:OfferShiftRequestsRequestBuilder @@ -89991,6 +90057,7 @@ Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|pub Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|share:ShareRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|shifts:ShiftsRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|swapShiftsChangeRequests:SwapShiftsChangeRequestsRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|timeCards:TimeCardsRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|timeOffReasons:TimeOffReasonsRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|timeOffRequests:TimeOffRequestsRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.ScheduleRequestBuilder::|public|timesOff:TimesOffRequestBuilder @@ -90230,6 +90297,178 @@ Microsoft\Graph\Generated.groups.item.team.schedule.swapShiftsChangeRequests.swa Microsoft\Graph\Generated.groups.item.team.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SwapShiftsChangeRequestsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.groups.item.team.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groups.item.team.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClockInPostRequestBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|Post(body:ClockInPostRequestBody; requestConfiguration?:ClockInRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|ToPostRequestInformation(body:ClockInPostRequestBody; requestConfiguration?:ClockInRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|WithUrl(rawUrl:string):ClockInRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.clockIn.clockInRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClockOutPostRequestBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|Post(body:ClockOutPostRequestBody; requestConfiguration?:ClockOutRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|ToPostRequestInformation(body:ClockOutPostRequestBody; requestConfiguration?:ClockOutRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|WithUrl(rawUrl:string):ClockOutRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.clockOut.clockOutRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|Post(requestConfiguration?:ConfirmRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ConfirmRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EndBreakPostRequestBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|Post(body:EndBreakPostRequestBody; requestConfiguration?:EndBreakRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|ToPostRequestInformation(body:EndBreakPostRequestBody; requestConfiguration?:EndBreakRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|WithUrl(rawUrl:string):EndBreakRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartBreakPostRequestBody +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|Post(body:StartBreakPostRequestBody; requestConfiguration?:StartBreakRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|ToPostRequestInformation(body:StartBreakPostRequestBody; requestConfiguration?:StartBreakRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|WithUrl(rawUrl:string):StartBreakRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.startBreak.startBreakRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Get(requestConfiguration?:TimeCardItemRequestBuilderGetRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Patch(body:TimeCard; requestConfiguration?:TimeCardItemRequestBuilderPatchRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|startBreak:StartBreakRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TimeCardItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:TimeCard; requestConfiguration?:TimeCardItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):TimeCardItemRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TimeCardItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TimeCardItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TimeCardItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|ByTimeCardId(timeCardId:string):TimeCardItemRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|clockIn:ClockInRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|Get(requestConfiguration?:TimeCardsRequestBuilderGetRequestConfiguration):TimeCardCollectionResponse +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|Post(body:TimeCard; requestConfiguration?:TimeCardsRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TimeCardsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|ToPostRequestInformation(body:TimeCard; requestConfiguration?:TimeCardsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.TimeCardsRequestBuilder::|public|WithUrl(rawUrl:string):TimeCardsRequestBuilder +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TimeCardsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|public|queryParameters:TimeCardsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TimeCardsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.schedule.timeCards.timeCardsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.groups.item.team.schedule.timeOffReasons.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.team.schedule.timeOffReasons.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groups.item.team.schedule.timeOffReasons.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -112612,6 +112851,9 @@ Microsoft\Graph\Generated.models.allLicensedUsersAssignmentTarget::|public|GetFi Microsoft\Graph\Generated.models.allLicensedUsersAssignmentTarget::|public|OdataType:string Microsoft\Graph\Generated.models.allLicensedUsersAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.allLicensedUsersAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AllLicensedUsersAssignmentTarget +Microsoft\Graph\Generated.models.allowedLobbyAdmitterRoles::0000-organizerAndCoOrganizersAndPresenters +Microsoft\Graph\Generated.models.allowedLobbyAdmitterRoles::0001-organizerAndCoOrganizers +Microsoft\Graph\Generated.models.allowedLobbyAdmitterRoles::0002-unknownFutureValue Microsoft\Graph\Generated.models.allowedTargetScope::0000-notSpecified Microsoft\Graph\Generated.models.allowedTargetScope::0001-specificDirectoryUsers Microsoft\Graph\Generated.models.allowedTargetScope::0002-specificConnectedOrganizationUsers @@ -117787,12 +118029,14 @@ Microsoft\Graph\Generated.models.certificationControl~~>AdditionalDataHolder; Ba Microsoft\Graph\Generated.models.certification~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.changeTrackedEntity-->Entity Microsoft\Graph\Generated.models.changeTrackedEntity::|public|constructor():void +Microsoft\Graph\Generated.models.changeTrackedEntity::|public|getCreatedBy():IdentitySet Microsoft\Graph\Generated.models.changeTrackedEntity::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.changeTrackedEntity::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.changeTrackedEntity::|public|getLastModifiedBy():IdentitySet Microsoft\Graph\Generated.models.changeTrackedEntity::|public|getLastModifiedDateTime():DateTime Microsoft\Graph\Generated.models.changeTrackedEntity::|public|OdataType:string Microsoft\Graph\Generated.models.changeTrackedEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.changeTrackedEntity::|public|setCreatedBy(value?:IdentitySet):void Microsoft\Graph\Generated.models.changeTrackedEntity::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.changeTrackedEntity::|public|setLastModifiedBy(value?:IdentitySet):void Microsoft\Graph\Generated.models.changeTrackedEntity::|public|setLastModifiedDateTime(value?:DateTime):void @@ -119986,6 +120230,10 @@ Microsoft\Graph\Generated.models.configurationManagerCollectionAssignmentTarget: Microsoft\Graph\Generated.models.configurationManagerCollectionAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.configurationManagerCollectionAssignmentTarget::|public|setCollectionId(value?:string):void Microsoft\Graph\Generated.models.configurationManagerCollectionAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfigurationManagerCollectionAssignmentTarget +Microsoft\Graph\Generated.models.confirmedBy::0000-none +Microsoft\Graph\Generated.models.confirmedBy::0001-user +Microsoft\Graph\Generated.models.confirmedBy::0002-manager +Microsoft\Graph\Generated.models.confirmedBy::0003-unknownFutureValue Microsoft\Graph\Generated.models.connectedOrganization-->Entity Microsoft\Graph\Generated.models.connectedOrganization::|public|constructor():void Microsoft\Graph\Generated.models.connectedOrganization::|public|getCreatedDateTime():DateTime @@ -121048,6 +121296,25 @@ Microsoft\Graph\Generated.models.daylightTimeZoneOffset::|public|OdataType:strin Microsoft\Graph\Generated.models.daylightTimeZoneOffset::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.daylightTimeZoneOffset::|public|setDaylightBias(value?:int):void Microsoft\Graph\Generated.models.daylightTimeZoneOffset::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DaylightTimeZoneOffset +Microsoft\Graph\Generated.models.dayNote-->ChangeTrackedEntity +Microsoft\Graph\Generated.models.dayNote::|public|constructor():void +Microsoft\Graph\Generated.models.dayNote::|public|getDayNoteDate():Date +Microsoft\Graph\Generated.models.dayNote::|public|getDraftDayNote():ItemBody +Microsoft\Graph\Generated.models.dayNote::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.dayNote::|public|getSharedDayNote():ItemBody +Microsoft\Graph\Generated.models.dayNote::|public|OdataType:string +Microsoft\Graph\Generated.models.dayNote::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.dayNote::|public|setDayNoteDate(value?:Date):void +Microsoft\Graph\Generated.models.dayNote::|public|setDraftDayNote(value?:ItemBody):void +Microsoft\Graph\Generated.models.dayNote::|public|setSharedDayNote(value?:ItemBody):void +Microsoft\Graph\Generated.models.dayNote::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DayNote +Microsoft\Graph\Generated.models.dayNoteCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.dayNoteCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.dayNoteCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.dayNoteCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.dayNoteCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.dayNoteCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.dayNoteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DayNoteCollectionResponse Microsoft\Graph\Generated.models.dayOfWeek::0000-sunday Microsoft\Graph\Generated.models.dayOfWeek::0001-monday Microsoft\Graph\Generated.models.dayOfWeek::0002-tuesday @@ -131924,6 +132191,9 @@ Microsoft\Graph\Generated.models.meetingInfo::|public|setBackingStore(value:Back Microsoft\Graph\Generated.models.meetingInfo::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.meetingInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MeetingInfo Microsoft\Graph\Generated.models.meetingInfo~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.meetingLiveShareOptions::0000-enabled +Microsoft\Graph\Generated.models.meetingLiveShareOptions::0001-disabled +Microsoft\Graph\Generated.models.meetingLiveShareOptions::0002-unknownFutureValue Microsoft\Graph\Generated.models.meetingMessageType::0000-none Microsoft\Graph\Generated.models.meetingMessageType::0001-meetingRequest Microsoft\Graph\Generated.models.meetingMessageType::0002-meetingCancelled @@ -133923,12 +134193,17 @@ Microsoft\Graph\Generated.models.onlineMeetingBase-->Entity Microsoft\Graph\Generated.models.onlineMeetingBase::|public|constructor():void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowAttendeeToEnableCamera():bool Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowAttendeeToEnableMic():bool +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowBreakoutRooms():bool +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowedLobbyAdmitters():AllowedLobbyAdmitterRoles Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowedPresenters():OnlineMeetingPresenters +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowLiveShare():MeetingLiveShareOptions Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowMeetingChat():MeetingChatMode Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowParticipantsToChangeName():bool +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowPowerPointSharing():bool Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowRecording():bool Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowTeamworkReactions():bool Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowTranscription():bool +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAllowWhiteboard():bool Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAttendanceReports():array Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAudioConferencing():AudioConferencing Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getChatInfo():ChatInfo @@ -133948,12 +134223,17 @@ Microsoft\Graph\Generated.models.onlineMeetingBase::|public|OdataType:string Microsoft\Graph\Generated.models.onlineMeetingBase::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowAttendeeToEnableCamera(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowAttendeeToEnableMic(value?:bool):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowBreakoutRooms(value?:bool):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowedLobbyAdmitters(value?:AllowedLobbyAdmitterRoles):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowedPresenters(value?:OnlineMeetingPresenters):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowLiveShare(value?:MeetingLiveShareOptions):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowMeetingChat(value?:MeetingChatMode):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowParticipantsToChangeName(value?:bool):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowPowerPointSharing(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowRecording(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowTeamworkReactions(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowTranscription(value?:bool):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAllowWhiteboard(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAttendanceReports(value?:array):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAudioConferencing(value?:AudioConferencing):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setChatInfo(value?:ChatInfo):void @@ -140437,8 +140717,10 @@ Microsoft\Graph\Generated.models.samlSingleSignOnSettings::|static|public|Create Microsoft\Graph\Generated.models.samlSingleSignOnSettings~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.schedule-->Entity Microsoft\Graph\Generated.models.schedule::|public|constructor():void +Microsoft\Graph\Generated.models.schedule::|public|getDayNotes():array Microsoft\Graph\Generated.models.schedule::|public|getEnabled():bool Microsoft\Graph\Generated.models.schedule::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.schedule::|public|getIsActivitiesIncludedWhenCopyingShiftsEnabled():bool Microsoft\Graph\Generated.models.schedule::|public|getOfferShiftRequests():array Microsoft\Graph\Generated.models.schedule::|public|getOfferShiftRequestsEnabled():bool Microsoft\Graph\Generated.models.schedule::|public|getOpenShiftChangeRequests():array @@ -140448,9 +140730,12 @@ Microsoft\Graph\Generated.models.schedule::|public|getProvisionStatus():Operatio Microsoft\Graph\Generated.models.schedule::|public|getProvisionStatusCode():string Microsoft\Graph\Generated.models.schedule::|public|getSchedulingGroups():array Microsoft\Graph\Generated.models.schedule::|public|getShifts():array +Microsoft\Graph\Generated.models.schedule::|public|getStartDayOfWeek():DayOfWeek Microsoft\Graph\Generated.models.schedule::|public|getSwapShiftsChangeRequests():array Microsoft\Graph\Generated.models.schedule::|public|getSwapShiftsRequestsEnabled():bool +Microsoft\Graph\Generated.models.schedule::|public|getTimeCards():array Microsoft\Graph\Generated.models.schedule::|public|getTimeClockEnabled():bool +Microsoft\Graph\Generated.models.schedule::|public|getTimeClockSettings():TimeClockSettings Microsoft\Graph\Generated.models.schedule::|public|getTimeOffReasons():array Microsoft\Graph\Generated.models.schedule::|public|getTimeOffRequests():array Microsoft\Graph\Generated.models.schedule::|public|getTimeOffRequestsEnabled():bool @@ -140459,7 +140744,9 @@ Microsoft\Graph\Generated.models.schedule::|public|getTimeZone():string Microsoft\Graph\Generated.models.schedule::|public|getWorkforceIntegrationIds():array Microsoft\Graph\Generated.models.schedule::|public|OdataType:string Microsoft\Graph\Generated.models.schedule::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.schedule::|public|setDayNotes(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setEnabled(value?:bool):void +Microsoft\Graph\Generated.models.schedule::|public|setIsActivitiesIncludedWhenCopyingShiftsEnabled(value?:bool):void Microsoft\Graph\Generated.models.schedule::|public|setOfferShiftRequests(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setOfferShiftRequestsEnabled(value?:bool):void Microsoft\Graph\Generated.models.schedule::|public|setOpenShiftChangeRequests(value?:array):void @@ -140469,9 +140756,12 @@ Microsoft\Graph\Generated.models.schedule::|public|setProvisionStatus(value?:Ope Microsoft\Graph\Generated.models.schedule::|public|setProvisionStatusCode(value?:string):void Microsoft\Graph\Generated.models.schedule::|public|setSchedulingGroups(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setShifts(value?:array):void +Microsoft\Graph\Generated.models.schedule::|public|setStartDayOfWeek(value?:DayOfWeek):void Microsoft\Graph\Generated.models.schedule::|public|setSwapShiftsChangeRequests(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setSwapShiftsRequestsEnabled(value?:bool):void +Microsoft\Graph\Generated.models.schedule::|public|setTimeCards(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setTimeClockEnabled(value?:bool):void +Microsoft\Graph\Generated.models.schedule::|public|setTimeClockSettings(value?:TimeClockSettings):void Microsoft\Graph\Generated.models.schedule::|public|setTimeOffReasons(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setTimeOffRequests(value?:array):void Microsoft\Graph\Generated.models.schedule::|public|setTimeOffRequestsEnabled(value?:bool):void @@ -140596,12 +140886,14 @@ Microsoft\Graph\Generated.models.scheduleRequestActions::0008-selfRenew Microsoft\Graph\Generated.models.scheduleRequestActions::0009-unknownFutureValue Microsoft\Graph\Generated.models.schedulingGroup-->ChangeTrackedEntity Microsoft\Graph\Generated.models.schedulingGroup::|public|constructor():void +Microsoft\Graph\Generated.models.schedulingGroup::|public|getCode():string Microsoft\Graph\Generated.models.schedulingGroup::|public|getDisplayName():string Microsoft\Graph\Generated.models.schedulingGroup::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.schedulingGroup::|public|getIsActive():bool Microsoft\Graph\Generated.models.schedulingGroup::|public|getUserIds():array Microsoft\Graph\Generated.models.schedulingGroup::|public|OdataType:string Microsoft\Graph\Generated.models.schedulingGroup::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.schedulingGroup::|public|setCode(value?:string):void Microsoft\Graph\Generated.models.schedulingGroup::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.schedulingGroup::|public|setIsActive(value?:bool):void Microsoft\Graph\Generated.models.schedulingGroup::|public|setUserIds(value?:array):void @@ -149248,6 +149540,105 @@ Microsoft\Graph\Generated.models.ticketInfo::|public|setTicketNumber(value?:stri Microsoft\Graph\Generated.models.ticketInfo::|public|setTicketSystem(value?:string):void Microsoft\Graph\Generated.models.ticketInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TicketInfo Microsoft\Graph\Generated.models.ticketInfo~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.timeCard-->ChangeTrackedEntity +Microsoft\Graph\Generated.models.timeCard::|public|constructor():void +Microsoft\Graph\Generated.models.timeCard::|public|getBreaks():array +Microsoft\Graph\Generated.models.timeCard::|public|getClockInEvent():TimeCardEvent +Microsoft\Graph\Generated.models.timeCard::|public|getClockOutEvent():TimeCardEvent +Microsoft\Graph\Generated.models.timeCard::|public|getConfirmedBy():ConfirmedBy +Microsoft\Graph\Generated.models.timeCard::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeCard::|public|getNotes():ItemBody +Microsoft\Graph\Generated.models.timeCard::|public|getOriginalEntry():TimeCardEntry +Microsoft\Graph\Generated.models.timeCard::|public|getState():TimeCardState +Microsoft\Graph\Generated.models.timeCard::|public|getUserId():string +Microsoft\Graph\Generated.models.timeCard::|public|OdataType:string +Microsoft\Graph\Generated.models.timeCard::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeCard::|public|setBreaks(value?:array):void +Microsoft\Graph\Generated.models.timeCard::|public|setClockInEvent(value?:TimeCardEvent):void +Microsoft\Graph\Generated.models.timeCard::|public|setClockOutEvent(value?:TimeCardEvent):void +Microsoft\Graph\Generated.models.timeCard::|public|setConfirmedBy(value?:ConfirmedBy):void +Microsoft\Graph\Generated.models.timeCard::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.models.timeCard::|public|setOriginalEntry(value?:TimeCardEntry):void +Microsoft\Graph\Generated.models.timeCard::|public|setState(value?:TimeCardState):void +Microsoft\Graph\Generated.models.timeCard::|public|setUserId(value?:string):void +Microsoft\Graph\Generated.models.timeCard::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeCard +Microsoft\Graph\Generated.models.timeCardBreak::|public|constructor():void +Microsoft\Graph\Generated.models.timeCardBreak::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.timeCardBreak::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.timeCardBreak::|public|getBreakId():string +Microsoft\Graph\Generated.models.timeCardBreak::|public|getEnd():TimeCardEvent +Microsoft\Graph\Generated.models.timeCardBreak::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeCardBreak::|public|getNotes():ItemBody +Microsoft\Graph\Generated.models.timeCardBreak::|public|getOdataType():string +Microsoft\Graph\Generated.models.timeCardBreak::|public|getStart():TimeCardEvent +Microsoft\Graph\Generated.models.timeCardBreak::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setBreakId(value?:string):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setEnd(value?:TimeCardEvent):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.timeCardBreak::|public|setStart(value?:TimeCardEvent):void +Microsoft\Graph\Generated.models.timeCardBreak::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeCardBreak +Microsoft\Graph\Generated.models.timeCardBreak~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.timeCardCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.timeCardCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.timeCardCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeCardCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.timeCardCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeCardCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.timeCardCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeCardCollectionResponse +Microsoft\Graph\Generated.models.timeCardEntry::|public|constructor():void +Microsoft\Graph\Generated.models.timeCardEntry::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.timeCardEntry::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.timeCardEntry::|public|getBreaks():array +Microsoft\Graph\Generated.models.timeCardEntry::|public|getClockInEvent():TimeCardEvent +Microsoft\Graph\Generated.models.timeCardEntry::|public|getClockOutEvent():TimeCardEvent +Microsoft\Graph\Generated.models.timeCardEntry::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeCardEntry::|public|getOdataType():string +Microsoft\Graph\Generated.models.timeCardEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeCardEntry::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.timeCardEntry::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.timeCardEntry::|public|setBreaks(value?:array):void +Microsoft\Graph\Generated.models.timeCardEntry::|public|setClockInEvent(value?:TimeCardEvent):void +Microsoft\Graph\Generated.models.timeCardEntry::|public|setClockOutEvent(value?:TimeCardEvent):void +Microsoft\Graph\Generated.models.timeCardEntry::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.timeCardEntry::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeCardEntry +Microsoft\Graph\Generated.models.timeCardEntry~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.timeCardEvent::|public|constructor():void +Microsoft\Graph\Generated.models.timeCardEvent::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.timeCardEvent::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.timeCardEvent::|public|getDateTime():DateTime +Microsoft\Graph\Generated.models.timeCardEvent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeCardEvent::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.models.timeCardEvent::|public|getNotes():ItemBody +Microsoft\Graph\Generated.models.timeCardEvent::|public|getOdataType():string +Microsoft\Graph\Generated.models.timeCardEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeCardEvent::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.timeCardEvent::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.timeCardEvent::|public|setDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.timeCardEvent::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.models.timeCardEvent::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.models.timeCardEvent::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.timeCardEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeCardEvent +Microsoft\Graph\Generated.models.timeCardEvent~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.timeCardState::0000-clockedIn +Microsoft\Graph\Generated.models.timeCardState::0001-onBreak +Microsoft\Graph\Generated.models.timeCardState::0002-clockedOut +Microsoft\Graph\Generated.models.timeCardState::0003-unknownFutureValue +Microsoft\Graph\Generated.models.timeClockSettings::|public|constructor():void +Microsoft\Graph\Generated.models.timeClockSettings::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.timeClockSettings::|public|getApprovedLocation():GeoCoordinates +Microsoft\Graph\Generated.models.timeClockSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.timeClockSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeClockSettings::|public|getOdataType():string +Microsoft\Graph\Generated.models.timeClockSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeClockSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.timeClockSettings::|public|setApprovedLocation(value?:GeoCoordinates):void +Microsoft\Graph\Generated.models.timeClockSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.timeClockSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.timeClockSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeClockSettings +Microsoft\Graph\Generated.models.timeClockSettings~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.timeConstraint::|public|constructor():void Microsoft\Graph\Generated.models.timeConstraint::|public|getActivityDomain():ActivityDomain Microsoft\Graph\Generated.models.timeConstraint::|public|getAdditionalData():array @@ -149294,12 +149685,14 @@ Microsoft\Graph\Generated.models.timeOffItem::|public|setTimeOffReasonId(value?: Microsoft\Graph\Generated.models.timeOffItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeOffItem Microsoft\Graph\Generated.models.timeOffReason-->ChangeTrackedEntity Microsoft\Graph\Generated.models.timeOffReason::|public|constructor():void +Microsoft\Graph\Generated.models.timeOffReason::|public|getCode():string Microsoft\Graph\Generated.models.timeOffReason::|public|getDisplayName():string Microsoft\Graph\Generated.models.timeOffReason::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.timeOffReason::|public|getIconType():TimeOffReasonIconType Microsoft\Graph\Generated.models.timeOffReason::|public|getIsActive():bool Microsoft\Graph\Generated.models.timeOffReason::|public|OdataType:string Microsoft\Graph\Generated.models.timeOffReason::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeOffReason::|public|setCode(value?:string):void Microsoft\Graph\Generated.models.timeOffReason::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.timeOffReason::|public|setIconType(value?:TimeOffReasonIconType):void Microsoft\Graph\Generated.models.timeOffReason::|public|setIsActive(value?:bool):void @@ -156072,9 +156465,10 @@ Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0004-ope Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0005-openShiftRequest Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0006-offerShiftRequest Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0007-unknownFutureValue -Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0008-timeOffReason -Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0009-timeOff -Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0010-timeOffRequest +Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0008-timeCard +Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0009-timeOffReason +Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0010-timeOff +Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0011-timeOffRequest Microsoft\Graph\Generated.models.workingHours::|public|constructor():void Microsoft\Graph\Generated.models.workingHours::|public|getAdditionalData():array Microsoft\Graph\Generated.models.workingHours::|public|getBackingStore():BackingStore @@ -199592,6 +199986,71 @@ Microsoft\Graph\Generated.teams.item.primaryChannel.unarchive.UnarchiveRequestBu Microsoft\Graph\Generated.teams.item.primaryChannel.unarchive.UnarchiveRequestBuilder::|public|WithUrl(rawUrl:string):UnarchiveRequestBuilder Microsoft\Graph\Generated.teams.item.primaryChannel.unarchive.unarchiveRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.teams.item.primaryChannel.unarchive.unarchiveRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|ByDayNoteId(dayNoteId:string):DayNoteItemRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|Get(requestConfiguration?:DayNotesRequestBuilderGetRequestConfiguration):DayNoteCollectionResponse +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|Post(body:DayNote; requestConfiguration?:DayNotesRequestBuilderPostRequestConfiguration):DayNote +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DayNotesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|ToPostRequestInformation(body:DayNote; requestConfiguration?:DayNotesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|WithUrl(rawUrl:string):DayNotesRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DayNotesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|public|queryParameters:DayNotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DayNotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.dayNotesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Delete(requestConfiguration?:DayNoteItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Get(requestConfiguration?:DayNoteItemRequestBuilderGetRequestConfiguration):DayNote +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Patch(body:DayNote; requestConfiguration?:DayNoteItemRequestBuilderPatchRequestConfiguration):DayNote +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DayNoteItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DayNoteItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:DayNote; requestConfiguration?:DayNoteItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):DayNoteItemRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DayNoteItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|public|queryParameters:DayNoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DayNoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teams.item.schedule.offerShiftRequests.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.offerShiftRequests.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.teams.item.schedule.offerShiftRequests.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -199789,6 +200248,7 @@ Microsoft\Graph\Generated.teams.item.schedule.openShifts.openShiftsRequestBuilde Microsoft\Graph\Generated.teams.item.schedule.openShifts.openShiftsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|dayNotes:DayNotesRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|Delete(requestConfiguration?:ScheduleRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|Get(requestConfiguration?:ScheduleRequestBuilderGetRequestConfiguration):Schedule Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|offerShiftRequests:OfferShiftRequestsRequestBuilder @@ -199801,6 +200261,7 @@ Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|sc Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|share:ShareRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|shifts:ShiftsRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|swapShiftsChangeRequests:SwapShiftsChangeRequestsRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|timeCards:TimeCardsRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|timeOffReasons:TimeOffReasonsRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|timeOffRequests:TimeOffRequestsRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.ScheduleRequestBuilder::|public|timesOff:TimesOffRequestBuilder @@ -200040,6 +200501,178 @@ Microsoft\Graph\Generated.teams.item.schedule.swapShiftsChangeRequests.swapShift Microsoft\Graph\Generated.teams.item.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SwapShiftsChangeRequestsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.teams.item.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.teams.item.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClockInPostRequestBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|Post(body:ClockInPostRequestBody; requestConfiguration?:ClockInRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|ToPostRequestInformation(body:ClockInPostRequestBody; requestConfiguration?:ClockInRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|WithUrl(rawUrl:string):ClockInRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.clockIn.clockInRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClockOutPostRequestBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|Post(body:ClockOutPostRequestBody; requestConfiguration?:ClockOutRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|ToPostRequestInformation(body:ClockOutPostRequestBody; requestConfiguration?:ClockOutRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|WithUrl(rawUrl:string):ClockOutRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.clockOut.clockOutRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|Post(requestConfiguration?:ConfirmRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ConfirmRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EndBreakPostRequestBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|Post(body:EndBreakPostRequestBody; requestConfiguration?:EndBreakRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|ToPostRequestInformation(body:EndBreakPostRequestBody; requestConfiguration?:EndBreakRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|WithUrl(rawUrl:string):EndBreakRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartBreakPostRequestBody +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|Post(body:StartBreakPostRequestBody; requestConfiguration?:StartBreakRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|ToPostRequestInformation(body:StartBreakPostRequestBody; requestConfiguration?:StartBreakRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|WithUrl(rawUrl:string):StartBreakRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.startBreak.startBreakRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Get(requestConfiguration?:TimeCardItemRequestBuilderGetRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Patch(body:TimeCard; requestConfiguration?:TimeCardItemRequestBuilderPatchRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|startBreak:StartBreakRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TimeCardItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:TimeCard; requestConfiguration?:TimeCardItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):TimeCardItemRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TimeCardItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TimeCardItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TimeCardItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|ByTimeCardId(timeCardId:string):TimeCardItemRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|clockIn:ClockInRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|Get(requestConfiguration?:TimeCardsRequestBuilderGetRequestConfiguration):TimeCardCollectionResponse +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|Post(body:TimeCard; requestConfiguration?:TimeCardsRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TimeCardsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|ToPostRequestInformation(body:TimeCard; requestConfiguration?:TimeCardsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|WithUrl(rawUrl:string):TimeCardsRequestBuilder +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TimeCardsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|public|queryParameters:TimeCardsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TimeCardsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.schedule.timeCards.timeCardsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teams.item.schedule.timeOffReasons.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teams.item.schedule.timeOffReasons.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.teams.item.schedule.timeOffReasons.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -217054,6 +217687,71 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.unarchive.U Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.unarchive.UnarchiveRequestBuilder::|public|WithUrl(rawUrl:string):UnarchiveRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.unarchive.unarchiveRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.unarchive.unarchiveRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|ByDayNoteId(dayNoteId:string):DayNoteItemRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|Get(requestConfiguration?:DayNotesRequestBuilderGetRequestConfiguration):DayNoteCollectionResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|Post(body:DayNote; requestConfiguration?:DayNotesRequestBuilderPostRequestConfiguration):DayNote +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DayNotesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|ToPostRequestInformation(body:DayNote; requestConfiguration?:DayNotesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.DayNotesRequestBuilder::|public|WithUrl(rawUrl:string):DayNotesRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DayNotesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|public|queryParameters:DayNotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DayNotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.dayNotesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Delete(requestConfiguration?:DayNoteItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Get(requestConfiguration?:DayNoteItemRequestBuilderGetRequestConfiguration):DayNote +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|Patch(body:DayNote; requestConfiguration?:DayNoteItemRequestBuilderPatchRequestConfiguration):DayNote +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DayNoteItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DayNoteItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:DayNote; requestConfiguration?:DayNoteItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):DayNoteItemRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DayNoteItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|public|queryParameters:DayNoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DayNoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.dayNotes.item.DayNoteItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.offerShiftRequests.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.offerShiftRequests.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.offerShiftRequests.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -217251,6 +217949,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.openShifts.openSh Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.openShifts.openShiftsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|dayNotes:DayNotesRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|Delete(requestConfiguration?:ScheduleRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|Get(requestConfiguration?:ScheduleRequestBuilderGetRequestConfiguration):Schedule Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|offerShiftRequests:OfferShiftRequestsRequestBuilder @@ -217263,6 +217962,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBu Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|share:ShareRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|shifts:ShiftsRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|swapShiftsChangeRequests:SwapShiftsChangeRequestsRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|timeCards:TimeCardsRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|timeOffReasons:TimeOffReasonsRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|timeOffRequests:TimeOffRequestsRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.ScheduleRequestBuilder::|public|timesOff:TimesOffRequestBuilder @@ -217502,6 +218202,178 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.swapShiftsChangeR Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SwapShiftsChangeRequestsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.swapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClockInPostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|Post(body:ClockInPostRequestBody; requestConfiguration?:ClockInRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|ToPostRequestInformation(body:ClockInPostRequestBody; requestConfiguration?:ClockInRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInRequestBuilder::|public|WithUrl(rawUrl:string):ClockInRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.clockInRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClockOutPostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|Post(body:ClockOutPostRequestBody; requestConfiguration?:ClockOutRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|ToPostRequestInformation(body:ClockOutPostRequestBody; requestConfiguration?:ClockOutRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.ClockOutRequestBuilder::|public|WithUrl(rawUrl:string):ClockOutRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.clockOut.clockOutRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|Post(requestConfiguration?:ConfirmRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ConfirmRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EndBreakPostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|Post(body:EndBreakPostRequestBody; requestConfiguration?:EndBreakRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|ToPostRequestInformation(body:EndBreakPostRequestBody; requestConfiguration?:EndBreakRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.EndBreakRequestBuilder::|public|WithUrl(rawUrl:string):EndBreakRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.endBreak.endBreakRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getIsAtApprovedLocation():bool +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|getNotes():ItemBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setIsAtApprovedLocation(value?:bool):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|public|setNotes(value?:ItemBody):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartBreakPostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|Post(body:StartBreakPostRequestBody; requestConfiguration?:StartBreakRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|ToPostRequestInformation(body:StartBreakPostRequestBody; requestConfiguration?:StartBreakRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.StartBreakRequestBuilder::|public|WithUrl(rawUrl:string):StartBreakRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.startBreak.startBreakRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Get(requestConfiguration?:TimeCardItemRequestBuilderGetRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Patch(body:TimeCard; requestConfiguration?:TimeCardItemRequestBuilderPatchRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|startBreak:StartBreakRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TimeCardItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:TimeCard; requestConfiguration?:TimeCardItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):TimeCardItemRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TimeCardItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TimeCardItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TimeCardItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.item.TimeCardItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|ByTimeCardId(timeCardId:string):TimeCardItemRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|clockIn:ClockInRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|Get(requestConfiguration?:TimeCardsRequestBuilderGetRequestConfiguration):TimeCardCollectionResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|Post(body:TimeCard; requestConfiguration?:TimeCardsRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TimeCardsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|ToPostRequestInformation(body:TimeCard; requestConfiguration?:TimeCardsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.TimeCardsRequestBuilder::|public|WithUrl(rawUrl:string):TimeCardsRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TimeCardsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|public|queryParameters:TimeCardsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TimeCardsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeCards.timeCardsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeOffReasons.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeOffReasons.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.joinedTeams.item.schedule.timeOffReasons.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -220155,7 +221027,6 @@ Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder-->BaseRequest Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|Get(requestConfiguration?:ManagerRequestBuilderGetRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|Ref:RefRequestBuilder Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ManagerRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.manager.ManagerRequestBuilder::|public|urlTemplate:string @@ -220167,24 +221038,6 @@ Microsoft\Graph\Generated.users.item.manager.managerRequestBuilderGetRequestConf Microsoft\Graph\Generated.users.item.manager.managerRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ManagerRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.users.item.manager.managerRequestBuilderGetRequestConfiguration::|public|queryParameters:ManagerRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.manager.managerRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ManagerRequestBuilderGetQueryParameters -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|Delete(requestConfiguration?:RefRequestBuilderDeleteRequestConfiguration):void -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|Get(requestConfiguration?:RefRequestBuilderGetRequestConfiguration):string -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|Put(body:ReferenceUpdate; requestConfiguration?:RefRequestBuilderPutRequestConfiguration):void -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:RefRequestBuilderDeleteRequestConfiguration):RequestInformation -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RefRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|ToPutRequestInformation(body:ReferenceUpdate; requestConfiguration?:RefRequestBuilderPutRequestConfiguration):RequestInformation -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):RefRequestBuilder -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Generated.users.item.manager.ref.RefRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.memberOf.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.memberOf.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.memberOf.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 383bf149676..1234e390044 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "0922012981783F96DC07F5D7A6C66ACF27F7231418359DF10E870D51A0337185AA115C991527B8D7447CE77BF79643604D78D413185E7274AE691774AA3D4716", + "descriptionHash": "0077549B9A55BB643B7A2BD1516D0A1B541CD52514513E618B5893B2BD0435073E4D6B1296F16B36B7C947FBB1D2F738DD71B168EA72A1F8230A71F3EAB99EC9", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.23.0", + "kiotaVersion": "1.24.0", "clientClassName": "BaseGraphClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft\\Graph\\Generated",