msgraph-sdk 1.9.0__py3-none-any.whl → 1.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msgraph/_version.py +1 -1
- msgraph/generated/chats/item/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/chats/item/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.py +3 -3
- msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +7 -7
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +3 -3
- msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
- msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
- msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +3 -3
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +7 -7
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py +10 -0
- msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py +157 -0
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +6 -6
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +3 -3
- msgraph/generated/domains/item/root_domain/root_domain_request_builder.py +4 -3
- msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
- msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/identity/authentication_event_listeners/item/authentication_event_listener_item_request_builder.py +7 -7
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +6 -6
- msgraph/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py +7 -7
- msgraph/generated/identity/custom_authentication_extensions/item/validate_authentication_configuration/validate_authentication_configuration_request_builder.py +2 -2
- msgraph/generated/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.py +2 -2
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +7 -7
- msgraph/generated/invitations/invitations_request_builder.py +2 -2
- msgraph/generated/kiota-dom-export.txt +34 -2
- msgraph/generated/kiota-lock.json +2 -2
- msgraph/generated/models/access_package_assignment_request.py +1 -1
- msgraph/generated/models/domain.py +1 -1
- msgraph/generated/models/drive.py +2 -2
- msgraph/generated/models/entitlement_management_schedule.py +1 -1
- msgraph/generated/models/on_attribute_collection_external_users_self_service_sign_up.py +1 -1
- msgraph/generated/models/on_authentication_method_load_start_listener.py +1 -1
- msgraph/generated/models/on_premises_directory_synchronization_feature.py +1 -1
- msgraph/generated/models/security/io_t_device_evidence.py +3 -3
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/teams_app_definition.py +1 -1
- msgraph/generated/models/user.py +3 -3
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/solutions/backup_restore/drive_protection_units/drive_protection_units_request_builder.py +3 -4
- msgraph/generated/solutions/backup_restore/mailbox_protection_units/mailbox_protection_units_request_builder.py +3 -4
- msgraph/generated/solutions/backup_restore/site_protection_units/site_protection_units_request_builder.py +3 -4
- msgraph/generated/solutions/virtual_events/webinars/webinars_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/chats/item/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_request_builder.py +3 -3
- msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +3 -3
- msgraph/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py +10 -0
- msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py +157 -0
- msgraph/generated/users/item/user_item_request_builder.py +5 -5
- msgraph/generated/users/users_request_builder.py +1 -1
- {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.11.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.11.0.dist-info}/RECORD +87 -85
- {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.11.0.dist-info}/LICENSE +0 -0
- {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.11.0.dist-info}/WHEEL +0 -0
@@ -40,10 +40,10 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
40
40
|
|
41
41
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
42
42
|
"""
|
43
|
-
Deletes a
|
43
|
+
Deletes a iosCompliancePolicy.
|
44
44
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
45
45
|
Returns: None
|
46
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
46
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0
|
47
47
|
"""
|
48
48
|
request_info = self.to_delete_request_information(
|
49
49
|
request_configuration
|
@@ -59,10 +59,10 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
59
59
|
|
60
60
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]:
|
61
61
|
"""
|
62
|
-
Read properties and relationships of the
|
62
|
+
Read properties and relationships of the macOSCompliancePolicy object.
|
63
63
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
64
64
|
Returns: Optional[DeviceCompliancePolicy]
|
65
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
65
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0
|
66
66
|
"""
|
67
67
|
request_info = self.to_get_request_information(
|
68
68
|
request_configuration
|
@@ -80,11 +80,11 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
80
80
|
|
81
81
|
async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]:
|
82
82
|
"""
|
83
|
-
Update the properties of a
|
83
|
+
Update the properties of a macOSCompliancePolicy object.
|
84
84
|
param body: The request body
|
85
85
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
86
86
|
Returns: Optional[DeviceCompliancePolicy]
|
87
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
87
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-update?view=graph-rest-1.0
|
88
88
|
"""
|
89
89
|
if body is None:
|
90
90
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Deletes a
|
107
|
+
Deletes a iosCompliancePolicy.
|
108
108
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
109
109
|
Returns: RequestInformation
|
110
110
|
"""
|
@@ -115,7 +115,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
115
115
|
|
116
116
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
117
117
|
"""
|
118
|
-
Read properties and relationships of the
|
118
|
+
Read properties and relationships of the macOSCompliancePolicy object.
|
119
119
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
120
120
|
Returns: RequestInformation
|
121
121
|
"""
|
@@ -126,7 +126,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Update the properties of a
|
129
|
+
Update the properties of a macOSCompliancePolicy object.
|
130
130
|
param body: The request body
|
131
131
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
132
132
|
Returns: RequestInformation
|
@@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
240
240
|
@dataclass
|
241
241
|
class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters():
|
242
242
|
"""
|
243
|
-
Read properties and relationships of the
|
243
|
+
Read properties and relationships of the macOSCompliancePolicy object.
|
244
244
|
"""
|
245
245
|
def get_query_parameter(self,original_name: str) -> str:
|
246
246
|
"""
|
msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py
CHANGED
@@ -48,10 +48,10 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
48
48
|
|
49
49
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]:
|
50
50
|
"""
|
51
|
-
List properties and relationships of the
|
51
|
+
List properties and relationships of the androidCustomConfiguration objects.
|
52
52
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
53
53
|
Returns: Optional[DeviceConfigurationCollectionResponse]
|
54
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
54
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-list?view=graph-rest-1.0
|
55
55
|
"""
|
56
56
|
request_info = self.to_get_request_information(
|
57
57
|
request_configuration
|
@@ -69,11 +69,11 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new windowsUpdateForBusinessConfiguration object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[DeviceConfiguration]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -93,7 +93,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
List properties and relationships of the
|
96
|
+
List properties and relationships of the androidCustomConfiguration objects.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -104,7 +104,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new windowsUpdateForBusinessConfiguration object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -139,7 +139,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class DeviceConfigurationsRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
List properties and relationships of the
|
142
|
+
List properties and relationships of the androidCustomConfiguration objects.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -39,10 +39,10 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
|
40
40
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
41
41
|
"""
|
42
|
-
Deletes a
|
42
|
+
Deletes a windows10GeneralConfiguration.
|
43
43
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
44
44
|
Returns: None
|
45
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
45
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0
|
46
46
|
"""
|
47
47
|
request_info = self.to_delete_request_information(
|
48
48
|
request_configuration
|
@@ -58,10 +58,10 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
58
58
|
|
59
59
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
60
60
|
"""
|
61
|
-
Read properties and relationships of the
|
61
|
+
Read properties and relationships of the iosUpdateConfiguration object.
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: Optional[DeviceConfiguration]
|
64
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
64
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdateconfiguration-get?view=graph-rest-1.0
|
65
65
|
"""
|
66
66
|
request_info = self.to_get_request_information(
|
67
67
|
request_configuration
|
@@ -91,11 +91,11 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
91
91
|
|
92
92
|
async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
93
93
|
"""
|
94
|
-
Update the properties of a
|
94
|
+
Update the properties of a windows10TeamGeneralConfiguration object.
|
95
95
|
param body: The request body
|
96
96
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
97
|
Returns: Optional[DeviceConfiguration]
|
98
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
98
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-update?view=graph-rest-1.0
|
99
99
|
"""
|
100
100
|
if body is None:
|
101
101
|
raise TypeError("body cannot be null.")
|
@@ -115,7 +115,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
115
115
|
|
116
116
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
117
117
|
"""
|
118
|
-
Deletes a
|
118
|
+
Deletes a windows10GeneralConfiguration.
|
119
119
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
120
120
|
Returns: RequestInformation
|
121
121
|
"""
|
@@ -126,7 +126,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Read properties and relationships of the
|
129
|
+
Read properties and relationships of the iosUpdateConfiguration object.
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: RequestInformation
|
132
132
|
"""
|
@@ -137,7 +137,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
137
137
|
|
138
138
|
def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
139
139
|
"""
|
140
|
-
Update the properties of a
|
140
|
+
Update the properties of a windows10TeamGeneralConfiguration object.
|
141
141
|
param body: The request body
|
142
142
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
143
143
|
Returns: RequestInformation
|
@@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
233
233
|
@dataclass
|
234
234
|
class DeviceConfigurationItemRequestBuilderGetQueryParameters():
|
235
235
|
"""
|
236
|
-
Read properties and relationships of the
|
236
|
+
Read properties and relationships of the iosUpdateConfiguration object.
|
237
237
|
"""
|
238
238
|
def get_query_parameter(self,original_name: str) -> str:
|
239
239
|
"""
|
@@ -69,11 +69,11 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -53,10 +53,10 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
55
55
|
"""
|
56
|
-
Read properties and relationships of the
|
56
|
+
Read properties and relationships of the deviceEnrollmentConfiguration object.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
59
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -74,11 +74,11 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
74
74
|
|
75
75
|
async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
76
76
|
"""
|
77
|
-
Update the properties of a
|
77
|
+
Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
|
78
78
|
param body: The request body
|
79
79
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
80
80
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
81
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
81
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0
|
82
82
|
"""
|
83
83
|
if body is None:
|
84
84
|
raise TypeError("body cannot be null.")
|
@@ -109,7 +109,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
109
109
|
|
110
110
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
111
111
|
"""
|
112
|
-
Read properties and relationships of the
|
112
|
+
Read properties and relationships of the deviceEnrollmentConfiguration object.
|
113
113
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
114
114
|
Returns: RequestInformation
|
115
115
|
"""
|
@@ -120,7 +120,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
120
120
|
|
121
121
|
def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
122
122
|
"""
|
123
|
-
Update the properties of a
|
123
|
+
Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
|
124
124
|
param body: The request body
|
125
125
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
126
126
|
Returns: RequestInformation
|
@@ -180,7 +180,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
180
180
|
@dataclass
|
181
181
|
class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters():
|
182
182
|
"""
|
183
|
-
Read properties and relationships of the
|
183
|
+
Read properties and relationships of the deviceEnrollmentConfiguration object.
|
184
184
|
"""
|
185
185
|
def get_query_parameter(self,original_name: str) -> str:
|
186
186
|
"""
|
@@ -95,7 +95,7 @@ class DeviceManagementRequestBuilder(BaseRequestBuilder):
|
|
95
95
|
Read properties and relationships of the deviceManagement object.
|
96
96
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
97
|
Returns: Optional[DeviceManagement]
|
98
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
98
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-get?view=graph-rest-1.0
|
99
99
|
"""
|
100
100
|
request_info = self.to_get_request_information(
|
101
101
|
request_configuration
|
@@ -129,7 +129,7 @@ class DeviceManagementRequestBuilder(BaseRequestBuilder):
|
|
129
129
|
param body: The request body
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: Optional[DeviceManagement]
|
132
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
132
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0
|
133
133
|
"""
|
134
134
|
if body is None:
|
135
135
|
raise TypeError("body cannot be null.")
|
@@ -15,6 +15,7 @@ from warnings import warn
|
|
15
15
|
if TYPE_CHECKING:
|
16
16
|
from .....models.device_category import DeviceCategory
|
17
17
|
from .....models.o_data_errors.o_data_error import ODataError
|
18
|
+
from .ref.ref_request_builder import RefRequestBuilder
|
18
19
|
|
19
20
|
class DeviceCategoryRequestBuilder(BaseRequestBuilder):
|
20
21
|
"""
|
@@ -137,6 +138,15 @@ class DeviceCategoryRequestBuilder(BaseRequestBuilder):
|
|
137
138
|
raise TypeError("raw_url cannot be null.")
|
138
139
|
return DeviceCategoryRequestBuilder(self.request_adapter, raw_url)
|
139
140
|
|
141
|
+
@property
|
142
|
+
def ref(self) -> RefRequestBuilder:
|
143
|
+
"""
|
144
|
+
Provides operations to manage the collection of deviceManagement entities.
|
145
|
+
"""
|
146
|
+
from .ref.ref_request_builder import RefRequestBuilder
|
147
|
+
|
148
|
+
return RefRequestBuilder(self.request_adapter, self.path_parameters)
|
149
|
+
|
140
150
|
@dataclass
|
141
151
|
class DeviceCategoryRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
|
142
152
|
"""
|
msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from dataclasses import dataclass, field
|
3
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
4
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
5
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
6
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
7
|
+
from kiota_abstractions.method import Method
|
8
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
9
|
+
from kiota_abstractions.request_information import RequestInformation
|
10
|
+
from kiota_abstractions.request_option import RequestOption
|
11
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
12
|
+
from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union
|
13
|
+
from warnings import warn
|
14
|
+
|
15
|
+
if TYPE_CHECKING:
|
16
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
17
|
+
from ......models.reference_update import ReferenceUpdate
|
18
|
+
|
19
|
+
class RefRequestBuilder(BaseRequestBuilder):
|
20
|
+
"""
|
21
|
+
Provides operations to manage the collection of deviceManagement entities.
|
22
|
+
"""
|
23
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None:
|
24
|
+
"""
|
25
|
+
Instantiates a new RefRequestBuilder and sets the default values.
|
26
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
27
|
+
param request_adapter: The request adapter to use to execute the requests.
|
28
|
+
Returns: None
|
29
|
+
"""
|
30
|
+
super().__init__(request_adapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCategory/$ref", path_parameters)
|
31
|
+
|
32
|
+
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
33
|
+
"""
|
34
|
+
Delete ref of navigation property deviceCategory for deviceManagement
|
35
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
36
|
+
Returns: None
|
37
|
+
"""
|
38
|
+
request_info = self.to_delete_request_information(
|
39
|
+
request_configuration
|
40
|
+
)
|
41
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
42
|
+
|
43
|
+
error_mapping: Dict[str, type[ParsableFactory]] = {
|
44
|
+
"XXX": ODataError,
|
45
|
+
}
|
46
|
+
if not self.request_adapter:
|
47
|
+
raise Exception("Http core is null")
|
48
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
49
|
+
|
50
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[str]:
|
51
|
+
"""
|
52
|
+
Device category
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
|
+
Returns: Optional[str]
|
55
|
+
"""
|
56
|
+
request_info = self.to_get_request_information(
|
57
|
+
request_configuration
|
58
|
+
)
|
59
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
60
|
+
|
61
|
+
error_mapping: Dict[str, type[ParsableFactory]] = {
|
62
|
+
"XXX": ODataError,
|
63
|
+
}
|
64
|
+
if not self.request_adapter:
|
65
|
+
raise Exception("Http core is null")
|
66
|
+
return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping)
|
67
|
+
|
68
|
+
async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
69
|
+
"""
|
70
|
+
Update the ref of navigation property deviceCategory in deviceManagement
|
71
|
+
param body: The request body
|
72
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
73
|
+
Returns: None
|
74
|
+
"""
|
75
|
+
if body is None:
|
76
|
+
raise TypeError("body cannot be null.")
|
77
|
+
request_info = self.to_put_request_information(
|
78
|
+
body, request_configuration
|
79
|
+
)
|
80
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
81
|
+
|
82
|
+
error_mapping: Dict[str, type[ParsableFactory]] = {
|
83
|
+
"XXX": ODataError,
|
84
|
+
}
|
85
|
+
if not self.request_adapter:
|
86
|
+
raise Exception("Http core is null")
|
87
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
88
|
+
|
89
|
+
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
90
|
+
"""
|
91
|
+
Delete ref of navigation property deviceCategory for deviceManagement
|
92
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
93
|
+
Returns: RequestInformation
|
94
|
+
"""
|
95
|
+
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
|
96
|
+
request_info.configure(request_configuration)
|
97
|
+
request_info.headers.try_add("Accept", "application/json")
|
98
|
+
return request_info
|
99
|
+
|
100
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
101
|
+
"""
|
102
|
+
Device category
|
103
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
104
|
+
Returns: RequestInformation
|
105
|
+
"""
|
106
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
107
|
+
request_info.configure(request_configuration)
|
108
|
+
request_info.headers.try_add("Accept", "application/json")
|
109
|
+
return request_info
|
110
|
+
|
111
|
+
def to_put_request_information(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
112
|
+
"""
|
113
|
+
Update the ref of navigation property deviceCategory in deviceManagement
|
114
|
+
param body: The request body
|
115
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
116
|
+
Returns: RequestInformation
|
117
|
+
"""
|
118
|
+
if body is None:
|
119
|
+
raise TypeError("body cannot be null.")
|
120
|
+
request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters)
|
121
|
+
request_info.configure(request_configuration)
|
122
|
+
request_info.headers.try_add("Accept", "application/json")
|
123
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
124
|
+
return request_info
|
125
|
+
|
126
|
+
def with_url(self,raw_url: str) -> RefRequestBuilder:
|
127
|
+
"""
|
128
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
129
|
+
param raw_url: The raw URL to use for the request builder.
|
130
|
+
Returns: RefRequestBuilder
|
131
|
+
"""
|
132
|
+
if raw_url is None:
|
133
|
+
raise TypeError("raw_url cannot be null.")
|
134
|
+
return RefRequestBuilder(self.request_adapter, raw_url)
|
135
|
+
|
136
|
+
@dataclass
|
137
|
+
class RefRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
|
138
|
+
"""
|
139
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
140
|
+
"""
|
141
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
142
|
+
|
143
|
+
@dataclass
|
144
|
+
class RefRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]):
|
145
|
+
"""
|
146
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
147
|
+
"""
|
148
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
149
|
+
|
150
|
+
@dataclass
|
151
|
+
class RefRequestBuilderPutRequestConfiguration(RequestConfiguration[QueryParameters]):
|
152
|
+
"""
|
153
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
154
|
+
"""
|
155
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
156
|
+
|
157
|
+
|
msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py
CHANGED
@@ -32,10 +32,10 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
Deletes a
|
35
|
+
Deletes a roleDefinition.
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: None
|
38
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -72,11 +72,11 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
|
74
74
|
"""
|
75
|
-
Update the properties of a
|
75
|
+
Update the properties of a deviceAndAppManagementRoleDefinition object.
|
76
76
|
param body: The request body
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[RoleDefinition]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -96,7 +96,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
Deletes a
|
99
|
+
Deletes a roleDefinition.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -118,7 +118,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
Update the properties of a
|
121
|
+
Update the properties of a deviceAndAppManagementRoleDefinition object.
|
122
122
|
param body: The request body
|
123
123
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
124
124
|
Returns: RequestInformation
|
@@ -69,11 +69,11 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new roleDefinition object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[RoleDefinition]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new roleDefinition object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -31,9 +31,10 @@ class RootDomainRequestBuilder(BaseRequestBuilder):
|
|
31
31
|
|
32
32
|
async def get(self,request_configuration: Optional[RequestConfiguration[RootDomainRequestBuilderGetQueryParameters]] = None) -> Optional[Domain]:
|
33
33
|
"""
|
34
|
-
Get
|
34
|
+
Get the root domain of a subdomain. This API returns a single object.
|
35
35
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
36
36
|
Returns: Optional[Domain]
|
37
|
+
Find more info here: https://learn.microsoft.com/graph/api/domain-get-rootdomain?view=graph-rest-1.0
|
37
38
|
"""
|
38
39
|
request_info = self.to_get_request_information(
|
39
40
|
request_configuration
|
@@ -51,7 +52,7 @@ class RootDomainRequestBuilder(BaseRequestBuilder):
|
|
51
52
|
|
52
53
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RootDomainRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
53
54
|
"""
|
54
|
-
Get
|
55
|
+
Get the root domain of a subdomain. This API returns a single object.
|
55
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
57
|
Returns: RequestInformation
|
57
58
|
"""
|
@@ -73,7 +74,7 @@ class RootDomainRequestBuilder(BaseRequestBuilder):
|
|
73
74
|
@dataclass
|
74
75
|
class RootDomainRequestBuilderGetQueryParameters():
|
75
76
|
"""
|
76
|
-
Get
|
77
|
+
Get the root domain of a subdomain. This API returns a single object.
|
77
78
|
"""
|
78
79
|
def get_query_parameter(self,original_name: str) -> str:
|
79
80
|
"""
|
@@ -32,11 +32,11 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
|
34
34
|
"""
|
35
|
-
|
35
|
+
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.
|
36
36
|
param body: The request body
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: Optional[WorkbookTable]
|
39
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0
|
40
40
|
"""
|
41
41
|
if body is None:
|
42
42
|
raise TypeError("body cannot be null.")
|
@@ -56,7 +56,7 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
58
58
|
"""
|
59
|
-
|
59
|
+
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.
|
60
60
|
param body: The request body
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: RequestInformation
|
msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py
CHANGED
@@ -32,11 +32,11 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
|
34
34
|
"""
|
35
|
-
|
35
|
+
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.
|
36
36
|
param body: The request body
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: Optional[WorkbookTable]
|
39
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0
|
40
40
|
"""
|
41
41
|
if body is None:
|
42
42
|
raise TypeError("body cannot be null.")
|
@@ -56,7 +56,7 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
58
58
|
"""
|
59
|
-
|
59
|
+
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.
|
60
60
|
param body: The request body
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: RequestInformation
|