msgraph-sdk 1.40.0__py3-none-any.whl → 1.44.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/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +11 -1
- 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/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_app_statuses/managed_app_statuses_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +6 -6
- 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_relationships/count/count_request_builder.py +104 -0
- msgraph/generated/device_app_management/mobile_app_relationships/item/mobile_app_relationship_item_request_builder.py +188 -0
- msgraph/generated/device_app_management/mobile_app_relationships/mobile_app_relationships_request_builder.py +208 -0
- 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 +7 -7
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +3 -3
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +7 -7
- msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py +3 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_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/conversations/item/conversation_item_request_builder.py +4 -4
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/team/team_request_builder.py +2 -2
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +5 -5
- msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
- msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +3 -3
- msgraph/generated/kiota-dom-export.txt +273 -8
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/access_package_assignment.py +1 -1
- msgraph/generated/models/ai_interaction.py +12 -12
- msgraph/generated/models/ai_interaction_attachment.py +16 -19
- msgraph/generated/models/ai_interaction_context.py +14 -17
- msgraph/generated/models/ai_interaction_link.py +14 -17
- msgraph/generated/models/ai_interaction_mention.py +14 -13
- msgraph/generated/models/ai_interaction_mentioned_identity_set.py +1 -1
- msgraph/generated/models/ai_user.py +1 -1
- msgraph/generated/models/app_scope.py +1 -1
- msgraph/generated/models/authentication_event_listener.py +8 -1
- msgraph/generated/models/auto_restart_notification_dismissal_method.py +1 -1
- msgraph/generated/models/call_options.py +4 -0
- msgraph/generated/models/cloud_pc_device_image.py +1 -1
- msgraph/generated/models/copilot_admin.py +1 -1
- msgraph/generated/models/copilot_admin_limited_mode.py +2 -2
- msgraph/generated/models/copilot_admin_setting.py +1 -1
- msgraph/generated/models/custom_authentication_extension.py +14 -0
- msgraph/generated/models/custom_callout_extension.py +7 -0
- msgraph/generated/models/custom_extension_behavior_on_error.py +66 -0
- msgraph/generated/models/custom_extension_overwrite_configuration.py +7 -0
- msgraph/generated/models/device_app_management.py +7 -0
- msgraph/generated/models/device_enrollment_type.py +2 -0
- msgraph/generated/models/device_management_reports.py +0 -3
- msgraph/generated/models/disk_type.py +1 -1
- msgraph/generated/models/entity.py +21 -0
- msgraph/generated/models/fallback_to_microsoft_provider_on_error.py +53 -0
- msgraph/generated/models/file_encryption_info.py +1 -1
- msgraph/generated/models/granular_mailbox_restore_artifact.py +1 -1
- msgraph/generated/models/group_members.py +1 -1
- msgraph/generated/models/ios_ddm_lob_app_assignment_settings.py +76 -0
- msgraph/generated/models/mailbox_restore_artifact.py +4 -0
- msgraph/generated/models/managed_app_availability.py +1 -1
- msgraph/generated/models/managed_app_data_storage_location.py +4 -4
- msgraph/generated/models/managed_device.py +1 -1
- msgraph/generated/models/managed_mobile_lob_app.py +1 -1
- msgraph/generated/models/mobile_app_assignment_settings.py +7 -0
- msgraph/generated/models/mobile_app_relationship.py +81 -0
- msgraph/generated/models/mobile_app_relationship_collection_response.py +58 -0
- msgraph/generated/models/mobile_lob_app.py +1 -1
- msgraph/generated/models/on_email_otp_send_listener.py +60 -0
- msgraph/generated/models/on_otp_send_custom_extension.py +53 -0
- msgraph/generated/models/on_otp_send_custom_extension_handler.py +67 -0
- msgraph/generated/models/on_otp_send_handler.py +66 -0
- msgraph/generated/models/online_meeting.py +1 -1
- msgraph/generated/models/online_meeting_base.py +6 -2
- msgraph/generated/models/out_of_office_settings.py +2 -2
- msgraph/generated/models/presence.py +3 -3
- msgraph/generated/models/restore_job_type.py +7 -0
- msgraph/generated/models/restore_session_artifact_count.py +66 -0
- msgraph/generated/models/restore_session_base.py +14 -0
- msgraph/generated/models/security/alert.py +1 -1
- msgraph/generated/models/security/case_type.py +7 -0
- msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +7 -0
- msgraph/generated/models/security/ediscovery_case_settings.py +14 -0
- msgraph/generated/models/security/ediscovery_estimate_operation.py +7 -0
- msgraph/generated/models/security/report_file_metadata.py +62 -0
- msgraph/generated/models/security/resource_access_event.py +67 -0
- msgraph/generated/models/security/review_set_settings.py +7 -0
- msgraph/generated/models/security/security_group_evidence.py +17 -0
- msgraph/generated/models/security/user_account.py +16 -0
- msgraph/generated/models/single_user.py +1 -1
- msgraph/generated/models/teams_tab.py +1 -1
- msgraph/generated/models/used_insight.py +2 -2
- msgraph/generated/models/win32_lob_app.py +4 -0
- msgraph/generated/models/windows_defender_product_status.py +3 -3
- msgraph/generated/models/windows_update_for_business_update_weeks.py +1 -1
- msgraph/generated/models/windows_update_notification_display_option.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 +7 -7
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/security/attack_simulation/end_user_notifications/end_user_notifications_request_builder.py +4 -4
- msgraph/generated/sites/sites_request_builder.py +4 -4
- msgraph/generated/teams/item/channels/item/all_members/all_members_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 +6 -6
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/change_password/change_password_request_builder.py +2 -2
- msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
- msgraph/generated/users/item/user_item_request_builder.py +8 -8
- msgraph/generated/users/users_request_builder.py +3 -3
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +8 -8
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/METADATA +2 -2
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/RECORD +125 -107
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.40.0.dist-info → msgraph_sdk-1.44.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,62 @@
|
|
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
|
+
@dataclass
|
9
|
+
class ReportFileMetadata(AdditionalDataHolder, BackedModel, Parsable):
|
10
|
+
# Stores model information.
|
11
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
12
|
+
|
13
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
14
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
15
|
+
# The URL to download the report.
|
16
|
+
download_url: Optional[str] = None
|
17
|
+
# The name of the file.
|
18
|
+
file_name: Optional[str] = None
|
19
|
+
# The OdataType property
|
20
|
+
odata_type: Optional[str] = None
|
21
|
+
# The size of the file.
|
22
|
+
size: Optional[int] = None
|
23
|
+
|
24
|
+
@staticmethod
|
25
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ReportFileMetadata:
|
26
|
+
"""
|
27
|
+
Creates a new instance of the appropriate class based on discriminator value
|
28
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
29
|
+
Returns: ReportFileMetadata
|
30
|
+
"""
|
31
|
+
if parse_node is None:
|
32
|
+
raise TypeError("parse_node cannot be null.")
|
33
|
+
return ReportFileMetadata()
|
34
|
+
|
35
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
36
|
+
"""
|
37
|
+
The deserialization information for the current model
|
38
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
39
|
+
"""
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
41
|
+
"downloadUrl": lambda n : setattr(self, 'download_url', n.get_str_value()),
|
42
|
+
"fileName": lambda n : setattr(self, 'file_name', n.get_str_value()),
|
43
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
44
|
+
"size": lambda n : setattr(self, 'size', n.get_int_value()),
|
45
|
+
}
|
46
|
+
return fields
|
47
|
+
|
48
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
49
|
+
"""
|
50
|
+
Serializes information the current object
|
51
|
+
param writer: Serialization writer to use to serialize this model
|
52
|
+
Returns: None
|
53
|
+
"""
|
54
|
+
if writer is None:
|
55
|
+
raise TypeError("writer cannot be null.")
|
56
|
+
writer.write_str_value("downloadUrl", self.download_url)
|
57
|
+
writer.write_str_value("fileName", self.file_name)
|
58
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
59
|
+
writer.write_int_value("size", self.size)
|
60
|
+
writer.write_additional_data_value(self.additional_data)
|
61
|
+
|
62
|
+
|
@@ -0,0 +1,67 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import datetime
|
3
|
+
from collections.abc import Callable
|
4
|
+
from dataclasses import dataclass, field
|
5
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
6
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
7
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
8
|
+
|
9
|
+
@dataclass
|
10
|
+
class ResourceAccessEvent(AdditionalDataHolder, BackedModel, Parsable):
|
11
|
+
# Stores model information.
|
12
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
13
|
+
|
14
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
15
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
16
|
+
# The time of the access event.
|
17
|
+
access_date_time: Optional[datetime.datetime] = None
|
18
|
+
# The identifier of the user account.
|
19
|
+
account_id: Optional[str] = None
|
20
|
+
# IP address of the resource.
|
21
|
+
ip_address: Optional[str] = None
|
22
|
+
# The OdataType property
|
23
|
+
odata_type: Optional[str] = None
|
24
|
+
# The protocol and host name pairs describing the connection.
|
25
|
+
resource_identifier: Optional[str] = None
|
26
|
+
|
27
|
+
@staticmethod
|
28
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ResourceAccessEvent:
|
29
|
+
"""
|
30
|
+
Creates a new instance of the appropriate class based on discriminator value
|
31
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
32
|
+
Returns: ResourceAccessEvent
|
33
|
+
"""
|
34
|
+
if parse_node is None:
|
35
|
+
raise TypeError("parse_node cannot be null.")
|
36
|
+
return ResourceAccessEvent()
|
37
|
+
|
38
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
39
|
+
"""
|
40
|
+
The deserialization information for the current model
|
41
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
42
|
+
"""
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
44
|
+
"accessDateTime": lambda n : setattr(self, 'access_date_time', n.get_datetime_value()),
|
45
|
+
"accountId": lambda n : setattr(self, 'account_id', n.get_str_value()),
|
46
|
+
"ipAddress": lambda n : setattr(self, 'ip_address', n.get_str_value()),
|
47
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
48
|
+
"resourceIdentifier": lambda n : setattr(self, 'resource_identifier', n.get_str_value()),
|
49
|
+
}
|
50
|
+
return fields
|
51
|
+
|
52
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
53
|
+
"""
|
54
|
+
Serializes information the current object
|
55
|
+
param writer: Serialization writer to use to serialize this model
|
56
|
+
Returns: None
|
57
|
+
"""
|
58
|
+
if writer is None:
|
59
|
+
raise TypeError("writer cannot be null.")
|
60
|
+
writer.write_datetime_value("accessDateTime", self.access_date_time)
|
61
|
+
writer.write_str_value("accountId", self.account_id)
|
62
|
+
writer.write_str_value("ipAddress", self.ip_address)
|
63
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
64
|
+
writer.write_str_value("resourceIdentifier", self.resource_identifier)
|
65
|
+
writer.write_additional_data_value(self.additional_data)
|
66
|
+
|
67
|
+
|
@@ -3,6 +3,7 @@ from collections.abc import Callable
|
|
3
3
|
from dataclasses import dataclass, field
|
4
4
|
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
5
5
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
6
|
+
from uuid import UUID
|
6
7
|
|
7
8
|
if TYPE_CHECKING:
|
8
9
|
from .alert_evidence import AlertEvidence
|
@@ -13,10 +14,18 @@ from .alert_evidence import AlertEvidence
|
|
13
14
|
class SecurityGroupEvidence(AlertEvidence, Parsable):
|
14
15
|
# The OdataType property
|
15
16
|
odata_type: Optional[str] = "#microsoft.graph.security.securityGroupEvidence"
|
17
|
+
# The unique group identifier assigned by the on-premises Active Directory.
|
18
|
+
active_directory_object_guid: Optional[UUID] = None
|
16
19
|
# The name of the security group.
|
17
20
|
display_name: Optional[str] = None
|
21
|
+
# The distinguished name of the security group.
|
22
|
+
distinguished_name: Optional[str] = None
|
23
|
+
# The friendly name of the security group.
|
24
|
+
friendly_name: Optional[str] = None
|
18
25
|
# Unique identifier of the security group.
|
19
26
|
security_group_id: Optional[str] = None
|
27
|
+
# The security identifier of the group.
|
28
|
+
sid: Optional[str] = None
|
20
29
|
|
21
30
|
@staticmethod
|
22
31
|
def create_from_discriminator_value(parse_node: ParseNode) -> SecurityGroupEvidence:
|
@@ -39,8 +48,12 @@ class SecurityGroupEvidence(AlertEvidence, Parsable):
|
|
39
48
|
from .alert_evidence import AlertEvidence
|
40
49
|
|
41
50
|
fields: dict[str, Callable[[Any], None]] = {
|
51
|
+
"activeDirectoryObjectGuid": lambda n : setattr(self, 'active_directory_object_guid', n.get_uuid_value()),
|
42
52
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
53
|
+
"distinguishedName": lambda n : setattr(self, 'distinguished_name', n.get_str_value()),
|
54
|
+
"friendlyName": lambda n : setattr(self, 'friendly_name', n.get_str_value()),
|
43
55
|
"securityGroupId": lambda n : setattr(self, 'security_group_id', n.get_str_value()),
|
56
|
+
"sid": lambda n : setattr(self, 'sid', n.get_str_value()),
|
44
57
|
}
|
45
58
|
super_fields = super().get_field_deserializers()
|
46
59
|
fields.update(super_fields)
|
@@ -55,7 +68,11 @@ class SecurityGroupEvidence(AlertEvidence, Parsable):
|
|
55
68
|
if writer is None:
|
56
69
|
raise TypeError("writer cannot be null.")
|
57
70
|
super().serialize(writer)
|
71
|
+
writer.write_uuid_value("activeDirectoryObjectGuid", self.active_directory_object_guid)
|
58
72
|
writer.write_str_value("displayName", self.display_name)
|
73
|
+
writer.write_str_value("distinguishedName", self.distinguished_name)
|
74
|
+
writer.write_str_value("friendlyName", self.friendly_name)
|
59
75
|
writer.write_str_value("securityGroupId", self.security_group_id)
|
76
|
+
writer.write_str_value("sid", self.sid)
|
60
77
|
|
61
78
|
|
@@ -4,6 +4,10 @@ from dataclasses import dataclass, field
|
|
4
4
|
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
5
5
|
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
6
6
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
7
|
+
from uuid import UUID
|
8
|
+
|
9
|
+
if TYPE_CHECKING:
|
10
|
+
from .resource_access_event import ResourceAccessEvent
|
7
11
|
|
8
12
|
@dataclass
|
9
13
|
class UserAccount(AdditionalDataHolder, BackedModel, Parsable):
|
@@ -14,6 +18,8 @@ class UserAccount(AdditionalDataHolder, BackedModel, Parsable):
|
|
14
18
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
15
19
|
# The displayed name of the user account.
|
16
20
|
account_name: Optional[str] = None
|
21
|
+
# The unique user identifier assigned by the on-premises Active Directory.
|
22
|
+
active_directory_object_guid: Optional[UUID] = None
|
17
23
|
# The user object identifier in Microsoft Entra ID.
|
18
24
|
azure_ad_user_id: Optional[str] = None
|
19
25
|
# The user display name in Microsoft Entra ID.
|
@@ -22,6 +28,8 @@ class UserAccount(AdditionalDataHolder, BackedModel, Parsable):
|
|
22
28
|
domain_name: Optional[str] = None
|
23
29
|
# The OdataType property
|
24
30
|
odata_type: Optional[str] = None
|
31
|
+
# Information on resource access attempts made by the user account.
|
32
|
+
resource_access_events: Optional[list[ResourceAccessEvent]] = None
|
25
33
|
# The user principal name of the account in Microsoft Entra ID.
|
26
34
|
user_principal_name: Optional[str] = None
|
27
35
|
# The local security identifier of the user account.
|
@@ -43,12 +51,18 @@ class UserAccount(AdditionalDataHolder, BackedModel, Parsable):
|
|
43
51
|
The deserialization information for the current model
|
44
52
|
Returns: dict[str, Callable[[ParseNode], None]]
|
45
53
|
"""
|
54
|
+
from .resource_access_event import ResourceAccessEvent
|
55
|
+
|
56
|
+
from .resource_access_event import ResourceAccessEvent
|
57
|
+
|
46
58
|
fields: dict[str, Callable[[Any], None]] = {
|
47
59
|
"accountName": lambda n : setattr(self, 'account_name', n.get_str_value()),
|
60
|
+
"activeDirectoryObjectGuid": lambda n : setattr(self, 'active_directory_object_guid', n.get_uuid_value()),
|
48
61
|
"azureAdUserId": lambda n : setattr(self, 'azure_ad_user_id', n.get_str_value()),
|
49
62
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
50
63
|
"domainName": lambda n : setattr(self, 'domain_name', n.get_str_value()),
|
51
64
|
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
65
|
+
"resourceAccessEvents": lambda n : setattr(self, 'resource_access_events', n.get_collection_of_object_values(ResourceAccessEvent)),
|
52
66
|
"userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()),
|
53
67
|
"userSid": lambda n : setattr(self, 'user_sid', n.get_str_value()),
|
54
68
|
}
|
@@ -63,10 +77,12 @@ class UserAccount(AdditionalDataHolder, BackedModel, Parsable):
|
|
63
77
|
if writer is None:
|
64
78
|
raise TypeError("writer cannot be null.")
|
65
79
|
writer.write_str_value("accountName", self.account_name)
|
80
|
+
writer.write_uuid_value("activeDirectoryObjectGuid", self.active_directory_object_guid)
|
66
81
|
writer.write_str_value("azureAdUserId", self.azure_ad_user_id)
|
67
82
|
writer.write_str_value("displayName", self.display_name)
|
68
83
|
writer.write_str_value("domainName", self.domain_name)
|
69
84
|
writer.write_str_value("@odata.type", self.odata_type)
|
85
|
+
writer.write_collection_of_object_values("resourceAccessEvents", self.resource_access_events)
|
70
86
|
writer.write_str_value("userPrincipalName", self.user_principal_name)
|
71
87
|
writer.write_str_value("userSid", self.user_sid)
|
72
88
|
writer.write_additional_data_value(self.additional_data)
|
@@ -13,7 +13,7 @@ from .subject_set import SubjectSet
|
|
13
13
|
class SingleUser(SubjectSet, Parsable):
|
14
14
|
# The OdataType property
|
15
15
|
odata_type: Optional[str] = "#microsoft.graph.singleUser"
|
16
|
-
# The name of the user in Microsoft Entra ID. Read
|
16
|
+
# The name of the user in Microsoft Entra ID. Read-only.
|
17
17
|
description: Optional[str] = None
|
18
18
|
# The ID of the user in Microsoft Entra ID.
|
19
19
|
user_id: Optional[str] = None
|
@@ -21,7 +21,7 @@ class TeamsTab(Entity, Parsable):
|
|
21
21
|
odata_type: Optional[str] = None
|
22
22
|
# The application that is linked to the tab. This can't be changed after tab creation.
|
23
23
|
teams_app: Optional[TeamsApp] = None
|
24
|
-
# Deep link URL of the tab instance. Read
|
24
|
+
# Deep link URL of the tab instance. Read-only.
|
25
25
|
web_url: Optional[str] = None
|
26
26
|
|
27
27
|
@staticmethod
|
@@ -14,13 +14,13 @@ from .entity import Entity
|
|
14
14
|
|
15
15
|
@dataclass
|
16
16
|
class UsedInsight(Entity, Parsable):
|
17
|
-
# Information about when the item was last viewed or modified by the user. Read
|
17
|
+
# Information about when the item was last viewed or modified by the user. Read-only.
|
18
18
|
last_used: Optional[UsageDetails] = None
|
19
19
|
# The OdataType property
|
20
20
|
odata_type: Optional[str] = None
|
21
21
|
# Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem.
|
22
22
|
resource: Optional[Entity] = None
|
23
|
-
# Reference properties of the used document, such as the
|
23
|
+
# Reference properties of the used document, such as the URL and type of the document. Read-only
|
24
24
|
resource_reference: Optional[ResourceReference] = None
|
25
25
|
# Properties that you can use to visualize the document in your experience. Read-only
|
26
26
|
resource_visualization: Optional[ResourceVisualization] = None
|
@@ -21,6 +21,8 @@ class Win32LobApp(MobileLobApp, Parsable):
|
|
21
21
|
"""
|
22
22
|
# The OdataType property
|
23
23
|
odata_type: Optional[str] = "#microsoft.graph.win32LobApp"
|
24
|
+
# Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the `allowedArchitectures` property, the value of the `applicableArchitectures` property is set to `none`. Possible values are: `null`, `x86`, `x64`, `arm64`.
|
25
|
+
allowed_architectures: Optional[WindowsArchitecture] = None
|
24
26
|
# Contains properties for Windows architecture.
|
25
27
|
applicable_architectures: Optional[WindowsArchitecture] = None
|
26
28
|
# The command line to install this app
|
@@ -79,6 +81,7 @@ class Win32LobApp(MobileLobApp, Parsable):
|
|
79
81
|
from .windows_architecture import WindowsArchitecture
|
80
82
|
|
81
83
|
fields: dict[str, Callable[[Any], None]] = {
|
84
|
+
"allowedArchitectures": lambda n : setattr(self, 'allowed_architectures', n.get_collection_of_enum_values(WindowsArchitecture)),
|
82
85
|
"applicableArchitectures": lambda n : setattr(self, 'applicable_architectures', n.get_collection_of_enum_values(WindowsArchitecture)),
|
83
86
|
"installCommandLine": lambda n : setattr(self, 'install_command_line', n.get_str_value()),
|
84
87
|
"installExperience": lambda n : setattr(self, 'install_experience', n.get_object_value(Win32LobAppInstallExperience)),
|
@@ -106,6 +109,7 @@ class Win32LobApp(MobileLobApp, Parsable):
|
|
106
109
|
if writer is None:
|
107
110
|
raise TypeError("writer cannot be null.")
|
108
111
|
super().serialize(writer)
|
112
|
+
writer.write_enum_value("allowedArchitectures", self.allowed_architectures)
|
109
113
|
writer.write_enum_value("applicableArchitectures", self.applicable_architectures)
|
110
114
|
writer.write_str_value("installCommandLine", self.install_command_line)
|
111
115
|
writer.write_object_value("installExperience", self.install_experience)
|
@@ -11,11 +11,11 @@ class WindowsDefenderProductStatus(str, Enum):
|
|
11
11
|
PendingFullScanDueToThreatAction = "pendingFullScanDueToThreatAction",
|
12
12
|
# Pending reboot due to threat action
|
13
13
|
PendingRebootDueToThreatAction = "pendingRebootDueToThreatAction",
|
14
|
-
# Pending manual steps due to threat action
|
14
|
+
# Pending manual steps due to threat action
|
15
15
|
PendingManualStepsDueToThreatAction = "pendingManualStepsDueToThreatAction",
|
16
|
-
# AV signatures out of date
|
16
|
+
# Antivirus (AV) signatures out of date
|
17
17
|
AvSignaturesOutOfDate = "avSignaturesOutOfDate",
|
18
|
-
# AS signatures out of date
|
18
|
+
# Antisypware (AS) signatures out of date
|
19
19
|
AsSignaturesOutOfDate = "asSignaturesOutOfDate",
|
20
20
|
# No quick scan has happened for a specified period
|
21
21
|
NoQuickScanHappenedForSpecifiedPeriod = "noQuickScanHappenedForSpecifiedPeriod",
|
@@ -13,6 +13,6 @@ class WindowsUpdateForBusinessUpdateWeeks(str, Enum):
|
|
13
13
|
FourthWeek = "fourthWeek",
|
14
14
|
# Scheduled the update installation on every week of the month
|
15
15
|
EveryWeek = "everyWeek",
|
16
|
-
# Evolvable
|
16
|
+
# Evolvable enumeration sentinel value. Do not use.
|
17
17
|
UnknownFutureValue = "unknownFutureValue",
|
18
18
|
|
@@ -9,6 +9,6 @@ class WindowsUpdateNotificationDisplayOption(str, Enum):
|
|
9
9
|
RestartWarningsOnly = "restartWarningsOnly",
|
10
10
|
# Turn off all notifications, including restart warnings.
|
11
11
|
DisableAllNotifications = "disableAllNotifications",
|
12
|
-
# Evolvable
|
12
|
+
# Evolvable enumeration sentinel value. Do not use.
|
13
13
|
UnknownFutureValue = "unknownFutureValue",
|
14
14
|
|
@@ -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
|
+
Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
|
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/
|
65
|
+
Find more info here: https://learn.microsoft.com/graph/api/organization-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 OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
80
80
|
|
81
81
|
async def patch(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Organization]:
|
82
82
|
"""
|
83
|
-
Update the properties of
|
83
|
+
Update the properties of a organization 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[Organization]
|
87
|
-
Find more info here: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0
|
87
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0
|
88
88
|
"""
|
89
89
|
if body is None:
|
90
90
|
raise TypeError("body cannot be null.")
|
@@ -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
|
+
Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
|
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 OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_patch_request_information(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Update the properties of
|
129
|
+
Update the properties of a organization 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 OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
240
240
|
@dataclass
|
241
241
|
class OrganizationItemRequestBuilderGetQueryParameters():
|
242
242
|
"""
|
243
|
-
|
243
|
+
Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
|
244
244
|
"""
|
245
245
|
def get_query_parameter(self,original_name: str) -> str:
|
246
246
|
"""
|
@@ -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
|
+
Update the user synchronization policy of 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/crosstenantidentitysyncpolicypartner-update?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
|
+
Update the user synchronization policy of 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
|
@@ -49,10 +49,10 @@ class EndUserNotificationsRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[EndUserNotificationsRequestBuilderGetQueryParameters]] = None) -> Optional[EndUserNotificationCollectionResponse]:
|
51
51
|
"""
|
52
|
-
|
52
|
+
Get a list of endUserNotification objects and their properties.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: Optional[EndUserNotificationCollectionResponse]
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-endusernotifications?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -93,7 +93,7 @@ class EndUserNotificationsRequestBuilder(BaseRequestBuilder):
|
|
93
93
|
|
94
94
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EndUserNotificationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
95
95
|
"""
|
96
|
-
|
96
|
+
Get a list of endUserNotification objects and their properties.
|
97
97
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
98
98
|
Returns: RequestInformation
|
99
99
|
"""
|
@@ -139,7 +139,7 @@ class EndUserNotificationsRequestBuilder(BaseRequestBuilder):
|
|
139
139
|
@dataclass
|
140
140
|
class EndUserNotificationsRequestBuilderGetQueryParameters():
|
141
141
|
"""
|
142
|
-
|
142
|
+
Get a list of endUserNotification objects and their properties.
|
143
143
|
"""
|
144
144
|
def get_query_parameter(self,original_name: str) -> str:
|
145
145
|
"""
|
@@ -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
|
+
Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
|
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-search?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
|
+
Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
|
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
|
+
Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
|
144
144
|
"""
|
145
145
|
def get_query_parameter(self,original_name: str) -> str:
|
146
146
|
"""
|
@@ -51,7 +51,7 @@ class AllMembersRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[AllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]:
|
53
53
|
"""
|
54
|
-
Get a list of all members in a channel.
|
54
|
+
Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes:
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[ConversationMemberCollectionResponse]
|
57
57
|
Find more info here: https://learn.microsoft.com/graph/api/channel-list-allmembers?view=graph-rest-1.0
|
@@ -95,7 +95,7 @@ class AllMembersRequestBuilder(BaseRequestBuilder):
|
|
95
95
|
|
96
96
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
97
97
|
"""
|
98
|
-
Get a list of all members in a channel.
|
98
|
+
Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes:
|
99
99
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
100
100
|
Returns: RequestInformation
|
101
101
|
"""
|
@@ -159,7 +159,7 @@ class AllMembersRequestBuilder(BaseRequestBuilder):
|
|
159
159
|
@dataclass
|
160
160
|
class AllMembersRequestBuilderGetQueryParameters():
|
161
161
|
"""
|
162
|
-
Get a list of all members in a channel.
|
162
|
+
Get a list of all members in a channel. This API supports all channel types, including shared channels. For shared channels, the response includes:
|
163
163
|
"""
|
164
164
|
def get_query_parameter(self,original_name: str) -> str:
|
165
165
|
"""
|
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. This operation is allowed only for channels with a membershipType value of private or shared.
|
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/channel-delete-members?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -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. This operation is allowed only for channels with a membershipType value of private or shared.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -51,7 +51,7 @@ class MembersRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[MembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]:
|
53
53
|
"""
|
54
|
-
|
54
|
+
Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[ConversationMemberCollectionResponse]
|
57
57
|
Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0
|
@@ -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.
|
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/conversationmember-add?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 MembersRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
|
99
|
+
Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -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.
|
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
|
@@ -160,7 +160,7 @@ class MembersRequestBuilder(BaseRequestBuilder):
|
|
160
160
|
@dataclass
|
161
161
|
class MembersRequestBuilderGetQueryParameters():
|
162
162
|
"""
|
163
|
-
|
163
|
+
Get a list of members in a channel, including direct members of standard, private, and shared channels. Use the List allMembers API to retrieve both direct and indirect members of a shared channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.
|
164
164
|
"""
|
165
165
|
def get_query_parameter(self,original_name: str) -> str:
|
166
166
|
"""
|