msgraph-sdk 1.23.0__py3-none-any.whl → 1.24.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/members/item/conversation_member_item_request_builder.py +4 -4
- 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_policies/managed_app_policies_request_builder.py +4 -4
- 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/item/managed_app_registration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +4 -4
- 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 +7 -7
- 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 +7 -7
- msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +7 -7
- 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/role_definitions/item/role_definition_item_request_builder.py +7 -7
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +3 -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/names/item/range/range_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/groups_request_builder.py +3 -3
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +4 -4
- msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +3 -3
- msgraph/generated/kiota-dom-export.txt +37 -0
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/air_print_settings.py +61 -0
- msgraph/generated/models/incompatible_printer_settings.py +7 -0
- msgraph/generated/models/print_document.py +9 -0
- msgraph/generated/models/print_job.py +8 -0
- msgraph/generated/models/print_settings.py +11 -0
- msgraph/generated/models/printer_discovery_settings.py +61 -0
- msgraph/generated/models/team.py +1 -1
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/organization_item_request_builder.py +4 -4
- msgraph/generated/organization/organization_request_builder.py +4 -4
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/sites/sites_request_builder.py +4 -4
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +6 -6
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/users_request_builder.py +4 -4
- {msgraph_sdk-1.23.0.dist-info → msgraph_sdk-1.24.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.23.0.dist-info → msgraph_sdk-1.24.0.dist-info}/RECORD +57 -54
- {msgraph_sdk-1.23.0.dist-info → msgraph_sdk-1.24.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.23.0.dist-info → msgraph_sdk-1.24.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from collections.abc import Callable
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
|
+
|
8
|
+
if TYPE_CHECKING:
|
9
|
+
from .incompatible_printer_settings import IncompatiblePrinterSettings
|
10
|
+
|
11
|
+
@dataclass
|
12
|
+
class AirPrintSettings(AdditionalDataHolder, BackedModel, Parsable):
|
13
|
+
# Stores model information.
|
14
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
15
|
+
|
16
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
|
+
# The incompatiblePrinters property
|
19
|
+
incompatible_printers: Optional[IncompatiblePrinterSettings] = None
|
20
|
+
# The OdataType property
|
21
|
+
odata_type: Optional[str] = None
|
22
|
+
|
23
|
+
@staticmethod
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AirPrintSettings:
|
25
|
+
"""
|
26
|
+
Creates a new instance of the appropriate class based on discriminator value
|
27
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
28
|
+
Returns: AirPrintSettings
|
29
|
+
"""
|
30
|
+
if parse_node is None:
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
32
|
+
return AirPrintSettings()
|
33
|
+
|
34
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
35
|
+
"""
|
36
|
+
The deserialization information for the current model
|
37
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
38
|
+
"""
|
39
|
+
from .incompatible_printer_settings import IncompatiblePrinterSettings
|
40
|
+
|
41
|
+
from .incompatible_printer_settings import IncompatiblePrinterSettings
|
42
|
+
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
44
|
+
"incompatiblePrinters": lambda n : setattr(self, 'incompatible_printers', n.get_enum_value(IncompatiblePrinterSettings)),
|
45
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
46
|
+
}
|
47
|
+
return fields
|
48
|
+
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
50
|
+
"""
|
51
|
+
Serializes information the current object
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
53
|
+
Returns: None
|
54
|
+
"""
|
55
|
+
if writer is None:
|
56
|
+
raise TypeError("writer cannot be null.")
|
57
|
+
writer.write_enum_value("incompatiblePrinters", self.incompatible_printers)
|
58
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
59
|
+
writer.write_additional_data_value(self.additional_data)
|
60
|
+
|
61
|
+
|
@@ -1,4 +1,5 @@
|
|
1
1
|
from __future__ import annotations
|
2
|
+
import datetime
|
2
3
|
from collections.abc import Callable
|
3
4
|
from dataclasses import dataclass, field
|
4
5
|
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
@@ -15,10 +16,14 @@ class PrintDocument(Entity, Parsable):
|
|
15
16
|
content_type: Optional[str] = None
|
16
17
|
# The document's name. Read-only.
|
17
18
|
display_name: Optional[str] = None
|
19
|
+
# The time the document was downloaded. Read-only
|
20
|
+
downloaded_date_time: Optional[datetime.datetime] = None
|
18
21
|
# The OdataType property
|
19
22
|
odata_type: Optional[str] = None
|
20
23
|
# The document's size in bytes. Read-only.
|
21
24
|
size: Optional[int] = None
|
25
|
+
# The time the document was uploaded. Read-only
|
26
|
+
uploaded_date_time: Optional[datetime.datetime] = None
|
22
27
|
|
23
28
|
@staticmethod
|
24
29
|
def create_from_discriminator_value(parse_node: ParseNode) -> PrintDocument:
|
@@ -43,7 +48,9 @@ class PrintDocument(Entity, Parsable):
|
|
43
48
|
fields: dict[str, Callable[[Any], None]] = {
|
44
49
|
"contentType": lambda n : setattr(self, 'content_type', n.get_str_value()),
|
45
50
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
51
|
+
"downloadedDateTime": lambda n : setattr(self, 'downloaded_date_time', n.get_datetime_value()),
|
46
52
|
"size": lambda n : setattr(self, 'size', n.get_int_value()),
|
53
|
+
"uploadedDateTime": lambda n : setattr(self, 'uploaded_date_time', n.get_datetime_value()),
|
47
54
|
}
|
48
55
|
super_fields = super().get_field_deserializers()
|
49
56
|
fields.update(super_fields)
|
@@ -60,6 +67,8 @@ class PrintDocument(Entity, Parsable):
|
|
60
67
|
super().serialize(writer)
|
61
68
|
writer.write_str_value("contentType", self.content_type)
|
62
69
|
writer.write_str_value("displayName", self.display_name)
|
70
|
+
writer.write_datetime_value("downloadedDateTime", self.downloaded_date_time)
|
63
71
|
writer.write_int_value("size", self.size)
|
72
|
+
writer.write_datetime_value("uploadedDateTime", self.uploaded_date_time)
|
64
73
|
|
65
74
|
|
@@ -17,6 +17,8 @@ from .entity import Entity
|
|
17
17
|
|
18
18
|
@dataclass
|
19
19
|
class PrintJob(Entity, Parsable):
|
20
|
+
# The dateTimeOffset when the job was acknowledged. Read-only.
|
21
|
+
acknowledged_date_time: Optional[datetime.datetime] = None
|
20
22
|
# The configuration property
|
21
23
|
configuration: Optional[PrintJobConfiguration] = None
|
22
24
|
# The createdBy property
|
@@ -25,6 +27,8 @@ class PrintJob(Entity, Parsable):
|
|
25
27
|
created_date_time: Optional[datetime.datetime] = None
|
26
28
|
# The documents property
|
27
29
|
documents: Optional[list[PrintDocument]] = None
|
30
|
+
# The error code of the print job. Read-only.
|
31
|
+
error_code: Optional[int] = None
|
28
32
|
# If true, document can be fetched by printer.
|
29
33
|
is_fetchable: Optional[bool] = None
|
30
34
|
# The OdataType property
|
@@ -69,10 +73,12 @@ class PrintJob(Entity, Parsable):
|
|
69
73
|
from .user_identity import UserIdentity
|
70
74
|
|
71
75
|
fields: dict[str, Callable[[Any], None]] = {
|
76
|
+
"acknowledgedDateTime": lambda n : setattr(self, 'acknowledged_date_time', n.get_datetime_value()),
|
72
77
|
"configuration": lambda n : setattr(self, 'configuration', n.get_object_value(PrintJobConfiguration)),
|
73
78
|
"createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(UserIdentity)),
|
74
79
|
"createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
|
75
80
|
"documents": lambda n : setattr(self, 'documents', n.get_collection_of_object_values(PrintDocument)),
|
81
|
+
"errorCode": lambda n : setattr(self, 'error_code', n.get_int_value()),
|
76
82
|
"isFetchable": lambda n : setattr(self, 'is_fetchable', n.get_bool_value()),
|
77
83
|
"redirectedFrom": lambda n : setattr(self, 'redirected_from', n.get_str_value()),
|
78
84
|
"redirectedTo": lambda n : setattr(self, 'redirected_to', n.get_str_value()),
|
@@ -92,10 +98,12 @@ class PrintJob(Entity, Parsable):
|
|
92
98
|
if writer is None:
|
93
99
|
raise TypeError("writer cannot be null.")
|
94
100
|
super().serialize(writer)
|
101
|
+
writer.write_datetime_value("acknowledgedDateTime", self.acknowledged_date_time)
|
95
102
|
writer.write_object_value("configuration", self.configuration)
|
96
103
|
writer.write_object_value("createdBy", self.created_by)
|
97
104
|
writer.write_datetime_value("createdDateTime", self.created_date_time)
|
98
105
|
writer.write_collection_of_object_values("documents", self.documents)
|
106
|
+
writer.write_int_value("errorCode", self.error_code)
|
99
107
|
writer.write_bool_value("isFetchable", self.is_fetchable)
|
100
108
|
writer.write_str_value("redirectedFrom", self.redirected_from)
|
101
109
|
writer.write_str_value("redirectedTo", self.redirected_to)
|
@@ -5,6 +5,9 @@ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, Par
|
|
5
5
|
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
6
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
7
|
|
8
|
+
if TYPE_CHECKING:
|
9
|
+
from .printer_discovery_settings import PrinterDiscoverySettings
|
10
|
+
|
8
11
|
@dataclass
|
9
12
|
class PrintSettings(AdditionalDataHolder, BackedModel, Parsable):
|
10
13
|
# Stores model information.
|
@@ -16,6 +19,8 @@ class PrintSettings(AdditionalDataHolder, BackedModel, Parsable):
|
|
16
19
|
document_conversion_enabled: Optional[bool] = None
|
17
20
|
# The OdataType property
|
18
21
|
odata_type: Optional[str] = None
|
22
|
+
# Specifies settings that affect printer discovery when using Universal Print.
|
23
|
+
printer_discovery_settings: Optional[PrinterDiscoverySettings] = None
|
19
24
|
|
20
25
|
@staticmethod
|
21
26
|
def create_from_discriminator_value(parse_node: ParseNode) -> PrintSettings:
|
@@ -33,9 +38,14 @@ class PrintSettings(AdditionalDataHolder, BackedModel, Parsable):
|
|
33
38
|
The deserialization information for the current model
|
34
39
|
Returns: dict[str, Callable[[ParseNode], None]]
|
35
40
|
"""
|
41
|
+
from .printer_discovery_settings import PrinterDiscoverySettings
|
42
|
+
|
43
|
+
from .printer_discovery_settings import PrinterDiscoverySettings
|
44
|
+
|
36
45
|
fields: dict[str, Callable[[Any], None]] = {
|
37
46
|
"documentConversionEnabled": lambda n : setattr(self, 'document_conversion_enabled', n.get_bool_value()),
|
38
47
|
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
48
|
+
"printerDiscoverySettings": lambda n : setattr(self, 'printer_discovery_settings', n.get_object_value(PrinterDiscoverySettings)),
|
39
49
|
}
|
40
50
|
return fields
|
41
51
|
|
@@ -49,6 +59,7 @@ class PrintSettings(AdditionalDataHolder, BackedModel, Parsable):
|
|
49
59
|
raise TypeError("writer cannot be null.")
|
50
60
|
writer.write_bool_value("documentConversionEnabled", self.document_conversion_enabled)
|
51
61
|
writer.write_str_value("@odata.type", self.odata_type)
|
62
|
+
writer.write_object_value("printerDiscoverySettings", self.printer_discovery_settings)
|
52
63
|
writer.write_additional_data_value(self.additional_data)
|
53
64
|
|
54
65
|
|
@@ -0,0 +1,61 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from collections.abc import Callable
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
|
+
|
8
|
+
if TYPE_CHECKING:
|
9
|
+
from .air_print_settings import AirPrintSettings
|
10
|
+
|
11
|
+
@dataclass
|
12
|
+
class PrinterDiscoverySettings(AdditionalDataHolder, BackedModel, Parsable):
|
13
|
+
# Stores model information.
|
14
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
15
|
+
|
16
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
|
+
# The airPrint property
|
19
|
+
air_print: Optional[AirPrintSettings] = None
|
20
|
+
# The OdataType property
|
21
|
+
odata_type: Optional[str] = None
|
22
|
+
|
23
|
+
@staticmethod
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> PrinterDiscoverySettings:
|
25
|
+
"""
|
26
|
+
Creates a new instance of the appropriate class based on discriminator value
|
27
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
28
|
+
Returns: PrinterDiscoverySettings
|
29
|
+
"""
|
30
|
+
if parse_node is None:
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
32
|
+
return PrinterDiscoverySettings()
|
33
|
+
|
34
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
35
|
+
"""
|
36
|
+
The deserialization information for the current model
|
37
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
38
|
+
"""
|
39
|
+
from .air_print_settings import AirPrintSettings
|
40
|
+
|
41
|
+
from .air_print_settings import AirPrintSettings
|
42
|
+
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
44
|
+
"airPrint": lambda n : setattr(self, 'air_print', n.get_object_value(AirPrintSettings)),
|
45
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
46
|
+
}
|
47
|
+
return fields
|
48
|
+
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
50
|
+
"""
|
51
|
+
Serializes information the current object
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
53
|
+
Returns: None
|
54
|
+
"""
|
55
|
+
if writer is None:
|
56
|
+
raise TypeError("writer cannot be null.")
|
57
|
+
writer.write_object_value("airPrint", self.air_print)
|
58
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
59
|
+
writer.write_additional_data_value(self.additional_data)
|
60
|
+
|
61
|
+
|
msgraph/generated/models/team.py
CHANGED
@@ -41,7 +41,7 @@ class Team(Entity, Parsable):
|
|
41
41
|
description: Optional[str] = None
|
42
42
|
# The name of the team.
|
43
43
|
display_name: Optional[str] = None
|
44
|
-
# The
|
44
|
+
# The name of the first channel in the team. This is an optional property, only used during team creation and isn't returned in methods to get and list teams.
|
45
45
|
first_channel_name: Optional[str] = None
|
46
46
|
# Settings to configure use of Giphy, memes, and stickers in the team.
|
47
47
|
fun_settings: Optional[TeamFunSettings] = None
|
@@ -49,10 +49,10 @@ class BannerLogoRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
|
51
51
|
"""
|
52
|
-
|
52
|
+
Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: bytes
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -104,7 +104,7 @@ class BannerLogoRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
|
107
|
+
Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
|
108
108
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
109
109
|
Returns: RequestInformation
|
110
110
|
"""
|
@@ -59,10 +59,10 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
59
59
|
|
60
60
|
async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]:
|
61
61
|
"""
|
62
|
-
|
62
|
+
Read properties and relationships of the organization object.
|
63
63
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
64
64
|
Returns: Optional[Organization]
|
65
|
-
Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0
|
65
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0
|
66
66
|
"""
|
67
67
|
request_info = self.to_get_request_information(
|
68
68
|
request_configuration
|
@@ -115,7 +115,7 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
115
115
|
|
116
116
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
117
117
|
"""
|
118
|
-
|
118
|
+
Read properties and relationships of the organization object.
|
119
119
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
120
120
|
Returns: RequestInformation
|
121
121
|
"""
|
@@ -240,7 +240,7 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
240
240
|
@dataclass
|
241
241
|
class OrganizationItemRequestBuilderGetQueryParameters():
|
242
242
|
"""
|
243
|
-
|
243
|
+
Read properties and relationships of the organization object.
|
244
244
|
"""
|
245
245
|
def get_query_parameter(self,original_name: str) -> str:
|
246
246
|
"""
|
@@ -53,10 +53,10 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]:
|
55
55
|
"""
|
56
|
-
|
56
|
+
List properties and relationships of the organization objects.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[OrganizationCollectionResponse]
|
59
|
-
Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -97,7 +97,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
|
|
97
97
|
|
98
98
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
99
99
|
"""
|
100
|
-
|
100
|
+
List properties and relationships of the organization objects.
|
101
101
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
102
102
|
Returns: RequestInformation
|
103
103
|
"""
|
@@ -179,7 +179,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
|
|
179
179
|
@dataclass
|
180
180
|
class OrganizationRequestBuilderGetQueryParameters():
|
181
181
|
"""
|
182
|
-
|
182
|
+
List properties and relationships of the organization objects.
|
183
183
|
"""
|
184
184
|
def get_query_parameter(self,original_name: str) -> str:
|
185
185
|
"""
|
@@ -72,11 +72,11 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]:
|
74
74
|
"""
|
75
|
-
|
75
|
+
Create a cross-tenant user synchronization policy for a partner-specific configuration.
|
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[CrossTenantIdentitySyncPolicyPartner]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -118,7 +118,7 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
|
121
|
+
Create a cross-tenant user synchronization policy for a partner-specific configuration.
|
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
|
@@ -52,10 +52,10 @@ class SitesRequestBuilder(BaseRequestBuilder):
|
|
52
52
|
|
53
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]:
|
54
54
|
"""
|
55
|
-
|
55
|
+
List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
|
56
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
57
57
|
Returns: Optional[SiteCollectionResponse]
|
58
|
-
Find more info here: https://learn.microsoft.com/graph/api/site-
|
58
|
+
Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0
|
59
59
|
"""
|
60
60
|
request_info = self.to_get_request_information(
|
61
61
|
request_configuration
|
@@ -73,7 +73,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
75
75
|
"""
|
76
|
-
|
76
|
+
List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: RequestInformation
|
79
79
|
"""
|
@@ -140,7 +140,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
|
|
140
140
|
@dataclass
|
141
141
|
class SitesRequestBuilderGetQueryParameters():
|
142
142
|
"""
|
143
|
-
|
143
|
+
List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
|
144
144
|
"""
|
145
145
|
def get_query_parameter(self,original_name: str) -> str:
|
146
146
|
"""
|
msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py
CHANGED
@@ -32,10 +32,10 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
Delete a conversationMember from a channel.
|
35
|
+
Delete a conversationMember from a channel.
|
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/
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/conversationmember-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 ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
|
74
74
|
"""
|
75
|
-
Update the role of a conversationMember in a
|
75
|
+
Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
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[ConversationMember]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?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 ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
Delete a conversationMember from a channel.
|
99
|
+
Delete a conversationMember from a channel.
|
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 ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
Update the role of a conversationMember in a
|
121
|
+
Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
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
|
@@ -72,11 +72,11 @@ class MembersRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
|
74
74
|
"""
|
75
|
-
Add a conversationMember to a channel.
|
75
|
+
Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
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[ConversationMember]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -107,7 +107,7 @@ class MembersRequestBuilder(BaseRequestBuilder):
|
|
107
107
|
|
108
108
|
def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
109
109
|
"""
|
110
|
-
Add a conversationMember to a channel.
|
110
|
+
Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
111
111
|
param body: The request body
|
112
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
Returns: RequestInformation
|
@@ -71,11 +71,11 @@ class RepliesRequestBuilder(BaseRequestBuilder):
|
|
71
71
|
|
72
72
|
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
|
73
73
|
"""
|
74
|
-
|
74
|
+
Create a new reply to a chatMessage in a specified channel.
|
75
75
|
param body: The request body
|
76
76
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
77
77
|
Returns: Optional[ChatMessage]
|
78
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
78
|
+
Find more info here: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0
|
79
79
|
"""
|
80
80
|
if body is None:
|
81
81
|
raise TypeError("body cannot be null.")
|
@@ -106,7 +106,7 @@ class RepliesRequestBuilder(BaseRequestBuilder):
|
|
106
106
|
|
107
107
|
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
108
108
|
"""
|
109
|
-
|
109
|
+
Create a new reply to a chatMessage in a specified channel.
|
110
110
|
param body: The request body
|
111
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
112
112
|
Returns: RequestInformation
|
@@ -71,11 +71,11 @@ class MessagesRequestBuilder(BaseRequestBuilder):
|
|
71
71
|
|
72
72
|
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
|
73
73
|
"""
|
74
|
-
Send a new chatMessage in the specified channel
|
74
|
+
Send a new chatMessage in the specified channel.
|
75
75
|
param body: The request body
|
76
76
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
77
77
|
Returns: Optional[ChatMessage]
|
78
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
78
|
+
Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0
|
79
79
|
"""
|
80
80
|
if body is None:
|
81
81
|
raise TypeError("body cannot be null.")
|
@@ -106,7 +106,7 @@ class MessagesRequestBuilder(BaseRequestBuilder):
|
|
106
106
|
|
107
107
|
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
108
108
|
"""
|
109
|
-
Send a new chatMessage in the specified channel
|
109
|
+
Send a new chatMessage in the specified channel.
|
110
110
|
param body: The request body
|
111
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
112
112
|
Returns: RequestInformation
|
@@ -55,11 +55,11 @@ class MultiTenantOrganizationRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
|
56
56
|
async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]:
|
57
57
|
"""
|
58
|
-
|
58
|
+
Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization.
|
59
59
|
param body: The request body
|
60
60
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
61
61
|
Returns: Optional[MultiTenantOrganization]
|
62
|
-
Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization
|
62
|
+
Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0
|
63
63
|
"""
|
64
64
|
if body is None:
|
65
65
|
raise TypeError("body cannot be null.")
|
@@ -90,7 +90,7 @@ class MultiTenantOrganizationRequestBuilder(BaseRequestBuilder):
|
|
90
90
|
|
91
91
|
def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
92
92
|
"""
|
93
|
-
|
93
|
+
Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization.
|
94
94
|
param body: The request body
|
95
95
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
96
96
|
Returns: RequestInformation
|
@@ -53,10 +53,10 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]:
|
55
55
|
"""
|
56
|
-
|
56
|
+
List properties and relationships of the user objects.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[UserCollectionResponse]
|
59
|
-
Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -98,7 +98,7 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
98
98
|
|
99
99
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
100
100
|
"""
|
101
|
-
|
101
|
+
List properties and relationships of the user objects.
|
102
102
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
103
103
|
Returns: RequestInformation
|
104
104
|
"""
|
@@ -180,7 +180,7 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
180
180
|
@dataclass
|
181
181
|
class UsersRequestBuilderGetQueryParameters():
|
182
182
|
"""
|
183
|
-
|
183
|
+
List properties and relationships of the user objects.
|
184
184
|
"""
|
185
185
|
def get_query_parameter(self,original_name: str) -> str:
|
186
186
|
"""
|