msgraph-sdk 1.17.0__py3-none-any.whl → 1.19.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/app_role_assignments/app_role_assignments_request_builder.py +248 -0
- msgraph/generated/app_role_assignments/count/count_request_builder.py +104 -0
- msgraph/generated/app_role_assignments/delta/delta_get_response.py +58 -0
- msgraph/generated/app_role_assignments/delta/delta_request_builder.py +138 -0
- msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py +58 -0
- msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_request_body.py +54 -0
- msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_response.py +58 -0
- msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py +238 -0
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py +89 -0
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/restore/restore_request_builder.py +82 -0
- msgraph/generated/app_role_assignments/validate_properties/validate_properties_post_request_body.py +63 -0
- msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py +87 -0
- msgraph/generated/applications/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/applications/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/base_graph_service_client.py +10 -0
- msgraph/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- 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/managed_app_policies_request_builder.py +4 -4
- 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/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 +7 -7
- msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
- 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/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 +4 -4
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +3 -3
- msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/devices/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_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/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/groups/groups_request_builder.py +3 -3
- msgraph/generated/groups/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- 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/get_member_objects/get_member_objects_request_builder.py +2 -2
- 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 +10 -10
- msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
- msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
- msgraph/generated/kiota-dom-export.txt +421 -0
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/applied_conditional_access_policy.py +1 -1
- msgraph/generated/models/certification.py +1 -1
- msgraph/generated/models/channel.py +1 -1
- msgraph/generated/models/chat.py +4 -0
- msgraph/generated/models/chat_message.py +1 -1
- msgraph/generated/models/chat_message_attachment.py +2 -2
- msgraph/generated/models/chat_message_mention.py +1 -1
- msgraph/generated/models/chat_message_mentioned_identity_set.py +1 -1
- msgraph/generated/models/chat_restrictions.py +54 -0
- msgraph/generated/models/cloud_pc_device_image.py +1 -1
- msgraph/generated/models/cloud_pc_domain_join_configuration.py +1 -1
- msgraph/generated/models/cloud_pc_provisioning_policy.py +7 -0
- msgraph/generated/models/cloud_pc_provisioning_policy_autopatch.py +54 -0
- msgraph/generated/models/device_configuration_device_status.py +3 -0
- msgraph/generated/models/device_configuration_state.py +1 -1
- msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py +1 -1
- msgraph/generated/models/device_enrollment_type.py +5 -5
- msgraph/generated/models/device_management.py +0 -3
- msgraph/generated/models/education_assignment.py +2 -2
- msgraph/generated/models/education_assignment_defaults.py +1 -1
- msgraph/generated/models/education_submission.py +1 -1
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/invited_user_message_info.py +1 -1
- msgraph/generated/models/managed_device_owner_type.py +5 -3
- msgraph/generated/models/online_meeting.py +4 -0
- msgraph/generated/models/online_meeting_base.py +15 -0
- msgraph/generated/models/payload.py +1 -1
- msgraph/generated/models/planner_plan_container.py +1 -1
- msgraph/generated/models/restore_session_base.py +1 -1
- msgraph/generated/models/risk_detection.py +1 -1
- msgraph/generated/models/risk_service_principal_activity.py +1 -1
- msgraph/generated/models/risky_service_principal.py +1 -1
- msgraph/generated/models/risky_user.py +1 -1
- msgraph/generated/models/schedule.py +1 -1
- msgraph/generated/models/search_request.py +1 -1
- msgraph/generated/models/security/alert.py +1 -1
- msgraph/generated/models/security/case_operation.py +1 -1
- msgraph/generated/models/service_principal_risk_detection.py +2 -2
- msgraph/generated/models/shift.py +1 -1
- msgraph/generated/models/sign_in.py +1 -1
- msgraph/generated/models/simulation.py +1 -1
- msgraph/generated/models/subject_rights_request_history.py +1 -1
- msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
- msgraph/generated/models/user.py +1 -1
- msgraph/generated/models/user_teamwork.py +1 -1
- msgraph/generated/models/virtual_event.py +7 -0
- msgraph/generated/models/virtual_event_external_information.py +58 -0
- msgraph/generated/models/virtual_event_external_registration_information.py +58 -0
- msgraph/generated/models/virtual_event_registration.py +7 -0
- msgraph/generated/models/workforce_integration.py +3 -3
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/organization/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
- msgraph/generated/organization/organization_request_builder.py +4 -4
- msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py +4 -3
- msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py +50 -0
- msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py +86 -0
- msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py +10 -0
- msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_get_response.py +58 -0
- msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py +143 -0
- msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py +58 -0
- msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py +141 -0
- msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +29 -0
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py +2 -2
- msgraph/generated/users/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/users/item/get_member_objects/get_member_objects_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 +2 -2
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/RECORD +160 -124
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/LICENSE +0 -0
- {msgraph_sdk-1.17.0.dist-info → msgraph_sdk-1.19.0.dist-info}/WHEEL +0 -0
@@ -25,7 +25,7 @@ class AppliedConditionalAccessPolicy(AdditionalDataHolder, BackedModel, Parsable
|
|
25
25
|
id: Optional[str] = None
|
26
26
|
# The OdataType property
|
27
27
|
odata_type: Optional[str] = None
|
28
|
-
# Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted.
|
28
|
+
# Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted.
|
29
29
|
result: Optional[AppliedConditionalAccessPolicyResult] = None
|
30
30
|
|
31
31
|
@staticmethod
|
@@ -19,7 +19,7 @@ class Certification(AdditionalDataHolder, BackedModel, Parsable):
|
|
19
19
|
certification_expiration_date_time: Optional[datetime.datetime] = None
|
20
20
|
# Indicates whether the application is certified by Microsoft.
|
21
21
|
is_certified_by_microsoft: Optional[bool] = None
|
22
|
-
# Indicates whether the application
|
22
|
+
# Indicates whether the application developer or publisher completed Publisher Attestation.
|
23
23
|
is_publisher_attested: Optional[bool] = None
|
24
24
|
# The timestamp when the certification for the application was most recently added or updated.
|
25
25
|
last_certification_date_time: Optional[datetime.datetime] = None
|
@@ -35,7 +35,7 @@ class Channel(Entity, Parsable):
|
|
35
35
|
is_favorite_by_default: Optional[bool] = None
|
36
36
|
# A collection of membership records associated with the channel.
|
37
37
|
members: Optional[list[ConversationMember]] = None
|
38
|
-
# The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard.
|
38
|
+
# The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared.
|
39
39
|
membership_type: Optional[ChannelMembershipType] = None
|
40
40
|
# A collection of all the messages in the channel. A navigation property. Nullable.
|
41
41
|
messages: Optional[list[ChatMessage]] = None
|
msgraph/generated/models/chat.py
CHANGED
@@ -28,6 +28,8 @@ class Chat(Entity, Parsable):
|
|
28
28
|
created_date_time: Optional[datetime.datetime] = None
|
29
29
|
# A collection of all the apps in the chat. Nullable.
|
30
30
|
installed_apps: Optional[list[TeamsAppInstallation]] = None
|
31
|
+
# Indicates whether the chat is hidden for all its members. Read-only.
|
32
|
+
is_hidden_for_all_members: Optional[bool] = None
|
31
33
|
# Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
|
32
34
|
last_message_preview: Optional[ChatMessageInfo] = None
|
33
35
|
# Date and time at which the chat was renamed or the list of members was last changed. Read-only.
|
@@ -99,6 +101,7 @@ class Chat(Entity, Parsable):
|
|
99
101
|
"chatType": lambda n : setattr(self, 'chat_type', n.get_enum_value(ChatType)),
|
100
102
|
"createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
|
101
103
|
"installedApps": lambda n : setattr(self, 'installed_apps', n.get_collection_of_object_values(TeamsAppInstallation)),
|
104
|
+
"isHiddenForAllMembers": lambda n : setattr(self, 'is_hidden_for_all_members', n.get_bool_value()),
|
102
105
|
"lastMessagePreview": lambda n : setattr(self, 'last_message_preview', n.get_object_value(ChatMessageInfo)),
|
103
106
|
"lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()),
|
104
107
|
"members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(ConversationMember)),
|
@@ -128,6 +131,7 @@ class Chat(Entity, Parsable):
|
|
128
131
|
writer.write_enum_value("chatType", self.chat_type)
|
129
132
|
writer.write_datetime_value("createdDateTime", self.created_date_time)
|
130
133
|
writer.write_collection_of_object_values("installedApps", self.installed_apps)
|
134
|
+
writer.write_bool_value("isHiddenForAllMembers", self.is_hidden_for_all_members)
|
131
135
|
writer.write_object_value("lastMessagePreview", self.last_message_preview)
|
132
136
|
writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time)
|
133
137
|
writer.write_collection_of_object_values("members", self.members)
|
@@ -52,7 +52,7 @@ class ChatMessage(Entity, Parsable):
|
|
52
52
|
last_modified_date_time: Optional[datetime.datetime] = None
|
53
53
|
# Locale of the chat message set by the client. Always set to en-us.
|
54
54
|
locale: Optional[str] = None
|
55
|
-
# List of entities mentioned in the chat message. Supported entities are: user, bot, team, and
|
55
|
+
# List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, chat, and tag.
|
56
56
|
mentions: Optional[list[ChatMessageMention]] = None
|
57
57
|
# List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message.
|
58
58
|
message_history: Optional[list[ChatMessageHistoryItem]] = None
|
@@ -14,11 +14,11 @@ class ChatMessageAttachment(AdditionalDataHolder, BackedModel, Parsable):
|
|
14
14
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
15
15
|
# The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive.
|
16
16
|
content: Optional[str] = None
|
17
|
-
# The media type of the content attachment.
|
17
|
+
# The media type of the content attachment. The possible values are: reference: The attachment is a link to another file. Populate the contentURL with the link to the object.forwardedMessageReference: The attachment is a reference to a forwarded message. Populate the content with the original message context.Any contentType that is supported by the Bot Framework's Attachment object.application/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header.
|
18
18
|
content_type: Optional[str] = None
|
19
19
|
# The URL for the content of the attachment.
|
20
20
|
content_url: Optional[str] = None
|
21
|
-
# Read-only. The unique
|
21
|
+
# Read-only. The unique ID of the attachment.
|
22
22
|
id: Optional[str] = None
|
23
23
|
# The name of the attachment.
|
24
24
|
name: Optional[str] = None
|
@@ -19,7 +19,7 @@ class ChatMessageMention(AdditionalDataHolder, BackedModel, Parsable):
|
|
19
19
|
id: Optional[int] = None
|
20
20
|
# String used to represent the mention. For example, a user's display name, a team name.
|
21
21
|
mention_text: Optional[str] = None
|
22
|
-
# The entity (user, application, team, or
|
22
|
+
# The entity (user, application, team, channel, or chat) that was @mentioned.
|
23
23
|
mentioned: Optional[ChatMessageMentionedIdentitySet] = None
|
24
24
|
# The OdataType property
|
25
25
|
odata_type: Optional[str] = None
|
@@ -14,7 +14,7 @@ from .identity_set import IdentitySet
|
|
14
14
|
class ChatMessageMentionedIdentitySet(IdentitySet, Parsable):
|
15
15
|
# The OdataType property
|
16
16
|
odata_type: Optional[str] = "#microsoft.graph.chatMessageMentionedIdentitySet"
|
17
|
-
# If present, represents a conversation (for example, team or
|
17
|
+
# If present, represents a conversation (for example, team, channel, or chat) @mentioned in a message.
|
18
18
|
conversation: Optional[TeamworkConversationIdentity] = None
|
19
19
|
|
20
20
|
@staticmethod
|
@@ -0,0 +1,54 @@
|
|
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 ChatRestrictions(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
|
+
# Indicates whether only text is allowed in the meeting chat. Optional.
|
16
|
+
allow_text_only: Optional[bool] = None
|
17
|
+
# The OdataType property
|
18
|
+
odata_type: Optional[str] = None
|
19
|
+
|
20
|
+
@staticmethod
|
21
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ChatRestrictions:
|
22
|
+
"""
|
23
|
+
Creates a new instance of the appropriate class based on discriminator value
|
24
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
25
|
+
Returns: ChatRestrictions
|
26
|
+
"""
|
27
|
+
if parse_node is None:
|
28
|
+
raise TypeError("parse_node cannot be null.")
|
29
|
+
return ChatRestrictions()
|
30
|
+
|
31
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
32
|
+
"""
|
33
|
+
The deserialization information for the current model
|
34
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
35
|
+
"""
|
36
|
+
fields: dict[str, Callable[[Any], None]] = {
|
37
|
+
"allowTextOnly": lambda n : setattr(self, 'allow_text_only', n.get_bool_value()),
|
38
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
39
|
+
}
|
40
|
+
return fields
|
41
|
+
|
42
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
43
|
+
"""
|
44
|
+
Serializes information the current object
|
45
|
+
param writer: Serialization writer to use to serialize this model
|
46
|
+
Returns: None
|
47
|
+
"""
|
48
|
+
if writer is None:
|
49
|
+
raise TypeError("writer cannot be null.")
|
50
|
+
writer.write_bool_value("allowTextOnly", self.allow_text_only)
|
51
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
52
|
+
writer.write_additional_data_value(self.additional_data)
|
53
|
+
|
54
|
+
|
@@ -17,7 +17,7 @@ from .entity import Entity
|
|
17
17
|
class CloudPcDeviceImage(Entity, Parsable):
|
18
18
|
# The display name of the associated device image. The device image display name and the version are used to uniquely identify the Cloud PC device image. Read-only.
|
19
19
|
display_name: Optional[str] = None
|
20
|
-
# The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation.
|
20
|
+
# The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only.
|
21
21
|
error_code: Optional[CloudPcDeviceImageErrorCode] = None
|
22
22
|
# The date when the image became unavailable. Read-only.
|
23
23
|
expiration_date: Optional[datetime.date] = None
|
@@ -22,7 +22,7 @@ class CloudPcDomainJoinConfiguration(AdditionalDataHolder, BackedModel, Parsable
|
|
22
22
|
odata_type: Optional[str] = None
|
23
23
|
# The Azure network connection ID that matches the virtual network IT admins want the provisioning policy to use when they create Cloud PCs. You can use this property in both domain join types: Azure AD joined or Hybrid Microsoft Entra joined. If you enter an onPremisesConnectionId, leave the regionName property empty.
|
24
24
|
on_premises_connection_id: Optional[str] = None
|
25
|
-
# The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea.
|
25
|
+
# The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only.
|
26
26
|
region_group: Optional[CloudPcRegionGroup] = None
|
27
27
|
# The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. Within this region, the Windows 365 service creates and manages the underlying virtual network. This option is available only when the IT admin selects Microsoft Entra joined as the domain join type. If you enter a regionName, leave the onPremisesConnectionId property empty.
|
28
28
|
region_name: Optional[str] = None
|
@@ -7,6 +7,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
7
|
if TYPE_CHECKING:
|
8
8
|
from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration
|
9
9
|
from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment
|
10
|
+
from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch
|
10
11
|
from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType
|
11
12
|
from .cloud_pc_provisioning_type import CloudPcProvisioningType
|
12
13
|
from .cloud_pc_windows_setting import CloudPcWindowsSetting
|
@@ -21,6 +22,8 @@ class CloudPcProvisioningPolicy(Entity, Parsable):
|
|
21
22
|
alternate_resource_url: Optional[str] = None
|
22
23
|
# A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy.
|
23
24
|
assignments: Optional[list[CloudPcProvisioningPolicyAssignment]] = None
|
25
|
+
# The autopatch property
|
26
|
+
autopatch: Optional[CloudPcProvisioningPolicyAutopatch] = None
|
24
27
|
# The display name of the Cloud PC group that the Cloud PCs reside in. Read-only.
|
25
28
|
cloud_pc_group_display_name: Optional[str] = None
|
26
29
|
# The template used to name Cloud PCs provisioned using this policy. The template can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, CPC-%USERNAME:4%-%RAND:5% means that the name of the Cloud PC starts with CPC-, followed by a four-character username, a - character, and then five random characters. The total length of the text generated by the template can't exceed 15 characters. Supports $filter, $select, and $orderby.
|
@@ -70,6 +73,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable):
|
|
70
73
|
"""
|
71
74
|
from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration
|
72
75
|
from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment
|
76
|
+
from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch
|
73
77
|
from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType
|
74
78
|
from .cloud_pc_provisioning_type import CloudPcProvisioningType
|
75
79
|
from .cloud_pc_windows_setting import CloudPcWindowsSetting
|
@@ -78,6 +82,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable):
|
|
78
82
|
|
79
83
|
from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration
|
80
84
|
from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment
|
85
|
+
from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch
|
81
86
|
from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType
|
82
87
|
from .cloud_pc_provisioning_type import CloudPcProvisioningType
|
83
88
|
from .cloud_pc_windows_setting import CloudPcWindowsSetting
|
@@ -87,6 +92,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable):
|
|
87
92
|
fields: dict[str, Callable[[Any], None]] = {
|
88
93
|
"alternateResourceUrl": lambda n : setattr(self, 'alternate_resource_url', n.get_str_value()),
|
89
94
|
"assignments": lambda n : setattr(self, 'assignments', n.get_collection_of_object_values(CloudPcProvisioningPolicyAssignment)),
|
95
|
+
"autopatch": lambda n : setattr(self, 'autopatch', n.get_object_value(CloudPcProvisioningPolicyAutopatch)),
|
90
96
|
"cloudPcGroupDisplayName": lambda n : setattr(self, 'cloud_pc_group_display_name', n.get_str_value()),
|
91
97
|
"cloudPcNamingTemplate": lambda n : setattr(self, 'cloud_pc_naming_template', n.get_str_value()),
|
92
98
|
"description": lambda n : setattr(self, 'description', n.get_str_value()),
|
@@ -117,6 +123,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable):
|
|
117
123
|
super().serialize(writer)
|
118
124
|
writer.write_str_value("alternateResourceUrl", self.alternate_resource_url)
|
119
125
|
writer.write_collection_of_object_values("assignments", self.assignments)
|
126
|
+
writer.write_object_value("autopatch", self.autopatch)
|
120
127
|
writer.write_str_value("cloudPcGroupDisplayName", self.cloud_pc_group_display_name)
|
121
128
|
writer.write_str_value("cloudPcNamingTemplate", self.cloud_pc_naming_template)
|
122
129
|
writer.write_str_value("description", self.description)
|
@@ -0,0 +1,54 @@
|
|
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 CloudPcProvisioningPolicyAutopatch(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 autopatchGroupId property
|
16
|
+
autopatch_group_id: Optional[str] = None
|
17
|
+
# The OdataType property
|
18
|
+
odata_type: Optional[str] = None
|
19
|
+
|
20
|
+
@staticmethod
|
21
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcProvisioningPolicyAutopatch:
|
22
|
+
"""
|
23
|
+
Creates a new instance of the appropriate class based on discriminator value
|
24
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
25
|
+
Returns: CloudPcProvisioningPolicyAutopatch
|
26
|
+
"""
|
27
|
+
if parse_node is None:
|
28
|
+
raise TypeError("parse_node cannot be null.")
|
29
|
+
return CloudPcProvisioningPolicyAutopatch()
|
30
|
+
|
31
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
32
|
+
"""
|
33
|
+
The deserialization information for the current model
|
34
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
35
|
+
"""
|
36
|
+
fields: dict[str, Callable[[Any], None]] = {
|
37
|
+
"autopatchGroupId": lambda n : setattr(self, 'autopatch_group_id', n.get_str_value()),
|
38
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
39
|
+
}
|
40
|
+
return fields
|
41
|
+
|
42
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
43
|
+
"""
|
44
|
+
Serializes information the current object
|
45
|
+
param writer: Serialization writer to use to serialize this model
|
46
|
+
Returns: None
|
47
|
+
"""
|
48
|
+
if writer is None:
|
49
|
+
raise TypeError("writer cannot be null.")
|
50
|
+
writer.write_str_value("autopatchGroupId", self.autopatch_group_id)
|
51
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
52
|
+
writer.write_additional_data_value(self.additional_data)
|
53
|
+
|
54
|
+
|
@@ -13,6 +13,9 @@ from .entity import Entity
|
|
13
13
|
|
14
14
|
@dataclass
|
15
15
|
class DeviceConfigurationDeviceStatus(Entity, Parsable):
|
16
|
+
"""
|
17
|
+
Support for this Entity is being deprecated starting May 2026 & will no longer be supported.
|
18
|
+
"""
|
16
19
|
# The DateTime when device compliance grace period expires
|
17
20
|
compliance_grace_period_expiration_date_time: Optional[datetime.datetime] = None
|
18
21
|
# Device name of the DevicePolicyStatus.
|
@@ -15,7 +15,7 @@ from .entity import Entity
|
|
15
15
|
@dataclass
|
16
16
|
class DeviceConfigurationState(Entity, Parsable):
|
17
17
|
"""
|
18
|
-
|
18
|
+
Support for this Entity is being deprecated starting May 2026 & will no longer be supported.
|
19
19
|
"""
|
20
20
|
# The name of the policy for this policyBase
|
21
21
|
display_name: Optional[str] = None
|
@@ -13,7 +13,7 @@ from .device_enrollment_configuration import DeviceEnrollmentConfiguration
|
|
13
13
|
@dataclass
|
14
14
|
class DeviceEnrollmentPlatformRestrictionsConfiguration(DeviceEnrollmentConfiguration, Parsable):
|
15
15
|
"""
|
16
|
-
Device Enrollment Configuration that restricts the types of devices a user can enroll
|
16
|
+
Default Device Enrollment Platform Restrictions Configuration that restricts the types of devices a user can enroll
|
17
17
|
"""
|
18
18
|
# The OdataType property
|
19
19
|
odata_type: Optional[str] = "#microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration"
|
@@ -11,20 +11,20 @@ class DeviceEnrollmentType(str, Enum):
|
|
11
11
|
AppleBulkWithUser = "appleBulkWithUser",
|
12
12
|
# Apple bulk enrollment without user challenge. (DEP, Apple Configurator, Mobile Config)
|
13
13
|
AppleBulkWithoutUser = "appleBulkWithoutUser",
|
14
|
-
# Windows 10 Azure AD Join.
|
14
|
+
# Windows 10 Entra ID (Azure AD) Join.
|
15
15
|
WindowsAzureADJoin = "windowsAzureADJoin",
|
16
16
|
# Windows 10 Bulk enrollment through ICD with certificate.
|
17
17
|
WindowsBulkUserless = "windowsBulkUserless",
|
18
18
|
# Windows 10 automatic enrollment. (Add work account)
|
19
19
|
WindowsAutoEnrollment = "windowsAutoEnrollment",
|
20
|
-
# Windows 10 bulk Azure AD Join.
|
20
|
+
# Windows 10 bulk Entra ID (Azure AD) Join.
|
21
21
|
WindowsBulkAzureDomainJoin = "windowsBulkAzureDomainJoin",
|
22
22
|
# Windows 10 Co-Management triggered by AutoPilot or Group Policy.
|
23
23
|
WindowsCoManagement = "windowsCoManagement",
|
24
|
-
# Windows 10 Azure AD Join using Device Auth.
|
24
|
+
# Windows 10 Entra ID (Azure AD) Join using Device Auth.
|
25
25
|
WindowsAzureADJoinUsingDeviceAuth = "windowsAzureADJoinUsingDeviceAuth",
|
26
|
-
#
|
26
|
+
# Indicates the device is enrolled via Apple User Enrollment with Company Portal. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities
|
27
27
|
AppleUserEnrollment = "appleUserEnrollment",
|
28
|
-
#
|
28
|
+
# Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities
|
29
29
|
AppleUserEnrollmentWithServiceAccount = "appleUserEnrollmentWithServiceAccount",
|
30
30
|
|
@@ -75,9 +75,6 @@ from .entity import Entity
|
|
75
75
|
|
76
76
|
@dataclass
|
77
77
|
class DeviceManagement(Entity, Parsable):
|
78
|
-
"""
|
79
|
-
Singleton entity that acts as a container for all device management functionality.
|
80
|
-
"""
|
81
78
|
# Apple push notification certificate.
|
82
79
|
apple_push_notification_certificate: Optional[ApplePushNotificationCertificate] = None
|
83
80
|
# The Audit Events
|
@@ -24,7 +24,7 @@ from .entity import Entity
|
|
24
24
|
|
25
25
|
@dataclass
|
26
26
|
class EducationAssignment(Entity, Parsable):
|
27
|
-
# Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly.
|
27
|
+
# Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none.
|
28
28
|
add_to_calendar_action: Optional[EducationAddToCalendarOptions] = None
|
29
29
|
# Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none. Supported values are: none, assignIfOpen. For example, a teacher can use assignIfOpen to indicate that an assignment should be assigned to any new student who joins the class while the assignment is still open, and none to indicate that an assignment shouldn't be assigned to new students.
|
30
30
|
added_student_action: Optional[EducationAddedStudentAction] = None
|
@@ -76,7 +76,7 @@ class EducationAssignment(Entity, Parsable):
|
|
76
76
|
resources_folder_url: Optional[str] = None
|
77
77
|
# When set, the grading rubric attached to this assignment.
|
78
78
|
rubric: Optional[EducationRubric] = None
|
79
|
-
# Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive.
|
79
|
+
# Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive.
|
80
80
|
status: Optional[EducationAssignmentStatus] = None
|
81
81
|
# Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable.
|
82
82
|
submissions: Optional[list[EducationSubmission]] = None
|
@@ -14,7 +14,7 @@ from .entity import Entity
|
|
14
14
|
|
15
15
|
@dataclass
|
16
16
|
class EducationAssignmentDefaults(Entity, Parsable):
|
17
|
-
# Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly.
|
17
|
+
# Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none.
|
18
18
|
add_to_calendar_action: Optional[EducationAddToCalendarOptions] = None
|
19
19
|
# Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen.
|
20
20
|
added_student_action: Optional[EducationAddedStudentAction] = None
|
@@ -39,7 +39,7 @@ class EducationSubmission(Entity, Parsable):
|
|
39
39
|
returned_by: Optional[IdentitySet] = None
|
40
40
|
# Moment in time when the submission was returned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
|
41
41
|
returned_date_time: Optional[datetime.datetime] = None
|
42
|
-
# Read-only. Possible values are: excused, reassigned, returned, submitted and working.
|
42
|
+
# Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned.
|
43
43
|
status: Optional[EducationSubmissionStatus] = None
|
44
44
|
# User who moved the resource into the submitted state.
|
45
45
|
submitted_by: Optional[IdentitySet] = None
|
@@ -26,7 +26,7 @@ class Property_(AdditionalDataHolder, BackedModel, Parsable):
|
|
26
26
|
is_retrievable: Optional[bool] = None
|
27
27
|
# Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional.
|
28
28
|
is_searchable: Optional[bool] = None
|
29
|
-
# Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl.
|
29
|
+
# Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl.
|
30
30
|
labels: Optional[list[Label]] = None
|
31
31
|
# The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
|
32
32
|
name: Optional[str] = None
|
@@ -17,7 +17,7 @@ class InvitedUserMessageInfo(AdditionalDataHolder, BackedModel, Parsable):
|
|
17
17
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
18
|
# Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported.
|
19
19
|
cc_recipients: Optional[list[Recipient]] = None
|
20
|
-
# Customized message body you want to send if you don't want the default message.
|
20
|
+
# Customized message body you want to send if you don't want the default message. Only plain text is allowed.
|
21
21
|
customized_message_body: Optional[str] = None
|
22
22
|
# The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US.
|
23
23
|
message_language: Optional[str] = None
|
@@ -1,10 +1,12 @@
|
|
1
1
|
from enum import Enum
|
2
2
|
|
3
3
|
class ManagedDeviceOwnerType(str, Enum):
|
4
|
-
# Unknown.
|
4
|
+
# Unknown device owner type.
|
5
5
|
Unknown = "unknown",
|
6
|
-
#
|
6
|
+
# Corporate device owner type.
|
7
7
|
Company = "company",
|
8
|
-
#
|
8
|
+
# Personal device owner type.
|
9
9
|
Personal = "personal",
|
10
|
+
# Evolvable enumeration sentinel value. Do not use.
|
11
|
+
UnknownFutureValue = "unknownFutureValue",
|
10
12
|
|
@@ -30,6 +30,8 @@ class OnlineMeeting(OnlineMeetingBase, Parsable):
|
|
30
30
|
external_id: Optional[str] = None
|
31
31
|
# Indicates whether this meeting is a Teams live event.
|
32
32
|
is_broadcast: Optional[bool] = None
|
33
|
+
# The ID of the meeting template.
|
34
|
+
meeting_template_id: Optional[str] = None
|
33
35
|
# The participants associated with the online meeting, including the organizer and the attendees.
|
34
36
|
participants: Optional[MeetingParticipants] = None
|
35
37
|
# The recordings of an online meeting. Read-only.
|
@@ -74,6 +76,7 @@ class OnlineMeeting(OnlineMeetingBase, Parsable):
|
|
74
76
|
"endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()),
|
75
77
|
"externalId": lambda n : setattr(self, 'external_id', n.get_str_value()),
|
76
78
|
"isBroadcast": lambda n : setattr(self, 'is_broadcast', n.get_bool_value()),
|
79
|
+
"meetingTemplateId": lambda n : setattr(self, 'meeting_template_id', n.get_str_value()),
|
77
80
|
"participants": lambda n : setattr(self, 'participants', n.get_object_value(MeetingParticipants)),
|
78
81
|
"recordings": lambda n : setattr(self, 'recordings', n.get_collection_of_object_values(CallRecording)),
|
79
82
|
"startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()),
|
@@ -98,6 +101,7 @@ class OnlineMeeting(OnlineMeetingBase, Parsable):
|
|
98
101
|
writer.write_datetime_value("endDateTime", self.end_date_time)
|
99
102
|
writer.write_str_value("externalId", self.external_id)
|
100
103
|
writer.write_bool_value("isBroadcast", self.is_broadcast)
|
104
|
+
writer.write_str_value("meetingTemplateId", self.meeting_template_id)
|
101
105
|
writer.write_object_value("participants", self.participants)
|
102
106
|
writer.write_collection_of_object_values("recordings", self.recordings)
|
103
107
|
writer.write_datetime_value("startDateTime", self.start_date_time)
|
@@ -7,6 +7,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
7
|
if TYPE_CHECKING:
|
8
8
|
from .audio_conferencing import AudioConferencing
|
9
9
|
from .chat_info import ChatInfo
|
10
|
+
from .chat_restrictions import ChatRestrictions
|
10
11
|
from .entity import Entity
|
11
12
|
from .item_body import ItemBody
|
12
13
|
from .join_meeting_id_settings import JoinMeetingIdSettings
|
@@ -31,8 +32,12 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
31
32
|
allow_meeting_chat: Optional[MeetingChatMode] = None
|
32
33
|
# Specifies if participants are allowed to rename themselves in an instance of the meeting.
|
33
34
|
allow_participants_to_change_name: Optional[bool] = None
|
35
|
+
# Indicates whether recording is enabled for the meeting.
|
36
|
+
allow_recording: Optional[bool] = None
|
34
37
|
# Indicates if Teams reactions are enabled for the meeting.
|
35
38
|
allow_teamwork_reactions: Optional[bool] = None
|
39
|
+
# Indicates whether transcription is enabled for the meeting.
|
40
|
+
allow_transcription: Optional[bool] = None
|
36
41
|
# Specifies who can be a presenter in a meeting.
|
37
42
|
allowed_presenters: Optional[OnlineMeetingPresenters] = None
|
38
43
|
# The attendance reports of an online meeting. Read-only.
|
@@ -41,6 +46,8 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
41
46
|
audio_conferencing: Optional[AudioConferencing] = None
|
42
47
|
# The chat information associated with this online meeting.
|
43
48
|
chat_info: Optional[ChatInfo] = None
|
49
|
+
# Specifies the configuration settings for meeting chat restrictions.
|
50
|
+
chat_restrictions: Optional[ChatRestrictions] = None
|
44
51
|
# Indicates whether to announce when callers join or leave.
|
45
52
|
is_entry_exit_announced: Optional[bool] = None
|
46
53
|
# The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only.
|
@@ -95,6 +102,7 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
95
102
|
"""
|
96
103
|
from .audio_conferencing import AudioConferencing
|
97
104
|
from .chat_info import ChatInfo
|
105
|
+
from .chat_restrictions import ChatRestrictions
|
98
106
|
from .entity import Entity
|
99
107
|
from .item_body import ItemBody
|
100
108
|
from .join_meeting_id_settings import JoinMeetingIdSettings
|
@@ -109,6 +117,7 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
109
117
|
|
110
118
|
from .audio_conferencing import AudioConferencing
|
111
119
|
from .chat_info import ChatInfo
|
120
|
+
from .chat_restrictions import ChatRestrictions
|
112
121
|
from .entity import Entity
|
113
122
|
from .item_body import ItemBody
|
114
123
|
from .join_meeting_id_settings import JoinMeetingIdSettings
|
@@ -126,11 +135,14 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
126
135
|
"allowAttendeeToEnableMic": lambda n : setattr(self, 'allow_attendee_to_enable_mic', n.get_bool_value()),
|
127
136
|
"allowMeetingChat": lambda n : setattr(self, 'allow_meeting_chat', n.get_enum_value(MeetingChatMode)),
|
128
137
|
"allowParticipantsToChangeName": lambda n : setattr(self, 'allow_participants_to_change_name', n.get_bool_value()),
|
138
|
+
"allowRecording": lambda n : setattr(self, 'allow_recording', n.get_bool_value()),
|
129
139
|
"allowTeamworkReactions": lambda n : setattr(self, 'allow_teamwork_reactions', n.get_bool_value()),
|
140
|
+
"allowTranscription": lambda n : setattr(self, 'allow_transcription', n.get_bool_value()),
|
130
141
|
"allowedPresenters": lambda n : setattr(self, 'allowed_presenters', n.get_enum_value(OnlineMeetingPresenters)),
|
131
142
|
"attendanceReports": lambda n : setattr(self, 'attendance_reports', n.get_collection_of_object_values(MeetingAttendanceReport)),
|
132
143
|
"audioConferencing": lambda n : setattr(self, 'audio_conferencing', n.get_object_value(AudioConferencing)),
|
133
144
|
"chatInfo": lambda n : setattr(self, 'chat_info', n.get_object_value(ChatInfo)),
|
145
|
+
"chatRestrictions": lambda n : setattr(self, 'chat_restrictions', n.get_object_value(ChatRestrictions)),
|
134
146
|
"isEntryExitAnnounced": lambda n : setattr(self, 'is_entry_exit_announced', n.get_bool_value()),
|
135
147
|
"joinInformation": lambda n : setattr(self, 'join_information', n.get_object_value(ItemBody)),
|
136
148
|
"joinMeetingIdSettings": lambda n : setattr(self, 'join_meeting_id_settings', n.get_object_value(JoinMeetingIdSettings)),
|
@@ -159,11 +171,14 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
159
171
|
writer.write_bool_value("allowAttendeeToEnableMic", self.allow_attendee_to_enable_mic)
|
160
172
|
writer.write_enum_value("allowMeetingChat", self.allow_meeting_chat)
|
161
173
|
writer.write_bool_value("allowParticipantsToChangeName", self.allow_participants_to_change_name)
|
174
|
+
writer.write_bool_value("allowRecording", self.allow_recording)
|
162
175
|
writer.write_bool_value("allowTeamworkReactions", self.allow_teamwork_reactions)
|
176
|
+
writer.write_bool_value("allowTranscription", self.allow_transcription)
|
163
177
|
writer.write_enum_value("allowedPresenters", self.allowed_presenters)
|
164
178
|
writer.write_collection_of_object_values("attendanceReports", self.attendance_reports)
|
165
179
|
writer.write_object_value("audioConferencing", self.audio_conferencing)
|
166
180
|
writer.write_object_value("chatInfo", self.chat_info)
|
181
|
+
writer.write_object_value("chatRestrictions", self.chat_restrictions)
|
167
182
|
writer.write_bool_value("isEntryExitAnnounced", self.is_entry_exit_announced)
|
168
183
|
writer.write_object_value("joinInformation", self.join_information)
|
169
184
|
writer.write_object_value("joinMeetingIdSettings", self.join_meeting_id_settings)
|
@@ -65,7 +65,7 @@ class Payload(Entity, Parsable):
|
|
65
65
|
source: Optional[SimulationContentSource] = None
|
66
66
|
# Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue.
|
67
67
|
status: Optional[SimulationContentStatus] = None
|
68
|
-
# The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant.
|
68
|
+
# The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations.
|
69
69
|
technique: Optional[SimulationAttackTechnique] = None
|
70
70
|
# The theme of a payload. Possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue.
|
71
71
|
theme: Optional[PayloadTheme] = None
|
@@ -19,7 +19,7 @@ class PlannerPlanContainer(AdditionalDataHolder, BackedModel, Parsable):
|
|
19
19
|
container_id: Optional[str] = None
|
20
20
|
# The OdataType property
|
21
21
|
odata_type: Optional[str] = None
|
22
|
-
# The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster.
|
22
|
+
# The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional.
|
23
23
|
type: Optional[PlannerContainerType] = None
|
24
24
|
# The full canonical URL of the container. Optional.
|
25
25
|
url: Optional[str] = None
|
@@ -32,7 +32,7 @@ class RestoreSessionBase(Entity, Parsable):
|
|
32
32
|
last_modified_date_time: Optional[datetime.datetime] = None
|
33
33
|
# The OdataType property
|
34
34
|
odata_type: Optional[str] = None
|
35
|
-
# Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed.
|
35
|
+
# Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed.
|
36
36
|
status: Optional[RestoreSessionStatus] = None
|
37
37
|
|
38
38
|
@staticmethod
|
@@ -41,7 +41,7 @@ class RiskDetection(Entity, Parsable):
|
|
41
41
|
odata_type: Optional[str] = None
|
42
42
|
# Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in.
|
43
43
|
request_id: Optional[str] = None
|
44
|
-
# Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection.
|
44
|
+
# Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection.
|
45
45
|
risk_detail: Optional[RiskDetail] = None
|
46
46
|
# The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousToken, anomalousUserActivity, anonymizedIPAddress, generic, impossibleTravel, investigationsThreatIntelligence, suspiciousSendingPatterns, leakedCredentials, maliciousIPAddress,malwareInfectedIPAddress, mcasSuspiciousInboxManipulationRules, newCountry, passwordSpray,riskyIPAddress, suspiciousAPITraffic, suspiciousBrowser,suspiciousInboxForwarding, suspiciousIPAddress, tokenIssuerAnomaly, unfamiliarFeatures, unlikelyTravel. If the risk detection is a premium detection, will show generic. For more information about each value, see Risk types and detection.
|
47
47
|
risk_event_type: Optional[str] = None
|
@@ -15,7 +15,7 @@ class RiskServicePrincipalActivity(AdditionalDataHolder, BackedModel, Parsable):
|
|
15
15
|
|
16
16
|
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
17
17
|
additional_data: dict[str, Any] = field(default_factory=dict)
|
18
|
-
# Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal.
|
18
|
+
# Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal.
|
19
19
|
detail: Optional[RiskDetail] = None
|
20
20
|
# The OdataType property
|
21
21
|
odata_type: Optional[str] = None
|