From 96ac5331981d38de1e1bfe6db733df7d2a9d4847 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 19 Nov 2024 10:34:37 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 171412 --- applications/delta_request_builder.go | 8 +- .../item_instantiate_post_request_body.go | 37 ++ .../item_instantiate_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 8 +- .../calls_item_answer_request_builder.go | 4 +- communications/calls_request_builder.go | 4 +- contacts/delta_request_builder.go | 8 +- contracts/delta_request_builder.go | 8 +- .../device_app_management_request_builder.go | 4 +- ...managed_app_policy_item_request_builder.go | 8 +- .../managed_app_policies_request_builder.go | 8 +- .../managed_app_statuses_request_builder.go | 8 +- ..._e_book_assignment_item_request_builder.go | 6 +- ...oks_managed_e_book_item_request_builder.go | 8 +- .../managed_e_books_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 +- ...df89329583f4e052b2884b3f72ba8792e877c39.go | 84 ++++ ..._compliance_policy_item_request_builder.go | 20 +- ...ice_compliance_policies_request_builder.go | 14 +- ...vice_configuration_item_request_builder.go | 20 +- .../device_configurations_request_builder.go | 14 +- ...ment_configuration_item_request_builder.go | 20 +- ...rollment_configurations_request_builder.go | 14 +- .../device_management_request_builder.go | 4 +- ...590ca9fb8bb08125bc0652c7e9e38fa049b48d8.go | 5 + devicemanagement/reports_request_builder.go | 5 + ...llation_status_report_post_request_body.go | 427 ++++++++++++++++++ ...tallation_status_report_request_builder.go | 72 +++ .../role_definitions_request_builder.go | 6 +- ...ns_role_definition_item_request_builder.go | 8 +- devices/delta_request_builder.go | 8 +- .../administrative_units_request_builder.go | 4 +- directoryobjects/delta_request_builder.go | 8 +- directoryroles/delta_request_builder.go | 8 +- .../delta_request_builder.go | 8 +- ...ms_item_retention_label_request_builder.go | 6 +- ...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 +- ...munities_community_item_request_builder.go | 5 + ...ith_user_principal_name_request_builder.go | 84 ++++ ...tems_external_item_item_request_builder.go | 6 +- graph_base_service_client.go | 6 + groups/delta_request_builder.go | 8 +- groups/groups_request_builder.go | 6 +- ...item_threads_item_reply_request_builder.go | 6 +- groups/item_conversations_request_builder.go | 6 +- groups/item_owners_ref_request_builder.go | 6 +- groups/item_owners_request_builder.go | 6 +- ...onversation_thread_item_request_builder.go | 8 +- ...item_threads_item_reply_request_builder.go | 6 +- .../delta_request_builder.go | 8 +- ...ons_named_location_item_request_builder.go | 14 +- ...fdacaa60b377fea48d74460d8f8ca09af42dabc.go | 4 +- ...ges_access_package_item_request_builder.go | 8 +- ...ent_assignment_policies_request_builder.go | 10 +- kiota-dom-export.txt | 272 ++++++++++- kiota-lock.json | 8 +- models/administrative_unit.go | 16 +- models/call_options.go | 37 ++ .../callrecords/administrative_unit_info.go | 150 ++++++ models/callrecords/participant_base.go | 49 ++ models/chat_message_reaction.go | 82 +++- models/device_management_export_job.go | 4 +- .../device_management_report_file_format.go | 2 +- models/file_storage_container.go | 37 ++ models/file_storage_container_settings.go | 150 ++++++ models/key_credential_configuration.go | 12 +- models/password_credential_configuration.go | 12 +- models/protection_rule_base.go | 4 +- models/provisioned_plan.go | 12 +- models/risk_detection.go | 4 +- models/security/case_operation.go | 4 +- models/security/ediscovery_search.go | 4 +- .../ediscovery_search_export_operation.go | 36 +- models/security/io_t_device_evidence.go | 104 ++--- models/security/nic_evidence.go | 12 +- models/security/purge_type.go | 8 +- models/sign_in.go | 4 +- models/teams_app_authorization.go | 37 ++ models/user.go | 4 +- models/win32_lob_app_assignment_settings.go | 37 ++ models/win32_lob_app_auto_update_settings.go | 152 +++++++ ...2_lob_auto_update_superseded_apps_state.go | 40 ++ .../workbook_worksheet_protection_options.go | 44 +- .../delta_request_builder.go | 8 +- organization/delta_request_builder.go | 8 +- organization/organization_request_builder.go | 8 +- permissiongrants/delta_request_builder.go | 8 +- ...dentity_synchronization_request_builder.go | 6 +- ...ith_user_principal_name_request_builder.go | 87 ++++ ...ith_user_principal_name_request_builder.go | 87 ++++ ...ect_rights_request_item_request_builder.go | 12 + ...dians_item_site_sources_request_builder.go | 6 +- ...dians_item_user_sources_request_builder.go | 6 +- ..._security_export_report_request_builder.go | 7 +- ..._security_export_result_request_builder.go | 7 +- ...aph_security_purge_data_request_builder.go | 4 +- ...ith_user_principal_name_request_builder.go | 84 ++++ ...ith_user_principal_name_request_builder.go | 84 ++++ ...ect_rights_request_item_request_builder.go | 10 + serviceprincipals/delta_request_builder.go | 8 +- sites/item_lists_list_item_request_builder.go | 8 +- ...file_storage_containers_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 6 +- ..._channels_item_messages_request_builder.go | 6 +- users/delta_request_builder.go | 8 +- users/user_item_request_builder.go | 16 +- ...ith_user_principal_name_request_builder.go | 169 +++++++ 112 files changed, 2720 insertions(+), 423 deletions(-) create mode 100644 devicemanagement/63373f53ce7802437f6ebbbe1df89329583f4e052b2884b3f72ba8792e877c39.go create mode 100644 devicemanagement/reports_retrieve_device_app_installation_status_report_post_request_body.go create mode 100644 devicemanagement/reports_retrieve_device_app_installation_status_report_request_builder.go create mode 100644 employeeexperience/communities_item_owners_with_user_principal_name_request_builder.go create mode 100644 models/callrecords/administrative_unit_info.go create mode 100644 models/file_storage_container_settings.go create mode 100644 models/win32_lob_app_auto_update_settings.go create mode 100644 models/win32_lob_auto_update_superseded_apps_state.go create mode 100644 privacy/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go create mode 100644 privacy/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go create mode 100644 security/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go create mode 100644 security/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go create mode 100644 userswithuserprincipalname/users_with_user_principal_name_request_builder.go diff --git a/applications/delta_request_builder.go b/applications/delta_request_builder.go index 4df90d833b..b92e2c90c4 100644 --- a/applications/delta_request_builder.go +++ b/applications/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. +// Get get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. +// GetAsDeltaGetResponse get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query. +// ToGetRequestInformation get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applicationtemplates/item_instantiate_post_request_body.go b/applicationtemplates/item_instantiate_post_request_body.go index a1ca80ec59..48497dfbcb 100644 --- a/applicationtemplates/item_instantiate_post_request_body.go +++ b/applicationtemplates/item_instantiate_post_request_body.go @@ -66,8 +66,30 @@ func (m *ItemInstantiatePostRequestBody) GetFieldDeserializers()(map[string]func } return nil } + res["serviceManagementReference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetServiceManagementReference(val) + } + return nil + } return res } +// GetServiceManagementReference gets the serviceManagementReference property value. The serviceManagementReference property +// returns a *string when successful +func (m *ItemInstantiatePostRequestBody) GetServiceManagementReference()(*string) { + val, err := m.GetBackingStore().Get("serviceManagementReference") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // Serialize serializes information the current object func (m *ItemInstantiatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { @@ -76,6 +98,12 @@ func (m *ItemInstantiatePostRequestBody) Serialize(writer i878a80d2330e89d268963 return err } } + { + err := writer.WriteStringValue("serviceManagementReference", m.GetServiceManagementReference()) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -102,12 +130,21 @@ func (m *ItemInstantiatePostRequestBody) SetDisplayName(value *string)() { panic(err) } } +// SetServiceManagementReference sets the serviceManagementReference property value. The serviceManagementReference property +func (m *ItemInstantiatePostRequestBody) SetServiceManagementReference(value *string)() { + err := m.GetBackingStore().Set("serviceManagementReference", value) + if err != nil { + panic(err) + } +} type ItemInstantiatePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetDisplayName()(*string) + GetServiceManagementReference()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetDisplayName(value *string)() + SetServiceManagementReference(value *string)() } diff --git a/applicationtemplates/item_instantiate_request_builder.go b/applicationtemplates/item_instantiate_request_builder.go index d3643f0e1c..c491fb0911 100644 --- a/applicationtemplates/item_instantiate_request_builder.go +++ b/applicationtemplates/item_instantiate_request_builder.go @@ -31,7 +31,7 @@ func NewItemInstantiateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemInstantiateRequestBuilderInternal(urlParams, requestAdapter) } -// Post add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. +// Post add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO. // returns a ApplicationServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *ItemInstantiateRequestBuilder) Post(ctx context.Context, body ItemInsta } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplicationServicePrincipalable), nil } -// ToPostRequestInformation add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO. +// ToPostRequestInformation add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO. // returns a *RequestInformation when successful func (m *ItemInstantiateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemInstantiatePostRequestBodyable, requestConfiguration *ItemInstantiateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_members_conversation_member_item_request_builder.go b/chats/item_members_conversation_member_item_request_builder.go index 3f0b1b5cc8..bf1a59e261 100644 --- a/chats/item_members_conversation_member_item_request_builder.go +++ b/chats/item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. +// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat or channel. type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve a conversationMember from a chat. +// Get retrieve a conversationMember from a chat 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/chat-get-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a conversationMember from a chat. +// ToGetRequestInformation retrieve a conversationMember from a chat or channel. // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_answer_request_builder.go b/communications/calls_item_answer_request_builder.go index a43301f45f..fe25ba8763 100644 --- a/communications/calls_item_answer_request_builder.go +++ b/communications/calls_item_answer_request_builder.go @@ -30,7 +30,7 @@ func NewCallsItemAnswerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewCallsItemAnswerRequestBuilderInternal(urlParams, requestAdapter) } -// Post enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: +// Post enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -49,7 +49,7 @@ func (m *CallsItemAnswerRequestBuilder) Post(ctx context.Context, body CallsItem } return nil } -// ToPostRequestInformation enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: +// ToPostRequestInformation enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios: // returns a *RequestInformation when successful func (m *CallsItemAnswerRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemAnswerPostRequestBodyable, requestConfiguration *CallsItemAnswerRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_request_builder.go b/communications/calls_request_builder.go index 62e040c18a..22c7eec1e1 100644 --- a/communications/calls_request_builder.go +++ b/communications/calls_request_builder.go @@ -101,7 +101,7 @@ func (m *CallsRequestBuilder) Get(ctx context.Context, requestConfiguration *Cal func (m *CallsRequestBuilder) LogTeleconferenceDeviceQuality()(*CallsLogTeleconferenceDeviceQualityRequestBuilder) { return NewCallsLogTeleconferenceDeviceQualityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios: +// Post create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios: // returns a Callable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -138,7 +138,7 @@ func (m *CallsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios: +// ToPostRequestInformation create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios: // returns a *RequestInformation when successful func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Callable, requestConfiguration *CallsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/delta_request_builder.go b/contacts/delta_request_builder.go index 67c6ebb6c2..0f0d364229 100644 --- a/contacts/delta_request_builder.go +++ b/contacts/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. +// Get get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. +// ToGetRequestInformation get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contracts/delta_request_builder.go b/contracts/delta_request_builder.go index ea3bda16da..366e51c990 100644 --- a/contracts/delta_request_builder.go +++ b/contracts/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 898bed6344..106bf36130 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-apps-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-books-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-unlock-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 79a67bee17..d641a61a13 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 managedAppPolicy object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtection 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 managedAppPolicy object. +// Get read properties and relationships of the windowsInformationProtection 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-managedapppolicy-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-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 managedAppPolicy object. +// ToGetRequestInformation read properties and relationships of the windowsInformationProtection 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 e47893f261..6c86b16a50 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 managedAppPolicy objects. +// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the managedAppProtection 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 managedAppPolicy objects. +// Get list properties and relationships of the managedAppProtection 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-managedapppolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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 managedAppPolicy objects. +// ToGetRequestInformation list properties and relationships of the managedAppProtection 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_statuses_request_builder.go b/deviceappmanagement/managed_app_statuses_request_builder.go index ba029949f1..1d0ac0f5ab 100644 --- a/deviceappmanagement/managed_app_statuses_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatusRaw objects. +// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatus objects. type ManagedAppStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppStatusesRequestBuilder) Count()(*ManagedAppStatusesCountRequestBuilder) { return NewManagedAppStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppStatusRaw objects. +// Get list properties and relationships of the managedAppStatus objects. // returns a ManagedAppStatusCollectionResponseable 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-managedappstatusraw-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 func (m *ManagedAppStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ManagedAppStatusesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppStatusRaw objects. +// ToGetRequestInformation list properties and relationships of the managedAppStatus objects. // returns a *RequestInformation when successful func (m *ManagedAppStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(*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 60eda4c116..8304524f3e 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 @@ -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 { @@ -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_managed_e_book_item_request_builder.go b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go index f3ed21c726..079b72a383 100644 --- a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedEBooksManagedEBookItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters read properties and relationships of the iosVppEBook object. +// ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters read properties and relationships of the managedEBook object. type ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) Delete(ctx context.Context func (m *ManagedEBooksManagedEBookItemRequestBuilder) DeviceStates()(*ManagedEBooksItemDeviceStatesRequestBuilder) { return NewManagedEBooksItemDeviceStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the iosVppEBook object. +// Get read properties and relationships of the managedEBook object. // returns a ManagedEBookable 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-iosvppebook-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 func (m *ManagedEBooksManagedEBookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -150,7 +150,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosVppEBook object. +// ToGetRequestInformation read properties and relationships of the managedEBook object. // returns a *RequestInformation when successful func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderGetRequestConfiguration)(*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_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 24a1ea0744..ea20d950b7 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 iosVppApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the managedAndroidLobApp 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 androidLobApp. +// Delete deletes a windowsUniversalAppX. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-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 iosVppApp object. +// Get read properties and relationships of the managedAndroidLobApp 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-iosvppapp-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-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 windowsMicrosoftEdgeApp 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-windowsmicrosoftedgeapp-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 androidLobApp. +// ToDeleteRequestInformation deletes a windowsUniversalAppX. // 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 iosVppApp object. +// ToGetRequestInformation read properties and relationships of the managedAndroidLobApp 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 windowsMicrosoftEdgeApp 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 6bfd40e5cf..43de0512ae 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 iosLobApp objects. +// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the iosiPadOSWebClip 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 iosLobApp objects. +// Get list properties and relationships of the iosiPadOSWebClip 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-ioslobapp-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-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 iosVppApp object. +// Post create a new windowsMobileMSI 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-iosvppapp-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-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 iosLobApp objects. +// ToGetRequestInformation list properties and relationships of the iosiPadOSWebClip 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 iosVppApp object. +// ToPostRequestInformation create a new windowsMobileMSI 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/63373f53ce7802437f6ebbbe1df89329583f4e052b2884b3f72ba8792e877c39.go b/devicemanagement/63373f53ce7802437f6ebbbe1df89329583f4e052b2884b3f72ba8792e877c39.go new file mode 100644 index 0000000000..fc3b50b9ec --- /dev/null +++ b/devicemanagement/63373f53ce7802437f6ebbbe1df89329583f4e052b2884b3f72ba8792e877c39.go @@ -0,0 +1,84 @@ +package devicemanagement + +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" +) + +// VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. +type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. Read-only. Supports$expand. +type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderInternal instantiates a new VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) { + m := &VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/assignedUsers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder instantiates a new VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. Read-only. Supports$expand. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(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 +} +// ToGetRequestInformation the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. Read-only. Supports$expand. +// returns a *RequestInformation when successful +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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 *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} 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 696c0480e0..bbd7cd4f2e 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 macOSCompliancePolicy object. +// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsPhone81CompliancePolicy object. type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosCompliancePolicy. +// Delete deletes a windowsPhone81CompliancePolicy. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -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 macOSCompliancePolicy 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-macoscompliancepolicy-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 macOSCompliancePolicy object. +// Patch update the properties of a iosCompliancePolicy 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-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-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 { @@ -154,7 +154,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Sched func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ScheduledActionsForRule()(*DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a iosCompliancePolicy. +// ToDeleteRequestInformation deletes a windowsPhone81CompliancePolicy. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -165,7 +165,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the macOSCompliancePolicy 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 macOSCompliancePolicy object. +// ToPatchRequestInformation update the properties of a iosCompliancePolicy 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 6f0fc7e095..b5215f8eae 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 windows10MobileCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the macOSCompliancePolicy 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 windows10MobileCompliancePolicy objects. +// Get list properties and relationships of the macOSCompliancePolicy 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-windows10mobilecompliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-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 iosCompliancePolicy object. +// Post create a new androidWorkProfileCompliancePolicy 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-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-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 windows10MobileCompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the macOSCompliancePolicy 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 iosCompliancePolicy object. +// ToPostRequestInformation create a new androidWorkProfileCompliancePolicy 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 6d8534f593..f56c0dd5bc 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 iosUpdateConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the sharedPCConfiguration object. type DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windows10GeneralConfiguration. +// Delete deletes a iosUpdateConfiguration. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdateconfiguration-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -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 iosUpdateConfiguration object. +// Get read properties and relationships of the sharedPCConfiguration 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-iosupdateconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-sharedpcconfiguration-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 windows10TeamGeneralConfiguration object. +// Patch update the properties of a macOSGeneralDeviceConfiguration 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-windows10teamgeneralconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-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 { @@ -149,7 +149,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToDeleteRequestInformation deletes a windows10GeneralConfiguration. +// ToDeleteRequestInformation deletes a iosUpdateConfiguration. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -160,7 +160,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosUpdateConfiguration object. +// ToGetRequestInformation read properties and relationships of the sharedPCConfiguration 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 windows10TeamGeneralConfiguration object. +// ToPatchRequestInformation update the properties of a macOSGeneralDeviceConfiguration 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 6826d1ad33..d0287177e3 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the androidCustomConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the windows10GeneralConfiguration objects. type DeviceConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *DeviceConfigurationsRequestBuilder) Count()(*DeviceConfigurationsCountRequestBuilder) { return NewDeviceConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidCustomConfiguration objects. +// Get list properties and relationships of the windows10GeneralConfiguration objects. // returns a DeviceConfigurationCollectionResponseable 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-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-list?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new windowsUpdateForBusinessConfiguration object. +// Post create a new iosCustomConfiguration 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-windowsupdateforbusinessconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-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 { @@ -122,7 +122,7 @@ func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the androidCustomConfiguration objects. +// ToGetRequestInformation list properties and relationships of the windows10GeneralConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsUpdateForBusinessConfiguration object. +// ToPostRequestInformation create a new iosCustomConfiguration 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 ee4aadbefa..0e2701db5e 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 deviceEnrollmentConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentLimitConfiguration object. type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBu urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. +// Delete deletes a deviceEnrollmentPlatformRestrictionsConfiguration. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +83,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentConfiguration 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-deviceenrollmentconfiguration-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 { @@ -106,12 +106,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// Patch update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. +// Patch update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration 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-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) SetPriority()(*DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. +// ToDeleteRequestInformation deletes a deviceEnrollmentPlatformRestrictionsConfiguration. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +145,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentConfiguration 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) @@ -159,7 +159,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. +// ToPatchRequestInformation update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, 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 1bb76068dc..3e43eb19e4 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceEnrollmentConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentConfiguration objects. type DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceEnrollmentConfigurationsRequestBuilder(rawUrl string, requestAdapt func (m *DeviceEnrollmentConfigurationsRequestBuilder) Count()(*DeviceEnrollmentConfigurationsCountRequestBuilder) { return NewDeviceEnrollmentConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. +// Get list properties and relationships of the deviceEnrollmentConfiguration objects. // returns a DeviceEnrollmentConfigurationCollectionResponseable 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-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable), nil } -// Post create a new deviceEnrollmentPlatformRestrictionsConfiguration object. +// Post create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-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 { @@ -122,7 +122,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceEnrollmentConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceEnrollmentPlatformRestrictionsConfiguration object. +// ToPostRequestInformation create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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 4445aa677e..ba7c75bbdd 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementRequestBuilder) ExchangeConnectors()(*ExchangeConnector // 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-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-get?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -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-auditing-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/e966bfc904aa6b35895b71b62590ca9fb8bb08125bc0652c7e9e38fa049b48d8.go b/devicemanagement/e966bfc904aa6b35895b71b62590ca9fb8bb08125bc0652c7e9e38fa049b48d8.go index c615a76757..0a9ea878cb 100644 --- a/devicemanagement/e966bfc904aa6b35895b71b62590ca9fb8bb08125bc0652c7e9e38fa049b48d8.go +++ b/devicemanagement/e966bfc904aa6b35895b71b62590ca9fb8bb08125bc0652c7e9e38fa049b48d8.go @@ -46,6 +46,11 @@ type VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicy func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) AssignedUsers()(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// AssignedUsersWithUserPrincipalName provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. +// returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) AssignedUsersWithUserPrincipalName(userPrincipalName *string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} // NewVirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderInternal instantiates a new VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder and sets the default values. func NewVirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) { m := &VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder{ diff --git a/devicemanagement/reports_request_builder.go b/devicemanagement/reports_request_builder.go index 2595b379ca..1282a6b252 100644 --- a/devicemanagement/reports_request_builder.go +++ b/devicemanagement/reports_request_builder.go @@ -211,6 +211,11 @@ func (m *ReportsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable), nil } +// RetrieveDeviceAppInstallationStatusReport provides operations to call the retrieveDeviceAppInstallationStatusReport method. +// returns a *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder when successful +func (m *ReportsRequestBuilder) RetrieveDeviceAppInstallationStatusReport()(*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) { + return NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property reports for deviceManagement // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ReportsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/reports_retrieve_device_app_installation_status_report_post_request_body.go b/devicemanagement/reports_retrieve_device_app_installation_status_report_post_request_body.go new file mode 100644 index 0000000000..78bb4b7f97 --- /dev/null +++ b/devicemanagement/reports_retrieve_device_app_installation_status_report_post_request_body.go @@ -0,0 +1,427 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody instantiates a new ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody and sets the default values. +func NewReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody()(*ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) { + m := &ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody(), 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 *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) 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 *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) 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 *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupBy"] = 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.SetGroupBy(res) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["orderBy"] = 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.SetOrderBy(res) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = 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.SetSelectEscaped(res) + } + return nil + } + res["sessionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSessionId(val) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +// returns a *string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupBy gets the groupBy property value. The groupBy property +// returns a []string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetGroupBy()([]string) { + val, err := m.GetBackingStore().Get("groupBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetName gets the name property value. The name property +// returns a *string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOrderBy gets the orderBy property value. The orderBy property +// returns a []string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSearch gets the search property value. The search property +// returns a *string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +// returns a []string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetSelectEscaped()([]string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSessionId gets the sessionId property value. The sessionId property +// returns a *string when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetSessionId()(*string) { + val, err := m.GetBackingStore().Get("sessionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +// returns a *int32 when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +// returns a *int32 when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + if m.GetGroupBy() != nil { + err := writer.WriteCollectionOfStringValues("groupBy", m.GetGroupBy()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + if m.GetSelectEscaped() != nil { + err := writer.WriteCollectionOfStringValues("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("sessionId", m.GetSessionId()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + 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 *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) 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 *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupBy sets the groupBy property value. The groupBy property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetGroupBy(value []string)() { + err := m.GetBackingStore().Set("groupBy", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetSelectEscaped(value []string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSessionId sets the sessionId property value. The sessionId property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetSessionId(value *string)() { + err := m.GetBackingStore().Set("sessionId", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +type ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupBy()([]string) + GetName()(*string) + GetOrderBy()([]string) + GetSearch()(*string) + GetSelectEscaped()([]string) + GetSessionId()(*string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupBy(value []string)() + SetName(value *string)() + SetOrderBy(value []string)() + SetSearch(value *string)() + SetSelectEscaped(value []string)() + SetSessionId(value *string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/devicemanagement/reports_retrieve_device_app_installation_status_report_request_builder.go b/devicemanagement/reports_retrieve_device_app_installation_status_report_request_builder.go new file mode 100644 index 0000000000..b7c7e39cd2 --- /dev/null +++ b/devicemanagement/reports_retrieve_device_app_installation_status_report_request_builder.go @@ -0,0 +1,72 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder provides operations to call the retrieveDeviceAppInstallationStatusReport method. +type ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderInternal instantiates a new ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder and sets the default values. +func NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) { + m := &ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveDeviceAppInstallationStatusReport", pathParameters), + } + return m +} +// NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder instantiates a new ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder and sets the default values. +func NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action retrieveDeviceAppInstallationStatusReport +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) Post(ctx context.Context, body ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable, requestConfiguration *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration)([]byte, 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.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation invoke action retrieveDeviceAppInstallationStatusReport +// returns a *RequestInformation when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable, requestConfiguration *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration)(*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/octet-stream, 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 *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder when successful +func (m *ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) WithUrl(rawUrl string)(*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder) { + return NewReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_request_builder.go b/devicemanagement/role_definitions_request_builder.go index afbd2d65d8..ec677498e8 100644 --- a/devicemanagement/role_definitions_request_builder.go +++ b/devicemanagement/role_definitions_request_builder.go @@ -99,12 +99,12 @@ func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable), nil } -// Post create a new roleDefinition object. +// Post create a new deviceAndAppManagementRoleDefinition 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-roledefinition-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new roleDefinition object. +// ToPostRequestInformation create a new deviceAndAppManagementRoleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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..399b601647 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the roleDefinition object. +// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the deviceAndAppManagementRoleDefinition object. type RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read properties and relationships of the roleDefinition object. +// Get read properties and relationships of the deviceAndAppManagementRoleDefinition 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-roledefinition-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -135,7 +135,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the roleDefinition object. +// ToGetRequestInformation read properties and relationships of the deviceAndAppManagementRoleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/delta_request_builder.go b/devices/delta_request_builder.go index f91facf016..4498b91d31 100644 --- a/devices/delta_request_builder.go +++ b/devices/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. +// Get get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. +// GetAsDeltaGetResponse get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. +// ToGetRequestInformation get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/administrative_units_request_builder.go b/directory/administrative_units_request_builder.go index 6042063e71..fb37516014 100644 --- a/directory/administrative_units_request_builder.go +++ b/directory/administrative_units_request_builder.go @@ -104,7 +104,7 @@ func (m *AdministrativeUnitsRequestBuilder) Get(ctx context.Context, requestConf } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdministrativeUnitCollectionResponseable), nil } -// Post use this API to create a new administrativeUnit. +// Post create a new administrativeUnit. // returns a AdministrativeUnitable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -141,7 +141,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new administrativeUnit. +// ToPostRequestInformation create a new administrativeUnit. // returns a *RequestInformation when successful func (m *AdministrativeUnitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdministrativeUnitable, requestConfiguration *AdministrativeUnitsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryobjects/delta_request_builder.go b/directoryobjects/delta_request_builder.go index 138cf198f0..9a7477bd56 100644 --- a/directoryobjects/delta_request_builder.go +++ b/directoryobjects/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/delta_request_builder.go b/directoryroles/delta_request_builder.go index cb58b74f36..d0ad43f8ed 100644 --- a/directoryroles/delta_request_builder.go +++ b/directoryroles/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. +// Get get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. +// ToGetRequestInformation get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroletemplates/delta_request_builder.go b/directoryroletemplates/delta_request_builder.go index 048b1edc4c..6c1744397b 100644 --- a/directoryroletemplates/delta_request_builder.go +++ b/directoryroletemplates/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index e472b5a171..eb260627bb 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -93,12 +93,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable), nil } -// Patch lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// Patch apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a ItemRetentionLabelable 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/driveitem-lockorunlockrecord?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// ToPatchRequestInformation apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) 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/employeeexperience/communities_community_item_request_builder.go b/employeeexperience/communities_community_item_request_builder.go index 43a408ecde..b1ca17a120 100644 --- a/employeeexperience/communities_community_item_request_builder.go +++ b/employeeexperience/communities_community_item_request_builder.go @@ -106,6 +106,11 @@ func (m *CommunitiesCommunityItemRequestBuilder) Group()(*CommunitiesItemGroupRe func (m *CommunitiesCommunityItemRequestBuilder) Owners()(*CommunitiesItemOwnersRequestBuilder) { return NewCommunitiesItemOwnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// OwnersWithUserPrincipalName provides operations to manage the owners property of the microsoft.graph.community entity. +// returns a *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder when successful +func (m *CommunitiesCommunityItemRequestBuilder) OwnersWithUserPrincipalName(userPrincipalName *string)(*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) { + return NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} // Patch update the properties of an existing Viva Engage community. // returns a Communityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/employeeexperience/communities_item_owners_with_user_principal_name_request_builder.go b/employeeexperience/communities_item_owners_with_user_principal_name_request_builder.go new file mode 100644 index 0000000000..20fcea9a24 --- /dev/null +++ b/employeeexperience/communities_item_owners_with_user_principal_name_request_builder.go @@ -0,0 +1,84 @@ +package employeeexperience + +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" +) + +// CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder provides operations to manage the owners property of the microsoft.graph.community entity. +type CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetQueryParameters the admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. +type CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilderInternal instantiates a new CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder and sets the default values. +func NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) { + m := &CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/communities/{community%2Did}/owners(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilder instantiates a new CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder and sets the default values. +func NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get the admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(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 +} +// ToGetRequestInformation the admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. +// returns a *RequestInformation when successful +func (m *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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 *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder when successful +func (m *CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder) { + return NewCommunitiesItemOwnersWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} 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 a1ac084e7a..570aa37c17 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 create a new externalItem object. +// Put update the properties of an 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-externalconnection-put-items?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?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 create a new externalItem object. +// ToPutRequestInformation update the properties of an 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/graph_base_service_client.go b/graph_base_service_client.go index bdd78ffc72..2e25d6bb53 100644 --- a/graph_base_service_client.go +++ b/graph_base_service_client.go @@ -52,6 +52,7 @@ import ( ia3e0f7c2d21d5c73ecb8a7552177d0fe444ae0522290dd1c4b5559e449b118af "github.com/microsoftgraph/msgraph-sdk-go/places" ia4b736f581ceef30e9ef8cebd9a6c2b932628e087982ff3dd2c9a0f1a920a918 "github.com/microsoftgraph/msgraph-sdk-go/compliance" ia6e876e3ed2d92c29c13dbc8c37513bc38d0d5f05ab9321e43a25ff336912a2d "github.com/microsoftgraph/msgraph-sdk-go/groups" + ia724ceb8aa9a4939c178de6ca2fb2580087bc8dbeb163ad5367a6c4f1c5b51ee "github.com/microsoftgraph/msgraph-sdk-go/userswithuserprincipalname" iaca6694a878291d0e4021155b406c19d3080cdfc382b456e43c71264d4d9e519 "github.com/microsoftgraph/msgraph-sdk-go/domaindnsrecords" ib14d748b564c787931c10f1c7ba6856eeddea29a5b9e5c5c27eb1224ff65e5c4 "github.com/microsoftgraph/msgraph-sdk-go/directory" ib3217193884e00033cb8182cac52178dfa3b20ce9c4eb48e37a6217882d956ae "github.com/microsoftgraph/msgraph-sdk-go/external" @@ -477,3 +478,8 @@ func (m *GraphBaseServiceClient) TenantRelationships()(*i80d5f91f6f8d9dc34283313 func (m *GraphBaseServiceClient) Users()(*if6ffd1464db2d9c22e351b03e4c00ebd24a5353cd70ffb7f56cfad1c3ceec329.UsersRequestBuilder) { return if6ffd1464db2d9c22e351b03e4c00ebd24a5353cd70ffb7f56cfad1c3ceec329.NewUsersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// UsersWithUserPrincipalName provides operations to manage the collection of user entities. +// returns a *UsersWithUserPrincipalNameRequestBuilder when successful +func (m *GraphBaseServiceClient) UsersWithUserPrincipalName(userPrincipalName *string)(*ia724ceb8aa9a4939c178de6ca2fb2580087bc8dbeb163ad5367a6c4f1c5b51ee.UsersWithUserPrincipalNameRequestBuilder) { + return ia724ceb8aa9a4939c178de6ca2fb2580087bc8dbeb163ad5367a6c4f1c5b51ee.NewUsersWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} diff --git a/groups/delta_request_builder.go b/groups/delta_request_builder.go index 02aeb2d9a2..50ef0eab59 100644 --- a/groups/delta_request_builder.go +++ b/groups/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. +// Get get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. +// ToGetRequestInformation get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 443889da01..3c46511b9e 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -114,12 +114,12 @@ func (m *GroupsRequestBuilder) GetAvailableExtensionProperties()(*GetAvailableEx func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// Post create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a Groupable 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-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 func (m *GroupsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -151,7 +151,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// ToPostRequestInformation create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index 01fd23161c..0caa6b08a6 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // 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-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 3ebc7a8359..292212aabe 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -99,12 +99,12 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationCollectionResponseable), nil } -// Post use reply thread or reply post to further post to that conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // 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/group-post-conversations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use reply thread or reply post to further post to that conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_owners_ref_request_builder.go b/groups/item_owners_ref_request_builder.go index ab35fba719..aa71bdd7b5 100644 --- a/groups/item_owners_ref_request_builder.go +++ b/groups/item_owners_ref_request_builder.go @@ -25,7 +25,7 @@ type ItemOwnersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnersRefRequestBuilderDeleteQueryParameters } -// ItemOwnersRefRequestBuilderGetQueryParameters retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. +// ItemOwnersRefRequestBuilderGetQueryParameters retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. type ItemOwnersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -88,7 +88,7 @@ func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfigu } return nil } -// Get retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. +// Get retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -144,7 +144,7 @@ func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. +// ToGetRequestInformation retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_owners_request_builder.go b/groups/item_owners_request_builder.go index 8b22e494c1..8ef4bb0ebe 100644 --- a/groups/item_owners_request_builder.go +++ b/groups/item_owners_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOwnersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOwnersRequestBuilderGetQueryParameters retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. +// ItemOwnersRequestBuilderGetQueryParameters retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. type ItemOwnersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,7 +69,7 @@ func NewItemOwnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *ItemOwnersRequestBuilder) Count()(*ItemOwnersCountRequestBuilder) { return NewItemOwnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. +// Get retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -127,7 +127,7 @@ func (m *ItemOwnersRequestBuilder) GraphUser()(*ItemOwnersGraphUserRequestBuilde func (m *ItemOwnersRequestBuilder) Ref()(*ItemOwnersRefRequestBuilder) { return NewItemOwnersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment. +// ToGetRequestInformation retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. // returns a *RequestInformation when successful func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRequestBuilderGetRequestConfiguration)(*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 afe7e7d2c6..be821a0db8 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 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. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// 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. +// Get get a thread object. // 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/conversationthread-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?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 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. +// ToGetRequestInformation get a thread object. // 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_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index aa5013a5c7..fbdaa2d0b8 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // 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-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groupsettingtemplates/delta_request_builder.go b/groupsettingtemplates/delta_request_builder.go index a748592928..16f972ebe1 100644 --- a/groupsettingtemplates/delta_request_builder.go +++ b/groupsettingtemplates/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*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 a5b926da82..b2826c3ece 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 an ipNamedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a namedLocation 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 an ipNamedLocation object. +// Get retrieve the properties and relationships of a namedLocation 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/ipnamedlocation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-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 an ipNamedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of a namedLocation 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/1ab25d519d80a350c7aad2018fdacaa60b377fea48d74460d8f8ca09af42dabc.go b/identitygovernance/1ab25d519d80a350c7aad2018fdacaa60b377fea48d74460d8f8ca09af42dabc.go index af82d99562..1ce9dd8360 100644 --- a/identitygovernance/1ab25d519d80a350c7aad2018fdacaa60b377fea48d74460d8f8ca09af42dabc.go +++ b/identitygovernance/1ab25d519d80a350c7aad2018fdacaa60b377fea48d74460d8f8ca09af42dabc.go @@ -54,7 +54,7 @@ func NewEntitlementManagementAccessPackagesItemResourceRoleScopesAccessPackageRe urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. +// Delete remove an accessPackageResourceRoleScope from an accessPackage list of resource role scopes. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -123,7 +123,7 @@ func (m *EntitlementManagementAccessPackagesItemResourceRoleScopesAccessPackageR func (m *EntitlementManagementAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) Scope()(*EntitlementManagementAccessPackagesItemResourceRoleScopesItemScopeRequestBuilder) { return NewEntitlementManagementAccessPackagesItemResourceRoleScopesItemScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. +// ToDeleteRequestInformation remove an accessPackageResourceRoleScope from an accessPackage list of resource role scopes. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 623afecb77..b811636392 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// Get retrieve the properties and relationships of an accessPackage object. // returns a AccessPackageable 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/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_assignment_policies_request_builder.go index a7148ae912..d1744c714c 100644 --- a/identitygovernance/entitlement_management_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAssignmentPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAssignmentPoliciesRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter. +// EntitlementManagementAssignmentPoliciesRequestBuilderGetQueryParameters retrieve a list of accessPackageAssignmentPolicy objects in Microsoft Entra entitlement management. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter. type EntitlementManagementAssignmentPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewEntitlementManagementAssignmentPoliciesRequestBuilder(rawUrl string, req func (m *EntitlementManagementAssignmentPoliciesRequestBuilder) Count()(*EntitlementManagementAssignmentPoliciesCountRequestBuilder) { return NewEntitlementManagementAssignmentPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter. +// Get retrieve a list of accessPackageAssignmentPolicy objects in Microsoft Entra entitlement management. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter. // returns a AccessPackageAssignmentPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -99,7 +99,7 @@ func (m *EntitlementManagementAssignmentPoliciesRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageAssignmentPolicyCollectionResponseable), nil } -// Post in Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. +// Post create a new accessPackageAssignmentPolicy object in Microsoft Entra entitlement management. The request includes a reference to the accessPackage that contains this policy, which must already exist. // returns a AccessPackageAssignmentPolicyable 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 *EntitlementManagementAssignmentPoliciesRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageAssignmentPolicyable), nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter. +// ToGetRequestInformation retrieve a list of accessPackageAssignmentPolicy objects in Microsoft Entra entitlement management. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=assignmentPolicies as a query parameter. // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *EntitlementManagementAssignmentPoliciesRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation in Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. +// ToPostRequestInformation create a new accessPackageAssignmentPolicy object in Microsoft Entra entitlement management. The request includes a reference to the accessPackage that contains this policy, which must already exist. // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageAssignmentPolicyable, requestConfiguration *EntitlementManagementAssignmentPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 49ff1bcfea..f56c6e8f6e 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -4122,15 +4122,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePo github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|GetServiceManagementReference():*string github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|public|SetServiceManagementReference(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable::|public|GetServiceManagementReference():*string github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable::|public|SetServiceManagementReference(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiatePostRequestBody~~>ItemInstantiatePostRequestBodyable github.com/microsoftgraph/msgraph-sdk-go/.applicationtemplates.ItemInstantiateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder @@ -22658,11 +22662,71 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable; ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|retrieveDeviceAppInstallationStatusReport():*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable; ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetFilter():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetGroupBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetOrderBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetSearch():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetSelectEscaped():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetSessionId():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetSkip():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|GetTop():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetFilter(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetGroupBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetOrderBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetSearch(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetSelectEscaped(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetSessionId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetSkip(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|public|SetTop(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetFilter():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetGroupBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetOrderBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetSearch():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetSelectEscaped():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetSessionId():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetSkip():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|GetTop():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetFilter(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetGroupBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetOrderBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetSearch(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetSelectEscaped(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetSessionId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetSkip(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable::|public|SetTop(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBody~~>ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|Post(body:ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|ToPostRequestInformation(body:ReportsRetrieveDeviceAppInstallationStatusReportPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsRetrieveDeviceAppInstallationStatusReportRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ResourceOperationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ResourceOperationsCountRequestBuilder.ResourceOperationsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.ResourceOperationsCountRequestBuilder.ResourceOperationsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -25491,6 +25555,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvis github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|assignedUsers():*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|assignedUsersWithUserPrincipalName(userPrincipalName:*string):*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration):void @@ -25622,6 +25687,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvis github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder.VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -69156,6 +69235,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunit github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CommunitiesCommunityItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Communityable github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|group():*CommunitiesItemGroupRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|owners():*CommunitiesItemOwnersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|ownersWithUserPrincipalName(userPrincipalName:*string):*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Communityable; ctx:context.Context; requestConfiguration?:*CommunitiesCommunityItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Communityable github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesCommunityItemRequestBuilder::|public|requestAdapter:RequestAdapter @@ -69333,6 +69413,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwne github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersUserItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CommunitiesItemOwnersUserItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersUserItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersUserItemRequestBuilder::|public|WithUrl(rawUrl:string):*CommunitiesItemOwnersUserItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*CommunitiesItemOwnersWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesRequestBuilder.CommunitiesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.CommunitiesRequestBuilder.CommunitiesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -70437,6 +70531,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.GraphBaseServiceClient::|public|teamwo github.com/microsoftgraph/msgraph-sdk-go/.GraphBaseServiceClient::|public|tenantRelationships():*i80d5f91f6f8d9dc3428331303d1837675adde9653ceda73f120faa5f0545ac4b.TenantRelationshipsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.GraphBaseServiceClient::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.GraphBaseServiceClient::|public|users():*if6ffd1464db2d9c22e351b03e4c00ebd24a5353cd70ffb7f56cfad1c3ceec329.UsersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.GraphBaseServiceClient::|public|usersWithUserPrincipalName(userPrincipalName:*string):*ia724ceb8aa9a4939c178de6ca2fb2580087bc8dbeb163ad5367a6c4f1c5b51ee.UsersWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.grouplifecyclepolicies.CountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.grouplifecyclepolicies.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.grouplifecyclepolicies.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:*string @@ -126410,21 +126505,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetBacking github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetHideBotAfterEscalation():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetIsContentSharingNotificationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetIsDeltaRosterEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetHideBotAfterEscalation(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetIsContentSharingNotificationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetIsDeltaRosterEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetHideBotAfterEscalation():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetIsContentSharingNotificationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetIsDeltaRosterEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetHideBotAfterEscalation(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetIsContentSharingNotificationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetIsDeltaRosterEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions~~>CallOptionsable @@ -126537,6 +126636,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.callRecordingStatus::0001-failu github.com/microsoftgraph/msgraph-sdk-go/.models.callRecordingStatus::0002-initial github.com/microsoftgraph/msgraph-sdk-go/.models.callRecordingStatus::0003-chunkFinished github.com/microsoftgraph/msgraph-sdk-go/.models.callRecordingStatus::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|GetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|SetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable::|public|GetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable::|public|SetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.administrativeUnitInfo~~>AdministrativeUnitInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.audioCodec::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.audioCodec::0001-invalid github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.audioCodec::0002-cn @@ -127257,13 +127376,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participant::|stati github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ParticipantBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|GetAdministrativeUnitInfos():[]AdministrativeUnitInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|GetIdentity():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|SetAdministrativeUnitInfos(value:[]AdministrativeUnitInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|public|SetIdentity(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBaseable::|public|GetAdministrativeUnitInfos():[]AdministrativeUnitInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBaseable::|public|GetIdentity():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBaseable::|public|SetAdministrativeUnitInfos(value:[]AdministrativeUnitInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBaseable::|public|SetIdentity(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantBaseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.callrecords.participantCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse @@ -128767,26 +128890,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|co github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetReactionContentUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetReactionType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|GetUser():ChatMessageReactionIdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetReactionContentUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetReactionType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|public|SetUser(value:ChatMessageReactionIdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReaction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetReactionContentUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetReactionType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|GetUser():ChatMessageReactionIdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetReactionContentUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetReactionType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable::|public|SetUser(value:ChatMessageReactionIdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatMessageReactionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -141611,6 +141742,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|G 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|GetPermissions():[]Permissionable +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 github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|OdataType:*string @@ -141622,6 +141754,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|S 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|SetPermissions(value:[]Permissionable):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 github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -141632,6 +141765,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ 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|GetPermissions():[]Permissionable +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 github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetContainerTypeId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void @@ -141641,6 +141775,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ 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|SetPermissions(value:[]Permissionable):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 github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -141661,6 +141796,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCustomPrope github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCustomPropertyDictionary::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCustomPropertyDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCustomPropertyDictionaryable~~>Dictionaryable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|GetIsOcrEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|SetIsOcrEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable::|public|GetIsOcrEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable::|public|SetIsOcrEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings~~>FileStorageContainerSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerStatus::0000-inactive github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerStatus::0001-active github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerStatus::0002-unknownFutureValue @@ -168769,8 +168924,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeAreas::0000-mailb github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeAreas::0001-teamsMessages github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeAreas::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeType::0000-recoverable -github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeType::0001-permanentlyDeleted -github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeType::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeType::0002-permanentlyDelete github.com/microsoftgraph/msgraph-sdk-go/.models.security.queryType::0000-files github.com/microsoftgraph/msgraph-sdk-go/.models.security.queryType::0001-messages github.com/microsoftgraph/msgraph-sdk-go/.models.security.queryType::0002-unknownFutureValue @@ -175550,19 +175705,23 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppable~~>Entityable; *i87 github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|GetClientAppId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|GetRequiredPermissionSet():TeamsAppPermissionSetable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|SetClientAppId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|public|SetRequiredPermissionSet(value:TeamsAppPermissionSetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorization::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|GetClientAppId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|GetRequiredPermissionSet():TeamsAppPermissionSetable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|SetClientAppId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable::|public|SetRequiredPermissionSet(value:TeamsAppPermissionSetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsAppAuthorizationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -183356,6 +183515,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|SetUni github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable~~>MobileLobAppable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings-->*MobileAppAssignmentSettings github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|GetAutoUpdateSettings():Win32LobAppAutoUpdateSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|GetDeliveryOptimizationPriority():*Win32LobAppDeliveryOptimizationPriority github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|GetInstallTimeSettings():MobileAppInstallTimeSettingsable @@ -183363,20 +183523,43 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings:: github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|GetRestartSettings():Win32LobAppRestartSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|SetAutoUpdateSettings(value:Win32LobAppAutoUpdateSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|SetDeliveryOptimizationPriority(value:*Win32LobAppDeliveryOptimizationPriority):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|SetInstallTimeSettings(value:MobileAppInstallTimeSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|SetNotifications(value:*Win32LobAppNotification):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|public|SetRestartSettings(value:Win32LobAppRestartSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|GetAutoUpdateSettings():Win32LobAppAutoUpdateSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|GetDeliveryOptimizationPriority():*Win32LobAppDeliveryOptimizationPriority github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|GetInstallTimeSettings():MobileAppInstallTimeSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|GetNotifications():*Win32LobAppNotification github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|GetRestartSettings():Win32LobAppRestartSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|SetAutoUpdateSettings(value:Win32LobAppAutoUpdateSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|SetDeliveryOptimizationPriority(value:*Win32LobAppDeliveryOptimizationPriority):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|SetInstallTimeSettings(value:MobileAppInstallTimeSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|SetNotifications(value:*Win32LobAppNotification):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable::|public|SetRestartSettings(value:Win32LobAppRestartSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAssignmentSettingsable~~>MobileAppAssignmentSettingsable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|GetAutoUpdateSupersededAppsState():*Win32LobAutoUpdateSupersededAppsState +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|SetAutoUpdateSupersededAppsState(value:*Win32LobAutoUpdateSupersededAppsState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable::|public|GetAutoUpdateSupersededAppsState():*Win32LobAutoUpdateSupersededAppsState +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable::|public|SetAutoUpdateSupersededAppsState(value:*Win32LobAutoUpdateSupersededAppsState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppAutoUpdateSettings~~>Win32LobAppAutoUpdateSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppCollectionResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -183692,6 +183875,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppRuleOperator::0006-l github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppRuleType::0000-detection github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppRuleType::0001-requirement github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppRule~~>Win32LobAppRuleable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAutoUpdateSupersededAppsState::0000-notConfigured +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAutoUpdateSupersededAppsState::0001-enabled +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAutoUpdateSupersededAppsState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.windows10CompliancePolicy-->*DeviceCompliancePolicy github.com/microsoftgraph/msgraph-sdk-go/.models.windows10CompliancePolicy::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.windows10CompliancePolicy::|public|GetBitLockerEnabled():*bool @@ -195229,6 +195415,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemAppro github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversUserItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemApproversUserItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversUserItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversUserItemRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemApproversUserItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsCountRequestBuilder.SubjectRightsRequestsItemCollaboratorsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsCountRequestBuilder.SubjectRightsRequestsItemCollaboratorsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -195334,6 +195534,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemColla github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption @@ -195469,7 +195683,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRi github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|approvers():*SubjectRightsRequestsItemApproversRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|approversWithUserPrincipalName(userPrincipalName:*string):*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|collaborators():*SubjectRightsRequestsItemCollaboratorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|collaboratorsWithUserPrincipalName(userPrincipalName:*string):*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.privacy.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration):void @@ -204854,6 +205070,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemAppr github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversUserItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemApproversUserItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversUserItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversUserItemRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemApproversUserItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsCountRequestBuilder.SubjectRightsRequestsItemCollaboratorsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsCountRequestBuilder.SubjectRightsRequestsItemCollaboratorsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -204959,6 +205189,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemColl github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder.SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption @@ -205094,7 +205338,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectR github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|approvers():*SubjectRightsRequestsItemApproversRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|approversWithUserPrincipalName(userPrincipalName:*string):*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|collaborators():*SubjectRightsRequestsItemCollaboratorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|collaboratorsWithUserPrincipalName(userPrincipalName:*string):*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration):void @@ -262266,3 +262512,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ValidatePropertiesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ValidatePropertiesRequestBuilder::|public|ToPostRequestInformation(body:ValidatePropertiesPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ValidatePropertiesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ValidatePropertiesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ValidatePropertiesRequestBuilder::|public|WithUrl(rawUrl:string):*ValidatePropertiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersWithUserPrincipalNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder.UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; userPrincipalName?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable; ctx:context.Context; requestConfiguration?:*UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable; ctx:context.Context; requestConfiguration?:*UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.userswithuserprincipalname.usersWithUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):*UsersWithUserPrincipalNameRequestBuilder diff --git a/kiota-lock.json b/kiota-lock.json index 192ece1891..2d2a9703a8 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "C29BFD40F799FBA40A49274D54C2BE5CE5DA96CF74720AD3F50AFB4B035480BAABB49681E1476C314C313DE05ACE32768E100A64471DABC6C6C327AB86736493", + "descriptionHash": "909EF057E40AC744A18C7CD5455D660EFC55491D3B63C22323530B88453DF44C26EEF48273588B8EB1CF43487AADA87ECB563D1906AA06633040285E38DE5A3B", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.20.0", + "kiotaVersion": "1.21.0", "clientClassName": "GraphBaseServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-go/", @@ -31,7 +31,9 @@ "includePatterns": [], "excludePatterns": [ "/me", - "/me/**" + "/me/**", + "/copilot", + "/copilot/**" ], "disabledValidationRules": [] } \ No newline at end of file diff --git a/models/administrative_unit.go b/models/administrative_unit.go index f508a251a8..b2a62bc6e4 100644 --- a/models/administrative_unit.go +++ b/models/administrative_unit.go @@ -205,7 +205,7 @@ func (m *AdministrativeUnit) GetMembers()([]DirectoryObjectable) { } return nil } -// GetMembershipRule gets the membershipRule property value. The membershipRule property +// GetMembershipRule gets the membershipRule property value. The dynamic membership rule for the administrative unit. For more information about the rules you can use for dynamic administrative units and dynamic groups, see Manage rules for dynamic membership groups in Microsoft Entra ID. // returns a *string when successful func (m *AdministrativeUnit) GetMembershipRule()(*string) { val, err := m.GetBackingStore().Get("membershipRule") @@ -217,7 +217,7 @@ func (m *AdministrativeUnit) GetMembershipRule()(*string) { } return nil } -// GetMembershipRuleProcessingState gets the membershipRuleProcessingState property value. The membershipRuleProcessingState property +// GetMembershipRuleProcessingState gets the membershipRuleProcessingState property value. Controls whether the dynamic membership rule is actively processed. Set to On to activate the dynamic membership rule, or Paused to stop updating membership dynamically. // returns a *string when successful func (m *AdministrativeUnit) GetMembershipRuleProcessingState()(*string) { val, err := m.GetBackingStore().Get("membershipRuleProcessingState") @@ -229,7 +229,7 @@ func (m *AdministrativeUnit) GetMembershipRuleProcessingState()(*string) { } return nil } -// GetMembershipType gets the membershipType property value. The membershipType property +// GetMembershipType gets the membershipType property value. Indicates the membership type for the administrative unit. The possible values are: dynamic, assigned. If not set, the default value is null and the default behavior is assigned. // returns a *string when successful func (m *AdministrativeUnit) GetMembershipType()(*string) { val, err := m.GetBackingStore().Get("membershipType") @@ -253,7 +253,7 @@ func (m *AdministrativeUnit) GetScopedRoleMembers()([]ScopedRoleMembershipable) } return nil } -// GetVisibility gets the visibility property value. Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. +// GetVisibility gets the visibility property value. Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set, the default value is null and the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. // returns a *string when successful func (m *AdministrativeUnit) GetVisibility()(*string) { val, err := m.GetBackingStore().Get("visibility") @@ -386,21 +386,21 @@ func (m *AdministrativeUnit) SetMembers(value []DirectoryObjectable)() { panic(err) } } -// SetMembershipRule sets the membershipRule property value. The membershipRule property +// SetMembershipRule sets the membershipRule property value. The dynamic membership rule for the administrative unit. For more information about the rules you can use for dynamic administrative units and dynamic groups, see Manage rules for dynamic membership groups in Microsoft Entra ID. func (m *AdministrativeUnit) SetMembershipRule(value *string)() { err := m.GetBackingStore().Set("membershipRule", value) if err != nil { panic(err) } } -// SetMembershipRuleProcessingState sets the membershipRuleProcessingState property value. The membershipRuleProcessingState property +// SetMembershipRuleProcessingState sets the membershipRuleProcessingState property value. Controls whether the dynamic membership rule is actively processed. Set to On to activate the dynamic membership rule, or Paused to stop updating membership dynamically. func (m *AdministrativeUnit) SetMembershipRuleProcessingState(value *string)() { err := m.GetBackingStore().Set("membershipRuleProcessingState", value) if err != nil { panic(err) } } -// SetMembershipType sets the membershipType property value. The membershipType property +// SetMembershipType sets the membershipType property value. Indicates the membership type for the administrative unit. The possible values are: dynamic, assigned. If not set, the default value is null and the default behavior is assigned. func (m *AdministrativeUnit) SetMembershipType(value *string)() { err := m.GetBackingStore().Set("membershipType", value) if err != nil { @@ -414,7 +414,7 @@ func (m *AdministrativeUnit) SetScopedRoleMembers(value []ScopedRoleMembershipab panic(err) } } -// SetVisibility sets the visibility property value. Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. +// SetVisibility sets the visibility property value. Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set, the default value is null and the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. func (m *AdministrativeUnit) SetVisibility(value *string)() { err := m.GetBackingStore().Set("visibility", value) if err != nil { diff --git a/models/call_options.go b/models/call_options.go index 1d71b2144c..3ccd810db3 100644 --- a/models/call_options.go +++ b/models/call_options.go @@ -84,6 +84,16 @@ func (m *CallOptions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["isDeltaRosterEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDeltaRosterEnabled(val) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -120,6 +130,18 @@ func (m *CallOptions) GetIsContentSharingNotificationEnabled()(*bool) { } return nil } +// GetIsDeltaRosterEnabled gets the isDeltaRosterEnabled property value. Indicates whether delta roster is enabled for the call. +// returns a *bool when successful +func (m *CallOptions) GetIsDeltaRosterEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isDeltaRosterEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetOdataType gets the @odata.type property value. The OdataType property // returns a *string when successful func (m *CallOptions) GetOdataType()(*string) { @@ -146,6 +168,12 @@ func (m *CallOptions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + { + err := writer.WriteBoolValue("isDeltaRosterEnabled", m.GetIsDeltaRosterEnabled()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { @@ -185,6 +213,13 @@ func (m *CallOptions) SetIsContentSharingNotificationEnabled(value *bool)() { panic(err) } } +// SetIsDeltaRosterEnabled sets the isDeltaRosterEnabled property value. Indicates whether delta roster is enabled for the call. +func (m *CallOptions) SetIsDeltaRosterEnabled(value *bool)() { + err := m.GetBackingStore().Set("isDeltaRosterEnabled", value) + if err != nil { + panic(err) + } +} // SetOdataType sets the @odata.type property value. The OdataType property func (m *CallOptions) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) @@ -199,9 +234,11 @@ type CallOptionsable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetHideBotAfterEscalation()(*bool) GetIsContentSharingNotificationEnabled()(*bool) + GetIsDeltaRosterEnabled()(*bool) GetOdataType()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetHideBotAfterEscalation(value *bool)() SetIsContentSharingNotificationEnabled(value *bool)() + SetIsDeltaRosterEnabled(value *bool)() SetOdataType(value *string)() } diff --git a/models/callrecords/administrative_unit_info.go b/models/callrecords/administrative_unit_info.go new file mode 100644 index 0000000000..55af97f529 --- /dev/null +++ b/models/callrecords/administrative_unit_info.go @@ -0,0 +1,150 @@ +package callrecords + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AdministrativeUnitInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAdministrativeUnitInfo instantiates a new AdministrativeUnitInfo and sets the default values. +func NewAdministrativeUnitInfo()(*AdministrativeUnitInfo) { + m := &AdministrativeUnitInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAdministrativeUnitInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdministrativeUnitInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdministrativeUnitInfo(), 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 *AdministrativeUnitInfo) 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 *AdministrativeUnitInfo) 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 *AdministrativeUnitInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetId(val) + } + 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 + } + return res +} +// GetId gets the id property value. Unique identifier for the administrative unit. +// returns a *string when successful +func (m *AdministrativeUnitInfo) GetId()(*string) { + val, err := m.GetBackingStore().Get("id") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AdministrativeUnitInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AdministrativeUnitInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("id", m.GetId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + 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 *AdministrativeUnitInfo) 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 *AdministrativeUnitInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetId sets the id property value. Unique identifier for the administrative unit. +func (m *AdministrativeUnitInfo) SetId(value *string)() { + err := m.GetBackingStore().Set("id", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AdministrativeUnitInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AdministrativeUnitInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetId()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetId(value *string)() + SetOdataType(value *string)() +} diff --git a/models/callrecords/participant_base.go b/models/callrecords/participant_base.go index be03979b6f..7bfe17a0d4 100644 --- a/models/callrecords/participant_base.go +++ b/models/callrecords/participant_base.go @@ -40,10 +40,38 @@ func CreateParticipantBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896 } return NewParticipantBase(), nil } +// GetAdministrativeUnitInfos gets the administrativeUnitInfos property value. List of administrativeUnitInfo objects for the call participant. +// returns a []AdministrativeUnitInfoable when successful +func (m *ParticipantBase) GetAdministrativeUnitInfos()([]AdministrativeUnitInfoable) { + val, err := m.GetBackingStore().Get("administrativeUnitInfos") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AdministrativeUnitInfoable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ParticipantBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["administrativeUnitInfos"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAdministrativeUnitInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AdministrativeUnitInfoable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AdministrativeUnitInfoable) + } + } + m.SetAdministrativeUnitInfos(res) + } + return nil + } res["identity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCommunicationsIdentitySetFromDiscriminatorValue) if err != nil { @@ -74,6 +102,18 @@ func (m *ParticipantBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 if err != nil { return err } + if m.GetAdministrativeUnitInfos() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAdministrativeUnitInfos())) + for i, v := range m.GetAdministrativeUnitInfos() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("administrativeUnitInfos", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("identity", m.GetIdentity()) if err != nil { @@ -82,6 +122,13 @@ func (m *ParticipantBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } +// SetAdministrativeUnitInfos sets the administrativeUnitInfos property value. List of administrativeUnitInfo objects for the call participant. +func (m *ParticipantBase) SetAdministrativeUnitInfos(value []AdministrativeUnitInfoable)() { + err := m.GetBackingStore().Set("administrativeUnitInfos", value) + if err != nil { + panic(err) + } +} // SetIdentity sets the identity property value. The identity of the call participant. func (m *ParticipantBase) SetIdentity(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable)() { err := m.GetBackingStore().Set("identity", value) @@ -92,6 +139,8 @@ func (m *ParticipantBase) SetIdentity(value iadcd81124412c61e647227ecfc4449d8bba type ParticipantBaseable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdministrativeUnitInfos()([]AdministrativeUnitInfoable) GetIdentity()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable) + SetAdministrativeUnitInfos(value []AdministrativeUnitInfoable)() SetIdentity(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CommunicationsIdentitySetable)() } diff --git a/models/chat_message_reaction.go b/models/chat_message_reaction.go index dc42f0b04a..9c4a22f2d8 100644 --- a/models/chat_message_reaction.go +++ b/models/chat_message_reaction.go @@ -41,7 +41,7 @@ func (m *ChatMessageReaction) GetAdditionalData()(map[string]any) { func (m *ChatMessageReaction) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCreatedDateTime gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z +// GetCreatedDateTime gets the createdDateTime property value. 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 *ChatMessageReaction) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -53,6 +53,18 @@ func (m *ChatMessageReaction) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3a } return nil } +// GetDisplayName gets the displayName property value. The name of the reaction. +// returns a *string when successful +func (m *ChatMessageReaction) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + 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 *ChatMessageReaction) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -67,6 +79,16 @@ func (m *ChatMessageReaction) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -77,6 +99,16 @@ func (m *ChatMessageReaction) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["reactionContentUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReactionContentUrl(val) + } + return nil + } res["reactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -111,7 +143,19 @@ func (m *ChatMessageReaction) GetOdataType()(*string) { } return nil } -// GetReactionType gets the reactionType property value. Supported values are like, angry, sad, laugh, heart, surprised. +// GetReactionContentUrl gets the reactionContentUrl property value. The hosted content URL for the custom reaction type. +// returns a *string when successful +func (m *ChatMessageReaction) GetReactionContentUrl()(*string) { + val, err := m.GetBackingStore().Get("reactionContentUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReactionType gets the reactionType property value. The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised. // returns a *string when successful func (m *ChatMessageReaction) GetReactionType()(*string) { val, err := m.GetBackingStore().Get("reactionType") @@ -143,12 +187,24 @@ func (m *ChatMessageReaction) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { return err } } + { + err := writer.WriteStringValue("reactionContentUrl", m.GetReactionContentUrl()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("reactionType", m.GetReactionType()) if err != nil { @@ -180,13 +236,20 @@ func (m *ChatMessageReaction) SetAdditionalData(value map[string]any)() { func (m *ChatMessageReaction) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCreatedDateTime sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z +// SetCreatedDateTime sets the createdDateTime property value. 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 *ChatMessageReaction) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } +// SetDisplayName sets the displayName property value. The name of the reaction. +func (m *ChatMessageReaction) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} // SetOdataType sets the @odata.type property value. The OdataType property func (m *ChatMessageReaction) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) @@ -194,7 +257,14 @@ func (m *ChatMessageReaction) SetOdataType(value *string)() { panic(err) } } -// SetReactionType sets the reactionType property value. Supported values are like, angry, sad, laugh, heart, surprised. +// SetReactionContentUrl sets the reactionContentUrl property value. The hosted content URL for the custom reaction type. +func (m *ChatMessageReaction) SetReactionContentUrl(value *string)() { + err := m.GetBackingStore().Set("reactionContentUrl", value) + if err != nil { + panic(err) + } +} +// SetReactionType sets the reactionType property value. The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised. func (m *ChatMessageReaction) SetReactionType(value *string)() { err := m.GetBackingStore().Set("reactionType", value) if err != nil { @@ -214,12 +284,16 @@ type ChatMessageReactionable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDisplayName()(*string) GetOdataType()(*string) + GetReactionContentUrl()(*string) GetReactionType()(*string) GetUser()(ChatMessageReactionIdentitySetable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDisplayName(value *string)() SetOdataType(value *string)() + SetReactionContentUrl(value *string)() SetReactionType(value *string)() SetUser(value ChatMessageReactionIdentitySetable)() } diff --git a/models/device_management_export_job.go b/models/device_management_export_job.go index b01d36d62d..baef10f158 100644 --- a/models/device_management_export_job.go +++ b/models/device_management_export_job.go @@ -157,7 +157,7 @@ func (m *DeviceManagementExportJob) GetFilter()(*string) { } return nil } -// GetFormat gets the format property value. Possible values for the file format of a report. +// GetFormat gets the format property value. Possible values for the file format of a report to be exported. // returns a *DeviceManagementReportFileFormat when successful func (m *DeviceManagementExportJob) GetFormat()(*DeviceManagementReportFileFormat) { val, err := m.GetBackingStore().Get("format") @@ -338,7 +338,7 @@ func (m *DeviceManagementExportJob) SetFilter(value *string)() { panic(err) } } -// SetFormat sets the format property value. Possible values for the file format of a report. +// SetFormat sets the format property value. Possible values for the file format of a report to be exported. func (m *DeviceManagementExportJob) SetFormat(value *DeviceManagementReportFileFormat)() { err := m.GetBackingStore().Set("format", value) if err != nil { diff --git a/models/device_management_report_file_format.go b/models/device_management_report_file_format.go index 8324c307e9..73475c4206 100644 --- a/models/device_management_report_file_format.go +++ b/models/device_management_report_file_format.go @@ -1,5 +1,5 @@ package models -// Possible values for the file format of a report. +// Possible values for the file format of a report to be exported. type DeviceManagementReportFileFormat int const ( diff --git a/models/file_storage_container.go b/models/file_storage_container.go index 5352c76c64..9699630550 100644 --- a/models/file_storage_container.go +++ b/models/file_storage_container.go @@ -173,6 +173,16 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFileStorageContainerSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(FileStorageContainerSettingsable)) + } + return nil + } res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseFileStorageContainerStatus) if err != nil { @@ -207,6 +217,18 @@ func (m *FileStorageContainer) GetPermissions()([]Permissionable) { } return nil } +// GetSettings gets the settings property value. The settings property +// returns a FileStorageContainerSettingsable when successful +func (m *FileStorageContainer) GetSettings()(FileStorageContainerSettingsable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(FileStorageContainerSettingsable) + } + return nil +} // GetStatus gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. // returns a *FileStorageContainerStatus when successful func (m *FileStorageContainer) GetStatus()(*FileStorageContainerStatus) { @@ -285,6 +307,12 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } if m.GetStatus() != nil { cast := (*m.GetStatus()).String() err = writer.WriteStringValue("status", &cast) @@ -349,6 +377,13 @@ func (m *FileStorageContainer) SetPermissions(value []Permissionable)() { panic(err) } } +// SetSettings sets the settings property value. The settings property +func (m *FileStorageContainer) SetSettings(value FileStorageContainerSettingsable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} // SetStatus sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. func (m *FileStorageContainer) SetStatus(value *FileStorageContainerStatus)() { err := m.GetBackingStore().Set("status", value) @@ -373,6 +408,7 @@ type FileStorageContainerable interface { GetDisplayName()(*string) GetDrive()(Driveable) GetPermissions()([]Permissionable) + GetSettings()(FileStorageContainerSettingsable) GetStatus()(*FileStorageContainerStatus) GetViewpoint()(FileStorageContainerViewpointable) SetContainerTypeId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() @@ -382,6 +418,7 @@ type FileStorageContainerable interface { SetDisplayName(value *string)() SetDrive(value Driveable)() SetPermissions(value []Permissionable)() + 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 new file mode 100644 index 0000000000..c2665a22d8 --- /dev/null +++ b/models/file_storage_container_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 FileStorageContainerSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageContainerSettings instantiates a new FileStorageContainerSettings and sets the default values. +func NewFileStorageContainerSettings()(*FileStorageContainerSettings) { + m := &FileStorageContainerSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageContainerSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerSettings(), 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 *FileStorageContainerSettings) 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 *FileStorageContainerSettings) 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 *FileStorageContainerSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isOcrEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsOcrEnabled(val) + } + 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 + } + return res +} +// GetIsOcrEnabled gets the isOcrEnabled property value. Indicates whether Optical Character Recognition (OCR) is enabled for the container. The default value is false. When set to true, OCR extraction is performed for new and updated documents of supported document types, and the extracted fields in the metadata of the document enable end-user search and search-driven solutions. When set to false, existing OCR metadata is not impacted. Optional. Read-write. +// returns a *bool when successful +func (m *FileStorageContainerSettings) GetIsOcrEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isOcrEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FileStorageContainerSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isOcrEnabled", m.GetIsOcrEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + 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 *FileStorageContainerSettings) 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 *FileStorageContainerSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsOcrEnabled sets the isOcrEnabled property value. Indicates whether Optical Character Recognition (OCR) is enabled for the container. The default value is false. When set to true, OCR extraction is performed for new and updated documents of supported document types, and the extracted fields in the metadata of the document enable end-user search and search-driven solutions. When set to false, existing OCR metadata is not impacted. Optional. Read-write. +func (m *FileStorageContainerSettings) SetIsOcrEnabled(value *bool)() { + err := m.GetBackingStore().Set("isOcrEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FileStorageContainerSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsOcrEnabled()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsOcrEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/models/key_credential_configuration.go b/models/key_credential_configuration.go index 9ffc406648..ae54092d07 100644 --- a/models/key_credential_configuration.go +++ b/models/key_credential_configuration.go @@ -87,7 +87,7 @@ func (m *KeyCredentialConfiguration) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetMaxLifetime gets the maxLifetime property value. Value that can be used as the maximum duration in days, hours, minutes, or seconds from the date of key creation, for which the key is valid. Defined in ISO 8601 format for Durations. For example, P4DT12H30M5S represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. +// GetMaxLifetime gets the maxLifetime property value. String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. // returns a *ISODuration when successful func (m *KeyCredentialConfiguration) GetMaxLifetime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxLifetime") @@ -111,7 +111,7 @@ func (m *KeyCredentialConfiguration) GetOdataType()(*string) { } return nil } -// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. Timestamp when the policy is enforced for all apps created on or after the specified date. For existing applications, the enforcement date would be back dated. To apply to all applications regardless of their creation date, this property would be null. Nullable. +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. // returns a *Time when successful func (m *KeyCredentialConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") @@ -123,7 +123,7 @@ func (m *KeyCredentialConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i } return nil } -// GetRestrictionType gets the restrictionType property value. The type of restriction being applied. Possible values are asymmetricKeyLifetime, unknownFutureValue. Each value of restrictionType can be used only once per policy. +// GetRestrictionType gets the restrictionType property value. The type of restriction being applied. Possible values are asymmetricKeyLifetime, and unknownFutureValue. Each value of restrictionType can be used only once per policy. // returns a *AppKeyCredentialRestrictionType when successful func (m *KeyCredentialConfiguration) GetRestrictionType()(*AppKeyCredentialRestrictionType) { val, err := m.GetBackingStore().Get("restrictionType") @@ -181,7 +181,7 @@ func (m *KeyCredentialConfiguration) SetAdditionalData(value map[string]any)() { func (m *KeyCredentialConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetMaxLifetime sets the maxLifetime property value. Value that can be used as the maximum duration in days, hours, minutes, or seconds from the date of key creation, for which the key is valid. Defined in ISO 8601 format for Durations. For example, P4DT12H30M5S represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. +// SetMaxLifetime sets the maxLifetime property value. String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. func (m *KeyCredentialConfiguration) SetMaxLifetime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxLifetime", value) if err != nil { @@ -195,14 +195,14 @@ func (m *KeyCredentialConfiguration) SetOdataType(value *string)() { panic(err) } } -// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. Timestamp when the policy is enforced for all apps created on or after the specified date. For existing applications, the enforcement date would be back dated. To apply to all applications regardless of their creation date, this property would be null. Nullable. +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. func (m *KeyCredentialConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) if err != nil { panic(err) } } -// SetRestrictionType sets the restrictionType property value. The type of restriction being applied. Possible values are asymmetricKeyLifetime, unknownFutureValue. Each value of restrictionType can be used only once per policy. +// SetRestrictionType sets the restrictionType property value. The type of restriction being applied. Possible values are asymmetricKeyLifetime, and unknownFutureValue. Each value of restrictionType can be used only once per policy. func (m *KeyCredentialConfiguration) SetRestrictionType(value *AppKeyCredentialRestrictionType)() { err := m.GetBackingStore().Set("restrictionType", value) if err != nil { diff --git a/models/password_credential_configuration.go b/models/password_credential_configuration.go index e3c546f4ac..b8900bb29a 100644 --- a/models/password_credential_configuration.go +++ b/models/password_credential_configuration.go @@ -87,7 +87,7 @@ func (m *PasswordCredentialConfiguration) GetFieldDeserializers()(map[string]fun } return res } -// GetMaxLifetime gets the maxLifetime property value. Value that can be used as the maximum number for setting password expiration time in days, hours, minutes or seconds. Defined in ISO 8601 format for Durations. For example, 'P4DT12H30M5S' represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restriction type is set to passwordLifetime. +// GetMaxLifetime gets the maxLifetime property value. String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. // returns a *ISODuration when successful func (m *PasswordCredentialConfiguration) GetMaxLifetime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxLifetime") @@ -111,7 +111,7 @@ func (m *PasswordCredentialConfiguration) GetOdataType()(*string) { } return nil } -// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be back dated. To apply to all applications, enforcement datetime would be null. +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. // returns a *Time when successful func (m *PasswordCredentialConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") @@ -123,7 +123,7 @@ func (m *PasswordCredentialConfiguration) GetRestrictForAppsCreatedAfterDateTime } return nil } -// GetRestrictionType gets the restrictionType property value. The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime,customPasswordAddition, unknownFutureValue. Each value of restrictionType can be used only once per policy. +// GetRestrictionType gets the restrictionType property value. The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime, customPasswordAddition, and unknownFutureValue. Each value of restrictionType can be used only once per policy. // returns a *AppCredentialRestrictionType when successful func (m *PasswordCredentialConfiguration) GetRestrictionType()(*AppCredentialRestrictionType) { val, err := m.GetBackingStore().Get("restrictionType") @@ -181,7 +181,7 @@ func (m *PasswordCredentialConfiguration) SetAdditionalData(value map[string]any func (m *PasswordCredentialConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetMaxLifetime sets the maxLifetime property value. Value that can be used as the maximum number for setting password expiration time in days, hours, minutes or seconds. Defined in ISO 8601 format for Durations. For example, 'P4DT12H30M5S' represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restriction type is set to passwordLifetime. +// SetMaxLifetime sets the maxLifetime property value. String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. func (m *PasswordCredentialConfiguration) SetMaxLifetime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxLifetime", value) if err != nil { @@ -195,14 +195,14 @@ func (m *PasswordCredentialConfiguration) SetOdataType(value *string)() { panic(err) } } -// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be back dated. To apply to all applications, enforcement datetime would be null. +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. func (m *PasswordCredentialConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) if err != nil { panic(err) } } -// SetRestrictionType sets the restrictionType property value. The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime,customPasswordAddition, unknownFutureValue. Each value of restrictionType can be used only once per policy. +// SetRestrictionType sets the restrictionType property value. The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime, customPasswordAddition, and unknownFutureValue. Each value of restrictionType can be used only once per policy. func (m *PasswordCredentialConfiguration) SetRestrictionType(value *AppCredentialRestrictionType)() { err := m.GetBackingStore().Set("restrictionType", value) if err != nil { diff --git a/models/protection_rule_base.go b/models/protection_rule_base.go index 98d341c52f..584707d8e1 100644 --- a/models/protection_rule_base.go +++ b/models/protection_rule_base.go @@ -190,7 +190,7 @@ func (m *ProtectionRuleBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetStatus gets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. +// GetStatus gets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported. // returns a *ProtectionRuleStatus when successful func (m *ProtectionRuleBase) GetStatus()(*ProtectionRuleStatus) { val, err := m.GetBackingStore().Get("status") @@ -295,7 +295,7 @@ func (m *ProtectionRuleBase) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } -// SetStatus sets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. +// SetStatus sets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported. func (m *ProtectionRuleBase) SetStatus(value *ProtectionRuleStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/provisioned_plan.go b/models/provisioned_plan.go index 3b8b8d025e..bb647f30bb 100644 --- a/models/provisioned_plan.go +++ b/models/provisioned_plan.go @@ -40,7 +40,7 @@ func (m *ProvisionedPlan) GetAdditionalData()(map[string]any) { func (m *ProvisionedPlan) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCapabilityStatus gets the capabilityStatus property value. For example, 'Enabled'. +// GetCapabilityStatus gets the capabilityStatus property value. Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. See a detailed description of each value. // returns a *string when successful func (m *ProvisionedPlan) GetCapabilityStatus()(*string) { val, err := m.GetBackingStore().Get("capabilityStatus") @@ -110,7 +110,7 @@ func (m *ProvisionedPlan) GetOdataType()(*string) { } return nil } -// GetProvisioningStatus gets the provisioningStatus property value. For example, 'Success'. +// GetProvisioningStatus gets the provisioningStatus property value. The possible values are:Success - Service is fully provisioned.Disabled - Service is disabled.Error - The service plan isn't provisioned and is in an error state.PendingInput - The service isn't provisioned and is awaiting service confirmation.PendingActivation - The service is provisioned but requires explicit activation by an administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it isn't activated in the tenant. // returns a *string when successful func (m *ProvisionedPlan) GetProvisioningStatus()(*string) { val, err := m.GetBackingStore().Get("provisioningStatus") @@ -122,7 +122,7 @@ func (m *ProvisionedPlan) GetProvisioningStatus()(*string) { } return nil } -// GetService gets the service property value. The name of the service; for example, 'AccessControlS2S' +// GetService gets the service property value. The name of the service; for example, 'AccessControlS2S'. // returns a *string when successful func (m *ProvisionedPlan) GetService()(*string) { val, err := m.GetBackingStore().Get("service") @@ -179,7 +179,7 @@ func (m *ProvisionedPlan) SetAdditionalData(value map[string]any)() { func (m *ProvisionedPlan) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCapabilityStatus sets the capabilityStatus property value. For example, 'Enabled'. +// SetCapabilityStatus sets the capabilityStatus property value. Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. See a detailed description of each value. func (m *ProvisionedPlan) SetCapabilityStatus(value *string)() { err := m.GetBackingStore().Set("capabilityStatus", value) if err != nil { @@ -193,14 +193,14 @@ func (m *ProvisionedPlan) SetOdataType(value *string)() { panic(err) } } -// SetProvisioningStatus sets the provisioningStatus property value. For example, 'Success'. +// SetProvisioningStatus sets the provisioningStatus property value. The possible values are:Success - Service is fully provisioned.Disabled - Service is disabled.Error - The service plan isn't provisioned and is in an error state.PendingInput - The service isn't provisioned and is awaiting service confirmation.PendingActivation - The service is provisioned but requires explicit activation by an administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it isn't activated in the tenant. func (m *ProvisionedPlan) SetProvisioningStatus(value *string)() { err := m.GetBackingStore().Set("provisioningStatus", value) if err != nil { panic(err) } } -// SetService sets the service property value. The name of the service; for example, 'AccessControlS2S' +// SetService sets the service property value. The name of the service; for example, 'AccessControlS2S'. func (m *ProvisionedPlan) SetService(value *string)() { err := m.GetBackingStore().Set("service", value) if err != nil { diff --git a/models/risk_detection.go b/models/risk_detection.go index 20a9a0f5a2..05067c39ff 100644 --- a/models/risk_detection.go +++ b/models/risk_detection.go @@ -336,7 +336,7 @@ func (m *RiskDetection) GetRequestId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. // returns a *RiskDetail when successful func (m *RiskDetection) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -642,7 +642,7 @@ func (m *RiskDetection) SetRequestId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. func (m *RiskDetection) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/security/case_operation.go b/models/security/case_operation.go index f9266fb289..d38170f8b3 100644 --- a/models/security/case_operation.go +++ b/models/security/case_operation.go @@ -53,7 +53,7 @@ func CreateCaseOperationFromDiscriminatorValue(parseNode i878a80d2330e89d2689638 } return NewCaseOperation(), nil } -// GetAction gets the action property value. The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData +// GetAction gets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. // returns a *CaseAction when successful func (m *CaseOperation) GetAction()(*CaseAction) { val, err := m.GetBackingStore().Get("action") @@ -265,7 +265,7 @@ func (m *CaseOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetAction sets the action property value. The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData +// SetAction sets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. func (m *CaseOperation) SetAction(value *CaseAction)() { err := m.GetBackingStore().Set("action", value) if err != nil { diff --git a/models/security/ediscovery_search.go b/models/security/ediscovery_search.go index 6a657070db..e05c6fe309 100644 --- a/models/security/ediscovery_search.go +++ b/models/security/ediscovery_search.go @@ -57,7 +57,7 @@ func (m *EdiscoverySearch) GetCustodianSources()([]DataSourceable) { } return nil } -// GetDataSourceScopes gets the dataSourceScopes property value. When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. +// GetDataSourceScopes gets the dataSourceScopes property value. When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. // returns a *DataSourceScopes when successful func (m *EdiscoverySearch) GetDataSourceScopes()(*DataSourceScopes) { val, err := m.GetBackingStore().Get("dataSourceScopes") @@ -261,7 +261,7 @@ func (m *EdiscoverySearch) SetCustodianSources(value []DataSourceable)() { panic(err) } } -// SetDataSourceScopes sets the dataSourceScopes property value. When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. +// SetDataSourceScopes sets the dataSourceScopes property value. When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. func (m *EdiscoverySearch) SetDataSourceScopes(value *DataSourceScopes)() { err := m.GetBackingStore().Set("dataSourceScopes", value) if err != nil { diff --git a/models/security/ediscovery_search_export_operation.go b/models/security/ediscovery_search_export_operation.go index df6c209fbd..22dce73b57 100644 --- a/models/security/ediscovery_search_export_operation.go +++ b/models/security/ediscovery_search_export_operation.go @@ -19,7 +19,7 @@ func NewEdiscoverySearchExportOperation()(*EdiscoverySearchExportOperation) { func CreateEdiscoverySearchExportOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEdiscoverySearchExportOperation(), nil } -// GetAdditionalOptions gets the additionalOptions property value. The additionalOptions property +// GetAdditionalOptions gets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue. // returns a *AdditionalOptions when successful func (m *EdiscoverySearchExportOperation) GetAdditionalOptions()(*AdditionalOptions) { val, err := m.GetBackingStore().Get("additionalOptions") @@ -31,7 +31,7 @@ func (m *EdiscoverySearchExportOperation) GetAdditionalOptions()(*AdditionalOpti } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. The description of the export by the user. // returns a *string when successful func (m *EdiscoverySearchExportOperation) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -43,7 +43,7 @@ func (m *EdiscoverySearchExportOperation) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The name of export provided by the user. // returns a *string when successful func (m *EdiscoverySearchExportOperation) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -55,7 +55,7 @@ func (m *EdiscoverySearchExportOperation) GetDisplayName()(*string) { } return nil } -// GetExportCriteria gets the exportCriteria property value. The exportCriteria property +// GetExportCriteria gets the exportCriteria property value. Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. // returns a *ExportCriteria when successful func (m *EdiscoverySearchExportOperation) GetExportCriteria()(*ExportCriteria) { val, err := m.GetBackingStore().Get("exportCriteria") @@ -67,7 +67,7 @@ func (m *EdiscoverySearchExportOperation) GetExportCriteria()(*ExportCriteria) { } return nil } -// GetExportFileMetadata gets the exportFileMetadata property value. The exportFileMetadata property +// GetExportFileMetadata gets the exportFileMetadata property value. Contains the properties for an export file metadata, including downloadUrl, fileName, and size. // returns a []ExportFileMetadataable when successful func (m *EdiscoverySearchExportOperation) GetExportFileMetadata()([]ExportFileMetadataable) { val, err := m.GetBackingStore().Get("exportFileMetadata") @@ -79,7 +79,7 @@ func (m *EdiscoverySearchExportOperation) GetExportFileMetadata()([]ExportFileMe } return nil } -// GetExportFormat gets the exportFormat property value. The exportFormat property +// GetExportFormat gets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. // returns a *ExportFormat when successful func (m *EdiscoverySearchExportOperation) GetExportFormat()(*ExportFormat) { val, err := m.GetBackingStore().Get("exportFormat") @@ -91,7 +91,7 @@ func (m *EdiscoverySearchExportOperation) GetExportFormat()(*ExportFormat) { } return nil } -// GetExportLocation gets the exportLocation property value. The exportLocation property +// GetExportLocation gets the exportLocation property value. Location scope for partially indexed items. You can choose to include partially indexed items only in responsive locations with search hits or in all targeted locations. The possible values are: responsiveLocations, nonresponsiveLocations, unknownFutureValue. // returns a *ExportLocation when successful func (m *EdiscoverySearchExportOperation) GetExportLocation()(*ExportLocation) { val, err := m.GetBackingStore().Get("exportLocation") @@ -103,7 +103,7 @@ func (m *EdiscoverySearchExportOperation) GetExportLocation()(*ExportLocation) { } return nil } -// GetExportSingleItems gets the exportSingleItems property value. The exportSingleItems property +// GetExportSingleItems gets the exportSingleItems property value. Indicates whether to export single items. // returns a *bool when successful func (m *EdiscoverySearchExportOperation) GetExportSingleItems()(*bool) { val, err := m.GetBackingStore().Get("exportSingleItems") @@ -217,7 +217,7 @@ func (m *EdiscoverySearchExportOperation) GetFieldDeserializers()(map[string]fun } return res } -// GetSearch gets the search property value. The search property +// GetSearch gets the search property value. The eDiscovery searches under each case. // returns a EdiscoverySearchable when successful func (m *EdiscoverySearchExportOperation) GetSearch()(EdiscoverySearchable) { val, err := m.GetBackingStore().Get("search") @@ -301,63 +301,63 @@ func (m *EdiscoverySearchExportOperation) Serialize(writer i878a80d2330e89d26896 } return nil } -// SetAdditionalOptions sets the additionalOptions property value. The additionalOptions property +// SetAdditionalOptions sets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetAdditionalOptions(value *AdditionalOptions)() { err := m.GetBackingStore().Set("additionalOptions", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. The description of the export by the user. func (m *EdiscoverySearchExportOperation) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The name of export provided by the user. func (m *EdiscoverySearchExportOperation) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetExportCriteria sets the exportCriteria property value. The exportCriteria property +// SetExportCriteria sets the exportCriteria property value. Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetExportCriteria(value *ExportCriteria)() { err := m.GetBackingStore().Set("exportCriteria", value) if err != nil { panic(err) } } -// SetExportFileMetadata sets the exportFileMetadata property value. The exportFileMetadata property +// SetExportFileMetadata sets the exportFileMetadata property value. Contains the properties for an export file metadata, including downloadUrl, fileName, and size. func (m *EdiscoverySearchExportOperation) SetExportFileMetadata(value []ExportFileMetadataable)() { err := m.GetBackingStore().Set("exportFileMetadata", value) if err != nil { panic(err) } } -// SetExportFormat sets the exportFormat property value. The exportFormat property +// SetExportFormat sets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetExportFormat(value *ExportFormat)() { err := m.GetBackingStore().Set("exportFormat", value) if err != nil { panic(err) } } -// SetExportLocation sets the exportLocation property value. The exportLocation property +// SetExportLocation sets the exportLocation property value. Location scope for partially indexed items. You can choose to include partially indexed items only in responsive locations with search hits or in all targeted locations. The possible values are: responsiveLocations, nonresponsiveLocations, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetExportLocation(value *ExportLocation)() { err := m.GetBackingStore().Set("exportLocation", value) if err != nil { panic(err) } } -// SetExportSingleItems sets the exportSingleItems property value. The exportSingleItems property +// SetExportSingleItems sets the exportSingleItems property value. Indicates whether to export single items. func (m *EdiscoverySearchExportOperation) SetExportSingleItems(value *bool)() { err := m.GetBackingStore().Set("exportSingleItems", value) if err != nil { panic(err) } } -// SetSearch sets the search property value. The search property +// SetSearch sets the search property value. The eDiscovery searches under each case. func (m *EdiscoverySearchExportOperation) SetSearch(value EdiscoverySearchable)() { err := m.GetBackingStore().Set("search", value) if err != nil { diff --git a/models/security/io_t_device_evidence.go b/models/security/io_t_device_evidence.go index 32ce6e907f..2bbd4ecc25 100644 --- a/models/security/io_t_device_evidence.go +++ b/models/security/io_t_device_evidence.go @@ -21,7 +21,7 @@ func NewIoTDeviceEvidence()(*IoTDeviceEvidence) { func CreateIoTDeviceEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewIoTDeviceEvidence(), nil } -// GetDeviceId gets the deviceId property value. The deviceId property +// GetDeviceId gets the deviceId property value. The device ID. // returns a *string when successful func (m *IoTDeviceEvidence) GetDeviceId()(*string) { val, err := m.GetBackingStore().Get("deviceId") @@ -33,7 +33,7 @@ func (m *IoTDeviceEvidence) GetDeviceId()(*string) { } return nil } -// GetDeviceName gets the deviceName property value. The deviceName property +// GetDeviceName gets the deviceName property value. The friendly name of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetDeviceName()(*string) { val, err := m.GetBackingStore().Get("deviceName") @@ -45,7 +45,7 @@ func (m *IoTDeviceEvidence) GetDeviceName()(*string) { } return nil } -// GetDevicePageLink gets the devicePageLink property value. The devicePageLink property +// GetDevicePageLink gets the devicePageLink property value. The URL to the device page in the IoT Defender portal. // returns a *string when successful func (m *IoTDeviceEvidence) GetDevicePageLink()(*string) { val, err := m.GetBackingStore().Get("devicePageLink") @@ -57,7 +57,7 @@ func (m *IoTDeviceEvidence) GetDevicePageLink()(*string) { } return nil } -// GetDeviceSubType gets the deviceSubType property value. The deviceSubType property +// GetDeviceSubType gets the deviceSubType property value. The device subtype. // returns a *string when successful func (m *IoTDeviceEvidence) GetDeviceSubType()(*string) { val, err := m.GetBackingStore().Get("deviceSubType") @@ -69,7 +69,7 @@ func (m *IoTDeviceEvidence) GetDeviceSubType()(*string) { } return nil } -// GetDeviceType gets the deviceType property value. The deviceType property +// GetDeviceType gets the deviceType property value. The type of the device. For example, 'temperature sensor,' 'freezer,' 'wind turbine,' and so on. // returns a *string when successful func (m *IoTDeviceEvidence) GetDeviceType()(*string) { val, err := m.GetBackingStore().Get("deviceType") @@ -365,7 +365,7 @@ func (m *IoTDeviceEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetImportance gets the importance property value. The importance property +// GetImportance gets the importance property value. The importance level for the IoT device. Possible values are low, normal, high, and unknownFutureValue. // returns a *IoTDeviceImportanceType when successful func (m *IoTDeviceEvidence) GetImportance()(*IoTDeviceImportanceType) { val, err := m.GetBackingStore().Get("importance") @@ -377,7 +377,7 @@ func (m *IoTDeviceEvidence) GetImportance()(*IoTDeviceImportanceType) { } return nil } -// GetIoTHub gets the ioTHub property value. The ioTHub property +// GetIoTHub gets the ioTHub property value. The azureResourceEvidence entity that represents the IoT Hub that the device belongs to. // returns a AzureResourceEvidenceable when successful func (m *IoTDeviceEvidence) GetIoTHub()(AzureResourceEvidenceable) { val, err := m.GetBackingStore().Get("ioTHub") @@ -389,7 +389,7 @@ func (m *IoTDeviceEvidence) GetIoTHub()(AzureResourceEvidenceable) { } return nil } -// GetIoTSecurityAgentId gets the ioTSecurityAgentId property value. The ioTSecurityAgentId property +// GetIoTSecurityAgentId gets the ioTSecurityAgentId property value. The ID of the Azure Security Center for the IoT agent that is running on the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetIoTSecurityAgentId()(*string) { val, err := m.GetBackingStore().Get("ioTSecurityAgentId") @@ -401,7 +401,7 @@ func (m *IoTDeviceEvidence) GetIoTSecurityAgentId()(*string) { } return nil } -// GetIpAddress gets the ipAddress property value. The ipAddress property +// GetIpAddress gets the ipAddress property value. The current IP address of the device. // returns a IpEvidenceable when successful func (m *IoTDeviceEvidence) GetIpAddress()(IpEvidenceable) { val, err := m.GetBackingStore().Get("ipAddress") @@ -413,7 +413,7 @@ func (m *IoTDeviceEvidence) GetIpAddress()(IpEvidenceable) { } return nil } -// GetIsAuthorized gets the isAuthorized property value. The isAuthorized property +// GetIsAuthorized gets the isAuthorized property value. Indicates whether the device classified as an authorized device. // returns a *bool when successful func (m *IoTDeviceEvidence) GetIsAuthorized()(*bool) { val, err := m.GetBackingStore().Get("isAuthorized") @@ -425,7 +425,7 @@ func (m *IoTDeviceEvidence) GetIsAuthorized()(*bool) { } return nil } -// GetIsProgramming gets the isProgramming property value. The isProgramming property +// GetIsProgramming gets the isProgramming property value. Indicates whether the device classified as a programming device. // returns a *bool when successful func (m *IoTDeviceEvidence) GetIsProgramming()(*bool) { val, err := m.GetBackingStore().Get("isProgramming") @@ -437,7 +437,7 @@ func (m *IoTDeviceEvidence) GetIsProgramming()(*bool) { } return nil } -// GetIsScanner gets the isScanner property value. The isScanner property +// GetIsScanner gets the isScanner property value. Indicates whether the device classified as a scanner. // returns a *bool when successful func (m *IoTDeviceEvidence) GetIsScanner()(*bool) { val, err := m.GetBackingStore().Get("isScanner") @@ -449,7 +449,7 @@ func (m *IoTDeviceEvidence) GetIsScanner()(*bool) { } return nil } -// GetMacAddress gets the macAddress property value. The macAddress property +// GetMacAddress gets the macAddress property value. The MAC address of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetMacAddress()(*string) { val, err := m.GetBackingStore().Get("macAddress") @@ -461,7 +461,7 @@ func (m *IoTDeviceEvidence) GetMacAddress()(*string) { } return nil } -// GetManufacturer gets the manufacturer property value. The manufacturer property +// GetManufacturer gets the manufacturer property value. The manufacturer of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetManufacturer()(*string) { val, err := m.GetBackingStore().Get("manufacturer") @@ -473,7 +473,7 @@ func (m *IoTDeviceEvidence) GetManufacturer()(*string) { } return nil } -// GetModel gets the model property value. The model property +// GetModel gets the model property value. The model of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetModel()(*string) { val, err := m.GetBackingStore().Get("model") @@ -485,7 +485,7 @@ func (m *IoTDeviceEvidence) GetModel()(*string) { } return nil } -// GetNics gets the nics property value. The nics property +// GetNics gets the nics property value. The current network interface controllers on the device. // returns a []NicEvidenceable when successful func (m *IoTDeviceEvidence) GetNics()([]NicEvidenceable) { val, err := m.GetBackingStore().Get("nics") @@ -497,7 +497,7 @@ func (m *IoTDeviceEvidence) GetNics()([]NicEvidenceable) { } return nil } -// GetOperatingSystem gets the operatingSystem property value. The operatingSystem property +// GetOperatingSystem gets the operatingSystem property value. The operating system the device is running. // returns a *string when successful func (m *IoTDeviceEvidence) GetOperatingSystem()(*string) { val, err := m.GetBackingStore().Get("operatingSystem") @@ -509,7 +509,7 @@ func (m *IoTDeviceEvidence) GetOperatingSystem()(*string) { } return nil } -// GetOwners gets the owners property value. The owners property +// GetOwners gets the owners property value. The owners for the device. // returns a []string when successful func (m *IoTDeviceEvidence) GetOwners()([]string) { val, err := m.GetBackingStore().Get("owners") @@ -521,7 +521,7 @@ func (m *IoTDeviceEvidence) GetOwners()([]string) { } return nil } -// GetProtocols gets the protocols property value. The protocols property +// GetProtocols gets the protocols property value. The list of protocols that the device supports. // returns a []string when successful func (m *IoTDeviceEvidence) GetProtocols()([]string) { val, err := m.GetBackingStore().Get("protocols") @@ -533,7 +533,7 @@ func (m *IoTDeviceEvidence) GetProtocols()([]string) { } return nil } -// GetPurdueLayer gets the purdueLayer property value. The purdueLayer property +// GetPurdueLayer gets the purdueLayer property value. The Purdue Layer of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetPurdueLayer()(*string) { val, err := m.GetBackingStore().Get("purdueLayer") @@ -545,7 +545,7 @@ func (m *IoTDeviceEvidence) GetPurdueLayer()(*string) { } return nil } -// GetSensor gets the sensor property value. The sensor property +// GetSensor gets the sensor property value. The sensor that monitors the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetSensor()(*string) { val, err := m.GetBackingStore().Get("sensor") @@ -557,7 +557,7 @@ func (m *IoTDeviceEvidence) GetSensor()(*string) { } return nil } -// GetSerialNumber gets the serialNumber property value. The serialNumber property +// GetSerialNumber gets the serialNumber property value. The serial number of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetSerialNumber()(*string) { val, err := m.GetBackingStore().Get("serialNumber") @@ -569,7 +569,7 @@ func (m *IoTDeviceEvidence) GetSerialNumber()(*string) { } return nil } -// GetSite gets the site property value. The site property +// GetSite gets the site property value. The site location of the device. // returns a *string when successful func (m *IoTDeviceEvidence) GetSite()(*string) { val, err := m.GetBackingStore().Get("site") @@ -581,7 +581,7 @@ func (m *IoTDeviceEvidence) GetSite()(*string) { } return nil } -// GetSource gets the source property value. The source property +// GetSource gets the source property value. The source (microsoft/vendor) of the device entity. // returns a *string when successful func (m *IoTDeviceEvidence) GetSource()(*string) { val, err := m.GetBackingStore().Get("source") @@ -593,7 +593,7 @@ func (m *IoTDeviceEvidence) GetSource()(*string) { } return nil } -// GetSourceRef gets the sourceRef property value. The sourceRef property +// GetSourceRef gets the sourceRef property value. A URL reference to the source item where the device is managed. // returns a UrlEvidenceable when successful func (m *IoTDeviceEvidence) GetSourceRef()(UrlEvidenceable) { val, err := m.GetBackingStore().Get("sourceRef") @@ -605,7 +605,7 @@ func (m *IoTDeviceEvidence) GetSourceRef()(UrlEvidenceable) { } return nil } -// GetZone gets the zone property value. The zone property +// GetZone gets the zone property value. The zone location of the device within a site. // returns a *string when successful func (m *IoTDeviceEvidence) GetZone()(*string) { val, err := m.GetBackingStore().Get("zone") @@ -788,182 +788,182 @@ func (m *IoTDeviceEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27 } return nil } -// SetDeviceId sets the deviceId property value. The deviceId property +// SetDeviceId sets the deviceId property value. The device ID. func (m *IoTDeviceEvidence) SetDeviceId(value *string)() { err := m.GetBackingStore().Set("deviceId", value) if err != nil { panic(err) } } -// SetDeviceName sets the deviceName property value. The deviceName property +// SetDeviceName sets the deviceName property value. The friendly name of the device. func (m *IoTDeviceEvidence) SetDeviceName(value *string)() { err := m.GetBackingStore().Set("deviceName", value) if err != nil { panic(err) } } -// SetDevicePageLink sets the devicePageLink property value. The devicePageLink property +// SetDevicePageLink sets the devicePageLink property value. The URL to the device page in the IoT Defender portal. func (m *IoTDeviceEvidence) SetDevicePageLink(value *string)() { err := m.GetBackingStore().Set("devicePageLink", value) if err != nil { panic(err) } } -// SetDeviceSubType sets the deviceSubType property value. The deviceSubType property +// SetDeviceSubType sets the deviceSubType property value. The device subtype. func (m *IoTDeviceEvidence) SetDeviceSubType(value *string)() { err := m.GetBackingStore().Set("deviceSubType", value) if err != nil { panic(err) } } -// SetDeviceType sets the deviceType property value. The deviceType property +// SetDeviceType sets the deviceType property value. The type of the device. For example, 'temperature sensor,' 'freezer,' 'wind turbine,' and so on. func (m *IoTDeviceEvidence) SetDeviceType(value *string)() { err := m.GetBackingStore().Set("deviceType", value) if err != nil { panic(err) } } -// SetImportance sets the importance property value. The importance property +// SetImportance sets the importance property value. The importance level for the IoT device. Possible values are low, normal, high, and unknownFutureValue. func (m *IoTDeviceEvidence) SetImportance(value *IoTDeviceImportanceType)() { err := m.GetBackingStore().Set("importance", value) if err != nil { panic(err) } } -// SetIoTHub sets the ioTHub property value. The ioTHub property +// SetIoTHub sets the ioTHub property value. The azureResourceEvidence entity that represents the IoT Hub that the device belongs to. func (m *IoTDeviceEvidence) SetIoTHub(value AzureResourceEvidenceable)() { err := m.GetBackingStore().Set("ioTHub", value) if err != nil { panic(err) } } -// SetIoTSecurityAgentId sets the ioTSecurityAgentId property value. The ioTSecurityAgentId property +// SetIoTSecurityAgentId sets the ioTSecurityAgentId property value. The ID of the Azure Security Center for the IoT agent that is running on the device. func (m *IoTDeviceEvidence) SetIoTSecurityAgentId(value *string)() { err := m.GetBackingStore().Set("ioTSecurityAgentId", value) if err != nil { panic(err) } } -// SetIpAddress sets the ipAddress property value. The ipAddress property +// SetIpAddress sets the ipAddress property value. The current IP address of the device. func (m *IoTDeviceEvidence) SetIpAddress(value IpEvidenceable)() { err := m.GetBackingStore().Set("ipAddress", value) if err != nil { panic(err) } } -// SetIsAuthorized sets the isAuthorized property value. The isAuthorized property +// SetIsAuthorized sets the isAuthorized property value. Indicates whether the device classified as an authorized device. func (m *IoTDeviceEvidence) SetIsAuthorized(value *bool)() { err := m.GetBackingStore().Set("isAuthorized", value) if err != nil { panic(err) } } -// SetIsProgramming sets the isProgramming property value. The isProgramming property +// SetIsProgramming sets the isProgramming property value. Indicates whether the device classified as a programming device. func (m *IoTDeviceEvidence) SetIsProgramming(value *bool)() { err := m.GetBackingStore().Set("isProgramming", value) if err != nil { panic(err) } } -// SetIsScanner sets the isScanner property value. The isScanner property +// SetIsScanner sets the isScanner property value. Indicates whether the device classified as a scanner. func (m *IoTDeviceEvidence) SetIsScanner(value *bool)() { err := m.GetBackingStore().Set("isScanner", value) if err != nil { panic(err) } } -// SetMacAddress sets the macAddress property value. The macAddress property +// SetMacAddress sets the macAddress property value. The MAC address of the device. func (m *IoTDeviceEvidence) SetMacAddress(value *string)() { err := m.GetBackingStore().Set("macAddress", value) if err != nil { panic(err) } } -// SetManufacturer sets the manufacturer property value. The manufacturer property +// SetManufacturer sets the manufacturer property value. The manufacturer of the device. func (m *IoTDeviceEvidence) SetManufacturer(value *string)() { err := m.GetBackingStore().Set("manufacturer", value) if err != nil { panic(err) } } -// SetModel sets the model property value. The model property +// SetModel sets the model property value. The model of the device. func (m *IoTDeviceEvidence) SetModel(value *string)() { err := m.GetBackingStore().Set("model", value) if err != nil { panic(err) } } -// SetNics sets the nics property value. The nics property +// SetNics sets the nics property value. The current network interface controllers on the device. func (m *IoTDeviceEvidence) SetNics(value []NicEvidenceable)() { err := m.GetBackingStore().Set("nics", value) if err != nil { panic(err) } } -// SetOperatingSystem sets the operatingSystem property value. The operatingSystem property +// SetOperatingSystem sets the operatingSystem property value. The operating system the device is running. func (m *IoTDeviceEvidence) SetOperatingSystem(value *string)() { err := m.GetBackingStore().Set("operatingSystem", value) if err != nil { panic(err) } } -// SetOwners sets the owners property value. The owners property +// SetOwners sets the owners property value. The owners for the device. func (m *IoTDeviceEvidence) SetOwners(value []string)() { err := m.GetBackingStore().Set("owners", value) if err != nil { panic(err) } } -// SetProtocols sets the protocols property value. The protocols property +// SetProtocols sets the protocols property value. The list of protocols that the device supports. func (m *IoTDeviceEvidence) SetProtocols(value []string)() { err := m.GetBackingStore().Set("protocols", value) if err != nil { panic(err) } } -// SetPurdueLayer sets the purdueLayer property value. The purdueLayer property +// SetPurdueLayer sets the purdueLayer property value. The Purdue Layer of the device. func (m *IoTDeviceEvidence) SetPurdueLayer(value *string)() { err := m.GetBackingStore().Set("purdueLayer", value) if err != nil { panic(err) } } -// SetSensor sets the sensor property value. The sensor property +// SetSensor sets the sensor property value. The sensor that monitors the device. func (m *IoTDeviceEvidence) SetSensor(value *string)() { err := m.GetBackingStore().Set("sensor", value) if err != nil { panic(err) } } -// SetSerialNumber sets the serialNumber property value. The serialNumber property +// SetSerialNumber sets the serialNumber property value. The serial number of the device. func (m *IoTDeviceEvidence) SetSerialNumber(value *string)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) } } -// SetSite sets the site property value. The site property +// SetSite sets the site property value. The site location of the device. func (m *IoTDeviceEvidence) SetSite(value *string)() { err := m.GetBackingStore().Set("site", value) if err != nil { panic(err) } } -// SetSource sets the source property value. The source property +// SetSource sets the source property value. The source (microsoft/vendor) of the device entity. func (m *IoTDeviceEvidence) SetSource(value *string)() { err := m.GetBackingStore().Set("source", value) if err != nil { panic(err) } } -// SetSourceRef sets the sourceRef property value. The sourceRef property +// SetSourceRef sets the sourceRef property value. A URL reference to the source item where the device is managed. func (m *IoTDeviceEvidence) SetSourceRef(value UrlEvidenceable)() { err := m.GetBackingStore().Set("sourceRef", value) if err != nil { panic(err) } } -// SetZone sets the zone property value. The zone property +// SetZone sets the zone property value. The zone location of the device within a site. func (m *IoTDeviceEvidence) SetZone(value *string)() { err := m.GetBackingStore().Set("zone", value) if err != nil { diff --git a/models/security/nic_evidence.go b/models/security/nic_evidence.go index 8b5dcefb59..8bbb91a439 100644 --- a/models/security/nic_evidence.go +++ b/models/security/nic_evidence.go @@ -63,7 +63,7 @@ func (m *NicEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetIpAddress gets the ipAddress property value. The ipAddress property +// GetIpAddress gets the ipAddress property value. The current IP address of the NIC. // returns a IpEvidenceable when successful func (m *NicEvidence) GetIpAddress()(IpEvidenceable) { val, err := m.GetBackingStore().Get("ipAddress") @@ -75,7 +75,7 @@ func (m *NicEvidence) GetIpAddress()(IpEvidenceable) { } return nil } -// GetMacAddress gets the macAddress property value. The macAddress property +// GetMacAddress gets the macAddress property value. The MAC address of the NIC. // returns a *string when successful func (m *NicEvidence) GetMacAddress()(*string) { val, err := m.GetBackingStore().Get("macAddress") @@ -87,7 +87,7 @@ func (m *NicEvidence) GetMacAddress()(*string) { } return nil } -// GetVlans gets the vlans property value. The vlans property +// GetVlans gets the vlans property value. The current virtual local area networks of the NIC. // returns a []string when successful func (m *NicEvidence) GetVlans()([]string) { val, err := m.GetBackingStore().Get("vlans") @@ -125,21 +125,21 @@ func (m *NicEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetIpAddress sets the ipAddress property value. The ipAddress property +// SetIpAddress sets the ipAddress property value. The current IP address of the NIC. func (m *NicEvidence) SetIpAddress(value IpEvidenceable)() { err := m.GetBackingStore().Set("ipAddress", value) if err != nil { panic(err) } } -// SetMacAddress sets the macAddress property value. The macAddress property +// SetMacAddress sets the macAddress property value. The MAC address of the NIC. func (m *NicEvidence) SetMacAddress(value *string)() { err := m.GetBackingStore().Set("macAddress", value) if err != nil { panic(err) } } -// SetVlans sets the vlans property value. The vlans property +// SetVlans sets the vlans property value. The current virtual local area networks of the NIC. func (m *NicEvidence) SetVlans(value []string)() { err := m.GetBackingStore().Set("vlans", value) if err != nil { diff --git a/models/security/purge_type.go b/models/security/purge_type.go index dca2344c45..005d69aeb0 100644 --- a/models/security/purge_type.go +++ b/models/security/purge_type.go @@ -3,22 +3,22 @@ type PurgeType int const ( RECOVERABLE_PURGETYPE PurgeType = iota - PERMANENTLYDELETED_PURGETYPE UNKNOWNFUTUREVALUE_PURGETYPE + PERMANENTLYDELETE_PURGETYPE ) func (i PurgeType) String() string { - return []string{"recoverable", "permanentlyDeleted", "unknownFutureValue"}[i] + return []string{"recoverable", "unknownFutureValue", "permanentlyDelete"}[i] } func ParsePurgeType(v string) (any, error) { result := RECOVERABLE_PURGETYPE switch v { case "recoverable": result = RECOVERABLE_PURGETYPE - case "permanentlyDeleted": - result = PERMANENTLYDELETED_PURGETYPE case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_PURGETYPE + case "permanentlyDelete": + result = PERMANENTLYDELETE_PURGETYPE default: return nil, nil } diff --git a/models/sign_in.go b/models/sign_in.go index 0932fade51..902d50b000 100644 --- a/models/sign_in.go +++ b/models/sign_in.go @@ -44,7 +44,7 @@ func (m *SignIn) GetAppId()(*string) { } return nil } -// GetAppliedConditionalAccessPolicies gets the appliedConditionalAccessPolicies property value. Provides a list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Viewing applied conditional access (CA) policies in sign-ins. +// GetAppliedConditionalAccessPolicies gets the appliedConditionalAccessPolicies property value. Provides a list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Permissions for viewing applied conditional access (CA) policies in sign-ins. // returns a []AppliedConditionalAccessPolicyable when successful func (m *SignIn) GetAppliedConditionalAccessPolicies()([]AppliedConditionalAccessPolicyable) { val, err := m.GetBackingStore().Get("appliedConditionalAccessPolicies") @@ -721,7 +721,7 @@ func (m *SignIn) SetAppId(value *string)() { panic(err) } } -// SetAppliedConditionalAccessPolicies sets the appliedConditionalAccessPolicies property value. Provides a list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Viewing applied conditional access (CA) policies in sign-ins. +// SetAppliedConditionalAccessPolicies sets the appliedConditionalAccessPolicies property value. Provides a list of conditional access policies that the corresponding sign-in activity triggers. Apps need more Conditional Access-related privileges to read the details of this property. For more information, see Permissions for viewing applied conditional access (CA) policies in sign-ins. func (m *SignIn) SetAppliedConditionalAccessPolicies(value []AppliedConditionalAccessPolicyable)() { err := m.GetBackingStore().Set("appliedConditionalAccessPolicies", value) if err != nil { diff --git a/models/teams_app_authorization.go b/models/teams_app_authorization.go index d1f18191d9..8d8ae1288e 100644 --- a/models/teams_app_authorization.go +++ b/models/teams_app_authorization.go @@ -40,10 +40,32 @@ func (m *TeamsAppAuthorization) GetAdditionalData()(map[string]any) { func (m *TeamsAppAuthorization) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetClientAppId gets the clientAppId property value. The registration ID of the Microsoft Entra app ID associated with the teamsApp. +// returns a *string when successful +func (m *TeamsAppAuthorization) GetClientAppId()(*string) { + val, err := m.GetBackingStore().Get("clientAppId") + 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 *TeamsAppAuthorization) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["clientAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientAppId(val) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -92,6 +114,12 @@ func (m *TeamsAppAuthorization) GetRequiredPermissionSet()(TeamsAppPermissionSet } // Serialize serializes information the current object func (m *TeamsAppAuthorization) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("clientAppId", m.GetClientAppId()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { @@ -123,6 +151,13 @@ func (m *TeamsAppAuthorization) SetAdditionalData(value map[string]any)() { func (m *TeamsAppAuthorization) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetClientAppId sets the clientAppId property value. The registration ID of the Microsoft Entra app ID associated with the teamsApp. +func (m *TeamsAppAuthorization) SetClientAppId(value *string)() { + err := m.GetBackingStore().Set("clientAppId", value) + if err != nil { + panic(err) + } +} // SetOdataType sets the @odata.type property value. The OdataType property func (m *TeamsAppAuthorization) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) @@ -142,9 +177,11 @@ type TeamsAppAuthorizationable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClientAppId()(*string) GetOdataType()(*string) GetRequiredPermissionSet()(TeamsAppPermissionSetable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClientAppId(value *string)() SetOdataType(value *string)() SetRequiredPermissionSet(value TeamsAppPermissionSetable)() } diff --git a/models/user.go b/models/user.go index f28d0177fa..d4a3b973ca 100644 --- a/models/user.go +++ b/models/user.go @@ -2723,7 +2723,7 @@ func (m *User) GetPasswordPolicies()(*string) { } return nil } -// GetPasswordProfile gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: In delegated access, the calling app must be assigned the Directory.AccessAsUser.All delegated permission on behalf of the signed-in user. In application-only access, the calling app must be assigned the User.ReadWrite.All (least privilege) or Directory.ReadWrite.All (higher privilege) application permission and at least the User Administrator Microsoft Entra role. +// GetPasswordProfile gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: In delegated access, the calling app must be assigned the User-PasswordProfile.ReadWrite.All delegated permission on behalf of the signed-in user. In application-only access, the calling app must be assigned the User-PasswordProfile.ReadWrite.All application permission and at least the User Administrator Microsoft Entra role. // returns a PasswordProfileable when successful func (m *User) GetPasswordProfile()(PasswordProfileable) { val, err := m.GetBackingStore().Get("passwordProfile") @@ -4839,7 +4839,7 @@ func (m *User) SetPasswordPolicies(value *string)() { panic(err) } } -// SetPasswordProfile sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: In delegated access, the calling app must be assigned the Directory.AccessAsUser.All delegated permission on behalf of the signed-in user. In application-only access, the calling app must be assigned the User.ReadWrite.All (least privilege) or Directory.ReadWrite.All (higher privilege) application permission and at least the User Administrator Microsoft Entra role. +// SetPasswordProfile sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: In delegated access, the calling app must be assigned the User-PasswordProfile.ReadWrite.All delegated permission on behalf of the signed-in user. In application-only access, the calling app must be assigned the User-PasswordProfile.ReadWrite.All application permission and at least the User Administrator Microsoft Entra role. func (m *User) SetPasswordProfile(value PasswordProfileable)() { err := m.GetBackingStore().Set("passwordProfile", value) if err != nil { diff --git a/models/win32_lob_app_assignment_settings.go b/models/win32_lob_app_assignment_settings.go index 8a07207d55..dc9b3baffb 100644 --- a/models/win32_lob_app_assignment_settings.go +++ b/models/win32_lob_app_assignment_settings.go @@ -22,6 +22,18 @@ func NewWin32LobAppAssignmentSettings()(*Win32LobAppAssignmentSettings) { func CreateWin32LobAppAssignmentSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWin32LobAppAssignmentSettings(), nil } +// GetAutoUpdateSettings gets the autoUpdateSettings property value. The auto-update settings to apply for this app assignment. +// returns a Win32LobAppAutoUpdateSettingsable when successful +func (m *Win32LobAppAssignmentSettings) GetAutoUpdateSettings()(Win32LobAppAutoUpdateSettingsable) { + val, err := m.GetBackingStore().Get("autoUpdateSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(Win32LobAppAutoUpdateSettingsable) + } + return nil +} // GetDeliveryOptimizationPriority gets the deliveryOptimizationPriority property value. Contains value for delivery optimization priority. // returns a *Win32LobAppDeliveryOptimizationPriority when successful func (m *Win32LobAppAssignmentSettings) GetDeliveryOptimizationPriority()(*Win32LobAppDeliveryOptimizationPriority) { @@ -38,6 +50,16 @@ func (m *Win32LobAppAssignmentSettings) GetDeliveryOptimizationPriority()(*Win32 // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *Win32LobAppAssignmentSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.MobileAppAssignmentSettings.GetFieldDeserializers() + res["autoUpdateSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWin32LobAppAutoUpdateSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAutoUpdateSettings(val.(Win32LobAppAutoUpdateSettingsable)) + } + return nil + } res["deliveryOptimizationPriority"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseWin32LobAppDeliveryOptimizationPriority) if err != nil { @@ -122,6 +144,12 @@ func (m *Win32LobAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689638 if err != nil { return err } + { + err = writer.WriteObjectValue("autoUpdateSettings", m.GetAutoUpdateSettings()) + if err != nil { + return err + } + } if m.GetDeliveryOptimizationPriority() != nil { cast := (*m.GetDeliveryOptimizationPriority()).String() err = writer.WriteStringValue("deliveryOptimizationPriority", &cast) @@ -150,6 +178,13 @@ func (m *Win32LobAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689638 } return nil } +// SetAutoUpdateSettings sets the autoUpdateSettings property value. The auto-update settings to apply for this app assignment. +func (m *Win32LobAppAssignmentSettings) SetAutoUpdateSettings(value Win32LobAppAutoUpdateSettingsable)() { + err := m.GetBackingStore().Set("autoUpdateSettings", value) + if err != nil { + panic(err) + } +} // SetDeliveryOptimizationPriority sets the deliveryOptimizationPriority property value. Contains value for delivery optimization priority. func (m *Win32LobAppAssignmentSettings) SetDeliveryOptimizationPriority(value *Win32LobAppDeliveryOptimizationPriority)() { err := m.GetBackingStore().Set("deliveryOptimizationPriority", value) @@ -181,10 +216,12 @@ func (m *Win32LobAppAssignmentSettings) SetRestartSettings(value Win32LobAppRest type Win32LobAppAssignmentSettingsable interface { MobileAppAssignmentSettingsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAutoUpdateSettings()(Win32LobAppAutoUpdateSettingsable) GetDeliveryOptimizationPriority()(*Win32LobAppDeliveryOptimizationPriority) GetInstallTimeSettings()(MobileAppInstallTimeSettingsable) GetNotifications()(*Win32LobAppNotification) GetRestartSettings()(Win32LobAppRestartSettingsable) + SetAutoUpdateSettings(value Win32LobAppAutoUpdateSettingsable)() SetDeliveryOptimizationPriority(value *Win32LobAppDeliveryOptimizationPriority)() SetInstallTimeSettings(value MobileAppInstallTimeSettingsable)() SetNotifications(value *Win32LobAppNotification)() diff --git a/models/win32_lob_app_auto_update_settings.go b/models/win32_lob_app_auto_update_settings.go new file mode 100644 index 0000000000..908efef465 --- /dev/null +++ b/models/win32_lob_app_auto_update_settings.go @@ -0,0 +1,152 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// Win32LobAppAutoUpdateSettings contains properties used to perform the auto-update of an application. +type Win32LobAppAutoUpdateSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWin32LobAppAutoUpdateSettings instantiates a new Win32LobAppAutoUpdateSettings and sets the default values. +func NewWin32LobAppAutoUpdateSettings()(*Win32LobAppAutoUpdateSettings) { + m := &Win32LobAppAutoUpdateSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWin32LobAppAutoUpdateSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWin32LobAppAutoUpdateSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWin32LobAppAutoUpdateSettings(), 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 *Win32LobAppAutoUpdateSettings) 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) +} +// GetAutoUpdateSupersededAppsState gets the autoUpdateSupersededAppsState property value. Contains value for auto-update superseded apps. +// returns a *Win32LobAutoUpdateSupersededAppsState when successful +func (m *Win32LobAppAutoUpdateSettings) GetAutoUpdateSupersededAppsState()(*Win32LobAutoUpdateSupersededAppsState) { + val, err := m.GetBackingStore().Get("autoUpdateSupersededAppsState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*Win32LobAutoUpdateSupersededAppsState) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *Win32LobAppAutoUpdateSettings) 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 *Win32LobAppAutoUpdateSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["autoUpdateSupersededAppsState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWin32LobAutoUpdateSupersededAppsState) + if err != nil { + return err + } + if val != nil { + m.SetAutoUpdateSupersededAppsState(val.(*Win32LobAutoUpdateSupersededAppsState)) + } + 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 + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *Win32LobAppAutoUpdateSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *Win32LobAppAutoUpdateSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAutoUpdateSupersededAppsState() != nil { + cast := (*m.GetAutoUpdateSupersededAppsState()).String() + err := writer.WriteStringValue("autoUpdateSupersededAppsState", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + 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 *Win32LobAppAutoUpdateSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAutoUpdateSupersededAppsState sets the autoUpdateSupersededAppsState property value. Contains value for auto-update superseded apps. +func (m *Win32LobAppAutoUpdateSettings) SetAutoUpdateSupersededAppsState(value *Win32LobAutoUpdateSupersededAppsState)() { + err := m.GetBackingStore().Set("autoUpdateSupersededAppsState", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *Win32LobAppAutoUpdateSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *Win32LobAppAutoUpdateSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type Win32LobAppAutoUpdateSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAutoUpdateSupersededAppsState()(*Win32LobAutoUpdateSupersededAppsState) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetAutoUpdateSupersededAppsState(value *Win32LobAutoUpdateSupersededAppsState)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/win32_lob_auto_update_superseded_apps_state.go b/models/win32_lob_auto_update_superseded_apps_state.go new file mode 100644 index 0000000000..c09979096b --- /dev/null +++ b/models/win32_lob_auto_update_superseded_apps_state.go @@ -0,0 +1,40 @@ +package models +// Contains value for auto-update superseded apps. +type Win32LobAutoUpdateSupersededAppsState int + +const ( + // Indicates that the auto-update superseded apps state is not configured and the app will not auto-update the superseded apps. + NOTCONFIGURED_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE Win32LobAutoUpdateSupersededAppsState = iota + // Indicates that the auto-update superseded apps state is enabled and the app will auto-update the superseded apps if the superseded apps are installed on the device. + ENABLED_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE +) + +func (i Win32LobAutoUpdateSupersededAppsState) String() string { + return []string{"notConfigured", "enabled", "unknownFutureValue"}[i] +} +func ParseWin32LobAutoUpdateSupersededAppsState(v string) (any, error) { + result := NOTCONFIGURED_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE + switch v { + case "notConfigured": + result = NOTCONFIGURED_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE + case "enabled": + result = ENABLED_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WIN32LOBAUTOUPDATESUPERSEDEDAPPSSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeWin32LobAutoUpdateSupersededAppsState(values []Win32LobAutoUpdateSupersededAppsState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i Win32LobAutoUpdateSupersededAppsState) isMultiValue() bool { + return false +} 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/oauth2permissiongrants/delta_request_builder.go b/oauth2permissiongrants/delta_request_builder.go index d6c1d1972e..d79a7f0a43 100644 --- a/oauth2permissiongrants/delta_request_builder.go +++ b/oauth2permissiongrants/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. +// Get get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. +// GetAsDeltaGetResponse get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. +// ToGetRequestInformation get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/delta_request_builder.go b/organization/delta_request_builder.go index c2e00aac6d..e117ff2d4f 100644 --- a/organization/delta_request_builder.go +++ b/organization/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*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 17ae3d1ceb..d59c4559ee 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -11,7 +11,7 @@ import ( type OrganizationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OrganizationRequestBuilderGetQueryParameters list properties and relationships of the organization objects. +// OrganizationRequestBuilderGetQueryParameters retrieve a list of organization objects. There's only one organization object in the collection. 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 list properties and relationships of the organization objects. +// Get retrieve a list of organization objects. There's only one organization object in the collection. // 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/intune-onboarding-organization-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/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 list properties and relationships of the organization objects. +// ToGetRequestInformation retrieve a list of organization objects. There's only one organization object in the collection. // 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/permissiongrants/delta_request_builder.go b/permissiongrants/delta_request_builder.go index 5b33c57b8b..01d2587204 100644 --- a/permissiongrants/delta_request_builder.go +++ b/permissiongrants/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index f7b393e8d0..efaced0fd0 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -96,12 +96,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Put create a cross-tenant user synchronization policy for a partner-specific configuration. +// Put update the user synchronization policy of a partner-specific configuration. // returns a CrossTenantIdentitySyncPolicyPartnerable 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/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. +// ToPutRequestInformation update the user synchronization policy of a partner-specific configuration. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/privacy/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go b/privacy/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go new file mode 100644 index 0000000000..a30f977593 --- /dev/null +++ b/privacy/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go @@ -0,0 +1,87 @@ +package privacy + +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" +) + +// SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. +type SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters collection of users who can approve the request. Currently only supported for requests of type delete. +type SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal instantiates a new SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + m := &SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder instantiates a new SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get collection of users who can approve the request. Currently only supported for requests of type delete. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(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 +} +// ToGetRequestInformation collection of users who can approve the request. Currently only supported for requests of type delete. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a *RequestInformation when successful +func (m *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go b/privacy/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go new file mode 100644 index 0000000000..43838912e5 --- /dev/null +++ b/privacy/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go @@ -0,0 +1,87 @@ +package privacy + +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" +) + +// SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. +type SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters collection of users who can collaborate on the request. +type SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal instantiates a new SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + m := &SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder instantiates a new SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get collection of users who can collaborate on the request. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(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 +} +// ToGetRequestInformation collection of users who can collaborate on the request. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a *RequestInformation when successful +func (m *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go index 9d6f8b751a..ba523434ca 100644 --- a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -46,11 +46,23 @@ type SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConf func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Approvers()(*SubjectRightsRequestsItemApproversRequestBuilder) { return NewSubjectRightsRequestsItemApproversRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ApproversWithUserPrincipalName provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ApproversWithUserPrincipalName(userPrincipalName *string)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} // Collaborators provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. // returns a *SubjectRightsRequestsItemCollaboratorsRequestBuilder when successful func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Collaborators()(*SubjectRightsRequestsItemCollaboratorsRequestBuilder) { return NewSubjectRightsRequestsItemCollaboratorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// CollaboratorsWithUserPrincipalName provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate +// returns a *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) CollaboratorsWithUserPrincipalName(userPrincipalName *string)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} // NewSubjectRightsRequestsSubjectRightsRequestItemRequestBuilderInternal instantiates a new SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder and sets the default values. func NewSubjectRightsRequestsSubjectRightsRequestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { m := &SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder{ diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go index 7965be4dc9..47d61bd187 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters get a list of the siteSource objects associated with an ediscoveryCustodian. +// CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. type CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder(rawUrl s func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the siteSource objects associated with an ediscoveryCustodian. +// Get get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. // returns a SiteSourceCollectionResponseable 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 *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Post(c } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SiteSourceable), nil } -// ToGetRequestInformation get a list of the siteSource objects associated with an ediscoveryCustodian. +// ToGetRequestInformation get a list of the siteSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go index 454c36114d..9d4372d3a1 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters get a list of the userSource objects associated with an ediscoveryCustodian. +// CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters get a list of the userSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. type CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder(rawUrl s func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the userSource objects associated with an ediscoveryCustodian. +// Get get a list of the userSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. // returns a UserSourceCollectionResponseable 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 *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Post(c } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.UserSourceable), nil } -// ToGetRequestInformation get a list of the userSource objects associated with an ediscoveryCustodian. +// ToGetRequestInformation get a list of the userSource objects associated with an ediscoveryCustodian or ediscoveryHoldPolicy. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go index 9b1296ef7b..3ba44aa7bb 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go @@ -30,8 +30,11 @@ func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRe urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action exportReport +// Post export an item report from an estimated ediscoverySearch. For details, see Manage a collection estimate. // 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/security-ediscoverysearch-exportreport?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportR } return nil } -// ToPostRequestInformation invoke action exportReport +// ToPostRequestInformation export an item report from an estimated ediscoverySearch. For details, see Manage a collection estimate. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go index 2aac5cd266..a0d46c93a2 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go @@ -30,8 +30,11 @@ func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRe urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action exportResult +// Post export results from an estimated ediscoverySearch. For details, see Manage a collection estimate. // 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/security-ediscoverysearch-exportresult?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultR } return nil } -// ToPostRequestInformation invoke action exportResult +// ToPostRequestInformation export results from an estimated ediscoverySearch. For details, see Manage a collection estimate. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go index 85cec490c0..87c699b664 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go @@ -30,7 +30,7 @@ func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataReque urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams +// Post delete Exchange mailbox items or Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -49,7 +49,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequ } return nil } -// ToPostRequestInformation delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams +// ToPostRequestInformation delete Exchange mailbox items or Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataPurgeDataPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go b/security/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go new file mode 100644 index 0000000000..b757a55e9c --- /dev/null +++ b/security/subject_rights_requests_item_approvers_with_user_principal_name_request_builder.go @@ -0,0 +1,84 @@ +package security + +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" +) + +// SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. +type SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters collection of users who can approve the request. Currently only supported for requests of type delete. +type SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal instantiates a new SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + m := &SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder instantiates a new SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get collection of users who can approve the request. Currently only supported for requests of type delete. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(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 +} +// ToGetRequestInformation collection of users who can approve the request. Currently only supported for requests of type delete. +// returns a *RequestInformation when successful +func (m *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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 *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go b/security/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go new file mode 100644 index 0000000000..08aab44199 --- /dev/null +++ b/security/subject_rights_requests_item_collaborators_with_user_principal_name_request_builder.go @@ -0,0 +1,84 @@ +package security + +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" +) + +// SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. +type SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters collection of users who can collaborate on the request. +type SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal instantiates a new SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + m := &SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder instantiates a new SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder and sets the default values. +func NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get collection of users who can collaborate on the request. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(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 +} +// ToGetRequestInformation collection of users who can collaborate on the request. +// returns a *RequestInformation when successful +func (m *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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 *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_subject_rights_request_item_request_builder.go b/security/subject_rights_requests_subject_rights_request_item_request_builder.go index 80a4d9d8a8..57155e960e 100644 --- a/security/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/security/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -46,11 +46,21 @@ type SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConf func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Approvers()(*SubjectRightsRequestsItemApproversRequestBuilder) { return NewSubjectRightsRequestsItemApproversRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ApproversWithUserPrincipalName provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. +// returns a *SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ApproversWithUserPrincipalName(userPrincipalName *string)(*SubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemApproversWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} // Collaborators provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. // returns a *SubjectRightsRequestsItemCollaboratorsRequestBuilder when successful func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Collaborators()(*SubjectRightsRequestsItemCollaboratorsRequestBuilder) { return NewSubjectRightsRequestsItemCollaboratorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// CollaboratorsWithUserPrincipalName provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. +// returns a *SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder when successful +func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) CollaboratorsWithUserPrincipalName(userPrincipalName *string)(*SubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsWithUserPrincipalNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, userPrincipalName) +} // NewSubjectRightsRequestsSubjectRightsRequestItemRequestBuilderInternal instantiates a new SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder and sets the default values. func NewSubjectRightsRequestsSubjectRightsRequestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { m := &SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder{ diff --git a/serviceprincipals/delta_request_builder.go b/serviceprincipals/delta_request_builder.go index e2acf0ef01..5d70242825 100644 --- a/serviceprincipals/delta_request_builder.go +++ b/serviceprincipals/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. +// Get get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. +// GetAsDeltaGetResponse get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. +// ToGetRequestInformation get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index ea2f72cc41..788f10c0fa 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters returns the metadata for a list. +// ItemListsListItemRequestBuilderGetQueryParameters get a list of rich long-running operations associated with a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the metadata for a list. +// Get get a list of rich long-running operations associated with a list. // returns a Listable 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/list-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +164,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the metadata for a list. +// ToGetRequestInformation get a list of rich long-running operations associated with a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_request_builder.go b/storage/file_storage_containers_request_builder.go index 43f85f31fb..fa9246fa99 100644 --- a/storage/file_storage_containers_request_builder.go +++ b/storage/file_storage_containers_request_builder.go @@ -99,7 +99,7 @@ func (m *FileStorageContainersRequestBuilder) Get(ctx context.Context, requestCo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerCollectionResponseable), nil } -// Post create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. +// Post create a new fileStorageContainer object. The container type identified by containerTypeId must be registered in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -136,7 +136,7 @@ func (m *FileStorageContainersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. +// ToPostRequestInformation create a new fileStorageContainer object. The container type identified by containerTypeId must be registered in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. // returns a *RequestInformation when successful func (m *FileStorageContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, requestConfiguration *FileStorageContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) 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 ae2ecb4325..3a1ee4dc79 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 @@ -54,11 +54,11 @@ func NewItemChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. +// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. // 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/conversationmember-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. +// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 30a8a46ab2..c30e9e2053 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the 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?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/delta_request_builder.go b/users/delta_request_builder.go index 9954ad4d5d..a92ca7d918 100644 --- a/users/delta_request_builder.go +++ b/users/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. +// Get get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. +// ToGetRequestInformation get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*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 d9b5ebc483..587e298a41 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -18,7 +18,7 @@ type UserItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UserItemRequestBuilderGetQueryParameters read properties and relationships of the user object. +// UserItemRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. type UserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -139,11 +139,11 @@ func (m *UserItemRequestBuilder) Contacts()(*ItemContactsRequestBuilder) { func (m *UserItemRequestBuilder) CreatedObjects()(*ItemCreatedObjectsRequestBuilder) { return NewItemCreatedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes a user. +// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -218,12 +218,12 @@ func (m *UserItemRequestBuilder) FindMeetingTimes()(*ItemFindMeetingTimesRequest func (m *UserItemRequestBuilder) FollowedSites()(*ItemFollowedSitesRequestBuilder) { return NewItemFollowedSitesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the user object. +// Get retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // 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/intune-onboarding-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/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/intune-onboarding-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 { @@ -479,7 +479,7 @@ func (m *UserItemRequestBuilder) Sponsors()(*ItemSponsorsRequestBuilder) { func (m *UserItemRequestBuilder) Teamwork()(*ItemTeamworkRequestBuilder) { return NewItemTeamworkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a user. +// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -495,7 +495,7 @@ func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, func (m *UserItemRequestBuilder) Todo()(*ItemTodoRequestBuilder) { return NewItemTodoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read properties and relationships of the user object. +// ToGetRequestInformation retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 new file mode 100644 index 0000000000..8e7619ce02 --- /dev/null +++ b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go @@ -0,0 +1,169 @@ +package userswithuserprincipalname + +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" +) + +// UsersWithUserPrincipalNameRequestBuilder provides operations to manage the collection of user entities. +type UsersWithUserPrincipalNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. +type UsersWithUserPrincipalNameRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersWithUserPrincipalNameRequestBuilderGetQueryParameters +} +// UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersWithUserPrincipalNameRequestBuilderInternal instantiates a new UsersWithUserPrincipalNameRequestBuilder and sets the default values. +func NewUsersWithUserPrincipalNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, userPrincipalName *string)(*UsersWithUserPrincipalNameRequestBuilder) { + m := &UsersWithUserPrincipalNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users(userPrincipalName='{userPrincipalName}'){?%24expand,%24select}", pathParameters), + } + if userPrincipalName != nil { + m.BaseRequestBuilder.PathParameters["userPrincipalName"] = *userPrincipalName + } + return m +} +// NewUsersWithUserPrincipalNameRequestBuilder instantiates a new UsersWithUserPrincipalNameRequestBuilder and sets the default values. +func NewUsersWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersWithUserPrincipalNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// 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-delete?view=graph-rest-1.0 +func (m *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(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 retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. +// 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-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 { + 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 +} +// Patch update the properties of a 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/intune-onboarding-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 { + 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 +} +// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// returns a *RequestInformation when successful +func (m *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(*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 retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. +// returns a *RequestInformation when successful +func (m *UsersWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*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 properties of a user object. +// returns a *RequestInformation when successful +func (m *UsersWithUserPrincipalNameRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration)(*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 *UsersWithUserPrincipalNameRequestBuilder when successful +func (m *UsersWithUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*UsersWithUserPrincipalNameRequestBuilder) { + return NewUsersWithUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +}