From aa7027f53d5b02704c8fd535d88f08a1260cc6f0 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 17 Dec 2024 10:37:34 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 174332 --- appcatalogs/teams_apps_request_builder.go | 6 +- chats/item_messages_request_builder.go | 6 +- .../device_app_management_request_builder.go | 4 +- ...managed_app_policy_item_request_builder.go | 8 +- .../managed_app_policies_request_builder.go | 8 +- ...d_app_registration_item_request_builder.go | 8 +- ...naged_app_registrations_request_builder.go | 8 +- ..._e_book_assignment_item_request_builder.go | 14 +- ..._books_item_assignments_request_builder.go | 8 +- .../managed_e_books_request_builder.go | 8 +- ..._app_configuration_item_request_builder.go | 8 +- ...bile_app_configurations_request_builder.go | 8 +- ...le_apps_mobile_app_item_request_builder.go | 20 +- .../mobile_apps_request_builder.go | 14 +- ..._compliance_policy_item_request_builder.go | 14 +- ...ice_compliance_policies_request_builder.go | 14 +- ...vice_configuration_item_request_builder.go | 14 +- .../device_configurations_request_builder.go | 6 +- ...ment_configuration_item_request_builder.go | 8 +- ...rollment_configurations_request_builder.go | 6 +- .../device_management_request_builder.go | 2 +- .../role_definitions_request_builder.go | 8 +- ...ns_role_definition_item_request_builder.go | 12 +- ...m_items_drive_item_item_request_builder.go | 5 + ...s_item_discard_checkout_request_builder.go | 67 + ...rkbook_names_item_range_request_builder.go | 6 +- ...tem_workbook_tables_add_request_builder.go | 6 +- ...s_item_names_item_range_request_builder.go | 6 +- ...ksheets_item_tables_add_request_builder.go | 6 +- ...tems_external_item_item_request_builder.go | 6 +- ...tions_conversation_item_request_builder.go | 10 +- ...onversation_thread_item_request_builder.go | 10 +- ...item_threads_item_posts_request_builder.go | 8 +- ...ons_named_location_item_request_builder.go | 14 +- ...ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go | 14 +- kiota-dom-export.txt | 1200 +++++++++++++++++ kiota-lock.json | 2 +- models/base_item.go | 4 + .../eligibility_filtering_enabled_entities.go | 57 + models/entity.go | 4 + models/file_storage.go | 49 + models/file_storage_container.go | 75 ++ models/file_storage_container_settings.go | 8 +- models/internal_domain_federation.go | 37 + models/open_shift.go | 37 + models/recycle_bin.go | 127 ++ models/recycle_bin_item.go | 153 +++ .../recycle_bin_item_collection_response.go | 88 ++ models/recycle_bin_settings.go | 150 +++ models/shift.go | 37 + models/site_lock_state.go | 42 + models/time_off.go | 37 + .../workbook_worksheet_protection_options.go | 44 +- models/workforce_integration.go | 38 + ...orkforce_integration_supported_entities.go | 13 +- ...ate_authentication_method_configuration.go | 37 + ...tificate_c_r_l_validation_configuration.go | 194 +++ ...te_c_r_l_validation_configuration_state.go | 36 + ...ations_item_banner_logo_request_builder.go | 6 +- .../organization_item_request_builder.go | 8 +- organization/organization_request_builder.go | 8 +- sites/sites_request_builder.go | 8 +- ...5d34f9841993aea3dc427a4b819e51b8ab15901.go | 80 ++ ...a2894ab445807679e4512f7dc77943c86045a21.go | 123 ++ ...102e617d512e292163bc775464cca3fdf3f73aa.go | 123 ++ ...174262394ae12e75682771f0d177c96529f6df1.go | 98 ++ ...8ccefe9b2269e9971ff3c80536a7d3b4ff6a1e6.go | 98 ++ ...7eb19d1b3fbdc3522d44f5c1852eb8b93b646cb.go | 123 ++ ...8ae396f360ccc0e6fec36ed03cf82492117af05.go | 98 ++ ...9f91a5f3366ecba2390617d1da078fa4489e77a.go | 98 ++ ...c5861aa495991af3e0f1d3efab33510cb14bdac.go | 80 ++ ...65cdc44f23a5b5d3dd9d8dba768bba57027f3d3.go | 80 ++ ...074fd9fdbbb3767a4eb8dc18ba4dfa3edd0fe23.go | 98 ++ ...4c5cd1351aeba656a4719cf394d9f247ef9aa3a.go | 98 ++ ...0f6d7c868ed7d919458de86a1840444350aa3aa.go | 98 ++ ...77a9f8c69f44e82a88170ede32318f411c4fc27.go | 80 ++ ...4104179439b80a811481609c2cbfa02ee7d62c7.go | 80 ++ ...bd53da79c02032d72823be744965c772ecf7fa2.go | 80 ++ ...f2c01148be96e7703ae5beb0264bd368830d826.go | 123 ++ ...462bf72c21eb6d3546ba671c2dc5a9cfcd33489.go | 80 ++ ...a22175ec1272374c2758e834531c1d9110b5a5a.go | 80 ++ ..._storage_container_item_request_builder.go | 20 + ..._containers_item_lock_post_request_body.go | 115 ++ ...ge_containers_item_lock_request_builder.go | 68 + ...y_user_mailbox_settings_request_builder.go | 123 ++ ...cle_bin_created_by_user_request_builder.go | 91 ++ ...ice_provisioning_errors_request_builder.go | 98 ++ ...recycle_bin_items_count_request_builder.go | 80 ++ ...y_user_mailbox_settings_request_builder.go | 123 ++ ...ms_item_created_by_user_request_builder.go | 91 ++ ...m_last_modified_by_user_request_builder.go | 91 ++ ...s_recycle_bin_item_item_request_builder.go | 167 +++ ..._item_recycle_bin_items_request_builder.go | 152 +++ ...y_user_mailbox_settings_request_builder.go | 123 ++ ...n_last_modified_by_user_request_builder.go | 91 ++ ...ainers_item_recycle_bin_request_builder.go | 172 +++ ...containers_item_restore_request_builder.go | 69 + ..._containers_item_unlock_request_builder.go | 64 + ...eleted_containers_count_request_builder.go | 80 ++ ..._storage_container_item_request_builder.go | 197 +++ ...ontainers_item_activate_request_builder.go | 64 + ...d_containers_item_drive_request_builder.go | 81 ++ ..._containers_item_lock_post_request_body.go | 115 ++ ...ed_containers_item_lock_request_builder.go | 68 + ...s_item_permanent_delete_request_builder.go | 64 + ..._item_permissions_count_request_builder.go | 80 ++ ...ermissions_item_grant_post_request_body.go | 169 +++ ...em_permissions_item_grant_post_response.go | 89 ++ ..._permissions_item_grant_request_builder.go | 99 ++ ...rs_item_permissions_item_grant_response.go | 27 + ...issions_permission_item_request_builder.go | 162 +++ ...ainers_item_permissions_request_builder.go | 152 +++ ...y_user_mailbox_settings_request_builder.go | 123 ++ ...cle_bin_created_by_user_request_builder.go | 91 ++ ...recycle_bin_items_count_request_builder.go | 80 ++ ...ms_item_created_by_user_request_builder.go | 91 ++ ...m_last_modified_by_user_request_builder.go | 91 ++ ...s_recycle_bin_item_item_request_builder.go | 167 +++ ..._item_recycle_bin_items_request_builder.go | 152 +++ ...n_last_modified_by_user_request_builder.go | 91 ++ ...ainers_item_recycle_bin_request_builder.go | 172 +++ ...containers_item_restore_request_builder.go | 69 + ..._containers_item_unlock_request_builder.go | 64 + ...rage_deleted_containers_request_builder.go | 152 +++ storage/file_storage_request_builder.go | 5 + ...onversation_member_item_request_builder.go | 6 +- ...m_messages_item_replies_request_builder.go | 6 +- ...lti_tenant_organization_request_builder.go | 6 +- users/item_presence_request_builder.go | 8 +- users/user_item_request_builder.go | 4 +- users/users_request_builder.go | 14 +- ...ith_user_principal_name_request_builder.go | 4 +- 132 files changed, 9051 insertions(+), 217 deletions(-) create mode 100644 drives/item_items_item_discard_checkout_request_builder.go create mode 100644 models/eligibility_filtering_enabled_entities.go create mode 100644 models/recycle_bin.go create mode 100644 models/recycle_bin_item.go create mode 100644 models/recycle_bin_item_collection_response.go create mode 100644 models/recycle_bin_settings.go create mode 100644 models/site_lock_state.go create mode 100644 models/x509_certificate_c_r_l_validation_configuration.go create mode 100644 models/x509_certificate_c_r_l_validation_configuration_state.go create mode 100644 storage/13cfb2710093c6734a6f56b8a5d34f9841993aea3dc427a4b819e51b8ab15901.go create mode 100644 storage/321df77069779d12394de1e35a2894ab445807679e4512f7dc77943c86045a21.go create mode 100644 storage/33009eb32bae51cab5dc04e27102e617d512e292163bc775464cca3fdf3f73aa.go create mode 100644 storage/3b4c350f4620b680a87707fa0174262394ae12e75682771f0d177c96529f6df1.go create mode 100644 storage/6bad9f7bcb365ae6deff894f98ccefe9b2269e9971ff3c80536a7d3b4ff6a1e6.go create mode 100644 storage/6c24af00daec6916c1a54fa227eb19d1b3fbdc3522d44f5c1852eb8b93b646cb.go create mode 100644 storage/72820e6b00e24b4e100ea882f8ae396f360ccc0e6fec36ed03cf82492117af05.go create mode 100644 storage/72de5c1f1ea259ec3af7bf2ef9f91a5f3366ecba2390617d1da078fa4489e77a.go create mode 100644 storage/7907d5cb29fddfa7da4378c69c5861aa495991af3e0f1d3efab33510cb14bdac.go create mode 100644 storage/82741c03342545c1b2bb1a6a565cdc44f23a5b5d3dd9d8dba768bba57027f3d3.go create mode 100644 storage/8fb5265049b92bad47cba66b5074fd9fdbbb3767a4eb8dc18ba4dfa3edd0fe23.go create mode 100644 storage/98e9c3aa708923c750708ca5b4c5cd1351aeba656a4719cf394d9f247ef9aa3a.go create mode 100644 storage/9a47689ead65e184f96702fac0f6d7c868ed7d919458de86a1840444350aa3aa.go create mode 100644 storage/ad664162e0c7f19ef0a58d4da77a9f8c69f44e82a88170ede32318f411c4fc27.go create mode 100644 storage/bd74307894b707955902b67424104179439b80a811481609c2cbfa02ee7d62c7.go create mode 100644 storage/de916a07201fbc6b665a1cf14bd53da79c02032d72823be744965c772ecf7fa2.go create mode 100644 storage/de99fe6c14bee17949428383ff2c01148be96e7703ae5beb0264bd368830d826.go create mode 100644 storage/ea5e1583ee996ef530b8fde6a462bf72c21eb6d3546ba671c2dc5a9cfcd33489.go create mode 100644 storage/eb6a2629fb259269741766d8da22175ec1272374c2758e834531c1d9110b5a5a.go create mode 100644 storage/file_storage_containers_item_lock_post_request_body.go create mode 100644 storage/file_storage_containers_item_lock_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_created_by_user_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_items_count_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_items_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_last_modified_by_user_request_builder.go create mode 100644 storage/file_storage_containers_item_recycle_bin_request_builder.go create mode 100644 storage/file_storage_containers_item_restore_request_builder.go create mode 100644 storage/file_storage_containers_item_unlock_request_builder.go create mode 100644 storage/file_storage_deleted_containers_count_request_builder.go create mode 100644 storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_activate_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_drive_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_lock_post_request_body.go create mode 100644 storage/file_storage_deleted_containers_item_lock_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_permanent_delete_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_count_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_item_grant_post_request_body.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_item_grant_post_response.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_item_grant_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_item_grant_response.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_permission_item_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_permissions_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_items_count_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_items_item_created_by_user_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_items_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_last_modified_by_user_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_recycle_bin_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_restore_request_builder.go create mode 100644 storage/file_storage_deleted_containers_item_unlock_request_builder.go create mode 100644 storage/file_storage_deleted_containers_request_builder.go diff --git a/appcatalogs/teams_apps_request_builder.go b/appcatalogs/teams_apps_request_builder.go index 29b246ff5d..2f80a1545e 100644 --- a/appcatalogs/teams_apps_request_builder.go +++ b/appcatalogs/teams_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamsAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamsAppsRequestBuilderGetQueryParameters list apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// TeamsAppsRequestBuilderGetQueryParameters list apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. type TeamsAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewTeamsAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *TeamsAppsRequestBuilder) Count()(*TeamsAppsCountRequestBuilder) { return NewTeamsAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// Get list apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. // returns a TeamsAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -122,7 +122,7 @@ func (m *TeamsAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c6 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamsAppable), nil } -// ToGetRequestInformation list apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// ToGetRequestInformation list apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. // returns a *RequestInformation when successful func (m *TeamsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 8e9f0d47e8..83d424a2a4 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. +// Post send a new chatMessage in the specified channel or a chat. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/device_app_management_request_builder.go b/deviceappmanagement/device_app_management_request_builder.go index 4f2e45f982..a4faafcbf7 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -62,7 +62,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceAppManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *DeviceAppManagementRequestBuilder) MobileApps()(*MobileAppsRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go index 12d41c1d3c..2609be3833 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppConfiguration object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the targetedManagedAppProtection object. type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the managedAppConfiguration object. +// Get read properties and relationships of the targetedManagedAppProtection object. // returns a ManagedAppPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppConfiguration object. +// ToGetRequestInformation read properties and relationships of the targetedManagedAppProtection object. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_policies_request_builder.go b/deviceappmanagement/managed_app_policies_request_builder.go index 3ef9d180eb..f84b430da8 100644 --- a/deviceappmanagement/managed_app_policies_request_builder.go +++ b/deviceappmanagement/managed_app_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtection objects. +// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the targetedManagedAppProtection objects. type ManagedAppPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppPoliciesRequestBuilder) Count()(*ManagedAppPoliciesCountRequestBuilder) { return NewManagedAppPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsInformationProtection objects. +// Get list properties and relationships of the targetedManagedAppProtection objects. // returns a ManagedAppPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0 func (m *ManagedAppPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ManagedAppPoliciesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the windowsInformationProtection objects. +// ToGetRequestInformation list properties and relationships of the targetedManagedAppProtection objects. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go index a20d0c2d1b..c57ced9cbc 100644 --- a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the androidManagedAppRegistration object. type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,12 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Delete } return nil } -// Get read properties and relationships of the managedAppRegistration object. +// Get read properties and relationships of the androidManagedAppRegistration object. // returns a ManagedAppRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppRegistration object. +// ToGetRequestInformation read properties and relationships of the androidManagedAppRegistration object. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_registrations_request_builder.go b/deviceappmanagement/managed_app_registrations_request_builder.go index b893796343..8ad44f05a5 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the androidManagedAppRegistration objects. +// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the managedAppRegistration objects. type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ManagedAppRegistrationsRequestBuilder) Count()(*ManagedAppRegistrationsCountRequestBuilder) { return NewManagedAppRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidManagedAppRegistration objects. +// Get list properties and relationships of the managedAppRegistration objects. // returns a ManagedAppRegistrationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable), nil } -// ToGetRequestInformation list properties and relationships of the androidManagedAppRegistration objects. +// ToGetRequestInformation list properties and relationships of the managedAppRegistration objects. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index 498f90cbe3..08a6d69f62 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the managedEBookAssignment object. +// ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the iosVppEBookAssignment object. type ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) D } return nil } -// Get read properties and relationships of the managedEBookAssignment object. +// Get read properties and relationships of the iosVppEBookAssignment object. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +96,12 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) G } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// Patch update the properties of a managedEBookAssignment object. +// Patch update the properties of a iosVppEBookAssignment object. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedEBookAssignment object. +// ToGetRequestInformation read properties and relationships of the iosVppEBookAssignment object. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +144,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedEBookAssignment object. +// ToPatchRequestInformation update the properties of a iosVppEBookAssignment object. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go index 8e5b2bc035..9d52b5d10d 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedEBooksItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the managedEBookAssignment objects. +// ManagedEBooksItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the iosVppEBookAssignment objects. type ManagedEBooksItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedEBooksItemAssignmentsRequestBuilder(rawUrl string, requestAdapter func (m *ManagedEBooksItemAssignmentsRequestBuilder) Count()(*ManagedEBooksItemAssignmentsCountRequestBuilder) { return NewManagedEBooksItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedEBookAssignment objects. +// Get list properties and relationships of the iosVppEBookAssignment objects. // returns a ManagedEBookAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the managedEBookAssignment objects. +// ToGetRequestInformation list properties and relationships of the iosVppEBookAssignment objects. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index 300a108c82..1faa1c5dc1 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedEBooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the managedEBook objects. +// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the iosVppEBook objects. type ManagedEBooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedEBooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ManagedEBooksRequestBuilder) Count()(*ManagedEBooksCountRequestBuilder) { return NewManagedEBooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedEBook objects. +// Get list properties and relationships of the iosVppEBook objects. // returns a ManagedEBookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 func (m *ManagedEBooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ManagedEBooksRequestBuilder) Post(ctx context.Context, body iadcd811244 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable), nil } -// ToGetRequestInformation list properties and relationships of the managedEBook objects. +// ToGetRequestInformation list properties and relationships of the iosVppEBook objects. // returns a *RequestInformation when successful func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go index 7c88ee9e72..fd7fe89944 100644 --- a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfiguration object. +// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the iosMobileAppConfiguration object. type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -93,12 +93,12 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) DeviceStatusSummary()(*MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) { return NewMobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the managedDeviceMobileAppConfiguration object. +// Get read properties and relationships of the iosMobileAppConfiguration object. // returns a ManagedDeviceMobileAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -150,7 +150,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfiguration object. +// ToGetRequestInformation read properties and relationships of the iosMobileAppConfiguration object. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_app_configurations_request_builder.go b/deviceappmanagement/mobile_app_configurations_request_builder.go index 87e907abb7..0b8204a865 100644 --- a/deviceappmanagement/mobile_app_configurations_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the managedDeviceMobileAppConfiguration objects. +// MobileAppConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the iosMobileAppConfiguration objects. type MobileAppConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewMobileAppConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *MobileAppConfigurationsRequestBuilder) Count()(*MobileAppConfigurationsCountRequestBuilder) { return NewMobileAppConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedDeviceMobileAppConfiguration objects. +// Get list properties and relationships of the iosMobileAppConfiguration objects. // returns a ManagedDeviceMobileAppConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 func (m *MobileAppConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *MobileAppConfigurationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the managedDeviceMobileAppConfiguration objects. +// ToGetRequestInformation list properties and relationships of the iosMobileAppConfiguration objects. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index c8696afd58..2ad1efb539 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the iosStoreApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the windowsWebApp object. type MobileAppsMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,11 @@ func NewMobileAppsMobileAppItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMobileAppsMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a win32LobApp. +// Delete deletes a iosStoreApp. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-delete?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +88,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read properties and relationships of the iosStoreApp object. +// Get read properties and relationships of the windowsWebApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-get?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -191,12 +191,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*Mob func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a microsoftStoreForBusinessApp object. +// Patch update the properties of a androidLobApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-update?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -214,7 +214,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToDeleteRequestInformation deletes a win32LobApp. +// ToDeleteRequestInformation deletes a iosStoreApp. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -225,7 +225,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosStoreApp object. +// ToGetRequestInformation read properties and relationships of the windowsWebApp object. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -239,7 +239,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a microsoftStoreForBusinessApp object. +// ToPatchRequestInformation update the properties of a androidLobApp object. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_request_builder.go b/deviceappmanagement/mobile_apps_request_builder.go index 89777abe14..192536ed33 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the managedIOSLobApp objects. +// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the webApp objects. type MobileAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewMobileAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *MobileAppsRequestBuilder) Count()(*MobileAppsCountRequestBuilder) { return NewMobileAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedIOSLobApp objects. +// Get list properties and relationships of the webApp objects. // returns a MobileAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-webapp-list?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -179,12 +179,12 @@ func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphW func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new androidLobApp object. +// Post create a new macOSOfficeSuiteApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-create?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -202,7 +202,7 @@ func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToGetRequestInformation list properties and relationships of the managedIOSLobApp objects. +// ToGetRequestInformation list properties and relationships of the webApp objects. // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -216,7 +216,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidLobApp object. +// ToPostRequestInformation create a new macOSOfficeSuiteApp object. // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go index a3e8c746db..0d6684502c 100644 --- a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the iosCompliancePolicy object. +// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsPhone81CompliancePolicy object. type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,12 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Devic func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) DeviceStatusOverview()(*DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) { return NewDeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the iosCompliancePolicy object. +// Get read properties and relationships of the windowsPhone81CompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,12 +121,12 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// Patch update the properties of a windows81CompliancePolicy object. +// Patch update the properties of a windows10CompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -165,7 +165,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosCompliancePolicy object. +// ToGetRequestInformation read properties and relationships of the windowsPhone81CompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -179,7 +179,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windows81CompliancePolicy object. +// ToPatchRequestInformation update the properties of a windows10CompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index 1719a520f9..9be079b122 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceCompliancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the androidCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the windows81CompliancePolicy objects. type DeviceCompliancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceCompliancePoliciesRequestBuilder(rawUrl string, requestAdapter i2a func (m *DeviceCompliancePoliciesRequestBuilder) Count()(*DeviceCompliancePoliciesCountRequestBuilder) { return NewDeviceCompliancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidCompliancePolicy objects. +// Get list properties and relationships of the windows81CompliancePolicy objects. // returns a DeviceCompliancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable), nil } -// Post create a new macOSCompliancePolicy object. +// Post create a new androidCompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// ToGetRequestInformation list properties and relationships of the androidCompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the windows81CompliancePolicy objects. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new macOSCompliancePolicy object. +// ToPostRequestInformation create a new androidCompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/devicemanagement/device_configurations_device_configuration_item_request_builder.go index c71569729f..d612615d4c 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the windows10GeneralConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the androidCustomConfiguration object. type DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,12 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatus func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatusOverview()(*DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) { return NewDeviceConfigurationsItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the windows10GeneralConfiguration object. +// Get read properties and relationships of the androidCustomConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +126,12 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx cont func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) GetOmaSettingPlainTextValueWithSecretReferenceValueId(secretReferenceValueId *string)(*DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder) { return NewDeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, secretReferenceValueId) } -// Patch update the properties of a androidCustomConfiguration object. +// Patch update the properties of a windows10SecureAssessmentConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -160,7 +160,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windows10GeneralConfiguration object. +// ToGetRequestInformation read properties and relationships of the androidCustomConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -174,7 +174,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a androidCustomConfiguration object. +// ToPatchRequestInformation update the properties of a windows10SecureAssessmentConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_request_builder.go b/devicemanagement/device_configurations_request_builder.go index 58f10f6e62..ccea203c06 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -99,12 +99,12 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new iosCustomConfiguration object. +// Post create a new windows81GeneralConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-create?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new iosCustomConfiguration object. +// ToPostRequestInformation create a new windows81GeneralConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index a6ede06c12..7cd5af4638 100644 --- a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentLimitConfiguration object. type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,12 +83,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. +// Get read properties and relationships of the deviceEnrollmentLimitConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. +// ToGetRequestInformation read properties and relationships of the deviceEnrollmentLimitConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index 81564fca39..831fb88463 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -99,12 +99,12 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable), nil } -// Post create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Post create a new deviceEnrollmentPlatformRestrictionsConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToPostRequestInformation create a new deviceEnrollmentPlatformRestrictionsConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index fc8b66633c..8cf8086565 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -185,7 +185,7 @@ func (m *DeviceManagementRequestBuilder) NotificationMessageTemplates()(*Notific // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-devicemanagement-update?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, requestConfiguration *DeviceManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/role_definitions_request_builder.go b/devicemanagement/role_definitions_request_builder.go index afbd2d65d8..fb4b0a56ff 100644 --- a/devicemanagement/role_definitions_request_builder.go +++ b/devicemanagement/role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the deviceAndAppManagementRoleDefinition objects. +// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the roleDefinition objects. type RoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *RoleDefinitionsRequestBuilder) Count()(*RoleDefinitionsCountRequestBuilder) { return NewRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceAndAppManagementRoleDefinition objects. +// Get list properties and relationships of the roleDefinition objects. // returns a RoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd8112 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// ToGetRequestInformation list properties and relationships of the deviceAndAppManagementRoleDefinition objects. +// ToGetRequestInformation list properties and relationships of the roleDefinition objects. // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/role_definitions_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index 5e17657288..21d44785f5 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -54,11 +54,11 @@ func NewRoleDefinitionsRoleDefinitionItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewRoleDefinitionsRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a roleDefinition. +// Delete deletes a deviceAndAppManagementRoleDefinition. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +96,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// Patch update the properties of a deviceAndAppManagementRoleDefinition object. +// Patch update the properties of a roleDefinition object. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Cont func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) RoleAssignments()(*RoleDefinitionsItemRoleAssignmentsRequestBuilder) { return NewRoleDefinitionsItemRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a roleDefinition. +// ToDeleteRequestInformation deletes a deviceAndAppManagementRoleDefinition. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +149,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceAndAppManagementRoleDefinition object. +// ToPatchRequestInformation update the properties of a roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_drive_item_item_request_builder.go b/drives/item_items_drive_item_item_request_builder.go index 9be2aadd5a..77ed9977b3 100644 --- a/drives/item_items_drive_item_item_request_builder.go +++ b/drives/item_items_drive_item_item_request_builder.go @@ -130,6 +130,11 @@ func (m *ItemItemsDriveItemItemRequestBuilder) Delta()(*ItemItemsItemDeltaReques func (m *ItemItemsDriveItemItemRequestBuilder) DeltaWithToken(token *string)(*ItemItemsItemDeltaWithTokenRequestBuilder) { return NewItemItemsItemDeltaWithTokenRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, token) } +// DiscardCheckout provides operations to call the discardCheckout method. +// returns a *ItemItemsItemDiscardCheckoutRequestBuilder when successful +func (m *ItemItemsDriveItemItemRequestBuilder) DiscardCheckout()(*ItemItemsItemDiscardCheckoutRequestBuilder) { + return NewItemItemsItemDiscardCheckoutRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ExtractSensitivityLabels provides operations to call the extractSensitivityLabels method. // returns a *ItemItemsItemExtractSensitivityLabelsRequestBuilder when successful func (m *ItemItemsDriveItemItemRequestBuilder) ExtractSensitivityLabels()(*ItemItemsItemExtractSensitivityLabelsRequestBuilder) { diff --git a/drives/item_items_item_discard_checkout_request_builder.go b/drives/item_items_item_discard_checkout_request_builder.go new file mode 100644 index 0000000000..2bcce47b71 --- /dev/null +++ b/drives/item_items_item_discard_checkout_request_builder.go @@ -0,0 +1,67 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemItemsItemDiscardCheckoutRequestBuilder provides operations to call the discardCheckout method. +type ItemItemsItemDiscardCheckoutRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemItemsItemDiscardCheckoutRequestBuilderInternal instantiates a new ItemItemsItemDiscardCheckoutRequestBuilder and sets the default values. +func NewItemItemsItemDiscardCheckoutRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemItemsItemDiscardCheckoutRequestBuilder) { + m := &ItemItemsItemDiscardCheckoutRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/discardCheckout", pathParameters), + } + return m +} +// NewItemItemsItemDiscardCheckoutRequestBuilder instantiates a new ItemItemsItemDiscardCheckoutRequestBuilder and sets the default values. +func NewItemItemsItemDiscardCheckoutRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemItemsItemDiscardCheckoutRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemItemsItemDiscardCheckoutRequestBuilderInternal(urlParams, requestAdapter) +} +// Post discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-discardcheckout?view=graph-rest-1.0 +func (m *ItemItemsItemDiscardCheckoutRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions. +// returns a *RequestInformation when successful +func (m *ItemItemsItemDiscardCheckoutRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemItemsItemDiscardCheckoutRequestBuilder when successful +func (m *ItemItemsItemDiscardCheckoutRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemDiscardCheckoutRequestBuilder) { + return NewItemItemsItemDiscardCheckoutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_item_range_request_builder.go b/drives/item_items_item_workbook_names_item_range_request_builder.go index 6c3ba0222c..a707cd90d4 100644 --- a/drives/item_items_item_workbook_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_names_item_range_request_builder.go @@ -91,12 +91,12 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) EntireRow()(*ItemIte func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Format()(*ItemItemsItemWorkbookNamesItemRangeFormatRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// Get retrieve the properties and relationships of range object. // returns a WorkbookRangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -184,7 +184,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) RowWithRow(row *int3 func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Sort()(*ItemItemsItemWorkbookNamesItemRangeSortRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// ToGetRequestInformation retrieve the properties and relationships of range object. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index 808418034c..b1eb8a65bb 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post 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. +// Post use this API to create a new Table. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable), nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index 52661113ab..dfb5869c9e 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go @@ -91,12 +91,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Entire func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// Get retrieve the properties and relationships of range object. // returns a WorkbookRangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -184,7 +184,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) RowWit func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Sort()(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeSortRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// ToGetRequestInformation retrieve the properties and relationships of range object. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index 5f903bd102..cfd54936ce 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post 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. +// Post use this API to create a new Table. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable), nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index 570aa37c17..a1ac084e7a 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -106,12 +106,12 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Con func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) MicrosoftGraphExternalConnectorsAddActivities()(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put update the properties of an externalItem object. +// Put create a new externalItem object. // returns a ExternalItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Put(ctx context.Context, body i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the properties of an externalItem object. +// ToPutRequestInformation create a new externalItem object. // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index cec5157b01..8f232eb7fd 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters the group's conversations. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -51,7 +51,7 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +66,12 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of conversation object. +// Get the group's conversations. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,7 +105,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of conversation object. +// ToGetRequestInformation the group's conversations. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 1a5ca88af1..afe7e7d2c6 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters 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. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -58,7 +58,7 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a thread object. +// Get 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. // returns a ConversationThreadable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -140,7 +140,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a thread object. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index f92d9b7a91..cfa90f08ca 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,12 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable), nil } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index ea8c6317c8..c627819230 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a namedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,11 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an ipNamedLocation object. +// Delete delete a countryNamedLocation object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of a namedLocation object. +// Get retrieve the properties and relationships of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil } -// ToDeleteRequestInformation delete an ipNamedLocation object. +// ToDeleteRequestInformation delete a countryNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +130,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a namedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go index d7eade6877..2c0206d72d 100644 --- a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go +++ b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go @@ -18,7 +18,7 @@ type EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. type EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,11 @@ func NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutEx urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return nil } -// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// Get read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// ToDeleteRequestInformation delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +130,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 0d1413393c..0e5e136801 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -32021,6 +32021,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBu github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemItemsDriveItemItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|delta():*ItemItemsItemDeltaRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|deltaWithToken(token:*string):*ItemItemsItemDeltaWithTokenRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|discardCheckout():*ItemItemsItemDiscardCheckoutRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|extractSensitivityLabels():*ItemItemsItemExtractSensitivityLabelsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|follow():*ItemItemsItemFollowRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsDriveItemItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemItemsDriveItemItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemable @@ -32690,6 +32691,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDeltaWithTokenResp github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDeltaWithTokenResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDeltaWithTokenResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDeltaWithTokenResponseable~~>ItemItemsItemDeltaWithTokenGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder.ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder.ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemItemsItemDiscardCheckoutRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemDiscardCheckoutRequestBuilder::|public|WithUrl(rawUrl:string):*ItemItemsItemDiscardCheckoutRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemExtractSensitivityLabelsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemExtractSensitivityLabelsRequestBuilder.ItemItemsItemExtractSensitivityLabelsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.drives.ItemItemsItemExtractSensitivityLabelsRequestBuilder.ItemItemsItemExtractSensitivityLabelsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -139447,6 +139459,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationWordResource::|static| github.com/microsoftgraph/msgraph-sdk-go/.models.educationWordResourceable::|public|GetFileUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationWordResourceable::|public|SetFileUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationWordResourceable~~>EducationResourceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.eligibilityFilteringEnabledEntities::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.eligibilityFilteringEnabledEntities::0001-swapRequest +github.com/microsoftgraph/msgraph-sdk-go/.models.eligibilityFilteringEnabledEntities::0002-offerShiftRequest +github.com/microsoftgraph/msgraph-sdk-go/.models.eligibilityFilteringEnabledEntities::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.eligibilityFilteringEnabledEntities::0004-timeOffReason github.com/microsoftgraph/msgraph-sdk-go/.models.emailAddress::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.emailAddress::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.emailAddress::|public|GetAddress():*string @@ -141755,13 +141772,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileSecurityState~~>FileSecurit github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|GetContainers():[]FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|GetDeletedContainers():[]FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|SetContainers(value:[]FileStorageContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|SetDeletedContainers(value:[]FileStorageContainerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|GetContainers():[]FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|GetDeletedContainers():[]FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|SetContainers(value:[]FileStorageContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|SetDeletedContainers(value:[]FileStorageContainerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|constructor():void @@ -141772,7 +141793,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetDrive():Driveable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetLockState():*SiteLockState github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetPermissions():[]Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetSettings():FileStorageContainerSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetStatus():*FileStorageContainerStatus github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetViewpoint():FileStorageContainerViewpointable @@ -141784,7 +141807,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDrive(value:Driveable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetLockState(value:*SiteLockState):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetPermissions(value:[]Permissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetSettings(value:FileStorageContainerSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetStatus(value:*FileStorageContainerStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetViewpoint(value:FileStorageContainerViewpointable):void @@ -141795,7 +141820,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDrive():Driveable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetLockState():*SiteLockState github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetPermissions():[]Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetSettings():FileStorageContainerSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetStatus():*FileStorageContainerStatus github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetViewpoint():FileStorageContainerViewpointable @@ -141805,7 +141832,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDrive(value:Driveable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetLockState(value:*SiteLockState):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetPermissions(value:[]Permissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetSettings(value:FileStorageContainerSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetStatus(value:*FileStorageContainerStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetViewpoint(value:FileStorageContainerViewpointable):void @@ -144998,6 +145027,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetIsSignedAuthenticationRequestRequired():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetNextSigningCertificate():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetPasswordResetUri():*string github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetPromptLoginBehavior():*PromptLoginBehavior github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetSigningCertificateUpdateStatus():SigningCertificateUpdateStatusable github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetSignOutUri():*string @@ -145007,6 +145037,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetFederatedIdpMfaBehavior(value:*FederatedIdpMfaBehavior):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetIsSignedAuthenticationRequestRequired(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetNextSigningCertificate(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetPasswordResetUri(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetPromptLoginBehavior(value:*PromptLoginBehavior):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetSigningCertificateUpdateStatus(value:SigningCertificateUpdateStatusable):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|SetSignOutUri(value:*string):void @@ -145015,6 +145046,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::| github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetFederatedIdpMfaBehavior():*FederatedIdpMfaBehavior github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetIsSignedAuthenticationRequestRequired():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetNextSigningCertificate():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetPasswordResetUri():*string github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetPromptLoginBehavior():*PromptLoginBehavior github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetSigningCertificateUpdateStatus():SigningCertificateUpdateStatusable github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|GetSignOutUri():*string @@ -145022,6 +145054,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::| github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetFederatedIdpMfaBehavior(value:*FederatedIdpMfaBehavior):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetIsSignedAuthenticationRequestRequired(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetNextSigningCertificate(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetPasswordResetUri(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetPromptLoginBehavior(value:*PromptLoginBehavior):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetSigningCertificateUpdateStatus(value:SigningCertificateUpdateStatusable):void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederationable::|public|SetSignOutUri(value:*string):void @@ -154542,18 +154575,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.openShift-->*ChangeTrackedEntit github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|GetDraftOpenShift():OpenShiftItemable github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|GetIsStagedForDeletion():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|GetSchedulingGroupId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|GetSharedOpenShift():OpenShiftItemable github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|SetDraftOpenShift(value:OpenShiftItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|SetIsStagedForDeletion(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|SetSchedulingGroupId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|public|SetSharedOpenShift(value:OpenShiftItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShift::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|GetDraftOpenShift():OpenShiftItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|GetIsStagedForDeletion():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|GetSchedulingGroupId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|GetSharedOpenShift():OpenShiftItemable github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|SetDraftOpenShift(value:OpenShiftItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|SetIsStagedForDeletion(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|SetSchedulingGroupId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable::|public|SetSharedOpenShift(value:OpenShiftItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.openShiftable~~>ChangeTrackedEntityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -161606,6 +161643,70 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.recurrenceRangeType::0000-endDa github.com/microsoftgraph/msgraph-sdk-go/.models.recurrenceRangeType::0001-noEnd github.com/microsoftgraph/msgraph-sdk-go/.models.recurrenceRangeType::0002-numbered github.com/microsoftgraph/msgraph-sdk-go/.models.recurrenceRange~~>RecurrenceRangeable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin-->*BaseItem +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|GetItems():[]RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|GetSettings():RecycleBinSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|SetItems(value:[]RecycleBinItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|public|SetSettings(value:RecycleBinSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinable::|public|GetItems():[]RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinable::|public|GetSettings():RecycleBinSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinable::|public|SetItems(value:[]RecycleBinItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinable::|public|SetSettings(value:RecycleBinSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinable~~>BaseItemable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem-->*BaseItem +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|GetDeletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|GetDeletedFromLocation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|GetSize():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|SetDeletedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|SetDeletedFromLocation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|public|SetSize(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable::|public|GetDeletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable::|public|GetDeletedFromLocation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable::|public|GetSize():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable::|public|SetDeletedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable::|public|SetDeletedFromLocation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable::|public|SetSize(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemable~~>BaseItemable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse::|public|GetValue():[]RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse::|public|SetValue(value:[]RecycleBinItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponseable::|public|GetValue():[]RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponseable::|public|SetValue(value:[]RecycleBinItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinItemCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|GetRetentionPeriodOverrideDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|public|SetRetentionPeriodOverrideDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable::|public|GetRetentionPeriodOverrideDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable::|public|SetRetentionPeriodOverrideDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.recycleBinSettings~~>RecycleBinSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.redirectUriSettings::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.redirectUriSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.redirectUriSettings::|public|GetBackingStore():BackingStore @@ -172448,21 +172549,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.shift-->*ChangeTrackedEntity github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|GetDraftShift():ShiftItemable github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|GetIsStagedForDeletion():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|GetSchedulingGroupId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|GetSharedShift():ShiftItemable github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|GetUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|SetDraftShift(value:ShiftItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|SetIsStagedForDeletion(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|SetSchedulingGroupId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|SetSharedShift(value:ShiftItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|public|SetUserId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.shift::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|GetDraftShift():ShiftItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|GetIsStagedForDeletion():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|GetSchedulingGroupId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|GetSharedShift():ShiftItemable github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|GetUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|SetDraftShift(value:ShiftItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|SetIsStagedForDeletion(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|SetSchedulingGroupId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|SetSharedShift(value:ShiftItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.shiftable::|public|SetUserId(value:*string):void @@ -173393,6 +173498,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.siteCollectionResponseable::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.siteCollectionResponseable::|public|SetValue(value:[]Siteable):void github.com/microsoftgraph/msgraph-sdk-go/.models.siteCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.siteCollection~~>SiteCollectionable +github.com/microsoftgraph/msgraph-sdk-go/.models.siteLockState::0000-unlocked +github.com/microsoftgraph/msgraph-sdk-go/.models.siteLockState::0001-lockedReadOnly +github.com/microsoftgraph/msgraph-sdk-go/.models.siteLockState::0002-lockedNoAccess +github.com/microsoftgraph/msgraph-sdk-go/.models.siteLockState::0003-lockedNoAdditions +github.com/microsoftgraph/msgraph-sdk-go/.models.siteLockState::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.sitePage-->*BaseSitePage github.com/microsoftgraph/msgraph-sdk-go/.models.sitePage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.sitePage::|public|GetCanvasLayout():CanvasLayoutable @@ -177796,18 +177906,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff-->*ChangeTrackedEntity github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|GetDraftTimeOff():TimeOffItemable github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|GetIsStagedForDeletion():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|GetSharedTimeOff():TimeOffItemable github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|GetUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|SetDraftTimeOff(value:TimeOffItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|SetIsStagedForDeletion(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|SetSharedTimeOff(value:TimeOffItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|public|SetUserId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOff::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|GetDraftTimeOff():TimeOffItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|GetIsStagedForDeletion():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|GetSharedTimeOff():TimeOffItemable github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|GetUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|SetDraftTimeOff(value:TimeOffItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|SetIsStagedForDeletion(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|SetSharedTimeOff(value:TimeOffItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable::|public|SetUserId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffable~~>ChangeTrackedEntityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -189034,6 +189148,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration-->*ChangeT github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|GetApiVersion():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|GetEligibilityFilteringEnabledEntities():*EligibilityFilteringEnabledEntities github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|GetEncryption():WorkforceIntegrationEncryptionable github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|GetIsActive():*bool @@ -189043,6 +189158,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|O github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|SetApiVersion(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|SetEligibilityFilteringEnabledEntities(value:*EligibilityFilteringEnabledEntities):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|SetEncryption(value:WorkforceIntegrationEncryptionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|SetIsActive(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|SetSupportedEntities(value:*WorkforceIntegrationSupportedEntities):void @@ -189050,12 +189166,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetApiVersion():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetEligibilityFilteringEnabledEntities():*EligibilityFilteringEnabledEntities github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetEncryption():WorkforceIntegrationEncryptionable github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetIsActive():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetSupportedEntities():*WorkforceIntegrationSupportedEntities github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|GetUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|SetApiVersion(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|SetEligibilityFilteringEnabledEntities(value:*EligibilityFilteringEnabledEntities):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|SetEncryption(value:WorkforceIntegrationEncryptionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|SetIsActive(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationable::|public|SetSupportedEntities(value:*WorkforceIntegrationSupportedEntities):void @@ -189105,6 +189223,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEn github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0005-openShiftRequest github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0006-offerShiftRequest github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0007-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0008-timeOffReason +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0009-timeOff +github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0010-timeOffRequest github.com/microsoftgraph/msgraph-sdk-go/.models.workingHours::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.workingHours::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.workingHours::|public|GetBackingStore():BackingStore @@ -189151,19 +189272,23 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMe github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetAuthenticationModeConfiguration():X509CertificateAuthenticationModeConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetCertificateUserBindings():[]X509CertificateUserBindingable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetCrlValidationConfiguration():X509CertificateCRLValidationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetIncludeTargets():[]AuthenticationMethodTargetable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetAuthenticationModeConfiguration(value:X509CertificateAuthenticationModeConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetCertificateUserBindings(value:[]X509CertificateUserBindingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetCrlValidationConfiguration(value:X509CertificateCRLValidationConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetAuthenticationModeConfiguration():X509CertificateAuthenticationModeConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetCertificateUserBindings():[]X509CertificateUserBindingable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetCrlValidationConfiguration():X509CertificateCRLValidationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetIncludeTargets():[]AuthenticationMethodTargetable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetAuthenticationModeConfiguration(value:X509CertificateAuthenticationModeConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetCertificateUserBindings(value:[]X509CertificateUserBindingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetCrlValidationConfiguration(value:X509CertificateCRLValidationConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable~~>AuthenticationMethodConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMode::0000-x509CertificateSingleFactor @@ -189212,6 +189337,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfi github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfigurationable::|public|SetAllowedIssuerSkis(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfigurationable::|public|SetAllowedPolicyOIDs(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfigurationable~~>AuthenticationCombinationConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|GetState():*X509CertificateCRLValidationConfigurationState +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|SetExemptedCertificateAuthoritiesSubjectKeyIdentifiers(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|public|SetState(value:*X509CertificateCRLValidationConfigurationState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|GetState():*X509CertificateCRLValidationConfigurationState +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|SetExemptedCertificateAuthoritiesSubjectKeyIdentifiers(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable::|public|SetState(value:*X509CertificateCRLValidationConfigurationState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationState::0000-disabled +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationState::0001-enabled +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationState::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration~~>X509CertificateCRLValidationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateRule::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateRule::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateRule::|public|GetBackingStore():BackingStore @@ -230119,14 +230271,18 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStora github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageContainersItemLockRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageContainersItemPermanentDeleteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permissions():*FileStorageContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageContainersItemRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|unlock():*FileStorageContainersItemUnlockRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersFileStorageContainerItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder @@ -230154,6 +230310,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemDrive github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemDriveRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemDriveRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemDriveRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemDriveRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemDriveRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|GetLockState():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|SetLockState(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|GetLockState():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|SetLockState(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody~~>FileStorageContainersItemLockPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder.FileStorageContainersItemLockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder.FileStorageContainersItemLockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|Post(body:FileStorageContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemLockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemLockRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -230274,6 +230457,393 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermi github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemPermissionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|mailboxSettings():*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|mailboxSettings():*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|mailboxSettings():*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|createdByUser():*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|lastModifiedByUser():*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder.FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|ByRecycleBinItemId(recycleBinItemId:string):*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|Count():*FileStorageContainersItemRecycleBinItemsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinItemsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinItemsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|mailboxSettings():*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemRecycleBinRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder.FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|createdByUser():*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|items():*FileStorageContainersItemRecycleBinItemsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|lastModifiedByUser():*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRecycleBinRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder.FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder.FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder.FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder.FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemUnlockRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder.FileStorageContainersRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder.FileStorageContainersRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -230300,6 +230870,635 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBu github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder.FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|activate():*FileStorageDeletedContainersItemActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageDeletedContainersItemDriveRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageDeletedContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permissions():*FileStorageDeletedContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageDeletedContainersItemRecycleBinRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageDeletedContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|unlock():*FileStorageDeletedContainersItemUnlockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder.FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder.FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder.FileStorageDeletedContainersItemDriveRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder.FileStorageDeletedContainersItemDriveRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder.FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder.FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder.FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemDriveRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Driveable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemDriveRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|GetLockState():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|SetLockState(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|GetLockState():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|SetLockState(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody~~>FileStorageDeletedContainersItemLockPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder.FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder.FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|Post(body:FileStorageDeletedContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageDeletedContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder.FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder.FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder.FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder.FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder.FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermissionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|GetRecipients():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|GetRoles():[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|SetRecipients(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|public|SetRoles(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable::|public|GetRecipients():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable::|public|GetRoles():[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable::|public|SetRecipients(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable::|public|SetRoles(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody~~>FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|Post(body:FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration):FileStorageDeletedContainersItemPermissionsItemGrantResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|PostAsGrantPostResponse(body:FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration):FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|ToPostRequestInformation(body:FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantResponse-->*FileStorageDeletedContainersItemPermissionsItemGrantPostResponse +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsItemGrantResponseable~~>FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|grant():*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder.FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|ByPermissionId(permissionId:string):*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemPermissionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PermissionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|mailboxSettings():*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|mailboxSettings():*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|mailboxSettings():*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|createdByUser():*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|lastModifiedByUser():*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|ByRecycleBinItemId(recycleBinItemId:string):*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|mailboxSettings():*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors():*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemRecycleBinRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder.FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|createdByUser():*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|items():*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|lastModifiedByUser():*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRecycleBinRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder.FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder.FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder.FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder.FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemUnlockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|ByFileStorageContainerId(fileStorageContainerId:string):*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|Count():*FileStorageDeletedContainersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder.FileStorageRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder.FileStorageRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -230314,6 +231513,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|pu github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|containers():*FileStorageContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|deletedContainers():*FileStorageDeletedContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageable; ctx:context.Context; requestConfiguration?:*FileStorageRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|pathParameters:map[string]string diff --git a/kiota-lock.json b/kiota-lock.json index 885ac76f48..da3e7cff5f 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "31A9A238140C9914759C7B7A2E13B2C803B35CEE1AEA81256743169C96DF65B1F97C9D3098319C56A964B5DFF4FDF8A26D1EE0E29772953FD675969B9FB84E67", + "descriptionHash": "0D10478CC5AE4EC6098852A872AE786DED9F45C1918ED35870E3017BFA60F4EA8C5A59A80C9DB74303CDDBD302EAFA5D7BBB8F5AA4730264459AE9A8DF1205F8", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0", diff --git a/models/base_item.go b/models/base_item.go index 04dcfc168c..c00b4e205b 100644 --- a/models/base_item.go +++ b/models/base_item.go @@ -40,6 +40,10 @@ func CreateBaseItemFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f4 return NewList(), nil case "#microsoft.graph.listItem": return NewListItem(), nil + case "#microsoft.graph.recycleBin": + return NewRecycleBin(), nil + case "#microsoft.graph.recycleBinItem": + return NewRecycleBinItem(), nil case "#microsoft.graph.sharedDriveItem": return NewSharedDriveItem(), nil case "#microsoft.graph.site": diff --git a/models/eligibility_filtering_enabled_entities.go b/models/eligibility_filtering_enabled_entities.go new file mode 100644 index 0000000000..f21adac156 --- /dev/null +++ b/models/eligibility_filtering_enabled_entities.go @@ -0,0 +1,57 @@ +package models +import ( + "math" + "strings" +) +type EligibilityFilteringEnabledEntities int + +const ( + NONE_ELIGIBILITYFILTERINGENABLEDENTITIES = 1 + SWAPREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES = 2 + OFFERSHIFTREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES = 4 + UNKNOWNFUTUREVALUE_ELIGIBILITYFILTERINGENABLEDENTITIES = 8 + TIMEOFFREASON_ELIGIBILITYFILTERINGENABLEDENTITIES = 16 +) + +func (i EligibilityFilteringEnabledEntities) String() string { + var values []string + options := []string{"none", "swapRequest", "offerShiftRequest", "unknownFutureValue", "timeOffReason"} + for p := 0; p < 5; p++ { + mantis := EligibilityFilteringEnabledEntities(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseEligibilityFilteringEnabledEntities(v string) (any, error) { + var result EligibilityFilteringEnabledEntities + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_ELIGIBILITYFILTERINGENABLEDENTITIES + case "swapRequest": + result |= SWAPREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES + case "offerShiftRequest": + result |= OFFERSHIFTREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ELIGIBILITYFILTERINGENABLEDENTITIES + case "timeOffReason": + result |= TIMEOFFREASON_ELIGIBILITYFILTERINGENABLEDENTITIES + default: + return nil, nil + } + } + return &result, nil +} +func SerializeEligibilityFilteringEnabledEntities(values []EligibilityFilteringEnabledEntities) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EligibilityFilteringEnabledEntities) isMultiValue() bool { + return true +} diff --git a/models/entity.go b/models/entity.go index 66cca465da..18f9ab3f07 100644 --- a/models/entity.go +++ b/models/entity.go @@ -1116,6 +1116,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewRbacApplication(), nil case "#microsoft.graph.recordOperation": return NewRecordOperation(), nil + case "#microsoft.graph.recycleBin": + return NewRecycleBin(), nil + case "#microsoft.graph.recycleBinItem": + return NewRecycleBinItem(), nil case "#microsoft.graph.referenceAttachment": return NewReferenceAttachment(), nil case "#microsoft.graph.relyingPartyDetailedSummary": diff --git a/models/file_storage.go b/models/file_storage.go index 4e33faafca..8ba1bfe839 100644 --- a/models/file_storage.go +++ b/models/file_storage.go @@ -31,6 +31,18 @@ func (m *FileStorage) GetContainers()([]FileStorageContainerable) { } return nil } +// GetDeletedContainers gets the deletedContainers property value. The deletedContainers property +// returns a []FileStorageContainerable when successful +func (m *FileStorage) GetDeletedContainers()([]FileStorageContainerable) { + val, err := m.GetBackingStore().Get("deletedContainers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *FileStorage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -51,6 +63,22 @@ func (m *FileStorage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["deletedContainers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerable) + } + } + m.SetDeletedContainers(res) + } + return nil + } return res } // Serialize serializes information the current object @@ -71,6 +99,18 @@ func (m *FileStorage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + if m.GetDeletedContainers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDeletedContainers())) + for i, v := range m.GetDeletedContainers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("deletedContainers", cast) + if err != nil { + return err + } + } return nil } // SetContainers sets the containers property value. The containers property @@ -80,9 +120,18 @@ func (m *FileStorage) SetContainers(value []FileStorageContainerable)() { panic(err) } } +// SetDeletedContainers sets the deletedContainers property value. The deletedContainers property +func (m *FileStorage) SetDeletedContainers(value []FileStorageContainerable)() { + err := m.GetBackingStore().Set("deletedContainers", value) + if err != nil { + panic(err) + } +} type FileStorageable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContainers()([]FileStorageContainerable) + GetDeletedContainers()([]FileStorageContainerable) SetContainers(value []FileStorageContainerable)() + SetDeletedContainers(value []FileStorageContainerable)() } diff --git a/models/file_storage_container.go b/models/file_storage_container.go index 9699630550..ecc980780f 100644 --- a/models/file_storage_container.go +++ b/models/file_storage_container.go @@ -157,6 +157,16 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["lockState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSiteLockState) + if err != nil { + return err + } + if val != nil { + m.SetLockState(val.(*SiteLockState)) + } + return nil + } res["permissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreatePermissionFromDiscriminatorValue) if err != nil { @@ -173,6 +183,16 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["recycleBin"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRecycleBinFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRecycleBin(val.(RecycleBinable)) + } + return nil + } res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateFileStorageContainerSettingsFromDiscriminatorValue) if err != nil { @@ -205,6 +225,18 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } +// GetLockState gets the lockState property value. Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only. +// returns a *SiteLockState when successful +func (m *FileStorageContainer) GetLockState()(*SiteLockState) { + val, err := m.GetBackingStore().Get("lockState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SiteLockState) + } + return nil +} // GetPermissions gets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. // returns a []Permissionable when successful func (m *FileStorageContainer) GetPermissions()([]Permissionable) { @@ -217,6 +249,18 @@ func (m *FileStorageContainer) GetPermissions()([]Permissionable) { } return nil } +// GetRecycleBin gets the recycleBin property value. Recycle bin of the fileStorageContainer. Read-only. +// returns a RecycleBinable when successful +func (m *FileStorageContainer) GetRecycleBin()(RecycleBinable) { + val, err := m.GetBackingStore().Get("recycleBin") + if err != nil { + panic(err) + } + if val != nil { + return val.(RecycleBinable) + } + return nil +} // GetSettings gets the settings property value. The settings property // returns a FileStorageContainerSettingsable when successful func (m *FileStorageContainer) GetSettings()(FileStorageContainerSettingsable) { @@ -295,6 +339,13 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetLockState() != nil { + cast := (*m.GetLockState()).String() + err = writer.WriteStringValue("lockState", &cast) + if err != nil { + return err + } + } if m.GetPermissions() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissions())) for i, v := range m.GetPermissions() { @@ -307,6 +358,12 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + { + err = writer.WriteObjectValue("recycleBin", m.GetRecycleBin()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("settings", m.GetSettings()) if err != nil { @@ -370,6 +427,13 @@ func (m *FileStorageContainer) SetDrive(value Driveable)() { panic(err) } } +// SetLockState sets the lockState property value. Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only. +func (m *FileStorageContainer) SetLockState(value *SiteLockState)() { + err := m.GetBackingStore().Set("lockState", value) + if err != nil { + panic(err) + } +} // SetPermissions sets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. func (m *FileStorageContainer) SetPermissions(value []Permissionable)() { err := m.GetBackingStore().Set("permissions", value) @@ -377,6 +441,13 @@ func (m *FileStorageContainer) SetPermissions(value []Permissionable)() { panic(err) } } +// SetRecycleBin sets the recycleBin property value. Recycle bin of the fileStorageContainer. Read-only. +func (m *FileStorageContainer) SetRecycleBin(value RecycleBinable)() { + err := m.GetBackingStore().Set("recycleBin", value) + if err != nil { + panic(err) + } +} // SetSettings sets the settings property value. The settings property func (m *FileStorageContainer) SetSettings(value FileStorageContainerSettingsable)() { err := m.GetBackingStore().Set("settings", value) @@ -407,7 +478,9 @@ type FileStorageContainerable interface { GetDescription()(*string) GetDisplayName()(*string) GetDrive()(Driveable) + GetLockState()(*SiteLockState) GetPermissions()([]Permissionable) + GetRecycleBin()(RecycleBinable) GetSettings()(FileStorageContainerSettingsable) GetStatus()(*FileStorageContainerStatus) GetViewpoint()(FileStorageContainerViewpointable) @@ -417,7 +490,9 @@ type FileStorageContainerable interface { SetDescription(value *string)() SetDisplayName(value *string)() SetDrive(value Driveable)() + SetLockState(value *SiteLockState)() SetPermissions(value []Permissionable)() + SetRecycleBin(value RecycleBinable)() SetSettings(value FileStorageContainerSettingsable)() SetStatus(value *FileStorageContainerStatus)() SetViewpoint(value FileStorageContainerViewpointable)() diff --git a/models/file_storage_container_settings.go b/models/file_storage_container_settings.go index d3c19be572..d1af55c18d 100644 --- a/models/file_storage_container_settings.go +++ b/models/file_storage_container_settings.go @@ -86,7 +86,7 @@ func (m *FileStorageContainerSettings) GetFieldDeserializers()(map[string]func(i } return res } -// GetIsItemVersioningEnabled gets the isItemVersioningEnabled property value. The isItemVersioningEnabled property +// GetIsItemVersioningEnabled gets the isItemVersioningEnabled property value. Indicates whether versioning is enabled for items in the container. Optional. Read-write. // returns a *bool when successful func (m *FileStorageContainerSettings) GetIsItemVersioningEnabled()(*bool) { val, err := m.GetBackingStore().Get("isItemVersioningEnabled") @@ -110,7 +110,7 @@ func (m *FileStorageContainerSettings) GetIsOcrEnabled()(*bool) { } return nil } -// GetItemMajorVersionLimit gets the itemMajorVersionLimit property value. The itemMajorVersionLimit property +// GetItemMajorVersionLimit gets the itemMajorVersionLimit property value. The maximum major versions allowed for items in the container. Optional. Read-write. // returns a *int32 when successful func (m *FileStorageContainerSettings) GetItemMajorVersionLimit()(*int32) { val, err := m.GetBackingStore().Get("itemMajorVersionLimit") @@ -179,7 +179,7 @@ func (m *FileStorageContainerSettings) SetAdditionalData(value map[string]any)() func (m *FileStorageContainerSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsItemVersioningEnabled sets the isItemVersioningEnabled property value. The isItemVersioningEnabled property +// SetIsItemVersioningEnabled sets the isItemVersioningEnabled property value. Indicates whether versioning is enabled for items in the container. Optional. Read-write. func (m *FileStorageContainerSettings) SetIsItemVersioningEnabled(value *bool)() { err := m.GetBackingStore().Set("isItemVersioningEnabled", value) if err != nil { @@ -193,7 +193,7 @@ func (m *FileStorageContainerSettings) SetIsOcrEnabled(value *bool)() { panic(err) } } -// SetItemMajorVersionLimit sets the itemMajorVersionLimit property value. The itemMajorVersionLimit property +// SetItemMajorVersionLimit sets the itemMajorVersionLimit property value. The maximum major versions allowed for items in the container. Optional. Read-write. func (m *FileStorageContainerSettings) SetItemMajorVersionLimit(value *int32)() { err := m.GetBackingStore().Set("itemMajorVersionLimit", value) if err != nil { diff --git a/models/internal_domain_federation.go b/models/internal_domain_federation.go index 463438499d..462c952503 100644 --- a/models/internal_domain_federation.go +++ b/models/internal_domain_federation.go @@ -89,6 +89,16 @@ func (m *InternalDomainFederation) GetFieldDeserializers()(map[string]func(i878a } return nil } + res["passwordResetUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPasswordResetUri(val) + } + return nil + } res["promptLoginBehavior"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParsePromptLoginBehavior) if err != nil { @@ -145,6 +155,18 @@ func (m *InternalDomainFederation) GetNextSigningCertificate()(*string) { } return nil } +// GetPasswordResetUri gets the passwordResetUri property value. The passwordResetUri property +// returns a *string when successful +func (m *InternalDomainFederation) GetPasswordResetUri()(*string) { + val, err := m.GetBackingStore().Get("passwordResetUri") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPromptLoginBehavior gets the promptLoginBehavior property value. Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. // returns a *PromptLoginBehavior when successful func (m *InternalDomainFederation) GetPromptLoginBehavior()(*PromptLoginBehavior) { @@ -212,6 +234,12 @@ func (m *InternalDomainFederation) Serialize(writer i878a80d2330e89d26896388a3f4 return err } } + { + err = writer.WriteStringValue("passwordResetUri", m.GetPasswordResetUri()) + if err != nil { + return err + } + } if m.GetPromptLoginBehavior() != nil { cast := (*m.GetPromptLoginBehavior()).String() err = writer.WriteStringValue("promptLoginBehavior", &cast) @@ -261,6 +289,13 @@ func (m *InternalDomainFederation) SetNextSigningCertificate(value *string)() { panic(err) } } +// SetPasswordResetUri sets the passwordResetUri property value. The passwordResetUri property +func (m *InternalDomainFederation) SetPasswordResetUri(value *string)() { + err := m.GetBackingStore().Set("passwordResetUri", value) + if err != nil { + panic(err) + } +} // SetPromptLoginBehavior sets the promptLoginBehavior property value. Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. func (m *InternalDomainFederation) SetPromptLoginBehavior(value *PromptLoginBehavior)() { err := m.GetBackingStore().Set("promptLoginBehavior", value) @@ -289,6 +324,7 @@ type InternalDomainFederationable interface { GetFederatedIdpMfaBehavior()(*FederatedIdpMfaBehavior) GetIsSignedAuthenticationRequestRequired()(*bool) GetNextSigningCertificate()(*string) + GetPasswordResetUri()(*string) GetPromptLoginBehavior()(*PromptLoginBehavior) GetSigningCertificateUpdateStatus()(SigningCertificateUpdateStatusable) GetSignOutUri()(*string) @@ -296,6 +332,7 @@ type InternalDomainFederationable interface { SetFederatedIdpMfaBehavior(value *FederatedIdpMfaBehavior)() SetIsSignedAuthenticationRequestRequired(value *bool)() SetNextSigningCertificate(value *string)() + SetPasswordResetUri(value *string)() SetPromptLoginBehavior(value *PromptLoginBehavior)() SetSigningCertificateUpdateStatus(value SigningCertificateUpdateStatusable)() SetSignOutUri(value *string)() diff --git a/models/open_shift.go b/models/open_shift.go index 44c9e54221..dd325f0840 100644 --- a/models/open_shift.go +++ b/models/open_shift.go @@ -47,6 +47,16 @@ func (m *OpenShift) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return nil } + res["isStagedForDeletion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStagedForDeletion(val) + } + return nil + } res["schedulingGroupId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -69,6 +79,18 @@ func (m *OpenShift) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return res } +// GetIsStagedForDeletion gets the isStagedForDeletion property value. The openShift is marked for deletion, a process that is finalized when the schedule is shared. +// returns a *bool when successful +func (m *OpenShift) GetIsStagedForDeletion()(*bool) { + val, err := m.GetBackingStore().Get("isStagedForDeletion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetSchedulingGroupId gets the schedulingGroupId property value. The ID of the schedulingGroup that contains the openShift. // returns a *string when successful func (m *OpenShift) GetSchedulingGroupId()(*string) { @@ -105,6 +127,12 @@ func (m *OpenShift) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 return err } } + { + err = writer.WriteBoolValue("isStagedForDeletion", m.GetIsStagedForDeletion()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("schedulingGroupId", m.GetSchedulingGroupId()) if err != nil { @@ -126,6 +154,13 @@ func (m *OpenShift) SetDraftOpenShift(value OpenShiftItemable)() { panic(err) } } +// SetIsStagedForDeletion sets the isStagedForDeletion property value. The openShift is marked for deletion, a process that is finalized when the schedule is shared. +func (m *OpenShift) SetIsStagedForDeletion(value *bool)() { + err := m.GetBackingStore().Set("isStagedForDeletion", value) + if err != nil { + panic(err) + } +} // SetSchedulingGroupId sets the schedulingGroupId property value. The ID of the schedulingGroup that contains the openShift. func (m *OpenShift) SetSchedulingGroupId(value *string)() { err := m.GetBackingStore().Set("schedulingGroupId", value) @@ -144,9 +179,11 @@ type OpenShiftable interface { ChangeTrackedEntityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDraftOpenShift()(OpenShiftItemable) + GetIsStagedForDeletion()(*bool) GetSchedulingGroupId()(*string) GetSharedOpenShift()(OpenShiftItemable) SetDraftOpenShift(value OpenShiftItemable)() + SetIsStagedForDeletion(value *bool)() SetSchedulingGroupId(value *string)() SetSharedOpenShift(value OpenShiftItemable)() } diff --git a/models/recycle_bin.go b/models/recycle_bin.go new file mode 100644 index 0000000000..c2299e445a --- /dev/null +++ b/models/recycle_bin.go @@ -0,0 +1,127 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RecycleBin struct { + BaseItem +} +// NewRecycleBin instantiates a new RecycleBin and sets the default values. +func NewRecycleBin()(*RecycleBin) { + m := &RecycleBin{ + BaseItem: *NewBaseItem(), + } + odataTypeValue := "#microsoft.graph.recycleBin" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRecycleBinFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRecycleBinFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRecycleBin(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RecycleBin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseItem.GetFieldDeserializers() + res["items"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRecycleBinItemFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RecycleBinItemable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RecycleBinItemable) + } + } + m.SetItems(res) + } + return nil + } + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRecycleBinSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(RecycleBinSettingsable)) + } + return nil + } + return res +} +// GetItems gets the items property value. List of the recycleBinItems deleted by a user. +// returns a []RecycleBinItemable when successful +func (m *RecycleBin) GetItems()([]RecycleBinItemable) { + val, err := m.GetBackingStore().Get("items") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RecycleBinItemable) + } + return nil +} +// GetSettings gets the settings property value. The settings property +// returns a RecycleBinSettingsable when successful +func (m *RecycleBin) GetSettings()(RecycleBinSettingsable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(RecycleBinSettingsable) + } + return nil +} +// Serialize serializes information the current object +func (m *RecycleBin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseItem.Serialize(writer) + if err != nil { + return err + } + if m.GetItems() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetItems())) + for i, v := range m.GetItems() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("items", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } + return nil +} +// SetItems sets the items property value. List of the recycleBinItems deleted by a user. +func (m *RecycleBin) SetItems(value []RecycleBinItemable)() { + err := m.GetBackingStore().Set("items", value) + if err != nil { + panic(err) + } +} +// SetSettings sets the settings property value. The settings property +func (m *RecycleBin) SetSettings(value RecycleBinSettingsable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} +type RecycleBinable interface { + BaseItemable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetItems()([]RecycleBinItemable) + GetSettings()(RecycleBinSettingsable) + SetItems(value []RecycleBinItemable)() + SetSettings(value RecycleBinSettingsable)() +} diff --git a/models/recycle_bin_item.go b/models/recycle_bin_item.go new file mode 100644 index 0000000000..6ae7593609 --- /dev/null +++ b/models/recycle_bin_item.go @@ -0,0 +1,153 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RecycleBinItem struct { + BaseItem +} +// NewRecycleBinItem instantiates a new RecycleBinItem and sets the default values. +func NewRecycleBinItem()(*RecycleBinItem) { + m := &RecycleBinItem{ + BaseItem: *NewBaseItem(), + } + odataTypeValue := "#microsoft.graph.recycleBinItem" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRecycleBinItemFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRecycleBinItemFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRecycleBinItem(), nil +} +// GetDeletedDateTime gets the deletedDateTime property value. Date and time when the item was deleted. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *RecycleBinItem) GetDeletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("deletedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDeletedFromLocation gets the deletedFromLocation property value. Relative URL of the list or folder that originally contained the item. +// returns a *string when successful +func (m *RecycleBinItem) GetDeletedFromLocation()(*string) { + val, err := m.GetBackingStore().Get("deletedFromLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RecycleBinItem) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseItem.GetFieldDeserializers() + res["deletedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetDeletedDateTime(val) + } + return nil + } + res["deletedFromLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDeletedFromLocation(val) + } + return nil + } + res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetSize(val) + } + return nil + } + return res +} +// GetSize gets the size property value. Size of the item in bytes. +// returns a *int64 when successful +func (m *RecycleBinItem) GetSize()(*int64) { + val, err := m.GetBackingStore().Get("size") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// Serialize serializes information the current object +func (m *RecycleBinItem) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseItem.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("deletedDateTime", m.GetDeletedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("deletedFromLocation", m.GetDeletedFromLocation()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("size", m.GetSize()) + if err != nil { + return err + } + } + return nil +} +// SetDeletedDateTime sets the deletedDateTime property value. Date and time when the item was deleted. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *RecycleBinItem) SetDeletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("deletedDateTime", value) + if err != nil { + panic(err) + } +} +// SetDeletedFromLocation sets the deletedFromLocation property value. Relative URL of the list or folder that originally contained the item. +func (m *RecycleBinItem) SetDeletedFromLocation(value *string)() { + err := m.GetBackingStore().Set("deletedFromLocation", value) + if err != nil { + panic(err) + } +} +// SetSize sets the size property value. Size of the item in bytes. +func (m *RecycleBinItem) SetSize(value *int64)() { + err := m.GetBackingStore().Set("size", value) + if err != nil { + panic(err) + } +} +type RecycleBinItemable interface { + BaseItemable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDeletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDeletedFromLocation()(*string) + GetSize()(*int64) + SetDeletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDeletedFromLocation(value *string)() + SetSize(value *int64)() +} diff --git a/models/recycle_bin_item_collection_response.go b/models/recycle_bin_item_collection_response.go new file mode 100644 index 0000000000..33dd3c2496 --- /dev/null +++ b/models/recycle_bin_item_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RecycleBinItemCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewRecycleBinItemCollectionResponse instantiates a new RecycleBinItemCollectionResponse and sets the default values. +func NewRecycleBinItemCollectionResponse()(*RecycleBinItemCollectionResponse) { + m := &RecycleBinItemCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateRecycleBinItemCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRecycleBinItemCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRecycleBinItemCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RecycleBinItemCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRecycleBinItemFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RecycleBinItemable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RecycleBinItemable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []RecycleBinItemable when successful +func (m *RecycleBinItemCollectionResponse) GetValue()([]RecycleBinItemable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RecycleBinItemable) + } + return nil +} +// Serialize serializes information the current object +func (m *RecycleBinItemCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *RecycleBinItemCollectionResponse) SetValue(value []RecycleBinItemable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type RecycleBinItemCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]RecycleBinItemable) + SetValue(value []RecycleBinItemable)() +} diff --git a/models/recycle_bin_settings.go b/models/recycle_bin_settings.go new file mode 100644 index 0000000000..ad4ad92d78 --- /dev/null +++ b/models/recycle_bin_settings.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RecycleBinSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRecycleBinSettings instantiates a new RecycleBinSettings and sets the default values. +func NewRecycleBinSettings()(*RecycleBinSettings) { + m := &RecycleBinSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRecycleBinSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRecycleBinSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRecycleBinSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *RecycleBinSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RecycleBinSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RecycleBinSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["retentionPeriodOverrideDays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetRetentionPeriodOverrideDays(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RecycleBinSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRetentionPeriodOverrideDays gets the retentionPeriodOverrideDays property value. Recycle bin retention period override in days for deleted content. The default value is 93; the value range is 7 to 180. The setting applies to newly deleted content only. Setting this property to null reverts to its default value. Read-write. +// returns a *int32 when successful +func (m *RecycleBinSettings) GetRetentionPeriodOverrideDays()(*int32) { + val, err := m.GetBackingStore().Get("retentionPeriodOverrideDays") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *RecycleBinSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("retentionPeriodOverrideDays", m.GetRetentionPeriodOverrideDays()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *RecycleBinSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RecycleBinSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RecycleBinSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRetentionPeriodOverrideDays sets the retentionPeriodOverrideDays property value. Recycle bin retention period override in days for deleted content. The default value is 93; the value range is 7 to 180. The setting applies to newly deleted content only. Setting this property to null reverts to its default value. Read-write. +func (m *RecycleBinSettings) SetRetentionPeriodOverrideDays(value *int32)() { + err := m.GetBackingStore().Set("retentionPeriodOverrideDays", value) + if err != nil { + panic(err) + } +} +type RecycleBinSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetRetentionPeriodOverrideDays()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetRetentionPeriodOverrideDays(value *int32)() +} diff --git a/models/shift.go b/models/shift.go index 0caebb7832..8b2c6abdb1 100644 --- a/models/shift.go +++ b/models/shift.go @@ -47,6 +47,16 @@ func (m *Shift) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["isStagedForDeletion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStagedForDeletion(val) + } + return nil + } res["schedulingGroupId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -79,6 +89,18 @@ func (m *Shift) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return res } +// GetIsStagedForDeletion gets the isStagedForDeletion property value. The shift is marked for deletion, a process that is finalized when the schedule is shared. +// returns a *bool when successful +func (m *Shift) GetIsStagedForDeletion()(*bool) { + val, err := m.GetBackingStore().Get("isStagedForDeletion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetSchedulingGroupId gets the schedulingGroupId property value. ID of the scheduling group the shift is part of. Required. // returns a *string when successful func (m *Shift) GetSchedulingGroupId()(*string) { @@ -127,6 +149,12 @@ func (m *Shift) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("isStagedForDeletion", m.GetIsStagedForDeletion()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("schedulingGroupId", m.GetSchedulingGroupId()) if err != nil { @@ -154,6 +182,13 @@ func (m *Shift) SetDraftShift(value ShiftItemable)() { panic(err) } } +// SetIsStagedForDeletion sets the isStagedForDeletion property value. The shift is marked for deletion, a process that is finalized when the schedule is shared. +func (m *Shift) SetIsStagedForDeletion(value *bool)() { + err := m.GetBackingStore().Set("isStagedForDeletion", value) + if err != nil { + panic(err) + } +} // SetSchedulingGroupId sets the schedulingGroupId property value. ID of the scheduling group the shift is part of. Required. func (m *Shift) SetSchedulingGroupId(value *string)() { err := m.GetBackingStore().Set("schedulingGroupId", value) @@ -179,10 +214,12 @@ type Shiftable interface { ChangeTrackedEntityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDraftShift()(ShiftItemable) + GetIsStagedForDeletion()(*bool) GetSchedulingGroupId()(*string) GetSharedShift()(ShiftItemable) GetUserId()(*string) SetDraftShift(value ShiftItemable)() + SetIsStagedForDeletion(value *bool)() SetSchedulingGroupId(value *string)() SetSharedShift(value ShiftItemable)() SetUserId(value *string)() diff --git a/models/site_lock_state.go b/models/site_lock_state.go new file mode 100644 index 0000000000..ca53e24dd2 --- /dev/null +++ b/models/site_lock_state.go @@ -0,0 +1,42 @@ +package models +type SiteLockState int + +const ( + UNLOCKED_SITELOCKSTATE SiteLockState = iota + LOCKEDREADONLY_SITELOCKSTATE + LOCKEDNOACCESS_SITELOCKSTATE + LOCKEDNOADDITIONS_SITELOCKSTATE + UNKNOWNFUTUREVALUE_SITELOCKSTATE +) + +func (i SiteLockState) String() string { + return []string{"unlocked", "lockedReadOnly", "lockedNoAccess", "lockedNoAdditions", "unknownFutureValue"}[i] +} +func ParseSiteLockState(v string) (any, error) { + result := UNLOCKED_SITELOCKSTATE + switch v { + case "unlocked": + result = UNLOCKED_SITELOCKSTATE + case "lockedReadOnly": + result = LOCKEDREADONLY_SITELOCKSTATE + case "lockedNoAccess": + result = LOCKEDNOACCESS_SITELOCKSTATE + case "lockedNoAdditions": + result = LOCKEDNOADDITIONS_SITELOCKSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SITELOCKSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeSiteLockState(values []SiteLockState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SiteLockState) isMultiValue() bool { + return false +} diff --git a/models/time_off.go b/models/time_off.go index 3563d2aefd..640368c3bb 100644 --- a/models/time_off.go +++ b/models/time_off.go @@ -47,6 +47,16 @@ func (m *TimeOff) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["isStagedForDeletion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStagedForDeletion(val) + } + return nil + } res["sharedTimeOff"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateTimeOffItemFromDiscriminatorValue) if err != nil { @@ -69,6 +79,18 @@ func (m *TimeOff) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return res } +// GetIsStagedForDeletion gets the isStagedForDeletion property value. The timeOff is marked for deletion, a process that is finalized when the schedule is shared. +// returns a *bool when successful +func (m *TimeOff) GetIsStagedForDeletion()(*bool) { + val, err := m.GetBackingStore().Get("isStagedForDeletion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetSharedTimeOff gets the sharedTimeOff property value. The shared version of this timeOff that is viewable by both employees and managers. Updates to the sharedTimeOff property send notifications to users in the Teams client. Required. // returns a TimeOffItemable when successful func (m *TimeOff) GetSharedTimeOff()(TimeOffItemable) { @@ -105,6 +127,12 @@ func (m *TimeOff) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + { + err = writer.WriteBoolValue("isStagedForDeletion", m.GetIsStagedForDeletion()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("sharedTimeOff", m.GetSharedTimeOff()) if err != nil { @@ -126,6 +154,13 @@ func (m *TimeOff) SetDraftTimeOff(value TimeOffItemable)() { panic(err) } } +// SetIsStagedForDeletion sets the isStagedForDeletion property value. The timeOff is marked for deletion, a process that is finalized when the schedule is shared. +func (m *TimeOff) SetIsStagedForDeletion(value *bool)() { + err := m.GetBackingStore().Set("isStagedForDeletion", value) + if err != nil { + panic(err) + } +} // SetSharedTimeOff sets the sharedTimeOff property value. The shared version of this timeOff that is viewable by both employees and managers. Updates to the sharedTimeOff property send notifications to users in the Teams client. Required. func (m *TimeOff) SetSharedTimeOff(value TimeOffItemable)() { err := m.GetBackingStore().Set("sharedTimeOff", value) @@ -144,9 +179,11 @@ type TimeOffable interface { ChangeTrackedEntityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDraftTimeOff()(TimeOffItemable) + GetIsStagedForDeletion()(*bool) GetSharedTimeOff()(TimeOffItemable) GetUserId()(*string) SetDraftTimeOff(value TimeOffItemable)() + SetIsStagedForDeletion(value *bool)() SetSharedTimeOff(value TimeOffItemable)() SetUserId(value *string)() } diff --git a/models/workbook_worksheet_protection_options.go b/models/workbook_worksheet_protection_options.go index 5de76546f5..84df562c76 100644 --- a/models/workbook_worksheet_protection_options.go +++ b/models/workbook_worksheet_protection_options.go @@ -35,7 +35,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAdditionalData()(map[string]any) } return val.(map[string]any) } -// GetAllowAutoFilter gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. +// GetAllowAutoFilter gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowAutoFilter()(*bool) { val, err := m.GetBackingStore().Get("allowAutoFilter") @@ -47,7 +47,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowAutoFilter()(*bool) { } return nil } -// GetAllowDeleteColumns gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. +// GetAllowDeleteColumns gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteColumns()(*bool) { val, err := m.GetBackingStore().Get("allowDeleteColumns") @@ -59,7 +59,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteColumns()(*bool) { } return nil } -// GetAllowDeleteRows gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. +// GetAllowDeleteRows gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteRows()(*bool) { val, err := m.GetBackingStore().Get("allowDeleteRows") @@ -71,7 +71,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteRows()(*bool) { } return nil } -// GetAllowFormatCells gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. +// GetAllowFormatCells gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatCells()(*bool) { val, err := m.GetBackingStore().Get("allowFormatCells") @@ -83,7 +83,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatCells()(*bool) { } return nil } -// GetAllowFormatColumns gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. +// GetAllowFormatColumns gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatColumns()(*bool) { val, err := m.GetBackingStore().Get("allowFormatColumns") @@ -95,7 +95,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatColumns()(*bool) { } return nil } -// GetAllowFormatRows gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. +// GetAllowFormatRows gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatRows()(*bool) { val, err := m.GetBackingStore().Get("allowFormatRows") @@ -107,7 +107,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatRows()(*bool) { } return nil } -// GetAllowInsertColumns gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. +// GetAllowInsertColumns gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertColumns()(*bool) { val, err := m.GetBackingStore().Get("allowInsertColumns") @@ -119,7 +119,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertColumns()(*bool) { } return nil } -// GetAllowInsertHyperlinks gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. +// GetAllowInsertHyperlinks gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertHyperlinks()(*bool) { val, err := m.GetBackingStore().Get("allowInsertHyperlinks") @@ -131,7 +131,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertHyperlinks()(*bool) { } return nil } -// GetAllowInsertRows gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. +// GetAllowInsertRows gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertRows()(*bool) { val, err := m.GetBackingStore().Get("allowInsertRows") @@ -143,7 +143,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertRows()(*bool) { } return nil } -// GetAllowPivotTables gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. +// GetAllowPivotTables gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowPivotTables()(*bool) { val, err := m.GetBackingStore().Get("allowPivotTables") @@ -155,7 +155,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowPivotTables()(*bool) { } return nil } -// GetAllowSort gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. +// GetAllowSort gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowSort()(*bool) { val, err := m.GetBackingStore().Get("allowSort") @@ -399,77 +399,77 @@ func (m *WorkbookWorksheetProtectionOptions) SetAdditionalData(value map[string] panic(err) } } -// SetAllowAutoFilter sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. +// SetAllowAutoFilter sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowAutoFilter(value *bool)() { err := m.GetBackingStore().Set("allowAutoFilter", value) if err != nil { panic(err) } } -// SetAllowDeleteColumns sets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. +// SetAllowDeleteColumns sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowDeleteColumns(value *bool)() { err := m.GetBackingStore().Set("allowDeleteColumns", value) if err != nil { panic(err) } } -// SetAllowDeleteRows sets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. +// SetAllowDeleteRows sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowDeleteRows(value *bool)() { err := m.GetBackingStore().Set("allowDeleteRows", value) if err != nil { panic(err) } } -// SetAllowFormatCells sets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. +// SetAllowFormatCells sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatCells(value *bool)() { err := m.GetBackingStore().Set("allowFormatCells", value) if err != nil { panic(err) } } -// SetAllowFormatColumns sets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. +// SetAllowFormatColumns sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatColumns(value *bool)() { err := m.GetBackingStore().Set("allowFormatColumns", value) if err != nil { panic(err) } } -// SetAllowFormatRows sets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. +// SetAllowFormatRows sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatRows(value *bool)() { err := m.GetBackingStore().Set("allowFormatRows", value) if err != nil { panic(err) } } -// SetAllowInsertColumns sets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. +// SetAllowInsertColumns sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertColumns(value *bool)() { err := m.GetBackingStore().Set("allowInsertColumns", value) if err != nil { panic(err) } } -// SetAllowInsertHyperlinks sets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. +// SetAllowInsertHyperlinks sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertHyperlinks(value *bool)() { err := m.GetBackingStore().Set("allowInsertHyperlinks", value) if err != nil { panic(err) } } -// SetAllowInsertRows sets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. +// SetAllowInsertRows sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertRows(value *bool)() { err := m.GetBackingStore().Set("allowInsertRows", value) if err != nil { panic(err) } } -// SetAllowPivotTables sets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. +// SetAllowPivotTables sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowPivotTables(value *bool)() { err := m.GetBackingStore().Set("allowPivotTables", value) if err != nil { panic(err) } } -// SetAllowSort sets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. +// SetAllowSort sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowSort(value *bool)() { err := m.GetBackingStore().Set("allowSort", value) if err != nil { diff --git a/models/workforce_integration.go b/models/workforce_integration.go index c91a00a8af..12916bcc85 100644 --- a/models/workforce_integration.go +++ b/models/workforce_integration.go @@ -45,6 +45,18 @@ func (m *WorkforceIntegration) GetDisplayName()(*string) { } return nil } +// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// returns a *EligibilityFilteringEnabledEntities when successful +func (m *WorkforceIntegration) GetEligibilityFilteringEnabledEntities()(*EligibilityFilteringEnabledEntities) { + val, err := m.GetBackingStore().Get("eligibilityFilteringEnabledEntities") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EligibilityFilteringEnabledEntities) + } + return nil +} // GetEncryption gets the encryption property value. The workforce integration encryption resource. // returns a WorkforceIntegrationEncryptionable when successful func (m *WorkforceIntegration) GetEncryption()(WorkforceIntegrationEncryptionable) { @@ -81,6 +93,16 @@ func (m *WorkforceIntegration) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["eligibilityFilteringEnabledEntities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEligibilityFilteringEnabledEntities) + if err != nil { + return err + } + if val != nil { + m.SetEligibilityFilteringEnabledEntities(val.(*EligibilityFilteringEnabledEntities)) + } + return nil + } res["encryption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateWorkforceIntegrationEncryptionFromDiscriminatorValue) if err != nil { @@ -177,6 +199,13 @@ func (m *WorkforceIntegration) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetEligibilityFilteringEnabledEntities() != nil { + cast := (*m.GetEligibilityFilteringEnabledEntities()).String() + err = writer.WriteStringValue("eligibilityFilteringEnabledEntities", &cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("encryption", m.GetEncryption()) if err != nil { @@ -218,6 +247,13 @@ func (m *WorkforceIntegration) SetDisplayName(value *string)() { panic(err) } } +// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +func (m *WorkforceIntegration) SetEligibilityFilteringEnabledEntities(value *EligibilityFilteringEnabledEntities)() { + err := m.GetBackingStore().Set("eligibilityFilteringEnabledEntities", value) + if err != nil { + panic(err) + } +} // SetEncryption sets the encryption property value. The workforce integration encryption resource. func (m *WorkforceIntegration) SetEncryption(value WorkforceIntegrationEncryptionable)() { err := m.GetBackingStore().Set("encryption", value) @@ -251,12 +287,14 @@ type WorkforceIntegrationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApiVersion()(*int32) GetDisplayName()(*string) + GetEligibilityFilteringEnabledEntities()(*EligibilityFilteringEnabledEntities) GetEncryption()(WorkforceIntegrationEncryptionable) GetIsActive()(*bool) GetSupportedEntities()(*WorkforceIntegrationSupportedEntities) GetUrl()(*string) SetApiVersion(value *int32)() SetDisplayName(value *string)() + SetEligibilityFilteringEnabledEntities(value *EligibilityFilteringEnabledEntities)() SetEncryption(value WorkforceIntegrationEncryptionable)() SetIsActive(value *bool)() SetSupportedEntities(value *WorkforceIntegrationSupportedEntities)() diff --git a/models/workforce_integration_supported_entities.go b/models/workforce_integration_supported_entities.go index 58e0b728ed..8b9ac194bd 100644 --- a/models/workforce_integration_supported_entities.go +++ b/models/workforce_integration_supported_entities.go @@ -14,12 +14,15 @@ const ( OPENSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES = 32 OFFERSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES = 64 UNKNOWNFUTUREVALUE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES = 128 + TIMEOFFREASON_WORKFORCEINTEGRATIONSUPPORTEDENTITIES = 256 + TIMEOFF_WORKFORCEINTEGRATIONSUPPORTEDENTITIES = 512 + TIMEOFFREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES = 1024 ) func (i WorkforceIntegrationSupportedEntities) String() string { var values []string - options := []string{"none", "shift", "swapRequest", "userShiftPreferences", "openShift", "openShiftRequest", "offerShiftRequest", "unknownFutureValue"} - for p := 0; p < 8; p++ { + options := []string{"none", "shift", "swapRequest", "userShiftPreferences", "openShift", "openShiftRequest", "offerShiftRequest", "unknownFutureValue", "timeOffReason", "timeOff", "timeOffRequest"} + for p := 0; p < 11; p++ { mantis := WorkforceIntegrationSupportedEntities(int(math.Pow(2, float64(p)))) if i&mantis == mantis { values = append(values, options[p]) @@ -48,6 +51,12 @@ func ParseWorkforceIntegrationSupportedEntities(v string) (any, error) { result |= OFFERSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES case "unknownFutureValue": result |= UNKNOWNFUTUREVALUE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeOffReason": + result |= TIMEOFFREASON_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeOff": + result |= TIMEOFF_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeOffRequest": + result |= TIMEOFFREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES default: return nil, nil } diff --git a/models/x509_certificate_authentication_method_configuration.go b/models/x509_certificate_authentication_method_configuration.go index 84dfaba31e..1e59754aee 100644 --- a/models/x509_certificate_authentication_method_configuration.go +++ b/models/x509_certificate_authentication_method_configuration.go @@ -45,6 +45,18 @@ func (m *X509CertificateAuthenticationMethodConfiguration) GetCertificateUserBin } return nil } +// GetCrlValidationConfiguration gets the crlValidationConfiguration property value. The crlValidationConfiguration property +// returns a X509CertificateCRLValidationConfigurationable when successful +func (m *X509CertificateAuthenticationMethodConfiguration) GetCrlValidationConfiguration()(X509CertificateCRLValidationConfigurationable) { + val, err := m.GetBackingStore().Get("crlValidationConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(X509CertificateCRLValidationConfigurationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *X509CertificateAuthenticationMethodConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -75,6 +87,16 @@ func (m *X509CertificateAuthenticationMethodConfiguration) GetFieldDeserializers } return nil } + res["crlValidationConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateX509CertificateCRLValidationConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCrlValidationConfiguration(val.(X509CertificateCRLValidationConfigurationable)) + } + return nil + } res["includeTargets"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateAuthenticationMethodTargetFromDiscriminatorValue) if err != nil { @@ -129,6 +151,12 @@ func (m *X509CertificateAuthenticationMethodConfiguration) Serialize(writer i878 return err } } + { + err = writer.WriteObjectValue("crlValidationConfiguration", m.GetCrlValidationConfiguration()) + if err != nil { + return err + } + } if m.GetIncludeTargets() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIncludeTargets())) for i, v := range m.GetIncludeTargets() { @@ -157,6 +185,13 @@ func (m *X509CertificateAuthenticationMethodConfiguration) SetCertificateUserBin panic(err) } } +// SetCrlValidationConfiguration sets the crlValidationConfiguration property value. The crlValidationConfiguration property +func (m *X509CertificateAuthenticationMethodConfiguration) SetCrlValidationConfiguration(value X509CertificateCRLValidationConfigurationable)() { + err := m.GetBackingStore().Set("crlValidationConfiguration", value) + if err != nil { + panic(err) + } +} // SetIncludeTargets sets the includeTargets property value. A collection of groups that are enabled to use the authentication method. func (m *X509CertificateAuthenticationMethodConfiguration) SetIncludeTargets(value []AuthenticationMethodTargetable)() { err := m.GetBackingStore().Set("includeTargets", value) @@ -169,8 +204,10 @@ type X509CertificateAuthenticationMethodConfigurationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAuthenticationModeConfiguration()(X509CertificateAuthenticationModeConfigurationable) GetCertificateUserBindings()([]X509CertificateUserBindingable) + GetCrlValidationConfiguration()(X509CertificateCRLValidationConfigurationable) GetIncludeTargets()([]AuthenticationMethodTargetable) SetAuthenticationModeConfiguration(value X509CertificateAuthenticationModeConfigurationable)() SetCertificateUserBindings(value []X509CertificateUserBindingable)() + SetCrlValidationConfiguration(value X509CertificateCRLValidationConfigurationable)() SetIncludeTargets(value []AuthenticationMethodTargetable)() } diff --git a/models/x509_certificate_c_r_l_validation_configuration.go b/models/x509_certificate_c_r_l_validation_configuration.go new file mode 100644 index 0000000000..ed9ddd4dd7 --- /dev/null +++ b/models/x509_certificate_c_r_l_validation_configuration.go @@ -0,0 +1,194 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type X509CertificateCRLValidationConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewX509CertificateCRLValidationConfiguration instantiates a new X509CertificateCRLValidationConfiguration and sets the default values. +func NewX509CertificateCRLValidationConfiguration()(*X509CertificateCRLValidationConfiguration) { + m := &X509CertificateCRLValidationConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateX509CertificateCRLValidationConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateX509CertificateCRLValidationConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewX509CertificateCRLValidationConfiguration(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *X509CertificateCRLValidationConfiguration) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *X509CertificateCRLValidationConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers gets the exemptedCertificateAuthoritiesSubjectKeyIdentifiers property value. The exemptedCertificateAuthoritiesSubjectKeyIdentifiers property +// returns a []string when successful +func (m *X509CertificateCRLValidationConfiguration) GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers()([]string) { + val, err := m.GetBackingStore().Get("exemptedCertificateAuthoritiesSubjectKeyIdentifiers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *X509CertificateCRLValidationConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["exemptedCertificateAuthoritiesSubjectKeyIdentifiers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetExemptedCertificateAuthoritiesSubjectKeyIdentifiers(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseX509CertificateCRLValidationConfigurationState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*X509CertificateCRLValidationConfigurationState)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *X509CertificateCRLValidationConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *X509CertificateCRLValidationConfigurationState when successful +func (m *X509CertificateCRLValidationConfiguration) GetState()(*X509CertificateCRLValidationConfigurationState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*X509CertificateCRLValidationConfigurationState) + } + return nil +} +// Serialize serializes information the current object +func (m *X509CertificateCRLValidationConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers() != nil { + err := writer.WriteCollectionOfStringValues("exemptedCertificateAuthoritiesSubjectKeyIdentifiers", m.GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *X509CertificateCRLValidationConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *X509CertificateCRLValidationConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExemptedCertificateAuthoritiesSubjectKeyIdentifiers sets the exemptedCertificateAuthoritiesSubjectKeyIdentifiers property value. The exemptedCertificateAuthoritiesSubjectKeyIdentifiers property +func (m *X509CertificateCRLValidationConfiguration) SetExemptedCertificateAuthoritiesSubjectKeyIdentifiers(value []string)() { + err := m.GetBackingStore().Set("exemptedCertificateAuthoritiesSubjectKeyIdentifiers", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *X509CertificateCRLValidationConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *X509CertificateCRLValidationConfiguration) SetState(value *X509CertificateCRLValidationConfigurationState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +type X509CertificateCRLValidationConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExemptedCertificateAuthoritiesSubjectKeyIdentifiers()([]string) + GetOdataType()(*string) + GetState()(*X509CertificateCRLValidationConfigurationState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExemptedCertificateAuthoritiesSubjectKeyIdentifiers(value []string)() + SetOdataType(value *string)() + SetState(value *X509CertificateCRLValidationConfigurationState)() +} diff --git a/models/x509_certificate_c_r_l_validation_configuration_state.go b/models/x509_certificate_c_r_l_validation_configuration_state.go new file mode 100644 index 0000000000..cfa7680125 --- /dev/null +++ b/models/x509_certificate_c_r_l_validation_configuration_state.go @@ -0,0 +1,36 @@ +package models +type X509CertificateCRLValidationConfigurationState int + +const ( + DISABLED_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE X509CertificateCRLValidationConfigurationState = iota + ENABLED_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE + UNKNOWNFUTUREVALUE_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE +) + +func (i X509CertificateCRLValidationConfigurationState) String() string { + return []string{"disabled", "enabled", "unknownFutureValue"}[i] +} +func ParseX509CertificateCRLValidationConfigurationState(v string) (any, error) { + result := DISABLED_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE + switch v { + case "disabled": + result = DISABLED_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE + case "enabled": + result = ENABLED_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_X509CERTIFICATECRLVALIDATIONCONFIGURATIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeX509CertificateCRLValidationConfigurationState(values []X509CertificateCRLValidationConfigurationState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i X509CertificateCRLValidationConfigurationState) isMultiValue() bool { + return false +} diff --git a/organization/item_branding_localizations_item_banner_logo_request_builder.go b/organization/item_branding_localizations_item_banner_logo_request_builder.go index 1d12df19d1..387fd0524f 100644 --- a/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -60,12 +60,12 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index 342f99d404..df8c286116 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -18,7 +18,7 @@ type OrganizationItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OrganizationItemRequestBuilderGetQueryParameters read properties and relationships of the organization object. +// OrganizationItemRequestBuilderGetQueryParameters 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. type OrganizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,12 @@ func (m *OrganizationItemRequestBuilder) Delete(ctx context.Context, requestConf func (m *OrganizationItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { return NewItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the organization object. +// Get 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. // returns a Organizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 func (m *OrganizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -172,7 +172,7 @@ func (m *OrganizationItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the organization object. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *OrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/organization_request_builder.go b/organization/organization_request_builder.go index d59c4559ee..17ae3d1ceb 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -11,7 +11,7 @@ import ( type OrganizationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OrganizationRequestBuilderGetQueryParameters retrieve a list of organization objects. There's only one organization object in the collection. +// OrganizationRequestBuilderGetQueryParameters list properties and relationships of the organization objects. type OrganizationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,12 @@ func (m *OrganizationRequestBuilder) Count()(*CountRequestBuilder) { func (m *OrganizationRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of organization objects. There's only one organization object in the collection. +// Get list properties and relationships of the organization objects. // returns a OrganizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 func (m *OrganizationRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrganizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *OrganizationRequestBuilder) Post(ctx context.Context, body iadcd8112441 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable), nil } -// ToGetRequestInformation retrieve a list of organization objects. There's only one organization object in the collection. +// ToGetRequestInformation list properties and relationships of the organization objects. // returns a *RequestInformation when successful func (m *OrganizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index fc6bc5ae51..dbda4c953a 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -11,7 +11,7 @@ import ( type SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SitesRequestBuilderGetQueryParameters 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. +// SitesRequestBuilderGetQueryParameters 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. type SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *SitesRequestBuilder) Count()(*CountRequestBuilder) { func (m *SitesRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. +// Get 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. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 func (m *SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *SitesRequestBuilder) GetAllSites()(*GetAllSitesRequestBuilder) { func (m *SitesRequestBuilder) Remove()(*RemoveRequestBuilder) { return NewRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/13cfb2710093c6734a6f56b8a5d34f9841993aea3dc427a4b819e51b8ab15901.go b/storage/13cfb2710093c6734a6f56b8a5d34f9841993aea3dc427a4b819e51b8ab15901.go new file mode 100644 index 0000000000..12e5effbf5 --- /dev/null +++ b/storage/13cfb2710093c6734a6f56b8a5d34f9841993aea3dc427a4b819e51b8ab15901.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/321df77069779d12394de1e35a2894ab445807679e4512f7dc77943c86045a21.go b/storage/321df77069779d12394de1e35a2894ab445807679e4512f7dc77943c86045a21.go new file mode 100644 index 0000000000..ced7ab00be --- /dev/null +++ b/storage/321df77069779d12394de1e35a2894ab445807679e4512f7dc77943c86045a21.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\mailboxSettings +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/33009eb32bae51cab5dc04e27102e617d512e292163bc775464cca3fdf3f73aa.go b/storage/33009eb32bae51cab5dc04e27102e617d512e292163bc775464cca3fdf3f73aa.go new file mode 100644 index 0000000000..9339a637ed --- /dev/null +++ b/storage/33009eb32bae51cab5dc04e27102e617d512e292163bc775464cca3fdf3f73aa.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\mailboxSettings +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/3b4c350f4620b680a87707fa0174262394ae12e75682771f0d177c96529f6df1.go b/storage/3b4c350f4620b680a87707fa0174262394ae12e75682771f0d177c96529f6df1.go new file mode 100644 index 0000000000..8afd5a8454 --- /dev/null +++ b/storage/3b4c350f4620b680a87707fa0174262394ae12e75682771f0d177c96529f6df1.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\createdByUser\serviceProvisioningErrors +type FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/6bad9f7bcb365ae6deff894f98ccefe9b2269e9971ff3c80536a7d3b4ff6a1e6.go b/storage/6bad9f7bcb365ae6deff894f98ccefe9b2269e9971ff3c80536a7d3b4ff6a1e6.go new file mode 100644 index 0000000000..ab9da9aa0d --- /dev/null +++ b/storage/6bad9f7bcb365ae6deff894f98ccefe9b2269e9971ff3c80536a7d3b4ff6a1e6.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\serviceProvisioningErrors +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/6c24af00daec6916c1a54fa227eb19d1b3fbdc3522d44f5c1852eb8b93b646cb.go b/storage/6c24af00daec6916c1a54fa227eb19d1b3fbdc3522d44f5c1852eb8b93b646cb.go new file mode 100644 index 0000000000..9f36098034 --- /dev/null +++ b/storage/6c24af00daec6916c1a54fa227eb19d1b3fbdc3522d44f5c1852eb8b93b646cb.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\mailboxSettings +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/72820e6b00e24b4e100ea882f8ae396f360ccc0e6fec36ed03cf82492117af05.go b/storage/72820e6b00e24b4e100ea882f8ae396f360ccc0e6fec36ed03cf82492117af05.go new file mode 100644 index 0000000000..8ac4ab93a7 --- /dev/null +++ b/storage/72820e6b00e24b4e100ea882f8ae396f360ccc0e6fec36ed03cf82492117af05.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\serviceProvisioningErrors +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/72de5c1f1ea259ec3af7bf2ef9f91a5f3366ecba2390617d1da078fa4489e77a.go b/storage/72de5c1f1ea259ec3af7bf2ef9f91a5f3366ecba2390617d1da078fa4489e77a.go new file mode 100644 index 0000000000..573b6fea15 --- /dev/null +++ b/storage/72de5c1f1ea259ec3af7bf2ef9f91a5f3366ecba2390617d1da078fa4489e77a.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\serviceProvisioningErrors +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/7907d5cb29fddfa7da4378c69c5861aa495991af3e0f1d3efab33510cb14bdac.go b/storage/7907d5cb29fddfa7da4378c69c5861aa495991af3e0f1d3efab33510cb14bdac.go new file mode 100644 index 0000000000..9b184463df --- /dev/null +++ b/storage/7907d5cb29fddfa7da4378c69c5861aa495991af3e0f1d3efab33510cb14bdac.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/82741c03342545c1b2bb1a6a565cdc44f23a5b5d3dd9d8dba768bba57027f3d3.go b/storage/82741c03342545c1b2bb1a6a565cdc44f23a5b5d3dd9d8dba768bba57027f3d3.go new file mode 100644 index 0000000000..37ec550f3c --- /dev/null +++ b/storage/82741c03342545c1b2bb1a6a565cdc44f23a5b5d3dd9d8dba768bba57027f3d3.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/8fb5265049b92bad47cba66b5074fd9fdbbb3767a4eb8dc18ba4dfa3edd0fe23.go b/storage/8fb5265049b92bad47cba66b5074fd9fdbbb3767a4eb8dc18ba4dfa3edd0fe23.go new file mode 100644 index 0000000000..50e8cdfe6a --- /dev/null +++ b/storage/8fb5265049b92bad47cba66b5074fd9fdbbb3767a4eb8dc18ba4dfa3edd0fe23.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\serviceProvisioningErrors +type FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/98e9c3aa708923c750708ca5b4c5cd1351aeba656a4719cf394d9f247ef9aa3a.go b/storage/98e9c3aa708923c750708ca5b4c5cd1351aeba656a4719cf394d9f247ef9aa3a.go new file mode 100644 index 0000000000..4052b5127f --- /dev/null +++ b/storage/98e9c3aa708923c750708ca5b4c5cd1351aeba656a4719cf394d9f247ef9aa3a.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\serviceProvisioningErrors +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/9a47689ead65e184f96702fac0f6d7c868ed7d919458de86a1840444350aa3aa.go b/storage/9a47689ead65e184f96702fac0f6d7c868ed7d919458de86a1840444350aa3aa.go new file mode 100644 index 0000000000..91e8f4ac65 --- /dev/null +++ b/storage/9a47689ead65e184f96702fac0f6d7c868ed7d919458de86a1840444350aa3aa.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\serviceProvisioningErrors +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/ad664162e0c7f19ef0a58d4da77a9f8c69f44e82a88170ede32318f411c4fc27.go b/storage/ad664162e0c7f19ef0a58d4da77a9f8c69f44e82a88170ede32318f411c4fc27.go new file mode 100644 index 0000000000..b08cbe900b --- /dev/null +++ b/storage/ad664162e0c7f19ef0a58d4da77a9f8c69f44e82a88170ede32318f411c4fc27.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/bd74307894b707955902b67424104179439b80a811481609c2cbfa02ee7d62c7.go b/storage/bd74307894b707955902b67424104179439b80a811481609c2cbfa02ee7d62c7.go new file mode 100644 index 0000000000..e4da864b08 --- /dev/null +++ b/storage/bd74307894b707955902b67424104179439b80a811481609c2cbfa02ee7d62c7.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/de916a07201fbc6b665a1cf14bd53da79c02032d72823be744965c772ecf7fa2.go b/storage/de916a07201fbc6b665a1cf14bd53da79c02032d72823be744965c772ecf7fa2.go new file mode 100644 index 0000000000..1f00259112 --- /dev/null +++ b/storage/de916a07201fbc6b665a1cf14bd53da79c02032d72823be744965c772ecf7fa2.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/de99fe6c14bee17949428383ff2c01148be96e7703ae5beb0264bd368830d826.go b/storage/de99fe6c14bee17949428383ff2c01148be96e7703ae5beb0264bd368830d826.go new file mode 100644 index 0000000000..4a058e1b96 --- /dev/null +++ b/storage/de99fe6c14bee17949428383ff2c01148be96e7703ae5beb0264bd368830d826.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\mailboxSettings +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/ea5e1583ee996ef530b8fde6a462bf72c21eb6d3546ba671c2dc5a9cfcd33489.go b/storage/ea5e1583ee996ef530b8fde6a462bf72c21eb6d3546ba671c2dc5a9cfcd33489.go new file mode 100644 index 0000000000..dbf1df9514 --- /dev/null +++ b/storage/ea5e1583ee996ef530b8fde6a462bf72c21eb6d3546ba671c2dc5a9cfcd33489.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/eb6a2629fb259269741766d8da22175ec1272374c2758e834531c1d9110b5a5a.go b/storage/eb6a2629fb259269741766d8da22175ec1272374c2758e834531c1d9110b5a5a.go new file mode 100644 index 0000000000..590c554b06 --- /dev/null +++ b/storage/eb6a2629fb259269741766d8da22175ec1272374c2758e834531c1d9110b5a5a.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_file_storage_container_item_request_builder.go b/storage/file_storage_containers_file_storage_container_item_request_builder.go index a9cac6393a..5dda45b7c8 100644 --- a/storage/file_storage_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_containers_file_storage_container_item_request_builder.go @@ -100,6 +100,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil } +// Lock provides operations to call the lock method. +// returns a *FileStorageContainersItemLockRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageContainersItemLockRequestBuilder) { + return NewFileStorageContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property containers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -130,6 +135,16 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) PermanentD func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Permissions()(*FileStorageContainersItemPermissionsRequestBuilder) { return NewFileStorageContainersItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RecycleBin provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemRecycleBinRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) RecycleBin()(*FileStorageContainersItemRecycleBinRequestBuilder) { + return NewFileStorageContainersItemRecycleBinRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Restore provides operations to call the restore method. +// returns a *FileStorageContainersItemRestoreRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Restore()(*FileStorageContainersItemRestoreRequestBuilder) { + return NewFileStorageContainersItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property containers for storage // returns a *RequestInformation when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -170,6 +185,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ToPatchReq } return requestInfo, nil } +// Unlock provides operations to call the unlock method. +// returns a *FileStorageContainersItemUnlockRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Unlock()(*FileStorageContainersItemUnlockRequestBuilder) { + return NewFileStorageContainersItemUnlockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. // returns a *FileStorageContainersFileStorageContainerItemRequestBuilder when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersFileStorageContainerItemRequestBuilder) { diff --git a/storage/file_storage_containers_item_lock_post_request_body.go b/storage/file_storage_containers_item_lock_post_request_body.go new file mode 100644 index 0000000000..10cff71c30 --- /dev/null +++ b/storage/file_storage_containers_item_lock_post_request_body.go @@ -0,0 +1,115 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FileStorageContainersItemLockPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageContainersItemLockPostRequestBody instantiates a new FileStorageContainersItemLockPostRequestBody and sets the default values. +func NewFileStorageContainersItemLockPostRequestBody()(*FileStorageContainersItemLockPostRequestBody) { + m := &FileStorageContainersItemLockPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageContainersItemLockPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainersItemLockPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainersItemLockPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FileStorageContainersItemLockPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FileStorageContainersItemLockPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainersItemLockPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["lockState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseSiteLockState) + if err != nil { + return err + } + if val != nil { + m.SetLockState(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState)) + } + return nil + } + return res +} +// GetLockState gets the lockState property value. The lockState property +// returns a *SiteLockState when successful +func (m *FileStorageContainersItemLockPostRequestBody) GetLockState()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState) { + val, err := m.GetBackingStore().Get("lockState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainersItemLockPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetLockState() != nil { + cast := (*m.GetLockState()).String() + err := writer.WriteStringValue("lockState", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FileStorageContainersItemLockPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FileStorageContainersItemLockPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLockState sets the lockState property value. The lockState property +func (m *FileStorageContainersItemLockPostRequestBody) SetLockState(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState)() { + err := m.GetBackingStore().Set("lockState", value) + if err != nil { + panic(err) + } +} +type FileStorageContainersItemLockPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLockState()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLockState(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState)() +} diff --git a/storage/file_storage_containers_item_lock_request_builder.go b/storage/file_storage_containers_item_lock_request_builder.go new file mode 100644 index 0000000000..6fa2465e88 --- /dev/null +++ b/storage/file_storage_containers_item_lock_request_builder.go @@ -0,0 +1,68 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemLockRequestBuilder provides operations to call the lock method. +type FileStorageContainersItemLockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemLockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemLockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemLockRequestBuilderInternal instantiates a new FileStorageContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageContainersItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemLockRequestBuilder) { + m := &FileStorageContainersItemLockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", pathParameters), + } + return m +} +// NewFileStorageContainersItemLockRequestBuilder instantiates a new FileStorageContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageContainersItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemLockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemLockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action lock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemLockRequestBuilder) Post(ctx context.Context, body FileStorageContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageContainersItemLockRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action lock +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemLockRequestBuilder) ToPostRequestInformation(ctx context.Context, body FileStorageContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageContainersItemLockRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemLockRequestBuilder when successful +func (m *FileStorageContainersItemLockRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemLockRequestBuilder) { + return NewFileStorageContainersItemLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go b/storage/file_storage_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..34890f0fef --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\createdByUser\mailboxSettings +type FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_created_by_user_request_builder.go b/storage/file_storage_containers_item_recycle_bin_created_by_user_request_builder.go new file mode 100644 index 0000000000..cd7121f6f6 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_created_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +type FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters identity of the user who created the item. Read-only. +type FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) { + m := &FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilder instantiates a new FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who created the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) MailboxSettings()(*FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who created the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go b/storage/file_storage_containers_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go new file mode 100644 index 0000000000..f24982a090 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go @@ -0,0 +1,98 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\createdByUser\serviceProvisioningErrors +type FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_items_count_request_builder.go b/storage/file_storage_containers_item_recycle_bin_items_count_request_builder.go new file mode 100644 index 0000000000..0bc47dc8ea --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_items_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemRecycleBinItemsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsCountRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsCountRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsCountRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go b/storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..b534ba147b --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\mailboxSettings +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_request_builder.go b/storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_request_builder.go new file mode 100644 index 0000000000..27b65adf54 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_items_item_created_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters identity of the user who created the item. Read-only. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who created the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) MailboxSettings()(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who created the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go b/storage/file_storage_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go new file mode 100644 index 0000000000..fb22f8ca46 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters identity of the user who last modified the item. Read-only. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who last modified the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) MailboxSettings()(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who last modified the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go b/storage/file_storage_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go new file mode 100644 index 0000000000..bb0c41c7ae --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go @@ -0,0 +1,167 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder provides operations to manage the items property of the microsoft.graph.recycleBin entity. +type FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters list of the recycleBinItems deleted by a user. +type FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal(urlParams, requestAdapter) +} +// CreatedByUser provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) CreatedByUser()(*FileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property items for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get list of the recycleBinItems deleted by a user. +// returns a RecycleBinItemable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable), nil +} +// LastModifiedByUser provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) LastModifiedByUser()(*FileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property items in storage +// returns a RecycleBinItemable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable), nil +} +// ToDeleteRequestInformation delete navigation property items for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation list of the recycleBinItems deleted by a user. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property items in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_items_request_builder.go b/storage/file_storage_containers_item_recycle_bin_items_request_builder.go new file mode 100644 index 0000000000..780a66179e --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_items_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinItemsRequestBuilder provides operations to manage the items property of the microsoft.graph.recycleBin entity. +type FileStorageContainersItemRecycleBinItemsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters list of the recycleBinItems deleted by a user. +type FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinItemsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByRecycleBinItemId provides operations to manage the items property of the microsoft.graph.recycleBin entity. +// returns a *FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) ByRecycleBinItemId(recycleBinItemId string)(*FileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if recycleBinItemId != "" { + urlTplParams["recycleBinItem%2Did"] = recycleBinItemId + } + return NewFileStorageContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemRecycleBinItemsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinItemsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinItemsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinItemsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinItemsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinItemsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinItemsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinItemsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemRecycleBinItemsCountRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) Count()(*FileStorageContainersItemRecycleBinItemsCountRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list of the recycleBinItems deleted by a user. +// returns a RecycleBinItemCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemCollectionResponseable), nil +} +// Post create new navigation property to items for storage +// returns a RecycleBinItemable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable), nil +} +// ToGetRequestInformation list of the recycleBinItems deleted by a user. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to items for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinItemsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinItemsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinItemsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go b/storage/file_storage_containers_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..9a0bf94e59 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\mailboxSettings +type FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_last_modified_by_user_request_builder.go b/storage/file_storage_containers_item_recycle_bin_last_modified_by_user_request_builder.go new file mode 100644 index 0000000000..748a8407a9 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_last_modified_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +type FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters identity of the user who last modified the item. Read-only. +type FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + m := &FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder instantiates a new FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who last modified the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) MailboxSettings()(*FileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who last modified the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_recycle_bin_request_builder.go b/storage/file_storage_containers_item_recycle_bin_request_builder.go new file mode 100644 index 0000000000..5fb279d542 --- /dev/null +++ b/storage/file_storage_containers_item_recycle_bin_request_builder.go @@ -0,0 +1,172 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRecycleBinRequestBuilder provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemRecycleBinRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemRecycleBinRequestBuilderGetQueryParameters recycle bin of the fileStorageContainer. Read-only. +type FileStorageContainersItemRecycleBinRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemRecycleBinRequestBuilderGetQueryParameters +} +// FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRecycleBinRequestBuilderInternal instantiates a new FileStorageContainersItemRecycleBinRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinRequestBuilder) { + m := &FileStorageContainersItemRecycleBinRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemRecycleBinRequestBuilder instantiates a new FileStorageContainersItemRecycleBinRequestBuilder and sets the default values. +func NewFileStorageContainersItemRecycleBinRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRecycleBinRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRecycleBinRequestBuilderInternal(urlParams, requestAdapter) +} +// CreatedByUser provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) CreatedByUser()(*FileStorageContainersItemRecycleBinCreatedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinCreatedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property recycleBin for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get recycle bin of the fileStorageContainer. Read-only. +// returns a RecycleBinable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable), nil +} +// Items provides operations to manage the items property of the microsoft.graph.recycleBin entity. +// returns a *FileStorageContainersItemRecycleBinItemsRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) Items()(*FileStorageContainersItemRecycleBinItemsRequestBuilder) { + return NewFileStorageContainersItemRecycleBinItemsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// LastModifiedByUser provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) LastModifiedByUser()(*FileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + return NewFileStorageContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property recycleBin in storage +// returns a RecycleBinable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRecycleBinRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, requestConfiguration *FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable), nil +} +// ToDeleteRequestInformation delete navigation property recycleBin for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation recycle bin of the fileStorageContainer. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRecycleBinRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property recycleBin in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, requestConfiguration *FileStorageContainersItemRecycleBinRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRecycleBinRequestBuilder when successful +func (m *FileStorageContainersItemRecycleBinRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRecycleBinRequestBuilder) { + return NewFileStorageContainersItemRecycleBinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_restore_request_builder.go b/storage/file_storage_containers_item_restore_request_builder.go new file mode 100644 index 0000000000..31b7a6c261 --- /dev/null +++ b/storage/file_storage_containers_item_restore_request_builder.go @@ -0,0 +1,69 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemRestoreRequestBuilder provides operations to call the restore method. +type FileStorageContainersItemRestoreRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemRestoreRequestBuilderInternal instantiates a new FileStorageContainersItemRestoreRequestBuilder and sets the default values. +func NewFileStorageContainersItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRestoreRequestBuilder) { + m := &FileStorageContainersItemRestoreRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/restore", pathParameters), + } + return m +} +// NewFileStorageContainersItemRestoreRequestBuilder instantiates a new FileStorageContainersItemRestoreRequestBuilder and sets the default values. +func NewFileStorageContainersItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemRestoreRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemRestoreRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action restore +// returns a FileStorageContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil +} +// ToPostRequestInformation invoke action restore +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemRestoreRequestBuilder when successful +func (m *FileStorageContainersItemRestoreRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemRestoreRequestBuilder) { + return NewFileStorageContainersItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_unlock_request_builder.go b/storage/file_storage_containers_item_unlock_request_builder.go new file mode 100644 index 0000000000..df6f461741 --- /dev/null +++ b/storage/file_storage_containers_item_unlock_request_builder.go @@ -0,0 +1,64 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemUnlockRequestBuilder provides operations to call the unlock method. +type FileStorageContainersItemUnlockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemUnlockRequestBuilderInternal instantiates a new FileStorageContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageContainersItemUnlockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemUnlockRequestBuilder) { + m := &FileStorageContainersItemUnlockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", pathParameters), + } + return m +} +// NewFileStorageContainersItemUnlockRequestBuilder instantiates a new FileStorageContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageContainersItemUnlockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemUnlockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemUnlockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action unlock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemUnlockRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action unlock +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemUnlockRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemUnlockRequestBuilder when successful +func (m *FileStorageContainersItemUnlockRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemUnlockRequestBuilder) { + return NewFileStorageContainersItemUnlockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_count_request_builder.go b/storage/file_storage_deleted_containers_count_request_builder.go new file mode 100644 index 0000000000..35ed797fff --- /dev/null +++ b/storage/file_storage_deleted_containers_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersCountRequestBuilder) { + m := &FileStorageDeletedContainersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersCountRequestBuilder instantiates a new FileStorageDeletedContainersCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersCountRequestBuilder when successful +func (m *FileStorageDeletedContainersCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersCountRequestBuilder) { + return NewFileStorageDeletedContainersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go new file mode 100644 index 0000000000..2d80d540d4 --- /dev/null +++ b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go @@ -0,0 +1,197 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersFileStorageContainerItemRequestBuilder provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. +type FileStorageDeletedContainersFileStorageContainerItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters get deletedContainers from storage +type FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Activate provides operations to call the activate method. +// returns a *FileStorageDeletedContainersItemActivateRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Activate()(*FileStorageDeletedContainersItemActivateRequestBuilder) { + return NewFileStorageDeletedContainersItemActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersFileStorageContainerItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) { + m := &FileStorageDeletedContainersFileStorageContainerItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilder instantiates a new FileStorageDeletedContainersFileStorageContainerItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property deletedContainers for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Drive provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemDriveRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Drive()(*FileStorageDeletedContainersItemDriveRequestBuilder) { + return NewFileStorageDeletedContainersItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deletedContainers from storage +// returns a FileStorageContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil +} +// Lock provides operations to call the lock method. +// returns a *FileStorageDeletedContainersItemLockRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageDeletedContainersItemLockRequestBuilder) { + return NewFileStorageDeletedContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property deletedContainers in storage +// returns a FileStorageContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil +} +// PermanentDelete provides operations to call the permanentDelete method. +// returns a *FileStorageDeletedContainersItemPermanentDeleteRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) PermanentDelete()(*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) { + return NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Permissions provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemPermissionsRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Permissions()(*FileStorageDeletedContainersItemPermissionsRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// RecycleBin provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemRecycleBinRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) RecycleBin()(*FileStorageDeletedContainersItemRecycleBinRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Restore provides operations to call the restore method. +// returns a *FileStorageDeletedContainersItemRestoreRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Restore()(*FileStorageDeletedContainersItemRestoreRequestBuilder) { + return NewFileStorageDeletedContainersItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property deletedContainers for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get deletedContainers from storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property deletedContainers in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// Unlock provides operations to call the unlock method. +// returns a *FileStorageDeletedContainersItemUnlockRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Unlock()(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + return NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) { + return NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_activate_request_builder.go b/storage/file_storage_deleted_containers_item_activate_request_builder.go new file mode 100644 index 0000000000..47103e4b6a --- /dev/null +++ b/storage/file_storage_deleted_containers_item_activate_request_builder.go @@ -0,0 +1,64 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemActivateRequestBuilder provides operations to call the activate method. +type FileStorageDeletedContainersItemActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemActivateRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemActivateRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemActivateRequestBuilder) { + m := &FileStorageDeletedContainersItemActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/activate", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemActivateRequestBuilder instantiates a new FileStorageDeletedContainersItemActivateRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action activate +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action activate +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemActivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemActivateRequestBuilder when successful +func (m *FileStorageDeletedContainersItemActivateRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemActivateRequestBuilder) { + return NewFileStorageDeletedContainersItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_drive_request_builder.go b/storage/file_storage_deleted_containers_item_drive_request_builder.go new file mode 100644 index 0000000000..42629fc32c --- /dev/null +++ b/storage/file_storage_deleted_containers_item_drive_request_builder.go @@ -0,0 +1,81 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemDriveRequestBuilder provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemDriveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemDriveRequestBuilderGetQueryParameters the drive of the resource fileStorageContainer. Read-only. +type FileStorageDeletedContainersItemDriveRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemDriveRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemDriveRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemDriveRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemDriveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemDriveRequestBuilder) { + m := &FileStorageDeletedContainersItemDriveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemDriveRequestBuilder instantiates a new FileStorageDeletedContainersItemDriveRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemDriveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemDriveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemDriveRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the drive of the resource fileStorageContainer. Read-only. +// returns a Driveable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemDriveRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Driveable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDriveFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Driveable), nil +} +// ToGetRequestInformation the drive of the resource fileStorageContainer. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemDriveRequestBuilder when successful +func (m *FileStorageDeletedContainersItemDriveRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemDriveRequestBuilder) { + return NewFileStorageDeletedContainersItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_lock_post_request_body.go b/storage/file_storage_deleted_containers_item_lock_post_request_body.go new file mode 100644 index 0000000000..23790d971b --- /dev/null +++ b/storage/file_storage_deleted_containers_item_lock_post_request_body.go @@ -0,0 +1,115 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FileStorageDeletedContainersItemLockPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageDeletedContainersItemLockPostRequestBody instantiates a new FileStorageDeletedContainersItemLockPostRequestBody and sets the default values. +func NewFileStorageDeletedContainersItemLockPostRequestBody()(*FileStorageDeletedContainersItemLockPostRequestBody) { + m := &FileStorageDeletedContainersItemLockPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageDeletedContainersItemLockPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageDeletedContainersItemLockPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageDeletedContainersItemLockPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FileStorageDeletedContainersItemLockPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FileStorageDeletedContainersItemLockPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageDeletedContainersItemLockPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["lockState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseSiteLockState) + if err != nil { + return err + } + if val != nil { + m.SetLockState(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState)) + } + return nil + } + return res +} +// GetLockState gets the lockState property value. The lockState property +// returns a *SiteLockState when successful +func (m *FileStorageDeletedContainersItemLockPostRequestBody) GetLockState()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState) { + val, err := m.GetBackingStore().Get("lockState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageDeletedContainersItemLockPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetLockState() != nil { + cast := (*m.GetLockState()).String() + err := writer.WriteStringValue("lockState", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FileStorageDeletedContainersItemLockPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FileStorageDeletedContainersItemLockPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLockState sets the lockState property value. The lockState property +func (m *FileStorageDeletedContainersItemLockPostRequestBody) SetLockState(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState)() { + err := m.GetBackingStore().Set("lockState", value) + if err != nil { + panic(err) + } +} +type FileStorageDeletedContainersItemLockPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLockState()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLockState(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteLockState)() +} diff --git a/storage/file_storage_deleted_containers_item_lock_request_builder.go b/storage/file_storage_deleted_containers_item_lock_request_builder.go new file mode 100644 index 0000000000..1b82daf046 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_lock_request_builder.go @@ -0,0 +1,68 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemLockRequestBuilder provides operations to call the lock method. +type FileStorageDeletedContainersItemLockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemLockRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemLockRequestBuilder) { + m := &FileStorageDeletedContainersItemLockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemLockRequestBuilder instantiates a new FileStorageDeletedContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemLockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemLockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action lock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemLockRequestBuilder) Post(ctx context.Context, body FileStorageDeletedContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action lock +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemLockRequestBuilder) ToPostRequestInformation(ctx context.Context, body FileStorageDeletedContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemLockRequestBuilder when successful +func (m *FileStorageDeletedContainersItemLockRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemLockRequestBuilder) { + return NewFileStorageDeletedContainersItemLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_permanent_delete_request_builder.go b/storage/file_storage_deleted_containers_item_permanent_delete_request_builder.go new file mode 100644 index 0000000000..6b006b3b4d --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permanent_delete_request_builder.go @@ -0,0 +1,64 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemPermanentDeleteRequestBuilder provides operations to call the permanentDelete method. +type FileStorageDeletedContainersItemPermanentDeleteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemPermanentDeleteRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) { + m := &FileStorageDeletedContainersItemPermanentDeleteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permanentDelete", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilder instantiates a new FileStorageDeletedContainersItemPermanentDeleteRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action permanentDelete +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action permanentDelete +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemPermanentDeleteRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder) { + return NewFileStorageDeletedContainersItemPermanentDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_permissions_count_request_builder.go b/storage/file_storage_deleted_containers_item_permissions_count_request_builder.go new file mode 100644 index 0000000000..94ceffe78e --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemPermissionsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemPermissionsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemPermissionsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemPermissionsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemPermissionsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemPermissionsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_permissions_item_grant_post_request_body.go b/storage/file_storage_deleted_containers_item_permissions_item_grant_post_request_body.go new file mode 100644 index 0000000000..831d2e2757 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody instantiates a new FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody()(*FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) { + m := &FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) GetRecipients()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) SetRecipients(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/storage/file_storage_deleted_containers_item_permissions_item_grant_post_response.go b/storage/file_storage_deleted_containers_item_permissions_item_grant_post_response.go new file mode 100644 index 0000000000..ab68ee6326 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type FileStorageDeletedContainersItemPermissionsItemGrantPostResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewFileStorageDeletedContainersItemPermissionsItemGrantPostResponse instantiates a new FileStorageDeletedContainersItemPermissionsItemGrantPostResponse and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsItemGrantPostResponse()(*FileStorageDeletedContainersItemPermissionsItemGrantPostResponse) { + m := &FileStorageDeletedContainersItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFileStorageDeletedContainersItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageDeletedContainersItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageDeletedContainersItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FileStorageDeletedContainersItemPermissionsItemGrantPostResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable)() +} diff --git a/storage/file_storage_deleted_containers_item_permissions_item_grant_request_builder.go b/storage/file_storage_deleted_containers_item_permissions_item_grant_request_builder.go new file mode 100644 index 0000000000..a6f7be3e5c --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) { + m := &FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder instantiates a new FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a FileStorageDeletedContainersItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +func (m *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FileStorageDeletedContainersItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFileStorageDeletedContainersItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FileStorageDeletedContainersItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +func (m *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFileStorageDeletedContainersItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body FileStorageDeletedContainersItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_permissions_item_grant_response.go b/storage/file_storage_deleted_containers_item_permissions_item_grant_response.go new file mode 100644 index 0000000000..00ab77d81d --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable instead. +type FileStorageDeletedContainersItemPermissionsItemGrantResponse struct { + FileStorageDeletedContainersItemPermissionsItemGrantPostResponse +} +// NewFileStorageDeletedContainersItemPermissionsItemGrantResponse instantiates a new FileStorageDeletedContainersItemPermissionsItemGrantResponse and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsItemGrantResponse()(*FileStorageDeletedContainersItemPermissionsItemGrantResponse) { + m := &FileStorageDeletedContainersItemPermissionsItemGrantResponse{ + FileStorageDeletedContainersItemPermissionsItemGrantPostResponse: *NewFileStorageDeletedContainersItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateFileStorageDeletedContainersItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageDeletedContainersItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageDeletedContainersItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable instead. +type FileStorageDeletedContainersItemPermissionsItemGrantResponseable interface { + FileStorageDeletedContainersItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/storage/file_storage_deleted_containers_item_permissions_permission_item_request_builder.go b/storage/file_storage_deleted_containers_item_permissions_permission_item_request_builder.go new file mode 100644 index 0000000000..cf6acb71ad --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_permission_item_request_builder.go @@ -0,0 +1,162 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetQueryParameters the set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. +type FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) { + m := &FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder instantiates a new FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) Grant()(*FileStorageDeletedContainersItemPermissionsItemGrantRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, requestConfiguration *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable), nil +} +// ToDeleteRequestInformation delete navigation property permissions for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, requestConfiguration *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_permissions_request_builder.go b/storage/file_storage_deleted_containers_item_permissions_request_builder.go new file mode 100644 index 0000000000..d7f1540911 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters the set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. +type FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemPermissionsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*FileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewFileStorageDeletedContainersItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemPermissionsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemPermissionsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsRequestBuilder) { + m := &FileStorageDeletedContainersItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemPermissionsRequestBuilder instantiates a new FileStorageDeletedContainersItemPermissionsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemPermissionsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) Count()(*FileStorageDeletedContainersItemPermissionsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, requestConfiguration *FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable), nil +} +// ToGetRequestInformation the set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, requestConfiguration *FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemPermissionsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemPermissionsRequestBuilder) { + return NewFileStorageDeletedContainersItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..eb38a099e6 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\createdByUser\mailboxSettings +type FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_request_builder.go new file mode 100644 index 0000000000..b6e18b042f --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_created_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters identity of the user who created the item. Read-only. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who created the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) MailboxSettings()(*FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who created the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_items_count_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_items_count_request_builder.go new file mode 100644 index 0000000000..d81530649a --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_items_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_items_item_created_by_user_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_items_item_created_by_user_request_builder.go new file mode 100644 index 0000000000..f9bdf726ff --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_items_item_created_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters identity of the user who created the item. Read-only. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who created the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) MailboxSettings()(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who created the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go new file mode 100644 index 0000000000..ee560829d5 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_items_item_last_modified_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters identity of the user who last modified the item. Read-only. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who last modified the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) MailboxSettings()(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who last modified the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go new file mode 100644 index 0000000000..8bae401711 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_items_recycle_bin_item_item_request_builder.go @@ -0,0 +1,167 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder provides operations to manage the items property of the microsoft.graph.recycleBin entity. +type FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters list of the recycleBinItems deleted by a user. +type FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal(urlParams, requestAdapter) +} +// CreatedByUser provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) CreatedByUser()(*FileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemCreatedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property items for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get list of the recycleBinItems deleted by a user. +// returns a RecycleBinItemable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable), nil +} +// LastModifiedByUser provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) LastModifiedByUser()(*FileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsItemLastModifiedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property items in storage +// returns a RecycleBinItemable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable), nil +} +// ToDeleteRequestInformation delete navigation property items for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation list of the recycleBinItems deleted by a user. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property items in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_items_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_items_request_builder.go new file mode 100644 index 0000000000..108623c29b --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_items_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder provides operations to manage the items property of the microsoft.graph.recycleBin entity. +type FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters list of the recycleBinItems deleted by a user. +type FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByRecycleBinItemId provides operations to manage the items property of the microsoft.graph.recycleBin entity. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) ByRecycleBinItemId(recycleBinItemId string)(*FileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if recycleBinItemId != "" { + urlTplParams["recycleBinItem%2Did"] = recycleBinItemId + } + return NewFileStorageDeletedContainersItemRecycleBinItemsRecycleBinItemItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) Count()(*FileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list of the recycleBinItems deleted by a user. +// returns a RecycleBinItemCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemCollectionResponseable), nil +} +// Post create new navigation property to items for storage +// returns a RecycleBinItemable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinItemFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable), nil +} +// ToGetRequestInformation list of the recycleBinItems deleted by a user. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to items for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinItemable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_last_modified_by_user_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_last_modified_by_user_request_builder.go new file mode 100644 index 0000000000..a838c8d56c --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_last_modified_by_user_request_builder.go @@ -0,0 +1,91 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters identity of the user who last modified the item. Read-only. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get identity of the user who last modified the item. Read-only. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) MailboxSettings()(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) ServiceProvisioningErrors()(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation identity of the user who last modified the item. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_recycle_bin_request_builder.go b/storage/file_storage_deleted_containers_item_recycle_bin_request_builder.go new file mode 100644 index 0000000000..b8d38499b0 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_recycle_bin_request_builder.go @@ -0,0 +1,172 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRecycleBinRequestBuilder provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemRecycleBinRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemRecycleBinRequestBuilderGetQueryParameters recycle bin of the fileStorageContainer. Read-only. +type FileStorageDeletedContainersItemRecycleBinRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemRecycleBinRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRecycleBinRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRecycleBinRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinRequestBuilder) { + m := &FileStorageDeletedContainersItemRecycleBinRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRecycleBinRequestBuilder instantiates a new FileStorageDeletedContainersItemRecycleBinRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRecycleBinRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRecycleBinRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRecycleBinRequestBuilderInternal(urlParams, requestAdapter) +} +// CreatedByUser provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) CreatedByUser()(*FileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinCreatedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property recycleBin for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get recycle bin of the fileStorageContainer. Read-only. +// returns a RecycleBinable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable), nil +} +// Items provides operations to manage the items property of the microsoft.graph.recycleBin entity. +// returns a *FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) Items()(*FileStorageDeletedContainersItemRecycleBinItemsRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinItemsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// LastModifiedByUser provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. +// returns a *FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) LastModifiedByUser()(*FileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinLastModifiedByUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property recycleBin in storage +// returns a RecycleBinable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRecycleBinFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable), nil +} +// ToDeleteRequestInformation delete navigation property recycleBin for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation recycle bin of the fileStorageContainer. Read-only. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRecycleBinRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property recycleBin in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecycleBinable, requestConfiguration *FileStorageDeletedContainersItemRecycleBinRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRecycleBinRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRecycleBinRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRecycleBinRequestBuilder) { + return NewFileStorageDeletedContainersItemRecycleBinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_restore_request_builder.go b/storage/file_storage_deleted_containers_item_restore_request_builder.go new file mode 100644 index 0000000000..b03e224d16 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_restore_request_builder.go @@ -0,0 +1,69 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemRestoreRequestBuilder provides operations to call the restore method. +type FileStorageDeletedContainersItemRestoreRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemRestoreRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemRestoreRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRestoreRequestBuilder) { + m := &FileStorageDeletedContainersItemRestoreRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/restore", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemRestoreRequestBuilder instantiates a new FileStorageDeletedContainersItemRestoreRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemRestoreRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemRestoreRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action restore +// returns a FileStorageContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil +} +// ToPostRequestInformation invoke action restore +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemRestoreRequestBuilder when successful +func (m *FileStorageDeletedContainersItemRestoreRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemRestoreRequestBuilder) { + return NewFileStorageDeletedContainersItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_unlock_request_builder.go b/storage/file_storage_deleted_containers_item_unlock_request_builder.go new file mode 100644 index 0000000000..cd0f7a4dac --- /dev/null +++ b/storage/file_storage_deleted_containers_item_unlock_request_builder.go @@ -0,0 +1,64 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemUnlockRequestBuilder provides operations to call the unlock method. +type FileStorageDeletedContainersItemUnlockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + m := &FileStorageDeletedContainersItemUnlockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemUnlockRequestBuilder instantiates a new FileStorageDeletedContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemUnlockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action unlock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemUnlockRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action unlock +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemUnlockRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemUnlockRequestBuilder when successful +func (m *FileStorageDeletedContainersItemUnlockRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + return NewFileStorageDeletedContainersItemUnlockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_request_builder.go b/storage/file_storage_deleted_containers_request_builder.go new file mode 100644 index 0000000000..40dbf7e3cd --- /dev/null +++ b/storage/file_storage_deleted_containers_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersRequestBuilder provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. +type FileStorageDeletedContainersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersRequestBuilderGetQueryParameters get deletedContainers from storage +type FileStorageDeletedContainersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFileStorageContainerId provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. +// returns a *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder when successful +func (m *FileStorageDeletedContainersRequestBuilder) ByFileStorageContainerId(fileStorageContainerId string)(*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fileStorageContainerId != "" { + urlTplParams["fileStorageContainer%2Did"] = fileStorageContainerId + } + return NewFileStorageDeletedContainersFileStorageContainerItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersRequestBuilderInternal instantiates a new FileStorageDeletedContainersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersRequestBuilder) { + m := &FileStorageDeletedContainersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersRequestBuilder instantiates a new FileStorageDeletedContainersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersCountRequestBuilder when successful +func (m *FileStorageDeletedContainersRequestBuilder) Count()(*FileStorageDeletedContainersCountRequestBuilder) { + return NewFileStorageDeletedContainersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deletedContainers from storage +// returns a FileStorageContainerCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerCollectionResponseable), nil +} +// Post create new navigation property to deletedContainers for storage +// returns a FileStorageContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, requestConfiguration *FileStorageDeletedContainersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil +} +// ToGetRequestInformation get deletedContainers from storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to deletedContainers for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, requestConfiguration *FileStorageDeletedContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersRequestBuilder when successful +func (m *FileStorageDeletedContainersRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersRequestBuilder) { + return NewFileStorageDeletedContainersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_request_builder.go b/storage/file_storage_request_builder.go index 3dd0a3315e..f1b819488a 100644 --- a/storage/file_storage_request_builder.go +++ b/storage/file_storage_request_builder.go @@ -75,6 +75,11 @@ func (m *FileStorageRequestBuilder) Delete(ctx context.Context, requestConfigura } return nil } +// DeletedContainers provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. +// returns a *FileStorageDeletedContainersRequestBuilder when successful +func (m *FileStorageRequestBuilder) DeletedContainers()(*FileStorageDeletedContainersRequestBuilder) { + return NewFileStorageDeletedContainersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get fileStorage from storage // returns a FileStorageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index ecfed98ba1..ae2ecb4325 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Patch update the role of a conversationMember in a team or channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPatchRequestInformation update the role of a conversationMember in a team or channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index eee4373c34..0fad964c67 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create a new reply to a chatMessage in a specified channel. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create a new reply to a chatMessage in a specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index 4ab172642e..cbcb06192e 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -75,12 +75,12 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch 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. +// Patch update the properties of a multitenant organization. // returns a MultiTenantOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation 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. +// ToPatchRequestInformation update the properties of a multitenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index 987f34e3b0..138f53bed6 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -18,7 +18,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. +// ItemPresenceRequestBuilderGetQueryParameters set a presence status message for a user. An optional expiration date and time can be supplied. type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,12 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get get a user's presence information. +// Get set a presence status message for a user. An optional expiration date and time can be supplied. // returns a Presenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +149,7 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a user's presence information. +// ToGetRequestInformation set a presence status message for a user. An optional expiration date and time can be supplied. // returns a *RequestInformation when successful func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 2e43f2a7d8..9cec4c3c29 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -223,7 +223,7 @@ func (m *UserItemRequestBuilder) FollowedSites()(*ItemFollowedSitesRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -361,7 +361,7 @@ func (m *UserItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UserItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/users_request_builder.go b/users/users_request_builder.go index 715d574cb9..0bc5d0b87c 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters list properties and relationships of the user objects. +// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. type UsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *UsersRequestBuilder) Count()(*CountRequestBuilder) { func (m *UsersRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the user objects. +// Get retrieve a list of user objects. // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,12 +112,12 @@ func (m *UsersRequestBuilder) GetAvailableExtensionProperties()(*GetAvailableExt func (m *UsersRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. +// Post create a new user object. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +135,7 @@ func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e64 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToGetRequestInformation list properties and relationships of the user objects. +// ToGetRequestInformation retrieve a list of user objects. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +149,7 @@ func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. +// ToPostRequestInformation create a new user object. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go index cab533751f..c346d5278a 100644 --- a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go +++ b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go @@ -81,7 +81,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil {