diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index 45e50af67b1..a44db7bab6e 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]: """ - Read the properties and relationships of a resourceConnection object. + Read the properties and relationships of an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnection] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a resourceConnection object. + Read the properties and relationships of an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ResourceConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a resourceConnection object. + Read the properties and relationships of an operationalInsightsConnection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index 29503b345a4..b63a8e140b1 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceChange]: """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Complian async def patch(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ComplianceChange]: """ - Update the properties of a contentApproval object. + Update the properties of a complianceChange object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -97,7 +97,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a contentApproval object. + Update the properties of a complianceChange object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -161,7 +161,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ComplianceChangeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/call_item_request_builder.py b/msgraph_beta/generated/app/calls/item/call_item_request_builder.py index 5fa88280975..1d040d536b0 100644 --- a/msgraph_beta/generated/app/calls/item/call_item_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/call_item_request_builder.py @@ -32,6 +32,10 @@ from .redirect.redirect_request_builder import RedirectRequestBuilder from .reject.reject_request_builder import RejectRequestBuilder from .send_dtmf_tones.send_dtmf_tones_request_builder import SendDtmfTonesRequestBuilder + from .start_recording.start_recording_request_builder import StartRecordingRequestBuilder + from .start_transcription.start_transcription_request_builder import StartTranscriptionRequestBuilder + from .stop_recording.stop_recording_request_builder import StopRecordingRequestBuilder + from .stop_transcription.stop_transcription_request_builder import StopTranscriptionRequestBuilder from .subscribe_to_tone.subscribe_to_tone_request_builder import SubscribeToToneRequestBuilder from .transfer.transfer_request_builder import TransferRequestBuilder from .unmute.unmute_request_builder import UnmuteRequestBuilder @@ -302,6 +306,42 @@ def send_dtmf_tones(self) -> SendDtmfTonesRequestBuilder: return SendDtmfTonesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def start_recording(self) -> StartRecordingRequestBuilder: + """ + Provides operations to call the startRecording method. + """ + from .start_recording.start_recording_request_builder import StartRecordingRequestBuilder + + return StartRecordingRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def start_transcription(self) -> StartTranscriptionRequestBuilder: + """ + Provides operations to call the startTranscription method. + """ + from .start_transcription.start_transcription_request_builder import StartTranscriptionRequestBuilder + + return StartTranscriptionRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def stop_recording(self) -> StopRecordingRequestBuilder: + """ + Provides operations to call the stopRecording method. + """ + from .stop_recording.stop_recording_request_builder import StopRecordingRequestBuilder + + return StopRecordingRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def stop_transcription(self) -> StopTranscriptionRequestBuilder: + """ + Provides operations to call the stopTranscription method. + """ + from .stop_transcription.stop_transcription_request_builder import StopTranscriptionRequestBuilder + + return StopTranscriptionRequestBuilder(self.request_adapter, self.path_parameters) + @property def subscribe_to_tone(self) -> SubscribeToToneRequestBuilder: """ diff --git a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py index 0985c839f61..c439efd0545 100644 --- a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/app/calls/item/start_recording/start_recording_post_request_body.py b/msgraph_beta/generated/app/calls/item/start_recording/start_recording_post_request_body.py new file mode 100644 index 00000000000..65f64e8cb12 --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/start_recording/start_recording_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StartRecordingPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StartRecordingPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StartRecordingPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StartRecordingPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/calls/item/start_recording/start_recording_request_builder.py b/msgraph_beta/generated/app/calls/item/start_recording/start_recording_request_builder.py new file mode 100644 index 00000000000..bc32e4fbdb4 --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/start_recording/start_recording_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.start_recording_operation import StartRecordingOperation + from .start_recording_post_request_body import StartRecordingPostRequestBody + +class StartRecordingRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the startRecording method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StartRecordingRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/app/calls/{call%2Did}/startRecording", path_parameters) + + async def post(self,body: StartRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StartRecordingOperation]: + """ + Invoke action startRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StartRecordingOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.start_recording_operation import StartRecordingOperation + + return await self.request_adapter.send_async(request_info, StartRecordingOperation, error_mapping) + + def to_post_request_information(self,body: StartRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action startRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StartRecordingRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StartRecordingRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StartRecordingRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StartRecordingRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/app/calls/item/start_transcription/start_transcription_post_request_body.py b/msgraph_beta/generated/app/calls/item/start_transcription/start_transcription_post_request_body.py new file mode 100644 index 00000000000..89438e9f45d --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/start_transcription/start_transcription_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StartTranscriptionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + # The language property + language: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StartTranscriptionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StartTranscriptionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StartTranscriptionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + "language": lambda n : setattr(self, 'language', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_str_value("language", self.language) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/calls/item/start_transcription/start_transcription_request_builder.py b/msgraph_beta/generated/app/calls/item/start_transcription/start_transcription_request_builder.py new file mode 100644 index 00000000000..ba3faf15128 --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/start_transcription/start_transcription_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.start_transcription_operation import StartTranscriptionOperation + from .start_transcription_post_request_body import StartTranscriptionPostRequestBody + +class StartTranscriptionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the startTranscription method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StartTranscriptionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/app/calls/{call%2Did}/startTranscription", path_parameters) + + async def post(self,body: StartTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StartTranscriptionOperation]: + """ + Invoke action startTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StartTranscriptionOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.start_transcription_operation import StartTranscriptionOperation + + return await self.request_adapter.send_async(request_info, StartTranscriptionOperation, error_mapping) + + def to_post_request_information(self,body: StartTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action startTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StartTranscriptionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StartTranscriptionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StartTranscriptionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StartTranscriptionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/app/calls/item/stop_recording/stop_recording_post_request_body.py b/msgraph_beta/generated/app/calls/item/stop_recording/stop_recording_post_request_body.py new file mode 100644 index 00000000000..6775da091ce --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/stop_recording/stop_recording_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StopRecordingPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StopRecordingPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StopRecordingPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StopRecordingPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/calls/item/stop_recording/stop_recording_request_builder.py b/msgraph_beta/generated/app/calls/item/stop_recording/stop_recording_request_builder.py new file mode 100644 index 00000000000..d91f1aaefb9 --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/stop_recording/stop_recording_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.stop_recording_operation import StopRecordingOperation + from .stop_recording_post_request_body import StopRecordingPostRequestBody + +class StopRecordingRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the stopRecording method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StopRecordingRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/app/calls/{call%2Did}/stopRecording", path_parameters) + + async def post(self,body: StopRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StopRecordingOperation]: + """ + Invoke action stopRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StopRecordingOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.stop_recording_operation import StopRecordingOperation + + return await self.request_adapter.send_async(request_info, StopRecordingOperation, error_mapping) + + def to_post_request_information(self,body: StopRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action stopRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StopRecordingRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StopRecordingRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StopRecordingRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StopRecordingRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/app/calls/item/stop_transcription/stop_transcription_post_request_body.py b/msgraph_beta/generated/app/calls/item/stop_transcription/stop_transcription_post_request_body.py new file mode 100644 index 00000000000..d4f7c3a891e --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/stop_transcription/stop_transcription_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StopTranscriptionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + # The language property + language: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StopTranscriptionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StopTranscriptionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StopTranscriptionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + "language": lambda n : setattr(self, 'language', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_str_value("language", self.language) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/calls/item/stop_transcription/stop_transcription_request_builder.py b/msgraph_beta/generated/app/calls/item/stop_transcription/stop_transcription_request_builder.py new file mode 100644 index 00000000000..7e04f0f7e96 --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/stop_transcription/stop_transcription_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.stop_transcription_operation import StopTranscriptionOperation + from .stop_transcription_post_request_body import StopTranscriptionPostRequestBody + +class StopTranscriptionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the stopTranscription method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StopTranscriptionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/app/calls/{call%2Did}/stopTranscription", path_parameters) + + async def post(self,body: StopTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StopTranscriptionOperation]: + """ + Invoke action stopTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StopTranscriptionOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.stop_transcription_operation import StopTranscriptionOperation + + return await self.request_adapter.send_async(request_info, StopTranscriptionOperation, error_mapping) + + def to_post_request_information(self,body: StopTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action stopTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StopTranscriptionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StopTranscriptionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StopTranscriptionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StopTranscriptionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py b/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py index eb45a5ec358..1dbcffcd876 100644 --- a/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py @@ -32,6 +32,10 @@ from .redirect.redirect_request_builder import RedirectRequestBuilder from .reject.reject_request_builder import RejectRequestBuilder from .send_dtmf_tones.send_dtmf_tones_request_builder import SendDtmfTonesRequestBuilder + from .start_recording.start_recording_request_builder import StartRecordingRequestBuilder + from .start_transcription.start_transcription_request_builder import StartTranscriptionRequestBuilder + from .stop_recording.stop_recording_request_builder import StopRecordingRequestBuilder + from .stop_transcription.stop_transcription_request_builder import StopTranscriptionRequestBuilder from .subscribe_to_tone.subscribe_to_tone_request_builder import SubscribeToToneRequestBuilder from .transfer.transfer_request_builder import TransferRequestBuilder from .unmute.unmute_request_builder import UnmuteRequestBuilder @@ -304,6 +308,42 @@ def send_dtmf_tones(self) -> SendDtmfTonesRequestBuilder: return SendDtmfTonesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def start_recording(self) -> StartRecordingRequestBuilder: + """ + Provides operations to call the startRecording method. + """ + from .start_recording.start_recording_request_builder import StartRecordingRequestBuilder + + return StartRecordingRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def start_transcription(self) -> StartTranscriptionRequestBuilder: + """ + Provides operations to call the startTranscription method. + """ + from .start_transcription.start_transcription_request_builder import StartTranscriptionRequestBuilder + + return StartTranscriptionRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def stop_recording(self) -> StopRecordingRequestBuilder: + """ + Provides operations to call the stopRecording method. + """ + from .stop_recording.stop_recording_request_builder import StopRecordingRequestBuilder + + return StopRecordingRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def stop_transcription(self) -> StopTranscriptionRequestBuilder: + """ + Provides operations to call the stopTranscription method. + """ + from .stop_transcription.stop_transcription_request_builder import StopTranscriptionRequestBuilder + + return StopTranscriptionRequestBuilder(self.request_adapter, self.path_parameters) + @property def subscribe_to_tone(self) -> SubscribeToToneRequestBuilder: """ diff --git a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py index 4380aae4bfa..b11fa707900 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/communications/calls/item/start_recording/start_recording_post_request_body.py b/msgraph_beta/generated/communications/calls/item/start_recording/start_recording_post_request_body.py new file mode 100644 index 00000000000..65f64e8cb12 --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/start_recording/start_recording_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StartRecordingPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StartRecordingPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StartRecordingPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StartRecordingPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/calls/item/start_recording/start_recording_request_builder.py b/msgraph_beta/generated/communications/calls/item/start_recording/start_recording_request_builder.py new file mode 100644 index 00000000000..3677744fa46 --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/start_recording/start_recording_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.start_recording_operation import StartRecordingOperation + from .start_recording_post_request_body import StartRecordingPostRequestBody + +class StartRecordingRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the startRecording method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StartRecordingRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/communications/calls/{call%2Did}/startRecording", path_parameters) + + async def post(self,body: StartRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StartRecordingOperation]: + """ + Invoke action startRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StartRecordingOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.start_recording_operation import StartRecordingOperation + + return await self.request_adapter.send_async(request_info, StartRecordingOperation, error_mapping) + + def to_post_request_information(self,body: StartRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action startRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StartRecordingRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StartRecordingRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StartRecordingRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StartRecordingRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/communications/calls/item/start_transcription/start_transcription_post_request_body.py b/msgraph_beta/generated/communications/calls/item/start_transcription/start_transcription_post_request_body.py new file mode 100644 index 00000000000..89438e9f45d --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/start_transcription/start_transcription_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StartTranscriptionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + # The language property + language: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StartTranscriptionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StartTranscriptionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StartTranscriptionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + "language": lambda n : setattr(self, 'language', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_str_value("language", self.language) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/calls/item/start_transcription/start_transcription_request_builder.py b/msgraph_beta/generated/communications/calls/item/start_transcription/start_transcription_request_builder.py new file mode 100644 index 00000000000..1e7b9b78602 --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/start_transcription/start_transcription_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.start_transcription_operation import StartTranscriptionOperation + from .start_transcription_post_request_body import StartTranscriptionPostRequestBody + +class StartTranscriptionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the startTranscription method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StartTranscriptionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/communications/calls/{call%2Did}/startTranscription", path_parameters) + + async def post(self,body: StartTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StartTranscriptionOperation]: + """ + Invoke action startTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StartTranscriptionOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.start_transcription_operation import StartTranscriptionOperation + + return await self.request_adapter.send_async(request_info, StartTranscriptionOperation, error_mapping) + + def to_post_request_information(self,body: StartTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action startTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StartTranscriptionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StartTranscriptionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StartTranscriptionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StartTranscriptionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/communications/calls/item/stop_recording/stop_recording_post_request_body.py b/msgraph_beta/generated/communications/calls/item/stop_recording/stop_recording_post_request_body.py new file mode 100644 index 00000000000..6775da091ce --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/stop_recording/stop_recording_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StopRecordingPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StopRecordingPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StopRecordingPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StopRecordingPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/calls/item/stop_recording/stop_recording_request_builder.py b/msgraph_beta/generated/communications/calls/item/stop_recording/stop_recording_request_builder.py new file mode 100644 index 00000000000..79b4a5a1b44 --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/stop_recording/stop_recording_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.stop_recording_operation import StopRecordingOperation + from .stop_recording_post_request_body import StopRecordingPostRequestBody + +class StopRecordingRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the stopRecording method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StopRecordingRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/communications/calls/{call%2Did}/stopRecording", path_parameters) + + async def post(self,body: StopRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StopRecordingOperation]: + """ + Invoke action stopRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StopRecordingOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.stop_recording_operation import StopRecordingOperation + + return await self.request_adapter.send_async(request_info, StopRecordingOperation, error_mapping) + + def to_post_request_information(self,body: StopRecordingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action stopRecording + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StopRecordingRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StopRecordingRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StopRecordingRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StopRecordingRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/communications/calls/item/stop_transcription/stop_transcription_post_request_body.py b/msgraph_beta/generated/communications/calls/item/stop_transcription/stop_transcription_post_request_body.py new file mode 100644 index 00000000000..d4f7c3a891e --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/stop_transcription/stop_transcription_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class StopTranscriptionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The clientContext property + client_context: Optional[str] = None + # The language property + language: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> StopTranscriptionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: StopTranscriptionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return StopTranscriptionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + "language": lambda n : setattr(self, 'language', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_str_value("language", self.language) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/calls/item/stop_transcription/stop_transcription_request_builder.py b/msgraph_beta/generated/communications/calls/item/stop_transcription/stop_transcription_request_builder.py new file mode 100644 index 00000000000..edb2a472f45 --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/stop_transcription/stop_transcription_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.stop_transcription_operation import StopTranscriptionOperation + from .stop_transcription_post_request_body import StopTranscriptionPostRequestBody + +class StopTranscriptionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the stopTranscription method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new StopTranscriptionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/communications/calls/{call%2Did}/stopTranscription", path_parameters) + + async def post(self,body: StopTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StopTranscriptionOperation]: + """ + Invoke action stopTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StopTranscriptionOperation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.stop_transcription_operation import StopTranscriptionOperation + + return await self.request_adapter.send_async(request_info, StopTranscriptionOperation, error_mapping) + + def to_post_request_information(self,body: StopTranscriptionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action stopTranscription + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> StopTranscriptionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: StopTranscriptionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return StopTranscriptionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class StopTranscriptionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py index dc3e60042e2..ef159db0b1b 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py @@ -49,7 +49,7 @@ def by_ios_lob_app_provisioning_configuration_assignment_id(self,ios_lob_app_pro async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: IosLobAppProvisioningConfigurationAssignment, request_ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py index 426f188bedc..313b3485ab9 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignment]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignment] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderDeleteReques @dataclass class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py index 5697f65441b..821994ee977 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py index 76f07f2e912..21a199b6020 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index a2c373072da..eee43f19a31 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py index 4e89be46d10..37ea950a3f7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 9383db3d585..0e56795270d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py index 2b618bf3229..84808351a4a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index ca6f38db66c..689b74ffb5b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py index 789d402ea3c..3322f5a66dd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 3127b9f838b..eabee2723ac 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py index fd42f1abd2b..75947dae635 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 35c3fa9e3f9..ad9df7db192 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py index dcb7b65cc2e..a32d9634d95 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py index ce470ce1b81..f440351c88c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py index 4868b415bdf..83e59057647 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py index 155fd52f461..cda0e639cd5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py index eb0478cb690..8e6f570096c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index e917438da7d..e1e839099aa 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py index 596c69013bb..95db489b07c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py index 3085b9ea13a..fea66c3b20e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py index 6053c6cd84d..355525dbf04 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 76bce39a19b..c2628091b08 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py index c23c3f8bb1e..a3b2d99a9f5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 918db7c84b9..0c8a58fd8dd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py index 597efc439fa..82ebbe406e2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index e0e4ded7686..52259c6b531 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py index d83b8280e04..90e0db946b3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py index 95979ac75fb..906ed397b98 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py index f22aa668415..c389b9f16b8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index ed5bdeb8537..404770c489a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py index 1483a8d7e06..85511a88d6e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py index a78b032adf1..904da969075 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py index 1e1249f7418..d7f3b66694a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py index 89327dab260..9af1a0bad61 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py index af60fc22d60..3eaa5a9e7e0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py index ac0deed79a7..3b3b8225130 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py index 72b2bcecd4e..2862d19cf09 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 9ab6dba72d1..61fc69a2738 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py index 296f06b71fe..999e3de4bd7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py index c2afe65640e..dc17f6d4aca 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py index ce1dbacf270..cedd186fa74 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py index fbd5730b6b4..8c4bba75e3a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py index 5bb5a4d4aa5..a6984e521b7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py index 214f5e9f719..c6cfb8091ae 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationship] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class MobileAppRelationshipItemRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py index 060a19a0a45..b6510f3dec6 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py @@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppRelationshipCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of direct relationships for this app. + List of relationships for this mobile app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationshipsRequestBuilderGetQueryParameters(): """ - The set of direct relationships for this app. + List of relationships for this mobile app. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py index 2b32a7b8913..d41274cbd30 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRule]: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceComplianceScheduledActionForRule] """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class DeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfi @dataclass class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters(): """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py index e79985ff247..386303153cf 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py @@ -49,7 +49,7 @@ def by_device_compliance_scheduled_action_for_rule_id(self,device_compliance_sch async def get(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceComplianceScheduledActionForRuleCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: DeviceComplianceScheduledActionForRule, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScheduledActionsForRuleRequestBuilderGetQueryParameters(): """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/templates/device_templates/item/owners/item/directory_object_item_request_builder.py b/msgraph_beta/generated/directory/templates/device_templates/item/owners/item/directory_object_item_request_builder.py index ceada4a0f4f..c30abad2104 100644 --- a/msgraph_beta/generated/directory/templates/device_templates/item/owners/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/directory/templates/device_templates/item/owners/item/directory_object_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DirectoryObjectItemRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DirectoryObjectItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index 0f868280ec8..bb6fd872dbb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py @@ -126,10 +126,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -225,7 +225,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index 5e1463f9a6c..44daa7ef5a0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py @@ -126,10 +126,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -225,7 +225,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py index dfd0b2ed748..8dd81cd46fe 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py @@ -39,10 +39,9 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a school data synchronization profile in the tenant based on the identifier. + Delete navigation property synchronizationProfiles for education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-delete?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_delete_request_information( @@ -59,10 +58,9 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[EducationSynchronizationProfileItemRequestBuilderGetQueryParameters]] = None) -> Optional[EducationSynchronizationProfile]: """ - Retrieve a school data synchronization profile in the tenant based on the identifier. + Get synchronizationProfiles from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationProfile] - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-get?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_get_request_information( @@ -105,7 +103,7 @@ async def patch(self,body: EducationSynchronizationProfile, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a school data synchronization profile in the tenant based on the identifier. + Delete navigation property synchronizationProfiles for education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EducationSynchronizationProfileItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a school data synchronization profile in the tenant based on the identifier. + Get synchronizationProfiles from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -227,7 +225,7 @@ class EducationSynchronizationProfileItemRequestBuilderDeleteRequestConfiguratio @dataclass class EducationSynchronizationProfileItemRequestBuilderGetQueryParameters(): """ - Retrieve a school data synchronization profile in the tenant based on the identifier. + Get synchronizationProfiles from education """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py index 14852b060a1..ef9bf5c5c2b 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py @@ -50,10 +50,9 @@ def by_education_synchronization_error_id(self,education_synchronization_error_i async def get(self,request_configuration: Optional[RequestConfiguration[ErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[EducationSynchronizationErrorCollectionResponse]: """ - Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. + Get errors from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationErrorCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationerrors-get?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_get_request_information( @@ -96,7 +95,7 @@ async def post(self,body: EducationSynchronizationError, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. + Get errors from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -145,7 +144,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ErrorsRequestBuilderGetQueryParameters(): """ - Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. + Get errors from education """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py index fdc4d6b30e0..57330599a70 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[EducationSynchronizationErrorItemRequestBuilderGetQueryParameters]] = None) -> Optional[EducationSynchronizationError]: """ - All errors associated with this synchronization profile. + Get errors from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationError] """ @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EducationSynchronizationErrorItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - All errors associated with this synchronization profile. + Get errors from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -155,7 +155,7 @@ class EducationSynchronizationErrorItemRequestBuilderDeleteRequestConfiguration( @dataclass class EducationSynchronizationErrorItemRequestBuilderGetQueryParameters(): """ - All errors associated with this synchronization profile. + Get errors from education """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py index a9bef5e03ba..f147f9e967b 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py @@ -31,10 +31,9 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Pause the sync of a specific school data synchronization profile in the tenant. + Invoke action pause param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-pause?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_post_request_information( @@ -51,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Pause the sync of a specific school data synchronization profile in the tenant. + Invoke action pause param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py index 1219eaf730a..05c9ddfbea3 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py @@ -51,10 +51,9 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ProfileStatusRequestBuilderGetQueryParameters]] = None) -> Optional[EducationSynchronizationProfileStatus]: """ - Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. + Get profileStatus from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationProfileStatus] - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofilestatus-get?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_get_request_information( @@ -109,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ProfileStatusRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. + Get profileStatus from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -156,7 +155,7 @@ class ProfileStatusRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class ProfileStatusRequestBuilderGetQueryParameters(): """ - Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. + Get profileStatus from education """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py index c19152cf766..246d92b591f 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py @@ -31,10 +31,9 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reset the sync of a specific school data synchronization profile in the tenant. + Invoke action reset param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-reset?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_post_request_information( @@ -51,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reset the sync of a specific school data synchronization profile in the tenant. + Invoke action reset param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py index da34aedf7e1..aec89afd6a0 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py @@ -31,10 +31,9 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Resume the sync of a specific school data synchronization profile in the tenant. + Invoke action resume param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-resume?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_post_request_information( @@ -51,7 +50,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Resume the sync of a specific school data synchronization profile in the tenant. + Invoke action resume param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py index 109ee877cd7..727d0559d40 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py @@ -32,10 +32,9 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[StartPostResponse]: """ - Verify the files uploaded to a specific school data synchronization profile in the tenant. If the verification is successful, synchronization starts on the profile. Otherwise, the response contains errors and warnings. If the response contains errors, the synchronization won't start. If the response contains only warnings, synchronization starts. + Invoke action start param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StartPostResponse] - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-start?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_post_request_information( @@ -54,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Verify the files uploaded to a specific school data synchronization profile in the tenant. If the verification is successful, synchronization starts on the profile. Otherwise, the response contains errors and warnings. If the response contains errors, the synchronization won't start. If the response contains only warnings, synchronization starts. + Invoke action start param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py index 3b3e1f33793..d3259220994 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py @@ -32,10 +32,9 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[UploadUrlGetResponse]: """ - Retrieve a shared access signature (SAS) for uploading source files to Azure blob storage for a specific school data synchronization profile in the tenant. The SAS token has a validity of one hour. The upload URL is provided only for the CSV data provider. + Invoke function uploadUrl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadUrlGetResponse] - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-uploadurl?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_get_request_information( @@ -54,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve a shared access signature (SAS) for uploading source files to Azure blob storage for a specific school data synchronization profile in the tenant. The SAS token has a validity of one hour. The upload URL is provided only for the CSV data provider. + Invoke function uploadUrl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py index fdf97b32df7..529809d8e9c 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py @@ -50,10 +50,9 @@ def by_education_synchronization_profile_id(self,education_synchronization_profi async def get(self,request_configuration: Optional[RequestConfiguration[SynchronizationProfilesRequestBuilderGetQueryParameters]] = None) -> Optional[EducationSynchronizationProfileCollectionResponse]: """ - Retrieve the collection of school data synchronization profiles in the tenant. + Get synchronizationProfiles from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationProfileCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-list?view=graph-rest-beta """ warn("The Education Sync Profile API is deprecated and will stop returning data on December 31, 2024. Please transition to the new IndustryData API. as of 2024-06/Deprecated:SynchronizationProfiles", DeprecationWarning) request_info = self.to_get_request_information( @@ -96,7 +95,7 @@ async def post(self,body: EducationSynchronizationProfile, request_configuration def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SynchronizationProfilesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the collection of school data synchronization profiles in the tenant. + Get synchronizationProfiles from education param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -145,7 +144,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SynchronizationProfilesRequestBuilderGetQueryParameters(): """ - Retrieve the collection of school data synchronization profiles in the tenant. + Get synchronizationProfiles from education """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py index 512d9db0ab0..6712a3e556d 100644 --- a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py @@ -78,11 +78,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Educatio async def patch(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EducationUser]: """ - Update the relatedContact collection of an educationUser object. + Update the properties of an educationuser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] - Find more info here: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the relatedContact collection of an educationUser object. + Update the properties of an educationuser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index d5e20d4262c..80446b0372d 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py index 1ec1c4fc8a5..3f4b41a1524 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Industry async def patch(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Update the properties of an azureDataLakeConnector object. + Update the properties of a oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an azureDataLakeConnector object. + Update the properties of a oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py index 3adea31a89c..580f37f8811 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[InboundF async def post(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InboundFlow]: """ - Create a new inboundApiFlow object. + Create a new inboundFileFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new inboundApiFlow object. + Create a new inboundFileFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py b/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py index c35c265fb8d..e40f54f84cc 100644 --- a/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[LongRunningOperationItemRequestBuilderGetQueryParameters]] = None) -> Optional[LongRunningOperation]: """ - Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + Read the properties and relationships of a fileValidateOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] - Find more info here: https://learn.microsoft.com/graph/api/longrunningoperation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-filevalidateoperation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LongRunningOperationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + Read the properties and relationships of a fileValidateOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class LongRunningOperationItemRequestBuilderDeleteRequestConfiguration(RequestCo @dataclass class LongRunningOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + Read the properties and relationships of a fileValidateOperation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py index 9a425d08704..f420f0f982a 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete conversation. + Delete a group's conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - Get a group's conversation object. + Retrieve the properties and relationships of conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete conversation. + Delete a group's conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -84,7 +84,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a group's conversation object. + Retrieve the properties and relationships of conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Get a group's conversation object. + Retrieve the properties and relationships of conversation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index d9656d3abf7..266b6f81865 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -54,7 +54,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/sites/item/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..d274bfb13ed --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/archive/archive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ArchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/archive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-archive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ArchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ArchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/archive/archive_request_builder.py new file mode 100644 index 00000000000..56b98bc8f3e --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/archive/archive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ArchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/archive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-archive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ArchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ArchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py index 175f08fb769..0bd1d0dec9b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py @@ -17,6 +17,7 @@ from ......models.o_data_errors.o_data_error import ODataError from ......models.site import Site from .analytics.analytics_request_builder import AnalyticsRequestBuilder + from .archive.archive_request_builder import ArchiveRequestBuilder from .columns.columns_request_builder import ColumnsRequestBuilder from .content_models.content_models_request_builder import ContentModelsRequestBuilder from .content_types.content_types_request_builder import ContentTypesRequestBuilder @@ -39,6 +40,7 @@ from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder from .sites.sites_request_builder import SitesRequestBuilder from .term_store.term_store_request_builder import TermStoreRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class GetByPathWithPathRequestBuilder(BaseRequestBuilder): """ @@ -136,6 +138,15 @@ def analytics(self) -> AnalyticsRequestBuilder: return AnalyticsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def columns(self) -> ColumnsRequestBuilder: """ @@ -316,6 +327,15 @@ def term_store(self) -> TermStoreRequestBuilder: return TermStoreRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class GetByPathWithPathRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..c7db17115b2 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/unarchive/unarchive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new UnarchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-unarchive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> UnarchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnarchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py index 6790f51e4c2..e9a35273486 100644 --- a/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py @@ -17,6 +17,7 @@ from .....models.o_data_errors.o_data_error import ODataError from .....models.site import Site from .analytics.analytics_request_builder import AnalyticsRequestBuilder + from .archive.archive_request_builder import ArchiveRequestBuilder from .columns.columns_request_builder import ColumnsRequestBuilder from .content_models.content_models_request_builder import ContentModelsRequestBuilder from .content_types.content_types_request_builder import ContentTypesRequestBuilder @@ -40,6 +41,7 @@ from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder from .sites.sites_request_builder import SitesRequestBuilder from .term_store.term_store_request_builder import TermStoreRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class SiteItemRequestBuilder(BaseRequestBuilder): """ @@ -184,6 +186,15 @@ def analytics(self) -> AnalyticsRequestBuilder: return AnalyticsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def columns(self) -> ColumnsRequestBuilder: """ @@ -364,6 +375,15 @@ def term_store(self) -> TermStoreRequestBuilder: return TermStoreRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class SiteItemRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/groups/item/sites/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..c733e0c7b4a --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new UnarchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-unarchive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> UnarchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnarchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py index be21ae0f9a6..bd287d083a9 100644 --- a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -54,7 +54,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 232c9df9ae2..c5f89f865e4 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a countryNamedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/compliantnetworknamedlocation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an ipNamedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an ipNamedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index 3220e7ba979..9f85d2b4376 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) request_info = self.to_get_request_information( @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomCa async def patch(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) if body is None: @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -157,7 +157,7 @@ class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class CustomCalloutExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 11a43b1f369..77fd9ddf1e9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -72,10 +72,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -128,7 +128,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -244,7 +244,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py index 4cd8c04b3d0..870ae695cfb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -174,7 +174,7 @@ class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConfiguration(Reque @dataclass class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters(): """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index 8a7fa5b8b16..1112c7bbf11 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -6017,6 +6017,10 @@ msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|redirect:R msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|reject:RejectRequestBuilder msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|send_dtmf_tones:SendDtmfTonesRequestBuilder +msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|start_recording:StartRecordingRequestBuilder +msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|start_transcription:StartTranscriptionRequestBuilder +msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|stop_recording:StopRecordingRequestBuilder +msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|stop_transcription:StopTranscriptionRequestBuilder msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|subscribe_to_tone:SubscribeToToneRequestBuilder msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.app.calls.item.CallItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CallItemRequestBuilderGetQueryParameters]):RequestInformation @@ -6539,6 +6543,86 @@ msgraph_beta.generated.app.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder: msgraph_beta.generated.app.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder::|public|to_post_request_information(body:SendDtmfTonesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.app.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder::|public|url_template:str msgraph_beta.generated.app.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder::|public|with_url(raw_url:str):SendDtmfTonesRequestBuilder +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|client_context():str +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|constructor():None +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartRecordingPostRequestBody +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder.StartRecordingRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|post(body:StartRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StartRecordingOperation +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|to_post_request_information(body:StartRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|url_template:str +msgraph_beta.generated.app.calls.item.startRecording.StartRecordingRequestBuilder::|public|with_url(raw_url:str):StartRecordingRequestBuilder +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|client_context():str +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|constructor():None +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|language():str +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|language(value:str):None +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartTranscriptionPostRequestBody +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder.StartTranscriptionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|post(body:StartTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StartTranscriptionOperation +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|to_post_request_information(body:StartTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|url_template:str +msgraph_beta.generated.app.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|with_url(raw_url:str):StartTranscriptionRequestBuilder +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|client_context():str +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|constructor():None +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopRecordingPostRequestBody +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder.StopRecordingRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|post(body:StopRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StopRecordingOperation +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|to_post_request_information(body:StopRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|url_template:str +msgraph_beta.generated.app.calls.item.stopRecording.StopRecordingRequestBuilder::|public|with_url(raw_url:str):StopRecordingRequestBuilder +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|client_context():str +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|constructor():None +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|language():str +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|language(value:str):None +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopTranscriptionPostRequestBody +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder.StopTranscriptionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|post(body:StopTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StopTranscriptionOperation +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|to_post_request_information(body:StopTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|url_template:str +msgraph_beta.generated.app.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|with_url(raw_url:str):StopTranscriptionRequestBuilder msgraph_beta.generated.app.calls.item.subscribeToTone.SubscribeToTonePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.app.calls.item.subscribeToTone.SubscribeToTonePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.app.calls.item.subscribeToTone.SubscribeToTonePostRequestBody::|public|backing_store:BackingStore @@ -13369,6 +13453,10 @@ msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|reject:RejectRequestBuilder msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|send_dtmf_tones:SendDtmfTonesRequestBuilder +msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|start_recording:StartRecordingRequestBuilder +msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|start_transcription:StartTranscriptionRequestBuilder +msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|stop_recording:StopRecordingRequestBuilder +msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|stop_transcription:StopTranscriptionRequestBuilder msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|subscribe_to_tone:SubscribeToToneRequestBuilder msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.communications.calls.item.CallItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CallItemRequestBuilderGetQueryParameters]):RequestInformation @@ -13891,6 +13979,86 @@ msgraph_beta.generated.communications.calls.item.sendDtmfTones.SendDtmfTonesRequ msgraph_beta.generated.communications.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder::|public|to_post_request_information(body:SendDtmfTonesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.communications.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder::|public|url_template:str msgraph_beta.generated.communications.calls.item.sendDtmfTones.SendDtmfTonesRequestBuilder::|public|with_url(raw_url:str):SendDtmfTonesRequestBuilder +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|client_context():str +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|constructor():None +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartRecordingPostRequestBody +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder.StartRecordingRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|post(body:StartRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StartRecordingOperation +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|to_post_request_information(body:StartRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|url_template:str +msgraph_beta.generated.communications.calls.item.startRecording.StartRecordingRequestBuilder::|public|with_url(raw_url:str):StartRecordingRequestBuilder +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|client_context():str +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|constructor():None +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|language():str +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|language(value:str):None +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StartTranscriptionPostRequestBody +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder.StartTranscriptionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|post(body:StartTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StartTranscriptionOperation +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|to_post_request_information(body:StartTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|url_template:str +msgraph_beta.generated.communications.calls.item.startTranscription.StartTranscriptionRequestBuilder::|public|with_url(raw_url:str):StartTranscriptionRequestBuilder +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|client_context():str +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|constructor():None +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopRecordingPostRequestBody +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder.StopRecordingRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|post(body:StopRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StopRecordingOperation +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|to_post_request_information(body:StopRecordingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|url_template:str +msgraph_beta.generated.communications.calls.item.stopRecording.StopRecordingRequestBuilder::|public|with_url(raw_url:str):StopRecordingRequestBuilder +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|client_context():str +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|client_context(value:str):None +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|constructor():None +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|language():str +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|language(value:str):None +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):StopTranscriptionPostRequestBody +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder.StopTranscriptionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|post(body:StopTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):StopTranscriptionOperation +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|to_post_request_information(body:StopTranscriptionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|url_template:str +msgraph_beta.generated.communications.calls.item.stopTranscription.StopTranscriptionRequestBuilder::|public|with_url(raw_url:str):StopTranscriptionRequestBuilder msgraph_beta.generated.communications.calls.item.subscribeToTone.SubscribeToTonePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.communications.calls.item.subscribeToTone.SubscribeToTonePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.communications.calls.item.subscribeToTone.SubscribeToTonePostRequestBody::|public|backing_store:BackingStore @@ -115610,6 +115778,15 @@ msgraph_beta.generated.groups.item.sites.item.analytics.lastSevenDays.LastSevenD msgraph_beta.generated.groups.item.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastSevenDaysRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.groups.item.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBuilder::|public|with_url(raw_url:str):LastSevenDaysRequestBuilder +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder.ArchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.sites.item.archive.ArchiveRequestBuilder::|public|with_url(raw_url:str):ArchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.columns.ColumnsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.groups.item.sites.item.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.groups.item.sites.item.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -116573,6 +116750,15 @@ msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.analytics.Analyt msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.analytics.AnalyticsRequestBuilder::|public|to_patch_request_information(body:ItemAnalytics; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.analytics.AnalyticsRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.analytics.AnalyticsRequestBuilder::|public|with_url(raw_url:str):AnalyticsRequestBuilder +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder.ArchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|with_url(raw_url:str):ArchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.columns.ColumnsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -116770,6 +116956,7 @@ msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.getApplicableCon msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder.GetByPathWithPathRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|analytics:AnalyticsRequestBuilder +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|archive:ArchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|columns:ColumnsRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; path?:str):None msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|content_models:ContentModelsRequestBuilder @@ -116797,6 +116984,7 @@ msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPat msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|sites:SitesRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|term_store:TermStoreRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|unarchive:UnarchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|with_url(raw_url:str):GetByPathWithPathRequestBuilder msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.informationProtection.InformationProtectionRequestBuilder-->BaseRequestBuilder @@ -117024,6 +117212,15 @@ msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.termStore.TermSt msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.termStore.TermStoreRequestBuilder::|public|to_patch_request_information(body:Store; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.termStore.TermStoreRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.termStore.TermStoreRequestBuilder::|public|with_url(raw_url:str):TermStoreRequestBuilder +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder.UnarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|with_url(raw_url:str):UnarchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.informationProtection.bitlocker.BitlockerRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.groups.item.sites.item.informationProtection.bitlocker.BitlockerRequestBuilder.BitlockerRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.groups.item.sites.item.informationProtection.bitlocker.BitlockerRequestBuilder.BitlockerRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -122984,6 +123181,7 @@ msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder.SiteItemReq msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder.SiteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SiteItemRequestBuilderGetQueryParameters] msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder.SiteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|analytics:AnalyticsRequestBuilder +msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|archive:ArchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|columns:ColumnsRequestBuilder msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|content_models:ContentModelsRequestBuilder @@ -123014,6 +123212,7 @@ msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|si msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|term_store:TermStoreRequestBuilder msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SiteItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|to_patch_request_information(body:Site; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|unarchive:UnarchiveRequestBuilder msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.sites.item.SiteItemRequestBuilder::|public|with_url(raw_url:str):SiteItemRequestBuilder msgraph_beta.generated.groups.item.sites.item.sites.count.CountRequestBuilder-->BaseRequestBuilder @@ -125531,6 +125730,15 @@ msgraph_beta.generated.groups.item.sites.item.termStore.TermStoreRequestBuilder: msgraph_beta.generated.groups.item.sites.item.termStore.TermStoreRequestBuilder::|public|to_patch_request_information(body:Store; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.groups.item.sites.item.termStore.TermStoreRequestBuilder::|public|url_template:str msgraph_beta.generated.groups.item.sites.item.termStore.TermStoreRequestBuilder::|public|with_url(raw_url:str):TermStoreRequestBuilder +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder.UnarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.groups.item.sites.item.unarchive.UnarchiveRequestBuilder::|public|with_url(raw_url:str):UnarchiveRequestBuilder msgraph_beta.generated.groups.item.sites.remove.RemovePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.groups.item.sites.remove.RemovePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.groups.item.sites.remove.RemovePostRequestBody::|public|backing_store:BackingStore @@ -195611,6 +195819,8 @@ msgraph_beta.generated.models.MailboxProtectionUnit::|public|display_name(value: msgraph_beta.generated.models.MailboxProtectionUnit::|public|email():str msgraph_beta.generated.models.MailboxProtectionUnit::|public|email(value:str):None msgraph_beta.generated.models.MailboxProtectionUnit::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MailboxProtectionUnit::|public|mailbox_type():MailboxType +msgraph_beta.generated.models.MailboxProtectionUnit::|public|mailbox_type(value:MailboxType):None msgraph_beta.generated.models.MailboxProtectionUnit::|public|odata_type:str msgraph_beta.generated.models.MailboxProtectionUnit::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.MailboxProtectionUnit::|static|public|create_from_discriminator_value(parse_node:ParseNode):MailboxProtectionUnit @@ -195711,6 +195921,10 @@ msgraph_beta.generated.models.MailboxSettings::|public|working_hours():WorkingHo msgraph_beta.generated.models.MailboxSettings::|public|working_hours(value:WorkingHours):None msgraph_beta.generated.models.MailboxSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):MailboxSettings msgraph_beta.generated.models.MailboxSettings~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.MailboxType::0000-Unknown +msgraph_beta.generated.models.MailboxType::0001-User +msgraph_beta.generated.models.MailboxType::0002-Shared +msgraph_beta.generated.models.MailboxType::0003-UnknownFutureValue msgraph_beta.generated.models.MailDestinationRoutingReason::0000-None_ msgraph_beta.generated.models.MailDestinationRoutingReason::0001-MailFlowRule msgraph_beta.generated.models.MailDestinationRoutingReason::0002-SafeSender @@ -221124,6 +221338,18 @@ msgraph_beta.generated.models.security.EdiscoveryCaseCollectionResponse::|public msgraph_beta.generated.models.security.EdiscoveryCaseCollectionResponse::|public|value():list[EdiscoveryCase] msgraph_beta.generated.models.security.EdiscoveryCaseCollectionResponse::|public|value(value:list[EdiscoveryCase]):None msgraph_beta.generated.models.security.EdiscoveryCaseCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):EdiscoveryCaseCollectionResponse +msgraph_beta.generated.models.security.EdiscoveryCaseMember-->Entity +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|constructor():None +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|display_name():str +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|display_name(value:str):None +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|odata_type:str +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|recipient_type():RecipientType +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|recipient_type(value:RecipientType):None +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|smtp_address():str +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|public|smtp_address(value:str):None +msgraph_beta.generated.models.security.EdiscoveryCaseMember::|static|public|create_from_discriminator_value(parse_node:ParseNode):EdiscoveryCaseMember msgraph_beta.generated.models.security.EdiscoveryCaseSettings-->Entity msgraph_beta.generated.models.security.EdiscoveryCaseSettings::|public|constructor():None msgraph_beta.generated.models.security.EdiscoveryCaseSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -224217,6 +224443,9 @@ msgraph_beta.generated.models.security.ReceiverProtocol::0002-SyslogUdp msgraph_beta.generated.models.security.ReceiverProtocol::0003-SyslogTcp msgraph_beta.generated.models.security.ReceiverProtocol::0004-SyslogTls msgraph_beta.generated.models.security.ReceiverProtocol::0005-UnknownFutureValue +msgraph_beta.generated.models.security.RecipientType::0000-User +msgraph_beta.generated.models.security.RecipientType::0001-RoleGroup +msgraph_beta.generated.models.security.RecipientType::0002-UnknownFutureValue msgraph_beta.generated.models.security.RecommendedHuntingQuery::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.security.RecommendedHuntingQuery::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.security.RecommendedHuntingQuery::|public|backing_store:BackingStore @@ -231059,8 +231288,16 @@ msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot-->Entity msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|public|constructor():None msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|public|odata_type:str +msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|public|policy():TeamsPolicyAssignment +msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|public|policy(value:TeamsPolicyAssignment):None msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.teamsAdministration.TeamsAdminRoot::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeamsAdminRoot +msgraph_beta.generated.models.teamsAdministration.TeamsPolicyAssignment-->Entity +msgraph_beta.generated.models.teamsAdministration.TeamsPolicyAssignment::|public|constructor():None +msgraph_beta.generated.models.teamsAdministration.TeamsPolicyAssignment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.teamsAdministration.TeamsPolicyAssignment::|public|odata_type:str +msgraph_beta.generated.models.teamsAdministration.TeamsPolicyAssignment::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.teamsAdministration.TeamsPolicyAssignment::|static|public|create_from_discriminator_value(parse_node:ParseNode):TeamsPolicyAssignment msgraph_beta.generated.models.TeamsApp-->Entity msgraph_beta.generated.models.TeamsApp::|public|app_definitions():list[TeamsAppDefinition] msgraph_beta.generated.models.TeamsApp::|public|app_definitions(value:list[TeamsAppDefinition]):None @@ -244825,8 +245062,8 @@ msgraph_beta.generated.models.windowsUpdates.ApplicableContentDeviceMatch~~>Addi msgraph_beta.generated.models.windowsUpdates.ApplicableContent~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.windowsUpdates.AzureADDevice-->UpdatableAsset msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|constructor():None -msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|enrollments():list[UpdatableAssetEnrollment] -msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|enrollments(value:list[UpdatableAssetEnrollment]):None +msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|enrollment():UpdateManagementEnrollment +msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|enrollment(value:UpdateManagementEnrollment):None msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|errors():list[UpdatableAssetError] msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|errors(value:list[UpdatableAssetError]):None msgraph_beta.generated.models.windowsUpdates.AzureADDevice::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -245186,6 +245423,12 @@ msgraph_beta.generated.models.windowsUpdates.EditionCollectionResponse::|public| msgraph_beta.generated.models.windowsUpdates.EditionCollectionResponse::|public|value():list[Edition] msgraph_beta.generated.models.windowsUpdates.EditionCollectionResponse::|public|value(value:list[Edition]):None msgraph_beta.generated.models.windowsUpdates.EditionCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):EditionCollectionResponse +msgraph_beta.generated.models.windowsUpdates.EnrollmentState::0000-NotEnrolled +msgraph_beta.generated.models.windowsUpdates.EnrollmentState::0001-Enrolled +msgraph_beta.generated.models.windowsUpdates.EnrollmentState::0002-EnrolledWithPolicy +msgraph_beta.generated.models.windowsUpdates.EnrollmentState::0003-Enrolling +msgraph_beta.generated.models.windowsUpdates.EnrollmentState::0004-Unenrolling +msgraph_beta.generated.models.windowsUpdates.EnrollmentState::0005-UnknownFutureValue msgraph_beta.generated.models.windowsUpdates.ExpediteSettings::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.windowsUpdates.ExpediteSettings::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.windowsUpdates.ExpediteSettings::|public|backing_store:BackingStore @@ -245559,16 +245802,6 @@ msgraph_beta.generated.models.windowsUpdates.UpdatableAssetCollectionResponse::| msgraph_beta.generated.models.windowsUpdates.UpdatableAssetCollectionResponse::|public|value():list[UpdatableAsset] msgraph_beta.generated.models.windowsUpdates.UpdatableAssetCollectionResponse::|public|value(value:list[UpdatableAsset]):None msgraph_beta.generated.models.windowsUpdates.UpdatableAssetCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):UpdatableAssetCollectionResponse -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|backing_store:BackingStore -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|constructor():None -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|odata_type():str -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|odata_type(value:str):None -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment::|static|public|create_from_discriminator_value(parse_node:ParseNode):UpdatableAssetEnrollment -msgraph_beta.generated.models.windowsUpdates.UpdatableAssetEnrollment~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.windowsUpdates.UpdatableAssetError::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.windowsUpdates.UpdatableAssetError::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.windowsUpdates.UpdatableAssetError::|public|backing_store:BackingStore @@ -245591,14 +245824,36 @@ msgraph_beta.generated.models.windowsUpdates.UpdateCategory::0000-Feature msgraph_beta.generated.models.windowsUpdates.UpdateCategory::0001-Quality msgraph_beta.generated.models.windowsUpdates.UpdateCategory::0002-UnknownFutureValue msgraph_beta.generated.models.windowsUpdates.UpdateCategory::0003-Driver -msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment-->UpdatableAssetEnrollment +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|backing_store:BackingStore +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|constructor():None +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|enrollment_state():EnrollmentState +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|enrollment_state(value:EnrollmentState):None +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|last_modified_date_time():datetime.datetime +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|last_modified_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|odata_type():str +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|odata_type(value:str):None +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation::|static|public|create_from_discriminator_value(parse_node:ParseNode):UpdateCategoryEnrollmentInformation +msgraph_beta.generated.models.windowsUpdates.UpdateCategoryEnrollmentInformation~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|backing_store:BackingStore msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|constructor():None +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|driver():UpdateCategoryEnrollmentInformation +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|driver(value:UpdateCategoryEnrollmentInformation):None +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|feature():UpdateCategoryEnrollmentInformation +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|feature(value:UpdateCategoryEnrollmentInformation):None msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|odata_type:str +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|odata_type():str +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|odata_type(value:str):None +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|quality():UpdateCategoryEnrollmentInformation +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|quality(value:UpdateCategoryEnrollmentInformation):None msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|update_category():UpdateCategory -msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|public|update_category(value:UpdateCategory):None msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment::|static|public|create_from_discriminator_value(parse_node:ParseNode):UpdateManagementEnrollment +msgraph_beta.generated.models.windowsUpdates.UpdateManagementEnrollment~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.windowsUpdates.UpdatePolicy-->Entity msgraph_beta.generated.models.windowsUpdates.UpdatePolicy::|public|audience():DeploymentAudience msgraph_beta.generated.models.windowsUpdates.UpdatePolicy::|public|audience(value:DeploymentAudience):None @@ -286122,6 +286377,15 @@ msgraph_beta.generated.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBu msgraph_beta.generated.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastSevenDaysRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBuilder::|public|url_template:str msgraph_beta.generated.sites.item.analytics.lastSevenDays.LastSevenDaysRequestBuilder::|public|with_url(raw_url:str):LastSevenDaysRequestBuilder +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder.ArchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.sites.item.archive.ArchiveRequestBuilder::|public|with_url(raw_url:str):ArchiveRequestBuilder msgraph_beta.generated.sites.item.columns.ColumnsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.sites.item.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.sites.item.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -287085,6 +287349,15 @@ msgraph_beta.generated.sites.item.getByPathWithPath.analytics.AnalyticsRequestBu msgraph_beta.generated.sites.item.getByPathWithPath.analytics.AnalyticsRequestBuilder::|public|to_patch_request_information(body:ItemAnalytics; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.sites.item.getByPathWithPath.analytics.AnalyticsRequestBuilder::|public|url_template:str msgraph_beta.generated.sites.item.getByPathWithPath.analytics.AnalyticsRequestBuilder::|public|with_url(raw_url:str):AnalyticsRequestBuilder +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder.ArchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.sites.item.getByPathWithPath.archive.ArchiveRequestBuilder::|public|with_url(raw_url:str):ArchiveRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.columns.ColumnsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.sites.item.getByPathWithPath.columns.ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -287282,6 +287555,7 @@ msgraph_beta.generated.sites.item.getByPathWithPath.getApplicableContentTypesFor msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder.GetByPathWithPathRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|analytics:AnalyticsRequestBuilder +msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|archive:ArchiveRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|columns:ColumnsRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; path?:str):None msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|content_models:ContentModelsRequestBuilder @@ -287309,6 +287583,7 @@ msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuil msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|sites:SitesRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|term_store:TermStoreRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|unarchive:UnarchiveRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|url_template:str msgraph_beta.generated.sites.item.getByPathWithPath.GetByPathWithPathRequestBuilder::|public|with_url(raw_url:str):GetByPathWithPathRequestBuilder msgraph_beta.generated.sites.item.getByPathWithPath.informationProtection.InformationProtectionRequestBuilder-->BaseRequestBuilder @@ -287536,6 +287811,15 @@ msgraph_beta.generated.sites.item.getByPathWithPath.termStore.TermStoreRequestBu msgraph_beta.generated.sites.item.getByPathWithPath.termStore.TermStoreRequestBuilder::|public|to_patch_request_information(body:Store; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.sites.item.getByPathWithPath.termStore.TermStoreRequestBuilder::|public|url_template:str msgraph_beta.generated.sites.item.getByPathWithPath.termStore.TermStoreRequestBuilder::|public|with_url(raw_url:str):TermStoreRequestBuilder +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder.UnarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.sites.item.getByPathWithPath.unarchive.UnarchiveRequestBuilder::|public|with_url(raw_url:str):UnarchiveRequestBuilder msgraph_beta.generated.sites.item.informationProtection.bitlocker.BitlockerRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.sites.item.informationProtection.bitlocker.BitlockerRequestBuilder.BitlockerRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.sites.item.informationProtection.bitlocker.BitlockerRequestBuilder.BitlockerRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -293466,6 +293750,7 @@ msgraph_beta.generated.sites.item.SiteItemRequestBuilder.SiteItemRequestBuilderG msgraph_beta.generated.sites.item.SiteItemRequestBuilder.SiteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SiteItemRequestBuilderGetQueryParameters] msgraph_beta.generated.sites.item.SiteItemRequestBuilder.SiteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|analytics:AnalyticsRequestBuilder +msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|archive:ArchiveRequestBuilder msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|columns:ColumnsRequestBuilder msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|content_models:ContentModelsRequestBuilder @@ -293496,6 +293781,7 @@ msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|sites:SitesReq msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|term_store:TermStoreRequestBuilder msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SiteItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|to_patch_request_information(body:Site; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|unarchive:UnarchiveRequestBuilder msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|url_template:str msgraph_beta.generated.sites.item.SiteItemRequestBuilder::|public|with_url(raw_url:str):SiteItemRequestBuilder msgraph_beta.generated.sites.item.sites.count.CountRequestBuilder-->BaseRequestBuilder @@ -296013,6 +296299,15 @@ msgraph_beta.generated.sites.item.termStore.TermStoreRequestBuilder::|public|to_ msgraph_beta.generated.sites.item.termStore.TermStoreRequestBuilder::|public|to_patch_request_information(body:Store; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.sites.item.termStore.TermStoreRequestBuilder::|public|url_template:str msgraph_beta.generated.sites.item.termStore.TermStoreRequestBuilder::|public|with_url(raw_url:str):TermStoreRequestBuilder +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder.UnarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|url_template:str +msgraph_beta.generated.sites.item.unarchive.UnarchiveRequestBuilder::|public|with_url(raw_url:str):UnarchiveRequestBuilder msgraph_beta.generated.sites.remove.RemovePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.sites.remove.RemovePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.sites.remove.RemovePostRequestBody::|public|backing_store:BackingStore diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index 58491781d59..620837c7692 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "5923E0D487FBF768915AC7D42314ADC8D3CA116F58083FEE708C9686987D146A8914F51788B76C472DD0BA9B1F74CF8F6A75B1EDCBAE56AD7381586F893EFCE9", + "descriptionHash": "7587270095F847B4F9D6561C294A106644F3B9D3DDD16B4CB41E1A9A01C5267AD0E1C136868B70F7E6DF836DA5E648F0198AD0F014CAE09BB363511795EC2B68", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.23.0", diff --git a/msgraph_beta/generated/models/applied_conditional_access_policy.py b/msgraph_beta/generated/models/applied_conditional_access_policy.py index 33ad37a9a31..a57d2531cca 100644 --- a/msgraph_beta/generated/models/applied_conditional_access_policy.py +++ b/msgraph_beta/generated/models/applied_conditional_access_policy.py @@ -20,9 +20,9 @@ class AppliedConditionalAccessPolicy(AdditionalDataHolder, BackedModel, Parsable additional_data: dict[str, Any] = field(default_factory=dict) # The custom authentication strength enforced in a Conditional Access policy. authentication_strength: Optional[AuthenticationStrength] = None - # Refers to the conditional access policy conditions that aren't satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + # Refers to the conditional access policy conditions that aren't satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. conditions_not_satisfied: Optional[ConditionalAccessConditions] = None - # Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + # Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. conditions_satisfied: Optional[ConditionalAccessConditions] = None # Name of the conditional access policy. display_name: Optional[str] = None @@ -38,7 +38,7 @@ class AppliedConditionalAccessPolicy(AdditionalDataHolder, BackedModel, Parsable include_rules_satisfied: Optional[list[ConditionalAccessRuleSatisfied]] = None # The OdataType property odata_type: Optional[str] = None - # 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. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + # 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. result: Optional[AppliedConditionalAccessPolicyResult] = None # Refers to the session controls that a sign-in activity didn't satisfy. (Example: Application enforced Restrictions). session_controls_not_satisfied: Optional[list[str]] = None diff --git a/msgraph_beta/generated/models/authentication_requirement_policy.py b/msgraph_beta/generated/models/authentication_requirement_policy.py index 5d94258c245..6ed400d17b7 100644 --- a/msgraph_beta/generated/models/authentication_requirement_policy.py +++ b/msgraph_beta/generated/models/authentication_requirement_policy.py @@ -19,7 +19,7 @@ class AuthenticationRequirementPolicy(AdditionalDataHolder, BackedModel, Parsabl detail: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Identifies what Microsoft Entra feature requires MFA in this policy. Possible values are: user, request, servicePrincipal, v1ConditionalAccess, multiConditionalAccess, tenantSessionRiskPolicy, accountCompromisePolicies, v1ConditionalAccessDependency, v1ConditionalAccessPolicyIdRequested, mfaRegistrationRequiredByIdentityProtectionPolicy, baselineProtection, mfaRegistrationRequiredByBaselineProtection, mfaRegistrationRequiredByMultiConditionalAccess, enforcedForCspAdmins, securityDefaults, mfaRegistrationRequiredBySecurityDefaults, proofUpCodeRequest, crossTenantOutboundRule, gpsLocationCondition, riskBasedPolicy, unknownFutureValue, scopeBasedAuthRequirementPolicy, authenticationStrengths . Also, note that you must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: scopeBasedAuthRequirementPolicy, authenticationStrengths. + # Identifies what Microsoft Entra feature requires MFA in this policy. Possible values are: user, request, servicePrincipal, v1ConditionalAccess, multiConditionalAccess, tenantSessionRiskPolicy, accountCompromisePolicies, v1ConditionalAccessDependency, v1ConditionalAccessPolicyIdRequested, mfaRegistrationRequiredByIdentityProtectionPolicy, baselineProtection, mfaRegistrationRequiredByBaselineProtection, mfaRegistrationRequiredByMultiConditionalAccess, enforcedForCspAdmins, securityDefaults, mfaRegistrationRequiredBySecurityDefaults, proofUpCodeRequest, crossTenantOutboundRule, gpsLocationCondition, riskBasedPolicy, unknownFutureValue, scopeBasedAuthRequirementPolicy, authenticationStrengths . Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: scopeBasedAuthRequirementPolicy, authenticationStrengths. requirement_provider: Optional[RequirementProvider] = None @staticmethod diff --git a/msgraph_beta/generated/models/base_site_page.py b/msgraph_beta/generated/models/base_site_page.py index 327385e0493..6c4570f7aa9 100644 --- a/msgraph_beta/generated/models/base_site_page.py +++ b/msgraph_beta/generated/models/base_site_page.py @@ -19,7 +19,7 @@ class BaseSitePage(BaseItem, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.baseSitePage" - # The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue, newsLink. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: newsLink. + # The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue, newsLink. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: newsLink. page_layout: Optional[PageLayoutType] = None # The publishing status and the MM.mm version of the page. publishing_state: Optional[PublicationFacet] = None diff --git a/msgraph_beta/generated/models/channel.py b/msgraph_beta/generated/models/channel.py index f2cd6a256cf..9bb1c12d89f 100644 --- a/msgraph_beta/generated/models/channel.py +++ b/msgraph_beta/generated/models/channel.py @@ -41,7 +41,7 @@ class Channel(Entity, Parsable): layout_type: Optional[ChannelLayoutType] = None # A collection of membership records associated with the channel. members: Optional[list[ConversationMember]] = None - # 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. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + # 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. membership_type: Optional[ChannelMembershipType] = None # A collection of all the messages in the channel. A navigation property. Nullable. messages: Optional[list[ChatMessage]] = None diff --git a/msgraph_beta/generated/models/cloud_p_c.py b/msgraph_beta/generated/models/cloud_p_c.py index f14280b1440..e5d8cdb8da7 100644 --- a/msgraph_beta/generated/models/cloud_p_c.py +++ b/msgraph_beta/generated/models/cloud_p_c.py @@ -77,7 +77,7 @@ class CloudPC(Entity, Parsable): provisioning_policy_id: Optional[str] = None # The provisioning policy that is applied during the provisioning of Cloud PCs. provisioning_policy_name: Optional[str] = None - # The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue,sharedByUser, sharedByEntraGroup. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The default value is dedicated. CAUTION: The shared member is deprecated and will stop returning on April 30, 2027ï¼› in the future, use the sharedByUser member. + # The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue,sharedByUser, sharedByEntraGroup. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The default value is dedicated. CAUTION: The shared member is deprecated and will stop returning on April 30, 2027ï¼› in the future, use the sharedByUser member. provisioning_type: Optional[CloudPcProvisioningType] = None # The scopeIds property scope_ids: Optional[list[str]] = None diff --git a/msgraph_beta/generated/models/cloud_pc_device_image.py b/msgraph_beta/generated/models/cloud_pc_device_image.py index 557da7995dc..a8ee23e2eb8 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image.py @@ -18,7 +18,7 @@ class CloudPcDeviceImage(Entity, Parsable): # 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. display_name: Optional[str] = None - # 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. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. + # 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. error_code: Optional[CloudPcDeviceImageErrorCode] = None # The date when the image became unavailable. Read-only. expiration_date: Optional[datetime.date] = None @@ -40,7 +40,7 @@ class CloudPcDeviceImage(Entity, Parsable): source_image_resource_id: Optional[str] = None # The status of the image on the Cloud PC. Possible values are: pending, ready, failed, unknownFutureValue. Read-only. status: Optional[CloudPcDeviceImageStatus] = None - # The details 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. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. The statusDetails property is deprecated and will stop returning data on January 31, 2024. Going forward, use the errorCode property. + # The details 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. The statusDetails property is deprecated and will stop returning data on January 31, 2024. Going forward, use the errorCode property. status_details: Optional[CloudPcDeviceImageStatusDetails] = None # The image version. For example, 0.0.1 and 1.5.13. Read-only. version: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_pc_export_job.py b/msgraph_beta/generated/models/cloud_pc_export_job.py index b5d6b9a1b57..b3fa654c7ab 100644 --- a/msgraph_beta/generated/models/cloud_pc_export_job.py +++ b/msgraph_beta/generated/models/cloud_pc_export_job.py @@ -26,7 +26,7 @@ class CloudPcExportJob(Entity, Parsable): format: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport. + # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport. report_name: Optional[CloudPcReportName] = None # The date and time when the export job was requested. request_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py index 100e912a04a..7ab9a5c24c6 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py @@ -57,7 +57,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable): microsoft_managed_desktop: Optional[MicrosoftManagedDesktop] = None # The OdataType property odata_type: Optional[str] = None - # Specifies the type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are dedicated, shared, unknownFutureValue, sharedByUser, sharedByEntraGroup. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The shared member is deprecated and will stop returning on April 30, 2027; going forward, use the sharedByUser member. For example, a dedicated service plan can be assigned to only one user and provision only one Cloud PC. The shared and sharedByUser plans require customers to purchase a shared service plan. Each shared license purchased can enable up to three Cloud PCs, with only one user signed in at a time. The sharedByEntraGroup plan also requires the purchase of a shared service plan. Each shared license under this plan can enable one Cloud PC, which is shared for the group according to the assignments of this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy is created. + # Specifies the type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are dedicated, shared, unknownFutureValue, sharedByUser, sharedByEntraGroup. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The shared member is deprecated and will stop returning on April 30, 2027; going forward, use the sharedByUser member. For example, a dedicated service plan can be assigned to only one user and provision only one Cloud PC. The shared and sharedByUser plans require customers to purchase a shared service plan. Each shared license purchased can enable up to three Cloud PCs, with only one user signed in at a time. The sharedByEntraGroup plan also requires the purchase of a shared service plan. Each shared license under this plan can enable one Cloud PC, which is shared for the group according to the assignments of this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy is created. provisioning_type: Optional[CloudPcProvisioningType] = None # The scopeIds property scope_ids: Optional[list[str]] = None diff --git a/msgraph_beta/generated/models/cloud_pc_service_plan.py b/msgraph_beta/generated/models/cloud_pc_service_plan.py index 4d4452b5f44..0f47edbfb14 100644 --- a/msgraph_beta/generated/models/cloud_pc_service_plan.py +++ b/msgraph_beta/generated/models/cloud_pc_service_plan.py @@ -18,7 +18,7 @@ class CloudPcServicePlan(Entity, Parsable): display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Specifies the type of license used when provisioning Cloud PCs. By default, the license type is dedicated. Possible values are: dedicated, shared, unknownFutureValue, sharedByUser, sharedByEntraGroup. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The shared member is deprecated and will stop returning on April 30, 2027; going forward, use the sharedByUser member. + # Specifies the type of license used when provisioning Cloud PCs. By default, the license type is dedicated. Possible values are: dedicated, shared, unknownFutureValue, sharedByUser, sharedByEntraGroup. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The shared member is deprecated and will stop returning on April 30, 2027; going forward, use the sharedByUser member. provisioning_type: Optional[CloudPcProvisioningType] = None # The size of the RAM in GB. Read-only. ram_in_g_b: Optional[int] = None diff --git a/msgraph_beta/generated/models/conditional_access_rule_satisfied.py b/msgraph_beta/generated/models/conditional_access_rule_satisfied.py index d4651ae1896..8158ff9bf27 100644 --- a/msgraph_beta/generated/models/conditional_access_rule_satisfied.py +++ b/msgraph_beta/generated/models/conditional_access_rule_satisfied.py @@ -16,11 +16,11 @@ class ConditionalAccessRuleSatisfied(AdditionalDataHolder, BackedModel, Parsable # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + # Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. conditional_access_condition: Optional[ConditionalAccessConditions] = None # The OdataType property odata_type: Optional[str] = None - # Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk. + # Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk. rule_satisfied: Optional[ConditionalAccessRule] = None @staticmethod diff --git a/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py b/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py index 3542a2f03c6..9519fa14f3d 100644 --- a/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py +++ b/msgraph_beta/generated/models/continuous_access_evaluation_session_control.py @@ -15,7 +15,7 @@ class ContinuousAccessEvaluationSessionControl(AdditionalDataHolder, BackedModel # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Specifies continuous access evaluation settings. The possible values are: strictEnforcement, disabled, unknownFutureValue, strictLocation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: strictLocation. + # Specifies continuous access evaluation settings. The possible values are: strictEnforcement, disabled, unknownFutureValue, strictLocation. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: strictLocation. mode: Optional[ContinuousAccessEvaluationMode] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_compliance_policy.py b/msgraph_beta/generated/models/device_compliance_policy.py index 0a6ad9510c5..97c69929420 100644 --- a/msgraph_beta/generated/models/device_compliance_policy.py +++ b/msgraph_beta/generated/models/device_compliance_policy.py @@ -54,7 +54,7 @@ class DeviceCompliancePolicy(Entity, Parsable): odata_type: Optional[str] = None # List of Scope Tags for this Entity instance. role_scope_tag_ids: Optional[list[str]] = None - # The list of scheduled action for this rule + # The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. scheduled_actions_for_rule: Optional[list[DeviceComplianceScheduledActionForRule]] = None # Device compliance users status overview user_status_overview: Optional[DeviceComplianceUserOverview] = None diff --git a/msgraph_beta/generated/models/device_management/alert_record.py b/msgraph_beta/generated/models/device_management/alert_record.py index 68e6030a597..521f82a3eaf 100644 --- a/msgraph_beta/generated/models/device_management/alert_record.py +++ b/msgraph_beta/generated/models/device_management/alert_record.py @@ -20,7 +20,7 @@ class AlertRecord(Entity, Parsable): alert_impact: Optional[AlertImpact] = None # The corresponding ID of the alert rule. alert_rule_id: Optional[str] = None - # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. + # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. alert_rule_template: Optional[AlertRuleTemplate] = None # The date and time when the alert event was detected. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. detected_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/device_management/alert_rule.py b/msgraph_beta/generated/models/device_management/alert_rule.py index 48d232539ae..b9717e917dd 100644 --- a/msgraph_beta/generated/models/device_management/alert_rule.py +++ b/msgraph_beta/generated/models/device_management/alert_rule.py @@ -16,7 +16,7 @@ @dataclass class AlertRule(Entity, Parsable): - # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario, and cloudPcFrontlineConcurrencyScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario, and cloudPcFrontlineConcurrencyScenario. + # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario, and cloudPcFrontlineConcurrencyScenario. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario, and cloudPcFrontlineConcurrencyScenario. alert_rule_template: Optional[AlertRuleTemplate] = None # The conditions that determine when to send alerts. For example, you can configure a condition to send an alert when provisioning fails for six or more Cloud PCs. conditions: Optional[list[RuleCondition]] = None diff --git a/msgraph_beta/generated/models/device_management/portal_notification.py b/msgraph_beta/generated/models/device_management/portal_notification.py index 719abf15852..a802fd0e25b 100644 --- a/msgraph_beta/generated/models/device_management/portal_notification.py +++ b/msgraph_beta/generated/models/device_management/portal_notification.py @@ -25,7 +25,7 @@ class PortalNotification(AdditionalDataHolder, BackedModel, Parsable): alert_rule_id: Optional[str] = None # The associated alert rule name. alert_rule_name: Optional[str] = None - # The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. + # The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. alert_rule_template: Optional[AlertRuleTemplate] = None # The unique identifier for the portal notification. id: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py index 34a8130b402..9425e379039 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationChoiceSettingCollectionDefinition(DeviceManagementConfigurationChoiceSettingDefinition, Parsable): - # Maximum number of choices in the collection + # Maximum number of choices in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of choices in the collection + # Minimum number of choices in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py index 8cabcae53a8..51e1f23e454 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_definition.py @@ -13,11 +13,11 @@ @dataclass class DeviceManagementConfigurationChoiceSettingDefinition(DeviceManagementConfigurationSettingDefinition, Parsable): - # Default option for choice setting + # Default option for the choice setting. default_option_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Options for the setting that can be selected + # Options for the setting that can be selected. options: Optional[list[DeviceManagementConfigurationOptionDefinition]] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py b/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py index bcd2aa3de18..e9cd3d251fa 100644 --- a/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py +++ b/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py @@ -17,7 +17,7 @@ class DeviceManagementConfigurationReferredSettingInformation(AdditionalDataHold additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # Setting definition id that is being referred to a setting. Applicable for reusable setting + # Setting definition id that is being referred to a setting. Applicable for reusable setting. setting_definition_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py index f8fa610e69e..e8c55747642 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py @@ -27,19 +27,19 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): # The accessTypes property access_types: Optional[DeviceManagementConfigurationSettingAccessTypes] = None - # Details which device setting is applicable on + # Details which device setting is applicable on. Supports: $filters. applicability: Optional[DeviceManagementConfigurationSettingApplicability] = None # Base CSP Path base_uri: Optional[str] = None - # Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + # Specify category in which the setting is under. Support $filters. category_id: Optional[str] = None - # Description of the item + # Description of the setting. description: Optional[str] = None - # Display name of the item + # Name of the setting. For example: Allow Toast. display_name: Optional[str] = None - # Help text of the item + # Help text of the setting. Give more details of the setting. help_text: Optional[str] = None - # List of links more info for the setting can be found at + # List of links more info for the setting can be found at. info_urls: Optional[list[str]] = None # Tokens which to search settings on keywords: Optional[list[str]] = None @@ -53,7 +53,7 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): offset_uri: Optional[str] = None # List of referred setting information. referred_setting_information_list: Optional[list[DeviceManagementConfigurationReferredSettingInformation]] = None - # Root setting definition if the setting is a child setting. + # Root setting definition id if the setting is a child setting. root_definition_id: Optional[str] = None # Supported setting types setting_usage: Optional[DeviceManagementConfigurationSettingUsage] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py index f82b84785f3..87bf0f2aec5 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSettingGroupCollectionDefinition(DeviceManagementConfigurationSettingGroupDefinition, Parsable): - # Maximum number of setting group count in the collection. Valid values 1 to 100 + # Maximum number of setting group count in the collection maximum_count: Optional[int] = None - # Minimum number of setting group count in the collection. Valid values 1 to 100 + # Minimum number of setting group count in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py index 94b27c67cd3..3a4b2212735 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py @@ -14,7 +14,7 @@ @dataclass class DeviceManagementConfigurationSettingGroupDefinition(DeviceManagementConfigurationSettingDefinition, Parsable): - # Dependent child settings to this group of settings. + # Dependent child settings to this group of settings child_ids: Optional[list[str]] = None # List of child settings that depend on this setting depended_on_by: Optional[list[DeviceManagementConfigurationSettingDependedOnBy]] = None diff --git a/msgraph_beta/generated/models/device_template.py b/msgraph_beta/generated/models/device_template.py index 78358842c3d..152ccda46de 100644 --- a/msgraph_beta/generated/models/device_template.py +++ b/msgraph_beta/generated/models/device_template.py @@ -28,7 +28,7 @@ class DeviceTemplate(DirectoryObject, Parsable): mutual_tls_oauth_configuration_tenant_id: Optional[str] = None # Operating system type. Supports $filter (eq, in). operating_system: Optional[str] = None - # Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + # Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. owners: Optional[list[DirectoryObject]] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_assignment.py b/msgraph_beta/generated/models/education_assignment.py index 30765c5c618..c78b74aa02d 100644 --- a/msgraph_beta/generated/models/education_assignment.py +++ b/msgraph_beta/generated/models/education_assignment.py @@ -25,7 +25,7 @@ @dataclass class EducationAssignment(Entity, Parsable): - # 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. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + # 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 value(s) in this evolvable enum: studentsOnly. The default value is none. add_to_calendar_action: Optional[EducationAddToCalendarOptions] = None # 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. added_student_action: Optional[EducationAddedStudentAction] = None @@ -79,7 +79,7 @@ class EducationAssignment(Entity, Parsable): resources_folder_url: Optional[str] = None # When set, the grading rubric attached to this assignment. rubric: Optional[EducationRubric] = None - # Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. + # 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. status: Optional[EducationAssignmentStatus] = None # Once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. submissions: Optional[list[EducationSubmission]] = None diff --git a/msgraph_beta/generated/models/education_assignment_defaults.py b/msgraph_beta/generated/models/education_assignment_defaults.py index d970bfac97c..da47a21d2f9 100644 --- a/msgraph_beta/generated/models/education_assignment_defaults.py +++ b/msgraph_beta/generated/models/education_assignment_defaults.py @@ -14,7 +14,7 @@ @dataclass class EducationAssignmentDefaults(Entity, Parsable): - # 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. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + # 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(s) in this evolvable enum: studentsOnly. The default value is none. add_to_calendar_action: Optional[EducationAddToCalendarOptions] = None # Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. added_student_action: Optional[EducationAddedStudentAction] = None diff --git a/msgraph_beta/generated/models/education_csv_data_provider.py b/msgraph_beta/generated/models/education_csv_data_provider.py index f154c47555a..a84aadd5e10 100644 --- a/msgraph_beta/generated/models/education_csv_data_provider.py +++ b/msgraph_beta/generated/models/education_csv_data_provider.py @@ -14,7 +14,7 @@ class EducationCsvDataProvider(EducationSynchronizationDataProvider, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationCsvDataProvider" - # Optional customizations to be applied to the synchronization profile. + # The customizations property customizations: Optional[EducationSynchronizationCustomizations] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_file_synchronization_verification_message.py b/msgraph_beta/generated/models/education_file_synchronization_verification_message.py index 1f0ad3a426b..290e26bbd13 100644 --- a/msgraph_beta/generated/models/education_file_synchronization_verification_message.py +++ b/msgraph_beta/generated/models/education_file_synchronization_verification_message.py @@ -12,13 +12,13 @@ class EducationFileSynchronizationVerificationMessage(AdditionalDataHolder, Back # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Detailed information about the message type. + # The description property description: Optional[str] = None - # Source file that contains the error. + # The fileName property file_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Type of the message. Possible values are: error, warning, information. + # The type property type: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_identity_domain.py b/msgraph_beta/generated/models/education_identity_domain.py index 4d267c018cb..95cf82121b3 100644 --- a/msgraph_beta/generated/models/education_identity_domain.py +++ b/msgraph_beta/generated/models/education_identity_domain.py @@ -17,7 +17,7 @@ class EducationIdentityDomain(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The appliesTo property applies_to: Optional[EducationUserRole] = None - # Represents the domain for the user account. + # The name property name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/education_identity_matching_configuration.py b/msgraph_beta/generated/models/education_identity_matching_configuration.py index 84e80b5a6da..1faa082f226 100644 --- a/msgraph_beta/generated/models/education_identity_matching_configuration.py +++ b/msgraph_beta/generated/models/education_identity_matching_configuration.py @@ -14,7 +14,7 @@ class EducationIdentityMatchingConfiguration(EducationIdentitySynchronizationConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationIdentityMatchingConfiguration" - # Mapping between the user account and the options to use to uniquely identify the user to update. + # The matchingOptions property matching_options: Optional[list[EducationIdentityMatchingOptions]] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_identity_matching_options.py b/msgraph_beta/generated/models/education_identity_matching_options.py index d2e4913b9f9..34b7184c8b9 100644 --- a/msgraph_beta/generated/models/education_identity_matching_options.py +++ b/msgraph_beta/generated/models/education_identity_matching_options.py @@ -19,11 +19,11 @@ class EducationIdentityMatchingOptions(AdditionalDataHolder, BackedModel, Parsab applies_to: Optional[EducationUserRole] = None # The OdataType property odata_type: Optional[str] = None - # The name of the source property, which should be a field name in the source data. This property is case-sensitive. + # The sourcePropertyName property source_property_name: Optional[str] = None - # The domain to suffix with the source property to match on the target. If provided as null, the source property will be used to match with the target property. + # The targetDomain property target_domain: Optional[str] = None - # The name of the target property, which should be a valid property in Microsoft Entra ID. This property is case-sensitive. + # The targetPropertyName property target_property_name: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_one_roster_api_data_provider.py b/msgraph_beta/generated/models/education_one_roster_api_data_provider.py index 7fabe2268d3..c3eae87f097 100644 --- a/msgraph_beta/generated/models/education_one_roster_api_data_provider.py +++ b/msgraph_beta/generated/models/education_one_roster_api_data_provider.py @@ -17,15 +17,15 @@ class EducationOneRosterApiDataProvider(EducationSynchronizationDataProvider, Pa odata_type: Optional[str] = "#microsoft.graph.educationOneRosterApiDataProvider" # The connectionSettings property connection_settings: Optional[EducationSynchronizationConnectionSettings] = None - # The connection URL to the OneRoster instance. + # The connectionUrl property connection_url: Optional[str] = None - # Optional customization to be applied to the synchronization profile. + # The customizations property customizations: Optional[EducationSynchronizationCustomizations] = None - # The OneRoster Service Provider name as defined by the OneRoster specification. + # The providerName property provider_name: Optional[str] = None - # The list of School/Org sourcedId to sync. + # The schoolsIds property schools_ids: Optional[list[str]] = None - # The list of academic sessions to sync. + # The termIds property term_ids: Optional[list[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_power_school_data_provider.py b/msgraph_beta/generated/models/education_power_school_data_provider.py index c5d2621e91d..bbefe698a85 100644 --- a/msgraph_beta/generated/models/education_power_school_data_provider.py +++ b/msgraph_beta/generated/models/education_power_school_data_provider.py @@ -14,19 +14,19 @@ class EducationPowerSchoolDataProvider(EducationSynchronizationDataProvider, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationPowerSchoolDataProvider" - # Indicates whether the source has multiple identifiers for a single student or teacher. + # The allowTeachersInMultipleSchools property allow_teachers_in_multiple_schools: Optional[bool] = None - # The client ID used to connect to PowerSchool. + # The clientId property client_id: Optional[str] = None - # The client secret to authenticate the connection to the PowerSchool instance. + # The clientSecret property client_secret: Optional[str] = None - # The connection URL to the PowerSchool instance. + # The connectionUrl property connection_url: Optional[str] = None - # Optional customization to be applied to the synchronization profile. + # The customizations property customizations: Optional[EducationSynchronizationCustomizations] = None - # The school year to sync. + # The schoolYear property school_year: Optional[str] = None - # The list of schools to sync. + # The schoolsIds property schools_ids: Optional[list[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_submission.py b/msgraph_beta/generated/models/education_submission.py index ee7fae6f0bc..554f3b534f2 100644 --- a/msgraph_beta/generated/models/education_submission.py +++ b/msgraph_beta/generated/models/education_submission.py @@ -45,7 +45,7 @@ class EducationSubmission(Entity, Parsable): returned_by: Optional[IdentitySet] = None # 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. returned_date_time: Optional[datetime.datetime] = None - # Read-only. Possible values are: working, submitted, returned, unknownFutureValue, reassigned, and excused. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reassigned, and excused. + # Read-only. Possible values are: working, submitted, returned, unknownFutureValue, reassigned, and excused. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reassigned, and excused. status: Optional[EducationSubmissionStatus] = None # User who moved the resource into the submitted state. submitted_by: Optional[IdentitySet] = None diff --git a/msgraph_beta/generated/models/education_synchronization_connection_settings.py b/msgraph_beta/generated/models/education_synchronization_connection_settings.py index 1fb6051bf8e..d759c4ab85b 100644 --- a/msgraph_beta/generated/models/education_synchronization_connection_settings.py +++ b/msgraph_beta/generated/models/education_synchronization_connection_settings.py @@ -16,9 +16,9 @@ class EducationSynchronizationConnectionSettings(AdditionalDataHolder, BackedMod # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Client ID used to connect to the provider. + # The clientId property client_id: Optional[str] = None - # Client secret to authenticate the connection to the provider. + # The clientSecret property client_secret: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/education_synchronization_customization.py b/msgraph_beta/generated/models/education_synchronization_customization.py index 0065393e29f..6c1c5ff980c 100644 --- a/msgraph_beta/generated/models/education_synchronization_customization.py +++ b/msgraph_beta/generated/models/education_synchronization_customization.py @@ -13,15 +13,15 @@ class EducationSynchronizationCustomization(AdditionalDataHolder, BackedModel, P # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Indicates whether the display name of the resource can be overwritten by the sync. + # The allowDisplayNameUpdate property allow_display_name_update: Optional[bool] = None - # Indicates whether synchronization of the parent entity is deferred to a later date. + # The isSyncDeferred property is_sync_deferred: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The collection of property names to sync. If set to null, all properties will be synchronized. Does not apply to Student Enrollments or Teacher Rosters + # The optionalPropertiesToSync property optional_properties_to_sync: Optional[list[str]] = None - # The date that the synchronization should start. This value should be set to a future date. If set to null, the resource will be synchronized when the profile setup completes. Only applies to Student Enrollments + # The synchronizationStartDate property synchronization_start_date: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_synchronization_customizations.py b/msgraph_beta/generated/models/education_synchronization_customizations.py index 9ae091c6bfb..51d17987510 100644 --- a/msgraph_beta/generated/models/education_synchronization_customizations.py +++ b/msgraph_beta/generated/models/education_synchronization_customizations.py @@ -14,17 +14,17 @@ class EducationSynchronizationCustomizations(EducationSynchronizationCustomizationsBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationSynchronizationCustomizations" - # Customizations for School entities. + # The school property school: Optional[EducationSynchronizationCustomization] = None - # Customizations for Section entities. + # The section property section: Optional[EducationSynchronizationCustomization] = None - # Customizations for Student entities. + # The student property student: Optional[EducationSynchronizationCustomization] = None - # Customizations for Student Enrollments. + # The studentEnrollment property student_enrollment: Optional[EducationSynchronizationCustomization] = None - # Customizations for Teacher entities. + # The teacher property teacher: Optional[EducationSynchronizationCustomization] = None - # Customizations for Teacher Rosters. + # The teacherRoster property teacher_roster: Optional[EducationSynchronizationCustomization] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_synchronization_error.py b/msgraph_beta/generated/models/education_synchronization_error.py index 555352a8b47..28b599f7342 100644 --- a/msgraph_beta/generated/models/education_synchronization_error.py +++ b/msgraph_beta/generated/models/education_synchronization_error.py @@ -12,19 +12,19 @@ @dataclass class EducationSynchronizationError(Entity, Parsable): - # Represents the sync entity (school, section, student, teacher). + # The entryType property entry_type: Optional[str] = None - # Represents the error code for this error. + # The errorCode property error_code: Optional[str] = None - # Contains a description of the error. + # The errorMessage property error_message: Optional[str] = None - # The unique identifier for the entry. + # The joiningValue property joining_value: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The time of occurrence of this error. + # The recordedDateTime property recorded_date_time: Optional[datetime.datetime] = None - # The identifier of this error entry. + # The reportableIdentifier property reportable_identifier: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_synchronization_license_assignment.py b/msgraph_beta/generated/models/education_synchronization_license_assignment.py index 34cbe8e9200..d21c49f88b5 100644 --- a/msgraph_beta/generated/models/education_synchronization_license_assignment.py +++ b/msgraph_beta/generated/models/education_synchronization_license_assignment.py @@ -15,11 +15,11 @@ class EducationSynchronizationLicenseAssignment(AdditionalDataHolder, BackedMode # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The user role type to assign to license. Possible values are: student, teacher, faculty. + # The appliesTo property applies_to: Optional[EducationUserRole] = None # The OdataType property odata_type: Optional[str] = None - # Represents the SKU identifiers of the licenses to assign. + # The skuIds property sku_ids: Optional[list[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py b/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py index 052c17d6595..8420010a6bd 100644 --- a/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py +++ b/msgraph_beta/generated/models/education_synchronization_o_auth2_client_credentials_connection_settings.py @@ -13,9 +13,9 @@ class EducationSynchronizationOAuth2ClientCredentialsConnectionSettings(EducationSynchronizationConnectionSettings, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.educationSynchronizationOAuth2ClientCredentialsConnectionSettings" - # The scope of the access request (see RFC6749). + # The scope property scope: Optional[str] = None - # The URL to get access tokens for the data provider. + # The tokenUrl property token_url: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_synchronization_profile.py b/msgraph_beta/generated/models/education_synchronization_profile.py index 43e04c9dc31..4c3c590e999 100644 --- a/msgraph_beta/generated/models/education_synchronization_profile.py +++ b/msgraph_beta/generated/models/education_synchronization_profile.py @@ -20,23 +20,23 @@ class EducationSynchronizationProfile(Entity, Parsable): # The dataProvider property data_provider: Optional[EducationSynchronizationDataProvider] = None - # Name of the configuration profile for syncing identities. + # The displayName property display_name: Optional[str] = None - # All errors associated with this synchronization profile. + # The errors property errors: Optional[list[EducationSynchronizationError]] = None - # The date the profile should be considered expired and cease syncing. Provide the date in YYYY-MM-DD format, following ISO 8601. Maximum value is 18 months from profile creation. (optional) + # The expirationDate property expiration_date: Optional[datetime.date] = None - # Determines if School Data Sync should automatically replace unsupported special characters while syncing from source. + # The handleSpecialCharacterConstraint property handle_special_character_constraint: Optional[bool] = None # The identitySynchronizationConfiguration property identity_synchronization_configuration: Optional[EducationIdentitySynchronizationConfiguration] = None - # License setup configuration. + # The licensesToAssign property licenses_to_assign: Optional[list[EducationSynchronizationLicenseAssignment]] = None # The OdataType property odata_type: Optional[str] = None - # The synchronization status. + # The profileStatus property profile_status: Optional[EducationSynchronizationProfileStatus] = None - # The state of the profile. Possible values are: provisioning, provisioned, provisioningFailed, deleting, deletionFailed. + # The state property state: Optional[EducationSynchronizationProfileState] = None @staticmethod diff --git a/msgraph_beta/generated/models/education_synchronization_profile_status.py b/msgraph_beta/generated/models/education_synchronization_profile_status.py index 8404d8db700..4d21122a513 100644 --- a/msgraph_beta/generated/models/education_synchronization_profile_status.py +++ b/msgraph_beta/generated/models/education_synchronization_profile_status.py @@ -13,17 +13,17 @@ @dataclass class EducationSynchronizationProfileStatus(Entity, Parsable): - # Number of errors during synchronization. + # The errorCount property error_count: Optional[int] = None - # Date and time when most recent changes were observed in the profile. + # The lastActivityDateTime property last_activity_date_time: Optional[datetime.datetime] = None - # Date and time of the most recent successful synchronization. + # The lastSynchronizationDateTime property last_synchronization_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The status of a sync. The possible values are: paused, inProgress, success, error, validationError, quarantined, unknownFutureValue, extracting, validating. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: extracting, validating. + # The status property status: Optional[EducationSynchronizationStatus] = None - # Status message for the synchronization stage of the current profile. + # The statusMessage property status_message: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index e7fdb49ab55..9a7a7d11eab 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -1467,6 +1467,7 @@ from .security.disposition_review_stage import DispositionReviewStage from .security.ediscovery_add_to_review_set_operation import EdiscoveryAddToReviewSetOperation from .security.ediscovery_case import EdiscoveryCase + from .security.ediscovery_case_member import EdiscoveryCaseMember from .security.ediscovery_case_settings import EdiscoveryCaseSettings from .security.ediscovery_custodian import EdiscoveryCustodian from .security.ediscovery_estimate_operation import EdiscoveryEstimateOperation @@ -1655,6 +1656,7 @@ from .tax_group import TaxGroup from .team import Team from .teams_administration.teams_admin_root import TeamsAdminRoot + from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment from .teams_app import TeamsApp from .teams_app_dashboard_card_definition import TeamsAppDashboardCardDefinition from .teams_app_definition import TeamsAppDefinition @@ -7966,6 +7968,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .security.ediscovery_case import EdiscoveryCase return EdiscoveryCase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryCaseMember".casefold(): + from .security.ediscovery_case_member import EdiscoveryCaseMember + + return EdiscoveryCaseMember() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.ediscoveryCaseSettings".casefold(): from .security.ediscovery_case_settings import EdiscoveryCaseSettings @@ -8730,6 +8736,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .teams_administration.teams_admin_root import TeamsAdminRoot return TeamsAdminRoot() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsAdministration.teamsPolicyAssignment".casefold(): + from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment + + return TeamsPolicyAssignment() if mapping_value and mapping_value.casefold() == "#microsoft.graph.teamsApp".casefold(): from .teams_app import TeamsApp @@ -11750,6 +11760,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .security.disposition_review_stage import DispositionReviewStage from .security.ediscovery_add_to_review_set_operation import EdiscoveryAddToReviewSetOperation from .security.ediscovery_case import EdiscoveryCase + from .security.ediscovery_case_member import EdiscoveryCaseMember from .security.ediscovery_case_settings import EdiscoveryCaseSettings from .security.ediscovery_custodian import EdiscoveryCustodian from .security.ediscovery_estimate_operation import EdiscoveryEstimateOperation @@ -11938,6 +11949,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .tax_group import TaxGroup from .team import Team from .teams_administration.teams_admin_root import TeamsAdminRoot + from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment from .teams_app import TeamsApp from .teams_app_dashboard_card_definition import TeamsAppDashboardCardDefinition from .teams_app_definition import TeamsAppDefinition @@ -13788,6 +13800,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .security.disposition_review_stage import DispositionReviewStage from .security.ediscovery_add_to_review_set_operation import EdiscoveryAddToReviewSetOperation from .security.ediscovery_case import EdiscoveryCase + from .security.ediscovery_case_member import EdiscoveryCaseMember from .security.ediscovery_case_settings import EdiscoveryCaseSettings from .security.ediscovery_custodian import EdiscoveryCustodian from .security.ediscovery_estimate_operation import EdiscoveryEstimateOperation @@ -13976,6 +13989,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .tax_group import TaxGroup from .team import Team from .teams_administration.teams_admin_root import TeamsAdminRoot + from .teams_administration.teams_policy_assignment import TeamsPolicyAssignment from .teams_app import TeamsApp from .teams_app_dashboard_card_definition import TeamsAppDashboardCardDefinition from .teams_app_definition import TeamsAppDefinition diff --git a/msgraph_beta/generated/models/extended_key_usage.py b/msgraph_beta/generated/models/extended_key_usage.py index 6087010f168..f6be9590114 100644 --- a/msgraph_beta/generated/models/extended_key_usage.py +++ b/msgraph_beta/generated/models/extended_key_usage.py @@ -15,9 +15,9 @@ class ExtendedKeyUsage(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Extended Key Usage Name + # The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. name: Optional[str] = None - # Extended Key Usage Object Identifier + # The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. object_identifier: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/external_connectors/property_.py b/msgraph_beta/generated/models/external_connectors/property_.py index e0a837e1549..c5f1376aef4 100644 --- a/msgraph_beta/generated/models/external_connectors/property_.py +++ b/msgraph_beta/generated/models/external_connectors/property_.py @@ -29,7 +29,7 @@ class Property_(AdditionalDataHolder, BackedModel, Parsable): is_retrievable: Optional[bool] = None # Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties aren't added to the search index. Optional. is_searchable: Optional[bool] = None - # 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, containerName, containerUrl, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl. + # 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, containerName, containerUrl, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl. labels: Optional[list[Label]] = None # The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. name: Optional[str] = None diff --git a/msgraph_beta/generated/models/invited_user_message_info.py b/msgraph_beta/generated/models/invited_user_message_info.py index cd759e01407..b4e92b24a44 100644 --- a/msgraph_beta/generated/models/invited_user_message_info.py +++ b/msgraph_beta/generated/models/invited_user_message_info.py @@ -17,7 +17,7 @@ class InvitedUserMessageInfo(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported. cc_recipients: Optional[list[Recipient]] = None - # Customized message body you want to send if you don't want the default message. + # Customized message body you want to send if you don't want the default message. Only plain text is allowed. customized_message_body: Optional[str] = None # 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. message_language: Optional[str] = None diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index a188a688d36..f5a0a2e53b1 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -19,7 +19,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): """ This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS Lob App Provisioning Configuration resource. """ - # The associated group assignments for IosLobAppProvisioningConfiguration. + # The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. assignments: Optional[list[IosLobAppProvisioningConfigurationAssignment]] = None # DateTime the object was created. created_date_time: Optional[datetime.datetime] = None @@ -29,7 +29,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): device_statuses: Optional[list[ManagedDeviceMobileAppConfigurationDeviceStatus]] = None # Admin provided name of the device configuration. display_name: Optional[str] = None - # Optional profile expiration date and time. + # Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. expiration_date_time: Optional[datetime.datetime] = None # The associated group assignments. group_assignments: Optional[list[MobileAppProvisioningConfigGroupAssignment]] = None diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index 740202b69b1..3317bba6f74 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -12,11 +12,11 @@ class KeyValue(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Contains the name of the field that a value is associated with. + # Key. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Contains the corresponding value for the specified key. + # Value. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py index 7bb8313816c..2b08b1d1b88 100644 --- a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py @@ -16,7 +16,7 @@ class MacOsLobAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.macOsLobAppAssignmentSettings" - # Whether or not to uninstall the app when device is removed from Intune. + # When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. uninstall_on_device_removal: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/mailbox_protection_unit.py b/msgraph_beta/generated/models/mailbox_protection_unit.py index 61a362c5095..128f38c82ff 100644 --- a/msgraph_beta/generated/models/mailbox_protection_unit.py +++ b/msgraph_beta/generated/models/mailbox_protection_unit.py @@ -5,6 +5,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .mailbox_type import MailboxType from .protection_unit_base import ProtectionUnitBase from .protection_unit_base import ProtectionUnitBase @@ -19,6 +20,8 @@ class MailboxProtectionUnit(ProtectionUnitBase, Parsable): display_name: Optional[str] = None # Email address associated with the directory object. email: Optional[str] = None + # The type of mailbox which is assigned to the user with id: directoryObjectId.The possible values are: unknown, user, shared, unknownFutureValue. + mailbox_type: Optional[MailboxType] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> MailboxProtectionUnit: @@ -36,14 +39,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .mailbox_type import MailboxType from .protection_unit_base import ProtectionUnitBase + from .mailbox_type import MailboxType from .protection_unit_base import ProtectionUnitBase fields: dict[str, Callable[[Any], None]] = { "directoryObjectId": lambda n : setattr(self, 'directory_object_id', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "email": lambda n : setattr(self, 'email', n.get_str_value()), + "mailboxType": lambda n : setattr(self, 'mailbox_type', n.get_enum_value(MailboxType)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -59,5 +65,6 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("directoryObjectId", self.directory_object_id) + writer.write_enum_value("mailboxType", self.mailbox_type) diff --git a/msgraph_beta/generated/models/mailbox_type.py b/msgraph_beta/generated/models/mailbox_type.py new file mode 100644 index 00000000000..97014f0cbd3 --- /dev/null +++ b/msgraph_beta/generated/models/mailbox_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class MailboxType(str, Enum): + Unknown = "unknown", + User = "user", + Shared = "shared", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/managed_tenants/role_assignment.py b/msgraph_beta/generated/models/managed_tenants/role_assignment.py index a55bdf31364..55b8229e1ae 100644 --- a/msgraph_beta/generated/models/managed_tenants/role_assignment.py +++ b/msgraph_beta/generated/models/managed_tenants/role_assignment.py @@ -16,7 +16,7 @@ class RoleAssignment(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The type of the admin relationship(s) associated with the role assignment. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. + # The type of the admin relationship(s) associated with the role assignment. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. assignment_type: Optional[DelegatedPrivilegeStatus] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py b/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py index c1ec441ec00..9155fad7717 100644 --- a/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py +++ b/msgraph_beta/generated/models/managed_tenants/tenant_status_information.py @@ -19,7 +19,7 @@ class TenantStatusInformation(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only. + # The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only. delegated_privilege_status: Optional[DelegatedPrivilegeStatus] = None # The date and time the delegated admin privileges status was updated. Optional. Read-only. last_delegated_privilege_refresh_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/mobile_app.py b/msgraph_beta/generated/models/mobile_app.py index 4c90e7a558e..b56b1106a51 100644 --- a/msgraph_beta/generated/models/mobile_app.py +++ b/msgraph_beta/generated/models/mobile_app.py @@ -64,9 +64,9 @@ class MobileApp(Entity, Parsable): assignments: Optional[list[MobileAppAssignment]] = None # The list of categories for this app. categories: Optional[list[MobileAppCategory]] = None - # The date and time the app was created. This property is read-only. + # The date and time the app was created. created_date_time: Optional[datetime.datetime] = None - # The total number of dependencies the child app has. This property is read-only. + # The total number of dependencies the child app has. dependent_app_count: Optional[int] = None # The description of the app. description: Optional[str] = None @@ -76,13 +76,13 @@ class MobileApp(Entity, Parsable): display_name: Optional[str] = None # The more information Url. information_url: Optional[str] = None - # The value indicating whether the app is assigned to at least one group. This property is read-only. + # The value indicating whether the app is assigned to at least one group. is_assigned: Optional[bool] = None # The value indicating whether the app is marked as featured by the admin. is_featured: Optional[bool] = None # The large icon, to be displayed in the app details and used for upload of the icon. large_icon: Optional[MimeContent] = None - # The date and time the app was last modified. This property is read-only. + # The date and time the app was last modified. last_modified_date_time: Optional[datetime.datetime] = None # Notes for the app. notes: Optional[str] = None @@ -96,7 +96,7 @@ class MobileApp(Entity, Parsable): publisher: Optional[str] = None # Indicates the publishing state of an app. publishing_state: Optional[MobileAppPublishingState] = None - # The set of direct relationships for this app. + # List of relationships for this mobile app. relationships: Optional[list[MobileAppRelationship]] = None # List of scope tag ids for this mobile app. role_scope_tag_ids: Optional[list[str]] = None @@ -104,7 +104,7 @@ class MobileApp(Entity, Parsable): superseded_app_count: Optional[int] = None # The total number of apps this app directly or indirectly supersedes. This property is read-only. superseding_app_count: Optional[int] = None - # The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. + # The upload state. upload_state: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/payload.py b/msgraph_beta/generated/models/payload.py index ffb9aec745a..8836c1fdea0 100644 --- a/msgraph_beta/generated/models/payload.py +++ b/msgraph_beta/generated/models/payload.py @@ -65,7 +65,7 @@ class Payload(Entity, Parsable): source: Optional[SimulationContentSource] = None # Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. status: Optional[SimulationContentStatus] = None - # 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, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. + # 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, phishTraining. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. technique: Optional[SimulationAttackTechnique] = None # 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. theme: Optional[PayloadTheme] = None diff --git a/msgraph_beta/generated/models/planner_plan_container.py b/msgraph_beta/generated/models/planner_plan_container.py index 3c28c25ea54..81434d436cb 100644 --- a/msgraph_beta/generated/models/planner_plan_container.py +++ b/msgraph_beta/generated/models/planner_plan_container.py @@ -20,7 +20,7 @@ class PlannerPlanContainer(AdditionalDataHolder, BackedModel, Parsable): container_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, project, driveItem, user, and teamsChannel . You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project, driveItem,user, and,teamsChannel. Optional. + # The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, project, driveItem, user, and teamsChannel. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project, driveItem, and user. Optional. type: Optional[PlannerContainerType] = None # The full canonical URL of the container. Optional. url: Optional[str] = None diff --git a/msgraph_beta/generated/models/planner_task.py b/msgraph_beta/generated/models/planner_task.py index 4a73492a273..cf855f0a809 100644 --- a/msgraph_beta/generated/models/planner_task.py +++ b/msgraph_beta/generated/models/planner_task.py @@ -89,7 +89,7 @@ class PlannerTask(PlannerDelta, Parsable): recurrence: Optional[PlannerTaskRecurrence] = None # Number of external references that exist on the task. reference_count: Optional[int] = None - # Indicates all the requirements specified on the plannerTask. Possible values are: none, checklistCompletion, unknownFutureValue, formCompletion, approvalCompletion. Read-only. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: formCompletion, approvalCompletion. The plannerTaskCompletionRequirementDetails in plannerTaskDetails has details of the requirements specified, if any. + # Indicates all the requirements specified on the plannerTask. Possible values are: none, checklistCompletion, unknownFutureValue, formCompletion, approvalCompletion. Read-only. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: formCompletion, approvalCompletion. The plannerTaskCompletionRequirementDetails in plannerTaskDetails has details of the requirements specified, if any. specified_completion_requirements: Optional[PlannerTaskCompletionRequirements] = None # Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z start_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/recommendation_base.py b/msgraph_beta/generated/models/recommendation_base.py index 1c38abf78f3..c6cc44acec7 100644 --- a/msgraph_beta/generated/models/recommendation_base.py +++ b/msgraph_beta/generated/models/recommendation_base.py @@ -57,7 +57,7 @@ class RecommendationBase(Entity, Parsable): postpone_until_date_time: Optional[datetime.datetime] = None # The priority property priority: Optional[RecommendationPriority] = None - # Friendly shortname to identify the recommendation. The possible values are: adfsAppsMigration, enableDesktopSSO, enablePHS, enableProvisioning, switchFromPerUserMFA, tenantMFA, thirdPartyApps, turnOffPerUserMFA, useAuthenticatorApp, useMyApps, staleApps, staleAppCreds, applicationCredentialExpiry, servicePrincipalKeyExpiry, adminMFAV2, blockLegacyAuthentication, integratedApps, mfaRegistrationV2, pwagePolicyNew, passwordHashSync, oneAdmin, roleOverlap, selfServicePasswordReset, signinRiskPolicy, userRiskPolicy, verifyAppPublisher, privateLinkForAAD, appRoleAssignmentsGroups, appRoleAssignmentsUsers, managedIdentity, overprivilegedApps, unknownFutureValue, longLivedCredentials, aadConnectDeprecated, adalToMsalMigration, ownerlessApps, inactiveGuests, aadGraphDeprecationApplication, aadGraphDeprecationServicePrincipal, mfaServerDeprecation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: longLivedCredentials , aadConnectDeprecated , adalToMsalMigration , ownerlessApps , inactiveGuests , aadGraphDeprecationApplication , aadGraphDeprecationServicePrincipal , mfaServerDeprecation. + # Friendly shortname to identify the recommendation. The possible values are: adfsAppsMigration, enableDesktopSSO, enablePHS, enableProvisioning, switchFromPerUserMFA, tenantMFA, thirdPartyApps, turnOffPerUserMFA, useAuthenticatorApp, useMyApps, staleApps, staleAppCreds, applicationCredentialExpiry, servicePrincipalKeyExpiry, adminMFAV2, blockLegacyAuthentication, integratedApps, mfaRegistrationV2, pwagePolicyNew, passwordHashSync, oneAdmin, roleOverlap, selfServicePasswordReset, signinRiskPolicy, userRiskPolicy, verifyAppPublisher, privateLinkForAAD, appRoleAssignmentsGroups, appRoleAssignmentsUsers, managedIdentity, overprivilegedApps, unknownFutureValue, longLivedCredentials, aadConnectDeprecated, adalToMsalMigration, ownerlessApps, inactiveGuests, aadGraphDeprecationApplication, aadGraphDeprecationServicePrincipal, mfaServerDeprecation. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: longLivedCredentials , aadConnectDeprecated , adalToMsalMigration , ownerlessApps , inactiveGuests , aadGraphDeprecationApplication , aadGraphDeprecationServicePrincipal , mfaServerDeprecation. recommendation_type: Optional[RecommendationType] = None # The current release type of the recommendation. The possible values are: preview, generallyAvailable, unknownFutureValue. release_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/restore_session_base.py b/msgraph_beta/generated/models/restore_session_base.py index 3f337ac546d..c8ef9afd32c 100644 --- a/msgraph_beta/generated/models/restore_session_base.py +++ b/msgraph_beta/generated/models/restore_session_base.py @@ -38,7 +38,7 @@ class RestoreSessionBase(Entity, Parsable): restore_job_type: Optional[RestoreJobType] = None # The number of metadata artifacts that belong to this restore session. restore_session_artifact_count: Optional[RestoreSessionArtifactCount] = None - # 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. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. + # 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. status: Optional[RestoreSessionStatus] = None @staticmethod diff --git a/msgraph_beta/generated/models/risk_detection.py b/msgraph_beta/generated/models/risk_detection.py index 2d785e37673..a079d916121 100644 --- a/msgraph_beta/generated/models/risk_detection.py +++ b/msgraph_beta/generated/models/risk_detection.py @@ -44,7 +44,7 @@ class RiskDetection(Entity, Parsable): odata_type: Optional[str] = None # 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. request_id: Optional[str] = None - # Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal , m365DAdminDismissedDetection. Note: Details for this property are only available for Microsoft Entra ID P2 customers. P1 customers will be returned hidden. + # Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal , m365DAdminDismissedDetection. Note: Details for this property are only available for Microsoft Entra ID P2 customers. P1 customers will be returned hidden. risk_detail: Optional[RiskDetail] = None # The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anonymizedIPAddress,attackerinTheMiddle,attemptedPRTAccess, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel,mcasFinSuspiciousFileAccess, mcasSuspiciousInboxManipulationRules,nationStateIP, suspiciousAPITraffic, suspiciousIPAddress,suspiciousSendingPatterns, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection. risk_event_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/risk_service_principal_activity.py b/msgraph_beta/generated/models/risk_service_principal_activity.py index baaa358a2c5..35921348f72 100644 --- a/msgraph_beta/generated/models/risk_service_principal_activity.py +++ b/msgraph_beta/generated/models/risk_service_principal_activity.py @@ -15,7 +15,7 @@ class RiskServicePrincipalActivity(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without that license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without that 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. detail: Optional[RiskDetail] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/risky_service_principal.py b/msgraph_beta/generated/models/risky_service_principal.py index d021493c74f..1530e62688f 100644 --- a/msgraph_beta/generated/models/risky_service_principal.py +++ b/msgraph_beta/generated/models/risky_service_principal.py @@ -30,7 +30,7 @@ class RiskyServicePrincipal(Entity, Parsable): is_processing: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # 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, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + # 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, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. risk_detail: Optional[RiskDetail] = None # The date and time that the risk state was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. Supports $filter (eq). risk_last_updated_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/risky_user.py b/msgraph_beta/generated/models/risky_user.py index eba15828366..52f5423e34a 100644 --- a/msgraph_beta/generated/models/risky_user.py +++ b/msgraph_beta/generated/models/risky_user.py @@ -24,7 +24,7 @@ class RiskyUser(Entity, Parsable): is_processing: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. + # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. risk_detail: Optional[RiskDetail] = None # The date and time that the risky user was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. risk_last_updated_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/schedule.py b/msgraph_beta/generated/models/schedule.py index e0e7827ff62..762d5df0206 100644 --- a/msgraph_beta/generated/models/schedule.py +++ b/msgraph_beta/generated/models/schedule.py @@ -26,7 +26,7 @@ @dataclass class Schedule(Entity, Parsable): - # Indicates whether copied shifts should include the activities. + # Indicates whether copied shifts should include the activities. This property will be removed by November 20, 2027. Use isActivitiesIncludedWhenCopyingShiftsEnabled instead. activitiesIncludedWhenCopyingShiftsEnabled and isActivitiesIncludedWhenCopyingShiftsEnabled always have the same value, so setting one automatically sets the value for the other. If both are included in the request with different values, the value for isActivitiesIncludedWhenCopyingShiftsEnabled takes precedence. activities_included_when_copying_shifts_enabled: Optional[bool] = None # The day notes in the schedule. day_notes: Optional[list[DayNote]] = None diff --git a/msgraph_beta/generated/models/security/alert.py b/msgraph_beta/generated/models/security/alert.py index a084ceaa116..2f0ea1b5502 100644 --- a/msgraph_beta/generated/models/security/alert.py +++ b/msgraph_beta/generated/models/security/alert.py @@ -41,7 +41,7 @@ class Alert(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # String value describing each alert. description: Optional[str] = None - # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. + # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. detection_source: Optional[DetectionSource] = None # The ID of the detector that triggered the alert. detector_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/case_operation.py b/msgraph_beta/generated/models/security/case_operation.py index 34503c78e0b..c7ad0a64c04 100644 --- a/msgraph_beta/generated/models/security/case_operation.py +++ b/msgraph_beta/generated/models/security/case_operation.py @@ -24,7 +24,7 @@ @dataclass class CaseOperation(Entity, Parsable): - # The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. + # The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. action: Optional[CaseAction] = None # The date and time the operation was completed. completed_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/security/ediscovery_case_member.py b/msgraph_beta/generated/models/security/ediscovery_case_member.py new file mode 100644 index 00000000000..19bac35a03f --- /dev/null +++ b/msgraph_beta/generated/models/security/ediscovery_case_member.py @@ -0,0 +1,68 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .recipient_type import RecipientType + +from ..entity import Entity + +@dataclass +class EdiscoveryCaseMember(Entity, Parsable): + # The displayName property + display_name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The recipientType property + recipient_type: Optional[RecipientType] = None + # The smtpAddress property + smtp_address: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EdiscoveryCaseMember: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EdiscoveryCaseMember + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return EdiscoveryCaseMember() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .recipient_type import RecipientType + + from ..entity import Entity + from .recipient_type import RecipientType + + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "recipientType": lambda n : setattr(self, 'recipient_type', n.get_collection_of_enum_values(RecipientType)), + "smtpAddress": lambda n : setattr(self, 'smtp_address', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("displayName", self.display_name) + writer.write_enum_value("recipientType", self.recipient_type) + writer.write_str_value("smtpAddress", self.smtp_address) + + diff --git a/msgraph_beta/generated/models/security/recipient_type.py b/msgraph_beta/generated/models/security/recipient_type.py new file mode 100644 index 00000000000..5be3b2bc221 --- /dev/null +++ b/msgraph_beta/generated/models/security/recipient_type.py @@ -0,0 +1,7 @@ +from enum import Enum + +class RecipientType(str, Enum): + User = "user", + RoleGroup = "roleGroup", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/service_principal_risk_detection.py b/msgraph_beta/generated/models/service_principal_risk_detection.py index f3b12ecbd3c..28806c62846 100644 --- a/msgraph_beta/generated/models/service_principal_risk_detection.py +++ b/msgraph_beta/generated/models/service_principal_risk_detection.py @@ -19,7 +19,7 @@ @dataclass class ServicePrincipalRiskDetection(Entity, Parsable): - # Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipal. + # Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipal. activity: Optional[ActivityType] = None # Date and time when the risky activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z activity_date_time: Optional[datetime.datetime] = None @@ -47,7 +47,7 @@ class ServicePrincipalRiskDetection(Entity, Parsable): odata_type: Optional[str] = None # Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection isn't associated with a sign-in activity. Supports $filter (eq). request_id: Optional[str] = None - # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license are returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license are returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. risk_detail: Optional[RiskDetail] = None # The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication, suspiciousAPITraffic. risk_event_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/sign_in.py b/msgraph_beta/generated/models/sign_in.py index df2e82b8e35..eab58a789ec 100644 --- a/msgraph_beta/generated/models/sign_in.py +++ b/msgraph_beta/generated/models/sign_in.py @@ -65,7 +65,7 @@ class SignIn(Entity, Parsable): authentication_methods_used: Optional[list[str]] = None # More authentication processing details, such as the agent name for PTA and PHS, or a server or farm name for federated authentication. authentication_processing_details: Optional[list[KeyValue]] = None - # Lists the protocol type or grant type used in the authentication. The possible values are: none, oAuth2, ropc, wsFederation, saml20, deviceCode, unknownFutureValue, authenticationTransfer, nativeAuth. Use none for all authentications that don't have a specific value in that list. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: authenticationTransfer, nativeAuth. + # Lists the protocol type or grant type used in the authentication. The possible values are: none, oAuth2, ropc, wsFederation, saml20, deviceCode, unknownFutureValue, authenticationTransfer, nativeAuth. Use none for all authentications that don't have a specific value in that list. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: authenticationTransfer, nativeAuth. authentication_protocol: Optional[ProtocolType] = None # This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq, startsWith). authentication_requirement: Optional[str] = None @@ -87,7 +87,7 @@ class SignIn(Entity, Parsable): correlation_id: Optional[str] = None # The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). created_date_time: Optional[datetime.datetime] = None - # Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue, passthrough. Also, you must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: passthrough. If the sign in didn't cross tenant boundaries, the value is none. + # Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue, passthrough. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: passthrough. If the sign in didn't cross tenant boundaries, the value is none. cross_tenant_access_type: Optional[SignInAccessType] = None # The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. device_detail: Optional[DeviceDetail] = None @@ -101,7 +101,7 @@ class SignIn(Entity, Parsable): home_tenant_id: Optional[str] = None # For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home tenant provides affirmative consent to Microsoft Entra ID to show the tenant content. home_tenant_name: Optional[str] = None - # Indicates the token types that were presented to Microsoft Entra ID to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken, refreshToken. NOTE Microsoft Entra ID might have also used token types not listed in this enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, you must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: remoteDesktopToken, refreshToken. + # Indicates the token types that were presented to Microsoft Entra ID to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken, refreshToken. NOTE Microsoft Entra ID might have also used token types not listed in this enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: remoteDesktopToken, refreshToken. incoming_token_type: Optional[IncomingTokenType] = None # The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). ip_address: Optional[str] = None @@ -139,7 +139,7 @@ class SignIn(Entity, Parsable): resource_service_principal_id: Optional[str] = None # The tenant identifier of the resource referenced in the sign in. resource_tenant_id: Optional[str] = None - # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection hasn't flagged the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. + # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection hasn't flagged the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. risk_detail: Optional[RiskDetail] = None # The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). risk_event_types_v2: Optional[list[str]] = None @@ -173,7 +173,7 @@ class SignIn(Entity, Parsable): status: Optional[SignInStatus] = None # The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq). token_issuer_name: Optional[str] = None - # The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. + # The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. token_issuer_type: Optional[TokenIssuerType] = None # The tokenProtectionStatusDetails property token_protection_status_details: Optional[TokenProtectionStatusDetails] = None diff --git a/msgraph_beta/generated/models/simulation.py b/msgraph_beta/generated/models/simulation.py index fbf104c1ce5..24d37ac19aa 100644 --- a/msgraph_beta/generated/models/simulation.py +++ b/msgraph_beta/generated/models/simulation.py @@ -25,7 +25,7 @@ @dataclass class Simulation(Entity, Parsable): - # 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, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. + # 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, phishTraining. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. attack_technique: Optional[SimulationAttackTechnique] = None # Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. attack_type: Optional[SimulationAttackType] = None diff --git a/msgraph_beta/generated/models/subject_rights_request_history.py b/msgraph_beta/generated/models/subject_rights_request_history.py index 2e388f70c2a..e27e5613e3f 100644 --- a/msgraph_beta/generated/models/subject_rights_request_history.py +++ b/msgraph_beta/generated/models/subject_rights_request_history.py @@ -24,7 +24,7 @@ class SubjectRightsRequestHistory(AdditionalDataHolder, BackedModel, Parsable): event_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. + # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. stage: Optional[SubjectRightsRequestStage] = None # The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. stage_status: Optional[SubjectRightsRequestStageStatus] = None diff --git a/msgraph_beta/generated/models/subject_rights_request_stage_detail.py b/msgraph_beta/generated/models/subject_rights_request_stage_detail.py index a9ffc16ca2a..8f5fa84576f 100644 --- a/msgraph_beta/generated/models/subject_rights_request_stage_detail.py +++ b/msgraph_beta/generated/models/subject_rights_request_stage_detail.py @@ -21,7 +21,7 @@ class SubjectRightsRequestStageDetail(AdditionalDataHolder, BackedModel, Parsabl error: Optional[PublicError] = None # The OdataType property odata_type: Optional[str] = None - # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. + # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. stage: Optional[SubjectRightsRequestStage] = None # Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. status: Optional[SubjectRightsRequestStageStatus] = None diff --git a/msgraph_beta/generated/models/teams_administration/teams_admin_root.py b/msgraph_beta/generated/models/teams_administration/teams_admin_root.py index 269f640d805..7bfe3093cb1 100644 --- a/msgraph_beta/generated/models/teams_administration/teams_admin_root.py +++ b/msgraph_beta/generated/models/teams_administration/teams_admin_root.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..entity import Entity + from .teams_policy_assignment import TeamsPolicyAssignment from ..entity import Entity @@ -13,6 +14,8 @@ class TeamsAdminRoot(Entity, Parsable): # The OdataType property odata_type: Optional[str] = None + # The policy property + policy: Optional[TeamsPolicyAssignment] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> TeamsAdminRoot: @@ -31,10 +34,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from ..entity import Entity + from .teams_policy_assignment import TeamsPolicyAssignment from ..entity import Entity + from .teams_policy_assignment import TeamsPolicyAssignment fields: dict[str, Callable[[Any], None]] = { + "policy": lambda n : setattr(self, 'policy', n.get_object_value(TeamsPolicyAssignment)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -49,5 +55,6 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("policy", self.policy) diff --git a/msgraph_beta/generated/models/teams_administration/teams_policy_assignment.py b/msgraph_beta/generated/models/teams_administration/teams_policy_assignment.py new file mode 100644 index 00000000000..a18d8803355 --- /dev/null +++ b/msgraph_beta/generated/models/teams_administration/teams_policy_assignment.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + +from ..entity import Entity + +@dataclass +class TeamsPolicyAssignment(Entity, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TeamsPolicyAssignment: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TeamsPolicyAssignment + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return TeamsPolicyAssignment() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + + from ..entity import Entity + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/time_card_event.py b/msgraph_beta/generated/models/time_card_event.py index 0d4d90db66e..fbbe5f3e2f6 100644 --- a/msgraph_beta/generated/models/time_card_event.py +++ b/msgraph_beta/generated/models/time_card_event.py @@ -16,7 +16,7 @@ class TimeCardEvent(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Indicates whether the entry was recorded at the approved location. + # Indicates whether this action happens at an approved location. This property will be removed by November 20, 2027. Use isAtApprovedLocation instead. atApprovedLocation and isAtApprovedLocation always have the same value, so setting one automatically sets the value for the other. If both are included in the request with different values, the value for isAtApprovedLocation takes precedence. at_approved_location: Optional[bool] = None # The time the entry is recorded. date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py index c51121bd685..6a1a8bcf120 100644 --- a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py @@ -16,7 +16,7 @@ class WindowsAppXAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsAppXAppAssignmentSettings" - # When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + # Whether or not to use device execution context for Windows AppX mobile app. use_device_context: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py b/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py index 20349960f45..9d2380ad8c6 100644 --- a/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py +++ b/msgraph_beta/generated/models/windows_updates/azure_a_d_device.py @@ -6,8 +6,8 @@ if TYPE_CHECKING: from .updatable_asset import UpdatableAsset - from .updatable_asset_enrollment import UpdatableAssetEnrollment from .updatable_asset_error import UpdatableAssetError + from .update_management_enrollment import UpdateManagementEnrollment from .updatable_asset import UpdatableAsset @@ -15,8 +15,8 @@ class AzureADDevice(UpdatableAsset, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsUpdates.azureADDevice" - # Specifies areas in which the device is enrolled. Read-only. Returned by default. - enrollments: Optional[list[UpdatableAssetEnrollment]] = None + # The enrollment property + enrollment: Optional[UpdateManagementEnrollment] = None # Specifies any errors that prevent the device from being enrolled in update management or receving deployed content. Read-only. Returned by default. errors: Optional[list[UpdatableAssetError]] = None @@ -37,15 +37,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .updatable_asset import UpdatableAsset - from .updatable_asset_enrollment import UpdatableAssetEnrollment from .updatable_asset_error import UpdatableAssetError + from .update_management_enrollment import UpdateManagementEnrollment from .updatable_asset import UpdatableAsset - from .updatable_asset_enrollment import UpdatableAssetEnrollment from .updatable_asset_error import UpdatableAssetError + from .update_management_enrollment import UpdateManagementEnrollment fields: dict[str, Callable[[Any], None]] = { - "enrollments": lambda n : setattr(self, 'enrollments', n.get_collection_of_object_values(UpdatableAssetEnrollment)), + "enrollment": lambda n : setattr(self, 'enrollment', n.get_object_value(UpdateManagementEnrollment)), "errors": lambda n : setattr(self, 'errors', n.get_collection_of_object_values(UpdatableAssetError)), } super_fields = super().get_field_deserializers() @@ -61,7 +61,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_collection_of_object_values("enrollments", self.enrollments) + writer.write_object_value("enrollment", self.enrollment) writer.write_collection_of_object_values("errors", self.errors) diff --git a/msgraph_beta/generated/models/windows_updates/enrollment_state.py b/msgraph_beta/generated/models/windows_updates/enrollment_state.py new file mode 100644 index 00000000000..cc5c450ac15 --- /dev/null +++ b/msgraph_beta/generated/models/windows_updates/enrollment_state.py @@ -0,0 +1,10 @@ +from enum import Enum + +class EnrollmentState(str, Enum): + NotEnrolled = "notEnrolled", + Enrolled = "enrolled", + EnrolledWithPolicy = "enrolledWithPolicy", + Enrolling = "enrolling", + Unenrolling = "unenrolling", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py b/msgraph_beta/generated/models/windows_updates/update_category_enrollment_information.py similarity index 68% rename from msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py rename to msgraph_beta/generated/models/windows_updates/update_category_enrollment_information.py index 295b29ed8c8..a76c4e4fc51 100644 --- a/msgraph_beta/generated/models/windows_updates/updatable_asset_enrollment.py +++ b/msgraph_beta/generated/models/windows_updates/update_category_enrollment_information.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter @@ -6,48 +7,45 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .update_management_enrollment import UpdateManagementEnrollment + from .enrollment_state import EnrollmentState @dataclass -class UpdatableAssetEnrollment(AdditionalDataHolder, BackedModel, Parsable): +class UpdateCategoryEnrollmentInformation(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) + # The enrollmentState property + enrollment_state: Optional[EnrollmentState] = None + # The lastModifiedDateTime property + last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> UpdatableAssetEnrollment: + def create_from_discriminator_value(parse_node: ParseNode) -> UpdateCategoryEnrollmentInformation: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: UpdatableAssetEnrollment + Returns: UpdateCategoryEnrollmentInformation """ if parse_node is None: raise TypeError("parse_node cannot be null.") - try: - child_node = parse_node.get_child_node("@odata.type") - mapping_value = child_node.get_str_value() if child_node else None - except AttributeError: - mapping_value = None - if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsUpdates.updateManagementEnrollment".casefold(): - from .update_management_enrollment import UpdateManagementEnrollment - - return UpdateManagementEnrollment() - return UpdatableAssetEnrollment() + return UpdateCategoryEnrollmentInformation() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .update_management_enrollment import UpdateManagementEnrollment + from .enrollment_state import EnrollmentState - from .update_management_enrollment import UpdateManagementEnrollment + from .enrollment_state import EnrollmentState fields: dict[str, Callable[[Any], None]] = { + "enrollmentState": lambda n : setattr(self, 'enrollment_state', n.get_enum_value(EnrollmentState)), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -60,6 +58,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_enum_value("enrollmentState", self.enrollment_state) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py b/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py index 92fb1f4a354..4290aad4e33 100644 --- a/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py +++ b/msgraph_beta/generated/models/windows_updates/update_management_enrollment.py @@ -1,21 +1,28 @@ from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .updatable_asset_enrollment import UpdatableAssetEnrollment - from .update_category import UpdateCategory - -from .updatable_asset_enrollment import UpdatableAssetEnrollment + from .update_category_enrollment_information import UpdateCategoryEnrollmentInformation @dataclass -class UpdateManagementEnrollment(UpdatableAssetEnrollment, Parsable): +class UpdateManagementEnrollment(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The driver property + driver: Optional[UpdateCategoryEnrollmentInformation] = None + # The feature property + feature: Optional[UpdateCategoryEnrollmentInformation] = None # The OdataType property - odata_type: Optional[str] = "#microsoft.graph.windowsUpdates.updateManagementEnrollment" - # The updateCategory property - update_category: Optional[UpdateCategory] = None + odata_type: Optional[str] = None + # The quality property + quality: Optional[UpdateCategoryEnrollmentInformation] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> UpdateManagementEnrollment: @@ -33,17 +40,16 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .updatable_asset_enrollment import UpdatableAssetEnrollment - from .update_category import UpdateCategory + from .update_category_enrollment_information import UpdateCategoryEnrollmentInformation - from .updatable_asset_enrollment import UpdatableAssetEnrollment - from .update_category import UpdateCategory + from .update_category_enrollment_information import UpdateCategoryEnrollmentInformation fields: dict[str, Callable[[Any], None]] = { - "updateCategory": lambda n : setattr(self, 'update_category', n.get_enum_value(UpdateCategory)), + "driver": lambda n : setattr(self, 'driver', n.get_object_value(UpdateCategoryEnrollmentInformation)), + "feature": lambda n : setattr(self, 'feature', n.get_object_value(UpdateCategoryEnrollmentInformation)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "quality": lambda n : setattr(self, 'quality', n.get_object_value(UpdateCategoryEnrollmentInformation)), } - super_fields = super().get_field_deserializers() - fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -54,7 +60,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - super().serialize(writer) - writer.write_enum_value("updateCategory", self.update_category) + writer.write_object_value("driver", self.driver) + writer.write_object_value("feature", self.feature) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("quality", self.quality) + writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/workforce_integration.py b/msgraph_beta/generated/models/workforce_integration.py index 93b7690e562..c94679812b7 100644 --- a/msgraph_beta/generated/models/workforce_integration.py +++ b/msgraph_beta/generated/models/workforce_integration.py @@ -26,9 +26,9 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable): encryption: Optional[WorkforceIntegrationEncryption] = None # Indicates whether this workforce integration is currently active and available. is_active: Optional[bool] = None - # This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + # This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. supported_entities: Optional[WorkforceIntegrationSupportedEntities] = None - # The Shifts entities supported for synchronous change notifications. Shifts make a callback to the url provided on client changes on those entities added here. By default, no entities are supported for change notifications. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + # The Shifts entities supported for synchronous change notifications. Shifts make a callback to the url provided on client changes on those entities added here. By default, no entities are supported for change notifications. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. supports: Optional[WorkforceIntegrationSupportedEntities] = None # Workforce Integration URL for callbacks from the Shifts service. url: Optional[str] = None diff --git a/msgraph_beta/generated/models/x509_certificate_rule.py b/msgraph_beta/generated/models/x509_certificate_rule.py index 8101d9bd99a..dc24ebf0b1b 100644 --- a/msgraph_beta/generated/models/x509_certificate_rule.py +++ b/msgraph_beta/generated/models/x509_certificate_rule.py @@ -29,7 +29,7 @@ class X509CertificateRule(AdditionalDataHolder, BackedModel, Parsable): x509_certificate_authentication_mode: Optional[X509CertificateAuthenticationMode] = None # The possible values are: low, high, unknownFutureValue. x509_certificate_required_affinity_level: Optional[X509CertificateAffinityLevel] = None - # The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue, issuerSubjectAndPolicyOID. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: issuerSubjectAndPolicyOID. Required. + # The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue, issuerSubjectAndPolicyOID. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: issuerSubjectAndPolicyOID. Required. x509_certificate_rule_type: Optional[X509CertificateRuleType] = None @staticmethod diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 0b40a4660f9..e30d087d3a2 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index ab8be829575..ad2eb8b0913 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -49,10 +49,10 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleAssignmentMultipleCollectionResponse]: """ - Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py index dee3b96f686..46ac001fcfa 100644 --- a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py @@ -53,11 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ClaimsPo async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a customClaimsPolicy object. + Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/item/archive/archive_request_builder.py b/msgraph_beta/generated/sites/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..01e4070b82c --- /dev/null +++ b/msgraph_beta/generated/sites/item/archive/archive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ArchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/archive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-archive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ArchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ArchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/archive/archive_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/archive/archive_request_builder.py new file mode 100644 index 00000000000..38a2b8aa625 --- /dev/null +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/archive/archive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ArchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/getByPath(path='{path}')/archive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-archive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Archive an active SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ArchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ArchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py index 160c2b61bc2..e4c6fb10b7c 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py @@ -17,6 +17,7 @@ from ....models.o_data_errors.o_data_error import ODataError from ....models.site import Site from .analytics.analytics_request_builder import AnalyticsRequestBuilder + from .archive.archive_request_builder import ArchiveRequestBuilder from .columns.columns_request_builder import ColumnsRequestBuilder from .content_models.content_models_request_builder import ContentModelsRequestBuilder from .content_types.content_types_request_builder import ContentTypesRequestBuilder @@ -39,6 +40,7 @@ from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder from .sites.sites_request_builder import SitesRequestBuilder from .term_store.term_store_request_builder import TermStoreRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class GetByPathWithPathRequestBuilder(BaseRequestBuilder): """ @@ -136,6 +138,15 @@ def analytics(self) -> AnalyticsRequestBuilder: return AnalyticsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def columns(self) -> ColumnsRequestBuilder: """ @@ -316,6 +327,15 @@ def term_store(self) -> TermStoreRequestBuilder: return TermStoreRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class GetByPathWithPathRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..026a8c8363d --- /dev/null +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/unarchive/unarchive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new UnarchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/getByPath(path='{path}')/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-unarchive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> UnarchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnarchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py index 2b20eebbb8e..e36603dc329 100644 --- a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PagesReq async def post(self,body: BaseSitePage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[BaseSitePage]: """ - Create a new sitePage in the site pages list in a site. + Create a new newsLinkPage in the site pages list of a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] - Find more info here: https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/newslinkpage-create?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: BaseSitePage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new sitePage in the site pages list in a site. + Create a new newsLinkPage in the site pages list of a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/item/site_item_request_builder.py b/msgraph_beta/generated/sites/item/site_item_request_builder.py index 66a35bae2aa..c37547b1e69 100644 --- a/msgraph_beta/generated/sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/site_item_request_builder.py @@ -17,6 +17,7 @@ from ...models.o_data_errors.o_data_error import ODataError from ...models.site import Site from .analytics.analytics_request_builder import AnalyticsRequestBuilder + from .archive.archive_request_builder import ArchiveRequestBuilder from .columns.columns_request_builder import ColumnsRequestBuilder from .content_models.content_models_request_builder import ContentModelsRequestBuilder from .content_types.content_types_request_builder import ContentTypesRequestBuilder @@ -40,6 +41,7 @@ from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder from .sites.sites_request_builder import SitesRequestBuilder from .term_store.term_store_request_builder import TermStoreRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class SiteItemRequestBuilder(BaseRequestBuilder): """ @@ -185,6 +187,15 @@ def analytics(self) -> AnalyticsRequestBuilder: return AnalyticsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def columns(self) -> ColumnsRequestBuilder: """ @@ -365,6 +376,15 @@ def term_store(self) -> TermStoreRequestBuilder: return TermStoreRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class SiteItemRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/sites/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/sites/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..ed0f38706a8 --- /dev/null +++ b/msgraph_beta/generated/sites/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,79 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new UnarchiveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/site-unarchive?view=graph-rest-beta + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Unarchive an archived SharePoint site. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> UnarchiveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnarchiveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/sites/sites_request_builder.py b/msgraph_beta/generated/sites/sites_request_builder.py index 757b49cdd25..0d4c93e32f4 100644 --- a/msgraph_beta/generated/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/sites_request_builder.py @@ -52,10 +52,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py index b78ed8fd9e9..93b574cdc29 100644 --- a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py @@ -49,10 +49,10 @@ def by_team_template_id(self,team_template_id: str) -> TeamTemplateItemRequestBu async def get(self,request_configuration: Optional[RequestConfiguration[TeamTemplatesRequestBuilderGetQueryParameters]] = None) -> Optional[TeamTemplateCollectionResponse]: """ - Get the list of teamTemplate objects that are available for a tenant. + List the teamTemplateDefinition objects associated with a teamTemplate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamTemplateCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: TeamTemplate, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TeamTemplatesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the list of teamTemplate objects that are available for a tenant. + List the teamTemplateDefinition objects associated with a teamTemplate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TeamTemplatesRequestBuilderGetQueryParameters(): """ - Get the list of teamTemplate objects that are available for a tenant. + List the teamTemplateDefinition objects associated with a teamTemplate. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/templates/device_templates/item/owners/item/directory_object_item_request_builder.py b/msgraph_beta/generated/templates/device_templates/item/owners/item/directory_object_item_request_builder.py index 6555e02a488..1d4553baf17 100644 --- a/msgraph_beta/generated/templates/device_templates/item/owners/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/templates/device_templates/item/owners/item/directory_object_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DirectoryObjectItemRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DirectoryObjectItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/templates/device_templates/item/owners/owners_request_builder.py b/msgraph_beta/generated/templates/device_templates/item/owners/owners_request_builder.py index 935859b6d9a..73fedce9609 100644 --- a/msgraph_beta/generated/templates/device_templates/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/templates/device_templates/item/owners/owners_request_builder.py @@ -48,7 +48,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRe def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OwnersRequestBuilderGetQueryParameters(): """ - Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. Supports $expand. + Collection of directory objects that can manage the device template and the related deviceInstances. Owners can be represented as service principals, users, or applications. An owner has full privileges over the device template and doesn't require other administrator roles to create, update, or delete devices from this template, as well as to add or remove template owners. There can be a maximum of 100 owners on a device template. Supports $expand. """ def get_query_parameter(self,original_name: str) -> str: """