msgraph-sdk 1.53.0__py3-none-any.whl → 1.54.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/admin/teams/policy/microsoft_graph_teams_administration_get_policy_id_with_type_with_name/get_policy_id_with_type_with_name_get_response.py +58 -0
- msgraph/generated/admin/teams/policy/microsoft_graph_teams_administration_get_policy_id_with_type_with_name/microsoft_graph_teams_administration_get_policy_id_with_type_with_name_request_builder.py +143 -0
- msgraph/generated/admin/teams/policy/policy_request_builder.py +214 -0
- msgraph/generated/admin/teams/policy/user_assignments/count/count_request_builder.py +104 -0
- msgraph/generated/admin/teams/policy/user_assignments/item/teams_policy_user_assignment_item_request_builder.py +188 -0
- msgraph/generated/admin/teams/policy/user_assignments/microsoft_graph_teams_administration_assign/assign_post_request_body.py +57 -0
- msgraph/generated/admin/teams/policy/user_assignments/microsoft_graph_teams_administration_assign/microsoft_graph_teams_administration_assign_request_builder.py +87 -0
- msgraph/generated/admin/teams/policy/user_assignments/microsoft_graph_teams_administration_unassign/microsoft_graph_teams_administration_unassign_request_builder.py +87 -0
- msgraph/generated/admin/teams/policy/user_assignments/microsoft_graph_teams_administration_unassign/unassign_post_request_body.py +57 -0
- msgraph/generated/admin/teams/policy/user_assignments/user_assignments_request_builder.py +228 -0
- msgraph/generated/admin/teams/teams_request_builder.py +13 -3
- msgraph/generated/kiota-dom-export.txt +418 -25
- msgraph/generated/kiota-lock.json +2 -2
- msgraph/generated/models/admin.py +1 -1
- msgraph/generated/models/ai_agent_info.py +57 -0
- msgraph/generated/models/ai_interaction_entity.py +85 -0
- msgraph/generated/models/ai_interaction_plugin.py +14 -23
- msgraph/generated/models/authentication.py +7 -0
- msgraph/generated/models/authentication_method.py +12 -0
- msgraph/generated/models/cloud_pc_domain_join_configuration.py +1 -1
- msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
- msgraph/generated/models/entity.py +35 -0
- msgraph/generated/models/external_authentication_method.py +61 -0
- msgraph/generated/models/external_authentication_method_collection_response.py +58 -0
- msgraph/generated/models/fido2_authentication_method.py +0 -5
- msgraph/generated/models/identity_provider_base.py +7 -0
- msgraph/generated/models/microsoft_authenticator_authentication_method.py +0 -5
- msgraph/generated/models/oidc_address_inbound_claims.py +70 -0
- msgraph/generated/models/oidc_client_authentication.py +73 -0
- msgraph/generated/models/oidc_client_secret_authentication.py +57 -0
- msgraph/generated/models/oidc_identity_provider.py +90 -0
- msgraph/generated/models/oidc_inbound_claim_mapping_override.py +93 -0
- msgraph/generated/models/oidc_private_jwt_key_client_authentication.py +53 -0
- msgraph/generated/models/oidc_response_type.py +8 -0
- msgraph/generated/models/password_authentication_method.py +0 -5
- msgraph/generated/models/platform_credential_authentication_method.py +0 -5
- msgraph/generated/models/process_conversation_metadata.py +14 -0
- msgraph/generated/models/resource_access_detail.py +92 -0
- msgraph/generated/models/resource_access_status.py +8 -0
- msgraph/generated/models/resource_access_type.py +9 -0
- msgraph/generated/models/security/ediscovery_purge_data_operation.py +7 -0
- msgraph/generated/models/security/incident.py +1 -1
- msgraph/generated/models/teams_administration/policy_identifier_detail.py +61 -0
- msgraph/generated/models/teams_administration/teams_admin_root.py +8 -1
- msgraph/generated/models/teams_administration/teams_policy_assignment.py +60 -0
- msgraph/generated/models/teams_administration/teams_policy_user_assignment.py +65 -0
- msgraph/generated/models/teams_administration/teams_policy_user_assignment_collection_response.py +58 -0
- msgraph/generated/models/temporary_access_pass_authentication_method.py +0 -4
- msgraph/generated/models/usage_rights.py +1 -0
- msgraph/generated/models/windows_hello_for_business_authentication_method.py +0 -5
- msgraph/generated/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py +3 -3
- msgraph/generated/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py +10 -7
- msgraph/generated/users/item/authentication/authentication_request_builder.py +10 -0
- msgraph/generated/users/item/authentication/external_authentication_methods/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/authentication/external_authentication_methods/external_authentication_methods_request_builder.py +209 -0
- msgraph/generated/users/item/authentication/external_authentication_methods/item/external_authentication_method_item_request_builder.py +189 -0
- {msgraph_sdk-1.53.0.dist-info → msgraph_sdk-1.54.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.53.0.dist-info → msgraph_sdk-1.54.0.dist-info}/RECORD +61 -30
- {msgraph_sdk-1.53.0.dist-info → msgraph_sdk-1.54.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.53.0.dist-info → msgraph_sdk-1.54.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "EE655C46667963A6B56284D80428908D898ADF7596E1B9840E2353EEE838BF5BDD1519D02373734226B3D8607AA86D05BD7FA51B4D709F95127054A6D86E6D4D",
|
|
3
3
|
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
|
-
"kiotaVersion": "1.
|
|
5
|
+
"kiotaVersion": "1.31.0",
|
|
6
6
|
"clientClassName": "BaseGraphServiceClient",
|
|
7
7
|
"typeAccessModifier": "Public",
|
|
8
8
|
"clientNamespaceName": "msgraph.generated",
|
|
@@ -35,7 +35,7 @@ class Admin(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
35
35
|
service_announcement: Optional[ServiceAnnouncement] = None
|
|
36
36
|
# The sharepoint property
|
|
37
37
|
sharepoint: Optional[Sharepoint] = None
|
|
38
|
-
#
|
|
38
|
+
# A container for Teams administration functionalities, such as user configurations and policy assignments.
|
|
39
39
|
teams: Optional[TeamsAdminRoot] = None
|
|
40
40
|
|
|
41
41
|
@staticmethod
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
9
|
+
|
|
10
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class AiAgentInfo(AiInteractionEntity, Parsable):
|
|
14
|
+
# The blueprintId property
|
|
15
|
+
blueprint_id: Optional[str] = None
|
|
16
|
+
# The OdataType property
|
|
17
|
+
odata_type: Optional[str] = None
|
|
18
|
+
|
|
19
|
+
@staticmethod
|
|
20
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AiAgentInfo:
|
|
21
|
+
"""
|
|
22
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
23
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
24
|
+
Returns: AiAgentInfo
|
|
25
|
+
"""
|
|
26
|
+
if parse_node is None:
|
|
27
|
+
raise TypeError("parse_node cannot be null.")
|
|
28
|
+
return AiAgentInfo()
|
|
29
|
+
|
|
30
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
31
|
+
"""
|
|
32
|
+
The deserialization information for the current model
|
|
33
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
34
|
+
"""
|
|
35
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
36
|
+
|
|
37
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
38
|
+
|
|
39
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
40
|
+
"blueprintId": lambda n : setattr(self, 'blueprint_id', n.get_str_value()),
|
|
41
|
+
}
|
|
42
|
+
super_fields = super().get_field_deserializers()
|
|
43
|
+
fields.update(super_fields)
|
|
44
|
+
return fields
|
|
45
|
+
|
|
46
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
47
|
+
"""
|
|
48
|
+
Serializes information the current object
|
|
49
|
+
param writer: Serialization writer to use to serialize this model
|
|
50
|
+
Returns: None
|
|
51
|
+
"""
|
|
52
|
+
if writer is None:
|
|
53
|
+
raise TypeError("writer cannot be null.")
|
|
54
|
+
super().serialize(writer)
|
|
55
|
+
writer.write_str_value("blueprintId", self.blueprint_id)
|
|
56
|
+
|
|
57
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .ai_agent_info import AiAgentInfo
|
|
10
|
+
from .ai_interaction_plugin import AiInteractionPlugin
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class AiInteractionEntity(AdditionalDataHolder, BackedModel, Parsable):
|
|
14
|
+
# Stores model information.
|
|
15
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
|
16
|
+
|
|
17
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
18
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
19
|
+
# The identifier property
|
|
20
|
+
identifier: Optional[str] = None
|
|
21
|
+
# The name property
|
|
22
|
+
name: Optional[str] = None
|
|
23
|
+
# The OdataType property
|
|
24
|
+
odata_type: Optional[str] = None
|
|
25
|
+
# The version property
|
|
26
|
+
version: Optional[str] = None
|
|
27
|
+
|
|
28
|
+
@staticmethod
|
|
29
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AiInteractionEntity:
|
|
30
|
+
"""
|
|
31
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
32
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
33
|
+
Returns: AiInteractionEntity
|
|
34
|
+
"""
|
|
35
|
+
if parse_node is None:
|
|
36
|
+
raise TypeError("parse_node cannot be null.")
|
|
37
|
+
try:
|
|
38
|
+
child_node = parse_node.get_child_node("@odata.type")
|
|
39
|
+
mapping_value = child_node.get_str_value() if child_node else None
|
|
40
|
+
except AttributeError:
|
|
41
|
+
mapping_value = None
|
|
42
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.aiAgentInfo".casefold():
|
|
43
|
+
from .ai_agent_info import AiAgentInfo
|
|
44
|
+
|
|
45
|
+
return AiAgentInfo()
|
|
46
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.aiInteractionPlugin".casefold():
|
|
47
|
+
from .ai_interaction_plugin import AiInteractionPlugin
|
|
48
|
+
|
|
49
|
+
return AiInteractionPlugin()
|
|
50
|
+
return AiInteractionEntity()
|
|
51
|
+
|
|
52
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
53
|
+
"""
|
|
54
|
+
The deserialization information for the current model
|
|
55
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
56
|
+
"""
|
|
57
|
+
from .ai_agent_info import AiAgentInfo
|
|
58
|
+
from .ai_interaction_plugin import AiInteractionPlugin
|
|
59
|
+
|
|
60
|
+
from .ai_agent_info import AiAgentInfo
|
|
61
|
+
from .ai_interaction_plugin import AiInteractionPlugin
|
|
62
|
+
|
|
63
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
64
|
+
"identifier": lambda n : setattr(self, 'identifier', n.get_str_value()),
|
|
65
|
+
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
|
66
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
|
67
|
+
"version": lambda n : setattr(self, 'version', n.get_str_value()),
|
|
68
|
+
}
|
|
69
|
+
return fields
|
|
70
|
+
|
|
71
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
72
|
+
"""
|
|
73
|
+
Serializes information the current object
|
|
74
|
+
param writer: Serialization writer to use to serialize this model
|
|
75
|
+
Returns: None
|
|
76
|
+
"""
|
|
77
|
+
if writer is None:
|
|
78
|
+
raise TypeError("writer cannot be null.")
|
|
79
|
+
writer.write_str_value("identifier", self.identifier)
|
|
80
|
+
writer.write_str_value("name", self.name)
|
|
81
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
|
82
|
+
writer.write_str_value("version", self.version)
|
|
83
|
+
writer.write_additional_data_value(self.additional_data)
|
|
84
|
+
|
|
85
|
+
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
from collections.abc import Callable
|
|
3
3
|
from dataclasses import dataclass, field
|
|
4
|
-
from kiota_abstractions.serialization import
|
|
5
|
-
from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
6
5
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
9
|
+
|
|
10
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
# The unique identifier of the plugin.
|
|
16
|
-
identifier: Optional[str] = None
|
|
17
|
-
# The display name of the plugin.
|
|
18
|
-
name: Optional[str] = None
|
|
12
|
+
@dataclass
|
|
13
|
+
class AiInteractionPlugin(AiInteractionEntity, Parsable):
|
|
19
14
|
# The OdataType property
|
|
20
15
|
odata_type: Optional[str] = None
|
|
21
|
-
# The version of the plugin used.
|
|
22
|
-
version: Optional[str] = None
|
|
23
16
|
|
|
24
17
|
@staticmethod
|
|
25
18
|
def create_from_discriminator_value(parse_node: ParseNode) -> AiInteractionPlugin:
|
|
@@ -37,12 +30,14 @@ class AiInteractionPlugin(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
37
30
|
The deserialization information for the current model
|
|
38
31
|
Returns: dict[str, Callable[[ParseNode], None]]
|
|
39
32
|
"""
|
|
33
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
34
|
+
|
|
35
|
+
from .ai_interaction_entity import AiInteractionEntity
|
|
36
|
+
|
|
40
37
|
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
-
"identifier": lambda n : setattr(self, 'identifier', n.get_str_value()),
|
|
42
|
-
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
|
43
|
-
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
|
44
|
-
"version": lambda n : setattr(self, 'version', n.get_str_value()),
|
|
45
38
|
}
|
|
39
|
+
super_fields = super().get_field_deserializers()
|
|
40
|
+
fields.update(super_fields)
|
|
46
41
|
return fields
|
|
47
42
|
|
|
48
43
|
def serialize(self,writer: SerializationWriter) -> None:
|
|
@@ -53,10 +48,6 @@ class AiInteractionPlugin(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
53
48
|
"""
|
|
54
49
|
if writer is None:
|
|
55
50
|
raise TypeError("writer cannot be null.")
|
|
56
|
-
|
|
57
|
-
writer.write_str_value("name", self.name)
|
|
58
|
-
writer.write_str_value("@odata.type", self.odata_type)
|
|
59
|
-
writer.write_str_value("version", self.version)
|
|
60
|
-
writer.write_additional_data_value(self.additional_data)
|
|
51
|
+
super().serialize(writer)
|
|
61
52
|
|
|
62
53
|
|
|
@@ -8,6 +8,7 @@ if TYPE_CHECKING:
|
|
|
8
8
|
from .authentication_method import AuthenticationMethod
|
|
9
9
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
10
10
|
from .entity import Entity
|
|
11
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
11
12
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
12
13
|
from .long_running_operation import LongRunningOperation
|
|
13
14
|
from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod
|
|
@@ -24,6 +25,8 @@ from .entity import Entity
|
|
|
24
25
|
class Authentication(Entity, Parsable):
|
|
25
26
|
# The email address registered to a user for authentication.
|
|
26
27
|
email_methods: Optional[list[EmailAuthenticationMethod]] = None
|
|
28
|
+
# Represents the external authentication methods registered to a user for authentication using an external identity provider.
|
|
29
|
+
external_authentication_methods: Optional[list[ExternalAuthenticationMethod]] = None
|
|
27
30
|
# Represents the FIDO2 security keys registered to a user for authentication.
|
|
28
31
|
fido2_methods: Optional[list[Fido2AuthenticationMethod]] = None
|
|
29
32
|
# Represents all authentication methods registered to a user.
|
|
@@ -66,6 +69,7 @@ class Authentication(Entity, Parsable):
|
|
|
66
69
|
from .authentication_method import AuthenticationMethod
|
|
67
70
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
68
71
|
from .entity import Entity
|
|
72
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
69
73
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
70
74
|
from .long_running_operation import LongRunningOperation
|
|
71
75
|
from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod
|
|
@@ -79,6 +83,7 @@ class Authentication(Entity, Parsable):
|
|
|
79
83
|
from .authentication_method import AuthenticationMethod
|
|
80
84
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
81
85
|
from .entity import Entity
|
|
86
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
82
87
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
83
88
|
from .long_running_operation import LongRunningOperation
|
|
84
89
|
from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod
|
|
@@ -91,6 +96,7 @@ class Authentication(Entity, Parsable):
|
|
|
91
96
|
|
|
92
97
|
fields: dict[str, Callable[[Any], None]] = {
|
|
93
98
|
"emailMethods": lambda n : setattr(self, 'email_methods', n.get_collection_of_object_values(EmailAuthenticationMethod)),
|
|
99
|
+
"externalAuthenticationMethods": lambda n : setattr(self, 'external_authentication_methods', n.get_collection_of_object_values(ExternalAuthenticationMethod)),
|
|
94
100
|
"fido2Methods": lambda n : setattr(self, 'fido2_methods', n.get_collection_of_object_values(Fido2AuthenticationMethod)),
|
|
95
101
|
"methods": lambda n : setattr(self, 'methods', n.get_collection_of_object_values(AuthenticationMethod)),
|
|
96
102
|
"microsoftAuthenticatorMethods": lambda n : setattr(self, 'microsoft_authenticator_methods', n.get_collection_of_object_values(MicrosoftAuthenticatorAuthenticationMethod)),
|
|
@@ -116,6 +122,7 @@ class Authentication(Entity, Parsable):
|
|
|
116
122
|
raise TypeError("writer cannot be null.")
|
|
117
123
|
super().serialize(writer)
|
|
118
124
|
writer.write_collection_of_object_values("emailMethods", self.email_methods)
|
|
125
|
+
writer.write_collection_of_object_values("externalAuthenticationMethods", self.external_authentication_methods)
|
|
119
126
|
writer.write_collection_of_object_values("fido2Methods", self.fido2_methods)
|
|
120
127
|
writer.write_collection_of_object_values("methods", self.methods)
|
|
121
128
|
writer.write_collection_of_object_values("microsoftAuthenticatorMethods", self.microsoft_authenticator_methods)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
+
import datetime
|
|
2
3
|
from collections.abc import Callable
|
|
3
4
|
from dataclasses import dataclass, field
|
|
4
5
|
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
@@ -7,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
|
7
8
|
if TYPE_CHECKING:
|
|
8
9
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
9
10
|
from .entity import Entity
|
|
11
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
10
12
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
11
13
|
from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod
|
|
12
14
|
from .password_authentication_method import PasswordAuthenticationMethod
|
|
@@ -20,6 +22,8 @@ from .entity import Entity
|
|
|
20
22
|
|
|
21
23
|
@dataclass
|
|
22
24
|
class AuthenticationMethod(Entity, Parsable):
|
|
25
|
+
# Represents the date and time when an entity was created. Read-only.
|
|
26
|
+
created_date_time: Optional[datetime.datetime] = None
|
|
23
27
|
# The OdataType property
|
|
24
28
|
odata_type: Optional[str] = None
|
|
25
29
|
|
|
@@ -41,6 +45,10 @@ class AuthenticationMethod(Entity, Parsable):
|
|
|
41
45
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
42
46
|
|
|
43
47
|
return EmailAuthenticationMethod()
|
|
48
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalAuthenticationMethod".casefold():
|
|
49
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
50
|
+
|
|
51
|
+
return ExternalAuthenticationMethod()
|
|
44
52
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.fido2AuthenticationMethod".casefold():
|
|
45
53
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
46
54
|
|
|
@@ -82,6 +90,7 @@ class AuthenticationMethod(Entity, Parsable):
|
|
|
82
90
|
"""
|
|
83
91
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
84
92
|
from .entity import Entity
|
|
93
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
85
94
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
86
95
|
from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod
|
|
87
96
|
from .password_authentication_method import PasswordAuthenticationMethod
|
|
@@ -93,6 +102,7 @@ class AuthenticationMethod(Entity, Parsable):
|
|
|
93
102
|
|
|
94
103
|
from .email_authentication_method import EmailAuthenticationMethod
|
|
95
104
|
from .entity import Entity
|
|
105
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
96
106
|
from .fido2_authentication_method import Fido2AuthenticationMethod
|
|
97
107
|
from .microsoft_authenticator_authentication_method import MicrosoftAuthenticatorAuthenticationMethod
|
|
98
108
|
from .password_authentication_method import PasswordAuthenticationMethod
|
|
@@ -103,6 +113,7 @@ class AuthenticationMethod(Entity, Parsable):
|
|
|
103
113
|
from .windows_hello_for_business_authentication_method import WindowsHelloForBusinessAuthenticationMethod
|
|
104
114
|
|
|
105
115
|
fields: dict[str, Callable[[Any], None]] = {
|
|
116
|
+
"createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
|
|
106
117
|
}
|
|
107
118
|
super_fields = super().get_field_deserializers()
|
|
108
119
|
fields.update(super_fields)
|
|
@@ -117,5 +128,6 @@ class AuthenticationMethod(Entity, Parsable):
|
|
|
117
128
|
if writer is None:
|
|
118
129
|
raise TypeError("writer cannot be null.")
|
|
119
130
|
super().serialize(writer)
|
|
131
|
+
writer.write_datetime_value("createdDateTime", self.created_date_time)
|
|
120
132
|
|
|
121
133
|
|
|
@@ -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.
|
|
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. 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
|
|
@@ -25,7 +25,7 @@ class CloudPcOnPremisesConnectionHealthCheck(AdditionalDataHolder, BackedModel,
|
|
|
25
25
|
display_name: Optional[str] = None
|
|
26
26
|
# The value cannot be modified and is automatically populated when the health check ends. The Timestamp type represents date and time information using ISO 8601 format and is in Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2024 would look like this: '2024-01-01T00:00:00Z'. Returned by default. Read-only.
|
|
27
27
|
end_date_time: Optional[datetime.datetime] = None
|
|
28
|
-
# The type of error that occurred during this health check.
|
|
28
|
+
# The type of error that occurred during this health check. Read-only.
|
|
29
29
|
error_type: Optional[CloudPcOnPremisesConnectionHealthCheckErrorType] = None
|
|
30
30
|
# The OdataType property
|
|
31
31
|
odata_type: Optional[str] = None
|
|
@@ -337,6 +337,7 @@ if TYPE_CHECKING:
|
|
|
337
337
|
from .exchange_restore_session import ExchangeRestoreSession
|
|
338
338
|
from .extension import Extension
|
|
339
339
|
from .extension_property import ExtensionProperty
|
|
340
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
340
341
|
from .external_connectors.connection_operation import ConnectionOperation
|
|
341
342
|
from .external_connectors.external_activity import ExternalActivity
|
|
342
343
|
from .external_connectors.external_activity_result import ExternalActivityResult
|
|
@@ -522,6 +523,7 @@ if TYPE_CHECKING:
|
|
|
522
523
|
from .notification_message_template import NotificationMessageTemplate
|
|
523
524
|
from .offer_shift_request import OfferShiftRequest
|
|
524
525
|
from .office_graph_insights import OfficeGraphInsights
|
|
526
|
+
from .oidc_identity_provider import OidcIdentityProvider
|
|
525
527
|
from .onenote import Onenote
|
|
526
528
|
from .onenote_entity_base_model import OnenoteEntityBaseModel
|
|
527
529
|
from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel
|
|
@@ -849,7 +851,10 @@ if TYPE_CHECKING:
|
|
|
849
851
|
from .target_device_group import TargetDeviceGroup
|
|
850
852
|
from .task_file_attachment import TaskFileAttachment
|
|
851
853
|
from .team import Team
|
|
854
|
+
from .teams_administration.policy_identifier_detail import PolicyIdentifierDetail
|
|
852
855
|
from .teams_administration.teams_admin_root import TeamsAdminRoot
|
|
856
|
+
from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment
|
|
857
|
+
from .teams_administration.teams_policy_user_assignment import TeamsPolicyUserAssignment
|
|
853
858
|
from .teams_administration.teams_user_configuration import TeamsUserConfiguration
|
|
854
859
|
from .teams_app import TeamsApp
|
|
855
860
|
from .teams_app_definition import TeamsAppDefinition
|
|
@@ -2430,6 +2435,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
2430
2435
|
from .extension_property import ExtensionProperty
|
|
2431
2436
|
|
|
2432
2437
|
return ExtensionProperty()
|
|
2438
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalAuthenticationMethod".casefold():
|
|
2439
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
2440
|
+
|
|
2441
|
+
return ExternalAuthenticationMethod()
|
|
2433
2442
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.externalConnectors.connectionOperation".casefold():
|
|
2434
2443
|
from .external_connectors.connection_operation import ConnectionOperation
|
|
2435
2444
|
|
|
@@ -3172,6 +3181,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
3172
3181
|
from .office_graph_insights import OfficeGraphInsights
|
|
3173
3182
|
|
|
3174
3183
|
return OfficeGraphInsights()
|
|
3184
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.oidcIdentityProvider".casefold():
|
|
3185
|
+
from .oidc_identity_provider import OidcIdentityProvider
|
|
3186
|
+
|
|
3187
|
+
return OidcIdentityProvider()
|
|
3175
3188
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionListener".casefold():
|
|
3176
3189
|
from .on_attribute_collection_listener import OnAttributeCollectionListener
|
|
3177
3190
|
|
|
@@ -4486,10 +4499,22 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
4486
4499
|
from .team_info import TeamInfo
|
|
4487
4500
|
|
|
4488
4501
|
return TeamInfo()
|
|
4502
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsAdministration.policyIdentifierDetail".casefold():
|
|
4503
|
+
from .teams_administration.policy_identifier_detail import PolicyIdentifierDetail
|
|
4504
|
+
|
|
4505
|
+
return PolicyIdentifierDetail()
|
|
4489
4506
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsAdministration.teamsAdminRoot".casefold():
|
|
4490
4507
|
from .teams_administration.teams_admin_root import TeamsAdminRoot
|
|
4491
4508
|
|
|
4492
4509
|
return TeamsAdminRoot()
|
|
4510
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsAdministration.teamsPolicyAssignment".casefold():
|
|
4511
|
+
from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment
|
|
4512
|
+
|
|
4513
|
+
return TeamsPolicyAssignment()
|
|
4514
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment".casefold():
|
|
4515
|
+
from .teams_administration.teams_policy_user_assignment import TeamsPolicyUserAssignment
|
|
4516
|
+
|
|
4517
|
+
return TeamsPolicyUserAssignment()
|
|
4493
4518
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsAdministration.teamsUserConfiguration".casefold():
|
|
4494
4519
|
from .teams_administration.teams_user_configuration import TeamsUserConfiguration
|
|
4495
4520
|
|
|
@@ -5718,6 +5743,7 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
5718
5743
|
from .exchange_restore_session import ExchangeRestoreSession
|
|
5719
5744
|
from .extension import Extension
|
|
5720
5745
|
from .extension_property import ExtensionProperty
|
|
5746
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
5721
5747
|
from .external_connectors.connection_operation import ConnectionOperation
|
|
5722
5748
|
from .external_connectors.external_activity import ExternalActivity
|
|
5723
5749
|
from .external_connectors.external_activity_result import ExternalActivityResult
|
|
@@ -5903,6 +5929,7 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
5903
5929
|
from .notification_message_template import NotificationMessageTemplate
|
|
5904
5930
|
from .offer_shift_request import OfferShiftRequest
|
|
5905
5931
|
from .office_graph_insights import OfficeGraphInsights
|
|
5932
|
+
from .oidc_identity_provider import OidcIdentityProvider
|
|
5906
5933
|
from .onenote import Onenote
|
|
5907
5934
|
from .onenote_entity_base_model import OnenoteEntityBaseModel
|
|
5908
5935
|
from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel
|
|
@@ -6230,7 +6257,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
6230
6257
|
from .target_device_group import TargetDeviceGroup
|
|
6231
6258
|
from .task_file_attachment import TaskFileAttachment
|
|
6232
6259
|
from .team import Team
|
|
6260
|
+
from .teams_administration.policy_identifier_detail import PolicyIdentifierDetail
|
|
6233
6261
|
from .teams_administration.teams_admin_root import TeamsAdminRoot
|
|
6262
|
+
from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment
|
|
6263
|
+
from .teams_administration.teams_policy_user_assignment import TeamsPolicyUserAssignment
|
|
6234
6264
|
from .teams_administration.teams_user_configuration import TeamsUserConfiguration
|
|
6235
6265
|
from .teams_app import TeamsApp
|
|
6236
6266
|
from .teams_app_definition import TeamsAppDefinition
|
|
@@ -6786,6 +6816,7 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
6786
6816
|
from .exchange_restore_session import ExchangeRestoreSession
|
|
6787
6817
|
from .extension import Extension
|
|
6788
6818
|
from .extension_property import ExtensionProperty
|
|
6819
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
6789
6820
|
from .external_connectors.connection_operation import ConnectionOperation
|
|
6790
6821
|
from .external_connectors.external_activity import ExternalActivity
|
|
6791
6822
|
from .external_connectors.external_activity_result import ExternalActivityResult
|
|
@@ -6971,6 +7002,7 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
6971
7002
|
from .notification_message_template import NotificationMessageTemplate
|
|
6972
7003
|
from .offer_shift_request import OfferShiftRequest
|
|
6973
7004
|
from .office_graph_insights import OfficeGraphInsights
|
|
7005
|
+
from .oidc_identity_provider import OidcIdentityProvider
|
|
6974
7006
|
from .onenote import Onenote
|
|
6975
7007
|
from .onenote_entity_base_model import OnenoteEntityBaseModel
|
|
6976
7008
|
from .onenote_entity_hierarchy_model import OnenoteEntityHierarchyModel
|
|
@@ -7298,7 +7330,10 @@ class Entity(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
7298
7330
|
from .target_device_group import TargetDeviceGroup
|
|
7299
7331
|
from .task_file_attachment import TaskFileAttachment
|
|
7300
7332
|
from .team import Team
|
|
7333
|
+
from .teams_administration.policy_identifier_detail import PolicyIdentifierDetail
|
|
7301
7334
|
from .teams_administration.teams_admin_root import TeamsAdminRoot
|
|
7335
|
+
from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment
|
|
7336
|
+
from .teams_administration.teams_policy_user_assignment import TeamsPolicyUserAssignment
|
|
7302
7337
|
from .teams_administration.teams_user_configuration import TeamsUserConfiguration
|
|
7303
7338
|
from .teams_app import TeamsApp
|
|
7304
7339
|
from .teams_app_definition import TeamsAppDefinition
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .authentication_method import AuthenticationMethod
|
|
9
|
+
|
|
10
|
+
from .authentication_method import AuthenticationMethod
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class ExternalAuthenticationMethod(AuthenticationMethod, Parsable):
|
|
14
|
+
# The OdataType property
|
|
15
|
+
odata_type: Optional[str] = "#microsoft.graph.externalAuthenticationMethod"
|
|
16
|
+
# A unique identifier used to manage the external auth method within Microsoft Entra ID.
|
|
17
|
+
configuration_id: Optional[str] = None
|
|
18
|
+
# Custom name given to the registered external authentication method.
|
|
19
|
+
display_name: Optional[str] = None
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ExternalAuthenticationMethod:
|
|
23
|
+
"""
|
|
24
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
25
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
26
|
+
Returns: ExternalAuthenticationMethod
|
|
27
|
+
"""
|
|
28
|
+
if parse_node is None:
|
|
29
|
+
raise TypeError("parse_node cannot be null.")
|
|
30
|
+
return ExternalAuthenticationMethod()
|
|
31
|
+
|
|
32
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
33
|
+
"""
|
|
34
|
+
The deserialization information for the current model
|
|
35
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
36
|
+
"""
|
|
37
|
+
from .authentication_method import AuthenticationMethod
|
|
38
|
+
|
|
39
|
+
from .authentication_method import AuthenticationMethod
|
|
40
|
+
|
|
41
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
42
|
+
"configurationId": lambda n : setattr(self, 'configuration_id', n.get_str_value()),
|
|
43
|
+
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
|
44
|
+
}
|
|
45
|
+
super_fields = super().get_field_deserializers()
|
|
46
|
+
fields.update(super_fields)
|
|
47
|
+
return fields
|
|
48
|
+
|
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
50
|
+
"""
|
|
51
|
+
Serializes information the current object
|
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
|
53
|
+
Returns: None
|
|
54
|
+
"""
|
|
55
|
+
if writer is None:
|
|
56
|
+
raise TypeError("writer cannot be null.")
|
|
57
|
+
super().serialize(writer)
|
|
58
|
+
writer.write_str_value("configurationId", self.configuration_id)
|
|
59
|
+
writer.write_str_value("displayName", self.display_name)
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
9
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
10
|
+
|
|
11
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class ExternalAuthenticationMethodCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
|
|
15
|
+
# The value property
|
|
16
|
+
value: Optional[list[ExternalAuthenticationMethod]] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ExternalAuthenticationMethodCollectionResponse:
|
|
20
|
+
"""
|
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
23
|
+
Returns: ExternalAuthenticationMethodCollectionResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return ExternalAuthenticationMethodCollectionResponse()
|
|
28
|
+
|
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
30
|
+
"""
|
|
31
|
+
The deserialization information for the current model
|
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
33
|
+
"""
|
|
34
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
35
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
36
|
+
|
|
37
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
38
|
+
from .external_authentication_method import ExternalAuthenticationMethod
|
|
39
|
+
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ExternalAuthenticationMethod)),
|
|
42
|
+
}
|
|
43
|
+
super_fields = super().get_field_deserializers()
|
|
44
|
+
fields.update(super_fields)
|
|
45
|
+
return fields
|
|
46
|
+
|
|
47
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
48
|
+
"""
|
|
49
|
+
Serializes information the current object
|
|
50
|
+
param writer: Serialization writer to use to serialize this model
|
|
51
|
+
Returns: None
|
|
52
|
+
"""
|
|
53
|
+
if writer is None:
|
|
54
|
+
raise TypeError("writer cannot be null.")
|
|
55
|
+
super().serialize(writer)
|
|
56
|
+
writer.write_collection_of_object_values("value", self.value)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
import datetime
|
|
3
2
|
from collections.abc import Callable
|
|
4
3
|
from dataclasses import dataclass, field
|
|
5
4
|
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
@@ -21,8 +20,6 @@ class Fido2AuthenticationMethod(AuthenticationMethod, Parsable):
|
|
|
21
20
|
attestation_certificates: Optional[list[str]] = None
|
|
22
21
|
# The attestation level of this FIDO2 security key. The possible values are: attested, or notAttested.
|
|
23
22
|
attestation_level: Optional[AttestationLevel] = None
|
|
24
|
-
# The timestamp when this key was registered to the user.
|
|
25
|
-
created_date_time: Optional[datetime.datetime] = None
|
|
26
23
|
# The display name of the key as given by the user.
|
|
27
24
|
display_name: Optional[str] = None
|
|
28
25
|
# The manufacturer-assigned model of the FIDO2 security key.
|
|
@@ -54,7 +51,6 @@ class Fido2AuthenticationMethod(AuthenticationMethod, Parsable):
|
|
|
54
51
|
"aaGuid": lambda n : setattr(self, 'aa_guid', n.get_str_value()),
|
|
55
52
|
"attestationCertificates": lambda n : setattr(self, 'attestation_certificates', n.get_collection_of_primitive_values(str)),
|
|
56
53
|
"attestationLevel": lambda n : setattr(self, 'attestation_level', n.get_enum_value(AttestationLevel)),
|
|
57
|
-
"createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
|
|
58
54
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
|
59
55
|
"model": lambda n : setattr(self, 'model', n.get_str_value()),
|
|
60
56
|
}
|
|
@@ -74,7 +70,6 @@ class Fido2AuthenticationMethod(AuthenticationMethod, Parsable):
|
|
|
74
70
|
writer.write_str_value("aaGuid", self.aa_guid)
|
|
75
71
|
writer.write_collection_of_primitive_values("attestationCertificates", self.attestation_certificates)
|
|
76
72
|
writer.write_enum_value("attestationLevel", self.attestation_level)
|
|
77
|
-
writer.write_datetime_value("createdDateTime", self.created_date_time)
|
|
78
73
|
writer.write_str_value("displayName", self.display_name)
|
|
79
74
|
writer.write_str_value("model", self.model)
|
|
80
75
|
|