diff --git a/msgraph/generated/app_role_assignments/app_role_assignments_request_builder.py b/msgraph/generated/app_role_assignments/app_role_assignments_request_builder.py new file mode 100644 index 00000000000..c58e1b98afe --- /dev/null +++ b/msgraph/generated/app_role_assignments/app_role_assignments_request_builder.py @@ -0,0 +1,248 @@ +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.app_role_assignment import AppRoleAssignment + from ..models.app_role_assignment_collection_response import AppRoleAssignmentCollectionResponse + from ..models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .delta.delta_request_builder import DeltaRequestBuilder + from .get_available_extension_properties.get_available_extension_properties_request_builder import GetAvailableExtensionPropertiesRequestBuilder + from .get_by_ids.get_by_ids_request_builder import GetByIdsRequestBuilder + from .item.app_role_assignment_item_request_builder import AppRoleAssignmentItemRequestBuilder + from .validate_properties.validate_properties_request_builder import ValidatePropertiesRequestBuilder + +class AppRoleAssignmentsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of appRoleAssignment entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AppRoleAssignmentsRequestBuilder 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}/appRoleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_app_role_assignment_id(self,app_role_assignment_id: str) -> AppRoleAssignmentItemRequestBuilder: + """ + Provides operations to manage the collection of appRoleAssignment entities. + param app_role_assignment_id: The unique identifier of appRoleAssignment + Returns: AppRoleAssignmentItemRequestBuilder + """ + if app_role_assignment_id is None: + raise TypeError("app_role_assignment_id cannot be null.") + from .item.app_role_assignment_item_request_builder import AppRoleAssignmentItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["appRoleAssignment%2Did"] = app_role_assignment_id + return AppRoleAssignmentItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[AppRoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[AppRoleAssignmentCollectionResponse]: + """ + Get entities from appRoleAssignments + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AppRoleAssignmentCollectionResponse] + """ + request_info = self.to_get_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") + from ..models.app_role_assignment_collection_response import AppRoleAssignmentCollectionResponse + + return await self.request_adapter.send_async(request_info, AppRoleAssignmentCollectionResponse, error_mapping) + + async def post(self,body: AppRoleAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AppRoleAssignment]: + """ + Add new entity to appRoleAssignments + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AppRoleAssignment] + """ + 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.app_role_assignment import AppRoleAssignment + + return await self.request_adapter.send_async(request_info, AppRoleAssignment, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppRoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get entities from appRoleAssignments + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: AppRoleAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Add new entity to appRoleAssignments + 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) -> AppRoleAssignmentsRequestBuilder: + """ + 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: AppRoleAssignmentsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AppRoleAssignmentsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def delta(self) -> DeltaRequestBuilder: + """ + Provides operations to call the delta method. + """ + from .delta.delta_request_builder import DeltaRequestBuilder + + return DeltaRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_available_extension_properties(self) -> GetAvailableExtensionPropertiesRequestBuilder: + """ + Provides operations to call the getAvailableExtensionProperties method. + """ + from .get_available_extension_properties.get_available_extension_properties_request_builder import GetAvailableExtensionPropertiesRequestBuilder + + return GetAvailableExtensionPropertiesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_by_ids(self) -> GetByIdsRequestBuilder: + """ + Provides operations to call the getByIds method. + """ + from .get_by_ids.get_by_ids_request_builder import GetByIdsRequestBuilder + + return GetByIdsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def validate_properties(self) -> ValidatePropertiesRequestBuilder: + """ + Provides operations to call the validateProperties method. + """ + from .validate_properties.validate_properties_request_builder import ValidatePropertiesRequestBuilder + + return ValidatePropertiesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AppRoleAssignmentsRequestBuilderGetQueryParameters(): + """ + Get entities from appRoleAssignments + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class AppRoleAssignmentsRequestBuilderGetRequestConfiguration(RequestConfiguration[AppRoleAssignmentsRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class AppRoleAssignmentsRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/count/count_request_builder.py b/msgraph/generated/app_role_assignments/count/count_request_builder.py new file mode 100644 index 00000000000..7286c03c5d2 --- /dev/null +++ b/msgraph/generated/app_role_assignments/count/count_request_builder.py @@ -0,0 +1,104 @@ +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 CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder 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}/appRoleAssignments/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_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_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + 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: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + 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/generated/app_role_assignments/delta/delta_get_response.py b/msgraph/generated/app_role_assignments/delta/delta_get_response.py new file mode 100644 index 00000000000..b9905e63c80 --- /dev/null +++ b/msgraph/generated/app_role_assignments/delta/delta_get_response.py @@ -0,0 +1,58 @@ +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 ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + +from ...models.base_delta_function_response import BaseDeltaFunctionResponse + +@dataclass +class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable): + # The value property + value: Optional[list[DirectoryObject]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeltaGetResponse: + """ + 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: DeltaGetResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DeltaGetResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + + from ...models.base_delta_function_response import BaseDeltaFunctionResponse + from ...models.directory_object import DirectoryObject + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(DirectoryObject)), + } + 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_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/delta/delta_request_builder.py b/msgraph/generated/app_role_assignments/delta/delta_request_builder.py new file mode 100644 index 00000000000..dded93531f0 --- /dev/null +++ b/msgraph/generated/app_role_assignments/delta/delta_request_builder.py @@ -0,0 +1,138 @@ +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 .delta_get_response import DeltaGetResponse + +class DeltaRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the delta method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new DeltaRequestBuilder 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}/appRoleAssignments/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]: + """ + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeltaGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0 + """ + request_info = self.to_get_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") + from .delta_get_response import DeltaGetResponse + + return await self.request_adapter.send_async(request_info, DeltaGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, 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) -> DeltaRequestBuilder: + """ + 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: DeltaRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DeltaRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class DeltaRequestBuilderGetQueryParameters(): + """ + Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class DeltaRequestBuilderGetRequestConfiguration(RequestConfiguration[DeltaRequestBuilderGetQueryParameters]): + """ + 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/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py b/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py new file mode 100644 index 00000000000..63d2bef3fff --- /dev/null +++ b/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_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 GetAvailableExtensionPropertiesPostRequestBody(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 isSyncedFromOnPremises property + is_synced_from_on_premises: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetAvailableExtensionPropertiesPostRequestBody: + """ + 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: GetAvailableExtensionPropertiesPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetAvailableExtensionPropertiesPostRequestBody() + + 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]] = { + "isSyncedFromOnPremises": lambda n : setattr(self, 'is_synced_from_on_premises', n.get_bool_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_bool_value("isSyncedFromOnPremises", self.is_synced_from_on_premises) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py b/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py new file mode 100644 index 00000000000..52518629ac0 --- /dev/null +++ b/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py @@ -0,0 +1,58 @@ +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 ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.extension_property import ExtensionProperty + +from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[ExtensionProperty]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetAvailableExtensionPropertiesPostResponse: + """ + 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: GetAvailableExtensionPropertiesPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetAvailableExtensionPropertiesPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.extension_property import ExtensionProperty + + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.extension_property import ExtensionProperty + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ExtensionProperty)), + } + 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_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py b/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py new file mode 100644 index 00000000000..3de58c099bc --- /dev/null +++ b/msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py @@ -0,0 +1,90 @@ +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 .get_available_extension_properties_post_request_body import GetAvailableExtensionPropertiesPostRequestBody + from .get_available_extension_properties_post_response import GetAvailableExtensionPropertiesPostResponse + +class GetAvailableExtensionPropertiesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAvailableExtensionProperties method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GetAvailableExtensionPropertiesRequestBuilder 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}/appRoleAssignments/getAvailableExtensionProperties", path_parameters) + + async def post(self,body: GetAvailableExtensionPropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetAvailableExtensionPropertiesPostResponse]: + """ + Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAvailableExtensionPropertiesPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/directoryobject-getavailableextensionproperties?view=graph-rest-1.0 + """ + 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 .get_available_extension_properties_post_response import GetAvailableExtensionPropertiesPostResponse + + return await self.request_adapter.send_async(request_info, GetAvailableExtensionPropertiesPostResponse, error_mapping) + + def to_post_request_information(self,body: GetAvailableExtensionPropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + 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) -> GetAvailableExtensionPropertiesRequestBuilder: + """ + 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: GetAvailableExtensionPropertiesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetAvailableExtensionPropertiesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/get_by_ids/get_by_ids_post_request_body.py b/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_request_body.py new file mode 100644 index 00000000000..88e18e37c7a --- /dev/null +++ b/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_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 GetByIdsPostRequestBody(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 ids property + ids: Optional[list[str]] = None + # The types property + types: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetByIdsPostRequestBody: + """ + 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: GetByIdsPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetByIdsPostRequestBody() + + 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]] = { + "ids": lambda n : setattr(self, 'ids', n.get_collection_of_primitive_values(str)), + "types": lambda n : setattr(self, 'types', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("ids", self.ids) + writer.write_collection_of_primitive_values("types", self.types) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_response.py b/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_response.py new file mode 100644 index 00000000000..adc802dc2b2 --- /dev/null +++ b/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_response.py @@ -0,0 +1,58 @@ +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 ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + +from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetByIdsPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[DirectoryObject]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetByIdsPostResponse: + """ + 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: GetByIdsPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetByIdsPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.directory_object import DirectoryObject + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(DirectoryObject)), + } + 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_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_request_builder.py b/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_request_builder.py new file mode 100644 index 00000000000..154232619c8 --- /dev/null +++ b/msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_request_builder.py @@ -0,0 +1,90 @@ +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 .get_by_ids_post_request_body import GetByIdsPostRequestBody + from .get_by_ids_post_response import GetByIdsPostResponse + +class GetByIdsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getByIds method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GetByIdsRequestBuilder 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}/appRoleAssignments/getByIds", path_parameters) + + async def post(self,body: GetByIdsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetByIdsPostResponse]: + """ + Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetByIdsPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 + """ + 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 .get_by_ids_post_response import GetByIdsPostResponse + + return await self.request_adapter.send_async(request_info, GetByIdsPostResponse, error_mapping) + + def to_post_request_information(self,body: GetByIdsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: + 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) -> GetByIdsRequestBuilder: + """ + 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: GetByIdsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetByIdsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetByIdsRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py b/msgraph/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py new file mode 100644 index 00000000000..d4329c2d5e9 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py @@ -0,0 +1,238 @@ +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.app_role_assignment import AppRoleAssignment + from ...models.o_data_errors.o_data_error import ODataError + from .check_member_groups.check_member_groups_request_builder import CheckMemberGroupsRequestBuilder + from .check_member_objects.check_member_objects_request_builder import CheckMemberObjectsRequestBuilder + from .get_member_groups.get_member_groups_request_builder import GetMemberGroupsRequestBuilder + from .get_member_objects.get_member_objects_request_builder import GetMemberObjectsRequestBuilder + from .restore.restore_request_builder import RestoreRequestBuilder + +class AppRoleAssignmentItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of appRoleAssignment entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AppRoleAssignmentItemRequestBuilder 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}/appRoleAssignments/{appRoleAssignment%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete entity from appRoleAssignments + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_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) + + async def get(self,request_configuration: Optional[RequestConfiguration[AppRoleAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppRoleAssignment]: + """ + Get entity from appRoleAssignments by key + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AppRoleAssignment] + """ + request_info = self.to_get_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") + from ...models.app_role_assignment import AppRoleAssignment + + return await self.request_adapter.send_async(request_info, AppRoleAssignment, error_mapping) + + async def patch(self,body: AppRoleAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AppRoleAssignment]: + """ + Update entity in appRoleAssignments + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AppRoleAssignment] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_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.app_role_assignment import AppRoleAssignment + + return await self.request_adapter.send_async(request_info, AppRoleAssignment, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete entity from appRoleAssignments + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppRoleAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get entity from appRoleAssignments by key + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: AppRoleAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update entity in appRoleAssignments + 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.PATCH, 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) -> AppRoleAssignmentItemRequestBuilder: + """ + 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: AppRoleAssignmentItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AppRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) + + @property + def check_member_groups(self) -> CheckMemberGroupsRequestBuilder: + """ + Provides operations to call the checkMemberGroups method. + """ + from .check_member_groups.check_member_groups_request_builder import CheckMemberGroupsRequestBuilder + + return CheckMemberGroupsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def check_member_objects(self) -> CheckMemberObjectsRequestBuilder: + """ + Provides operations to call the checkMemberObjects method. + """ + from .check_member_objects.check_member_objects_request_builder import CheckMemberObjectsRequestBuilder + + return CheckMemberObjectsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_member_groups(self) -> GetMemberGroupsRequestBuilder: + """ + Provides operations to call the getMemberGroups method. + """ + from .get_member_groups.get_member_groups_request_builder import GetMemberGroupsRequestBuilder + + return GetMemberGroupsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_member_objects(self) -> GetMemberObjectsRequestBuilder: + """ + Provides operations to call the getMemberObjects method. + """ + from .get_member_objects.get_member_objects_request_builder import GetMemberObjectsRequestBuilder + + return GetMemberObjectsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def restore(self) -> RestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .restore.restore_request_builder import RestoreRequestBuilder + + return RestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration(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) + + @dataclass + class AppRoleAssignmentItemRequestBuilderGetQueryParameters(): + """ + Get entity from appRoleAssignments by key + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class AppRoleAssignmentItemRequestBuilderGetRequestConfiguration(RequestConfiguration[AppRoleAssignmentItemRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration(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/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py b/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py new file mode 100644 index 00000000000..54f94994bb6 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_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 CheckMemberGroupsPostRequestBody(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 groupIds property + group_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CheckMemberGroupsPostRequestBody: + """ + 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: CheckMemberGroupsPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CheckMemberGroupsPostRequestBody() + + 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]] = { + "groupIds": lambda n : setattr(self, 'group_ids', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("groupIds", self.group_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_response.py b/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_response.py new file mode 100644 index 00000000000..5d67fd64bf3 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_response.py @@ -0,0 +1,55 @@ +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 ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CheckMemberGroupsPostResponse: + """ + 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: CheckMemberGroupsPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CheckMemberGroupsPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py new file mode 100644 index 00000000000..15b9d3bd365 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py @@ -0,0 +1,90 @@ +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 .check_member_groups_post_request_body import CheckMemberGroupsPostRequestBody + from .check_member_groups_post_response import CheckMemberGroupsPostResponse + +class CheckMemberGroupsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the checkMemberGroups method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CheckMemberGroupsRequestBuilder 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}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", path_parameters) + + async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: + """ + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CheckMemberGroupsPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 + """ + 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 .check_member_groups_post_response import CheckMemberGroupsPostResponse + + return await self.request_adapter.send_async(request_info, CheckMemberGroupsPostResponse, error_mapping) + + def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + 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) -> CheckMemberGroupsRequestBuilder: + """ + 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: CheckMemberGroupsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CheckMemberGroupsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CheckMemberGroupsRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py b/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py new file mode 100644 index 00000000000..7083db5b373 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_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 CheckMemberObjectsPostRequestBody(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 ids property + ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CheckMemberObjectsPostRequestBody: + """ + 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: CheckMemberObjectsPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CheckMemberObjectsPostRequestBody() + + 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]] = { + "ids": lambda n : setattr(self, 'ids', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("ids", self.ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_response.py b/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_response.py new file mode 100644 index 00000000000..de14157d270 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_response.py @@ -0,0 +1,55 @@ +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 ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CheckMemberObjectsPostResponse: + """ + 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: CheckMemberObjectsPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CheckMemberObjectsPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py b/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py new file mode 100644 index 00000000000..e2c7e2b47dc --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_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 .check_member_objects_post_request_body import CheckMemberObjectsPostRequestBody + from .check_member_objects_post_response import CheckMemberObjectsPostResponse + +class CheckMemberObjectsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the checkMemberObjects method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CheckMemberObjectsRequestBuilder 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}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberObjects", path_parameters) + + async def post(self,body: CheckMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberObjectsPostResponse]: + """ + Invoke action checkMemberObjects + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CheckMemberObjectsPostResponse] + """ + 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 .check_member_objects_post_response import CheckMemberObjectsPostResponse + + return await self.request_adapter.send_async(request_info, CheckMemberObjectsPostResponse, error_mapping) + + def to_post_request_information(self,body: CheckMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action checkMemberObjects + 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) -> CheckMemberObjectsRequestBuilder: + """ + 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: CheckMemberObjectsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CheckMemberObjectsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CheckMemberObjectsRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py b/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py new file mode 100644 index 00000000000..c00f72b817c --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_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 GetMemberGroupsPostRequestBody(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 securityEnabledOnly property + security_enabled_only: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetMemberGroupsPostRequestBody: + """ + 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: GetMemberGroupsPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetMemberGroupsPostRequestBody() + + 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]] = { + "securityEnabledOnly": lambda n : setattr(self, 'security_enabled_only', n.get_bool_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_bool_value("securityEnabledOnly", self.security_enabled_only) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_response.py b/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_response.py new file mode 100644 index 00000000000..ef10de4e0f9 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_response.py @@ -0,0 +1,55 @@ +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 ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetMemberGroupsPostResponse: + """ + 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: GetMemberGroupsPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetMemberGroupsPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py b/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py new file mode 100644 index 00000000000..7b052553fec --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py @@ -0,0 +1,90 @@ +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 .get_member_groups_post_request_body import GetMemberGroupsPostRequestBody + from .get_member_groups_post_response import GetMemberGroupsPostResponse + +class GetMemberGroupsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMemberGroups method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GetMemberGroupsRequestBuilder 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}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberGroups", path_parameters) + + async def post(self,body: GetMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberGroupsPostResponse]: + """ + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMemberGroupsPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 + """ + 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 .get_member_groups_post_response import GetMemberGroupsPostResponse + + return await self.request_adapter.send_async(request_info, GetMemberGroupsPostResponse, error_mapping) + + def to_post_request_information(self,body: GetMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. + 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) -> GetMemberGroupsRequestBuilder: + """ + 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: GetMemberGroupsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetMemberGroupsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMemberGroupsRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py b/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py new file mode 100644 index 00000000000..07b489d3958 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_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 GetMemberObjectsPostRequestBody(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 securityEnabledOnly property + security_enabled_only: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetMemberObjectsPostRequestBody: + """ + 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: GetMemberObjectsPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetMemberObjectsPostRequestBody() + + 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]] = { + "securityEnabledOnly": lambda n : setattr(self, 'security_enabled_only', n.get_bool_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_bool_value("securityEnabledOnly", self.security_enabled_only) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_response.py b/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_response.py new file mode 100644 index 00000000000..6b931e066ab --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_response.py @@ -0,0 +1,55 @@ +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 ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetMemberObjectsPostResponse: + """ + 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: GetMemberObjectsPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetMemberObjectsPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_primitive_values(str)), + } + 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_collection_of_primitive_values("value", self.value) + + diff --git a/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py new file mode 100644 index 00000000000..0f261e7fdd5 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py @@ -0,0 +1,90 @@ +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 .get_member_objects_post_request_body import GetMemberObjectsPostRequestBody + from .get_member_objects_post_response import GetMemberObjectsPostResponse + +class GetMemberObjectsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMemberObjects method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GetMemberObjectsRequestBuilder 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}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", path_parameters) + + async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: + """ + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMemberObjectsPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0 + """ + 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 .get_member_objects_post_response import GetMemberObjectsPostResponse + + return await self.request_adapter.send_async(request_info, GetMemberObjectsPostResponse, error_mapping) + + def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. + 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) -> GetMemberObjectsRequestBuilder: + """ + 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: GetMemberObjectsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetMemberObjectsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMemberObjectsRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/item/restore/restore_request_builder.py b/msgraph/generated/app_role_assignments/item/restore/restore_request_builder.py new file mode 100644 index 00000000000..7a8cce394b5 --- /dev/null +++ b/msgraph/generated/app_role_assignments/item/restore/restore_request_builder.py @@ -0,0 +1,82 @@ +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.directory_object import DirectoryObject + from ....models.o_data_errors.o_data_error import ODataError + +class RestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RestoreRequestBuilder 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}/appRoleAssignments/{appRoleAssignment%2Did}/restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 + """ + 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") + from ....models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + 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) -> RestoreRequestBuilder: + """ + 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: RestoreRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RestoreRequestBuilderPostRequestConfiguration(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/generated/app_role_assignments/validate_properties/validate_properties_post_request_body.py b/msgraph/generated/app_role_assignments/validate_properties/validate_properties_post_request_body.py new file mode 100644 index 00000000000..97b2532729e --- /dev/null +++ b/msgraph/generated/app_role_assignments/validate_properties/validate_properties_post_request_body.py @@ -0,0 +1,63 @@ +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 +from uuid import UUID + +@dataclass +class ValidatePropertiesPostRequestBody(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 displayName property + display_name: Optional[str] = None + # The entityType property + entity_type: Optional[str] = None + # The mailNickname property + mail_nickname: Optional[str] = None + # The onBehalfOfUserId property + on_behalf_of_user_id: Optional[UUID] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ValidatePropertiesPostRequestBody: + """ + 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: ValidatePropertiesPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ValidatePropertiesPostRequestBody() + + 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]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "entityType": lambda n : setattr(self, 'entity_type', n.get_str_value()), + "mailNickname": lambda n : setattr(self, 'mail_nickname', n.get_str_value()), + "onBehalfOfUserId": lambda n : setattr(self, 'on_behalf_of_user_id', n.get_uuid_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("displayName", self.display_name) + writer.write_str_value("entityType", self.entity_type) + writer.write_str_value("mailNickname", self.mail_nickname) + writer.write_uuid_value("onBehalfOfUserId", self.on_behalf_of_user_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py b/msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py new file mode 100644 index 00000000000..3a794888e77 --- /dev/null +++ b/msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py @@ -0,0 +1,87 @@ +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 .validate_properties_post_request_body import ValidatePropertiesPostRequestBody + +class ValidatePropertiesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the validateProperties method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ValidatePropertiesRequestBuilder 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}/appRoleAssignments/validateProperties", path_parameters) + + async def post(self,body: ValidatePropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. + 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/directoryobject-validateproperties?view=graph-rest-1.0 + """ + 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") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: ValidatePropertiesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. + 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) -> ValidatePropertiesRequestBuilder: + """ + 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: ValidatePropertiesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ValidatePropertiesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ValidatePropertiesRequestBuilderPostRequestConfiguration(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/generated/applications/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/applications/item/check_member_groups/check_member_groups_request_builder.py index 079a3f379af..9f2ecabeb64 100644 --- a/msgraph/generated/applications/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/applications/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/applications/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/applications/item/get_member_objects/get_member_objects_request_builder.py index 7c109cf8e02..6afb01dfec8 100644 --- a/msgraph/generated/applications/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/applications/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/base_graph_service_client.py b/msgraph/generated/base_graph_service_client.py index 5776ca98610..195ce348472 100644 --- a/msgraph/generated/base_graph_service_client.py +++ b/msgraph/generated/base_graph_service_client.py @@ -24,6 +24,7 @@ from .applications_with_unique_name.applications_with_unique_name_request_builder import ApplicationsWithUniqueNameRequestBuilder from .application_templates.application_templates_request_builder import ApplicationTemplatesRequestBuilder from .app_catalogs.app_catalogs_request_builder import AppCatalogsRequestBuilder + from .app_role_assignments.app_role_assignments_request_builder import AppRoleAssignmentsRequestBuilder from .audit_logs.audit_logs_request_builder import AuditLogsRequestBuilder from .authentication_methods_policy.authentication_methods_policy_request_builder import AuthenticationMethodsPolicyRequestBuilder from .authentication_method_configurations.authentication_method_configurations_request_builder import AuthenticationMethodConfigurationsRequestBuilder @@ -238,6 +239,15 @@ def app_catalogs(self) -> AppCatalogsRequestBuilder: return AppCatalogsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def app_role_assignments(self) -> AppRoleAssignmentsRequestBuilder: + """ + Provides operations to manage the collection of appRoleAssignment entities. + """ + from .app_role_assignments.app_role_assignments_request_builder import AppRoleAssignmentsRequestBuilder + + return AppRoleAssignmentsRequestBuilder(self.request_adapter, self.path_parameters) + @property def application_templates(self) -> ApplicationTemplatesRequestBuilder: """ diff --git a/msgraph/generated/chats/item/messages/messages_request_builder.py b/msgraph/generated/chats/item/messages/messages_request_builder.py index 82250e729ae..d911248dd7b 100644 --- a/msgraph/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph/generated/chats/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 """ 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: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or a chat. 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/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py index 9c9cfb278ef..e2dfca92412 100644 --- a/msgraph/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py index 29650569294..9d44f271d8e 100644 --- a/msgraph/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py index 498083a18a2..b6c576c4fce 100644 --- a/msgraph/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py index 5b871a33a73..034221a2b12 100644 --- a/msgraph/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/device_app_management/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index 87e7c940a85..4542cf3da13 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp Read properties and relationships of the deviceAppManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index 199aca9678f..454de5f3210 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]: """ - Read properties and relationships of the windowsInformationProtection object. + Read properties and relationships of the managedAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 """ 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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsInformationProtection object. + Read properties and relationships of the managedAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsInformationProtection object. + Read properties and relationships of the managedAppConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index e08dd659657..af58826db23 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index 24c752b3dee..557bec38512 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -49,10 +49,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. 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 ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index 4d5dcbe97ad..81be8129c8e 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index 4980fb98081..4bb2e293a8d 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py index 03744166002..7674a249ed2 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py @@ -50,10 +50,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]: """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistrationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def post(self,body: ManagedAppRegistration, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp @dataclass class ManagedAppRegistrationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py index 46420cdf85f..68c41edf0d6 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_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[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatus]: """ - Read properties and relationships of the managedAppStatus object. + Read properties and relationships of the managedAppStatusRaw object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatus] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 """ 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[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppStatus object. + Read properties and relationships of the managedAppStatusRaw object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppStatusItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppStatus object. + Read properties and relationships of the managedAppStatusRaw object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py index 62ea4f23fee..a7e06ebe46b 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py @@ -49,10 +49,10 @@ def by_managed_app_status_id(self,managed_app_status_id: str) -> ManagedAppStatu async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]: """ - List properties and relationships of the managedAppStatus objects. + List properties and relationships of the managedAppStatusRaw objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatusCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedAppStatus, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppStatus objects. + List properties and relationships of the managedAppStatusRaw objects. 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 ManagedAppStatusesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppStatus objects. + List properties and relationships of the managedAppStatusRaw objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index d8a77ffd735..d436e3e3324 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_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[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Read properties and relationships of the iosVppEBookAssignment object. + Read properties and relationships of the managedEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosVppEBookAssignment object. + Read properties and relationships of the managedEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,7 +151,7 @@ class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosVppEBookAssignment object. + Read properties and relationships of the managedEBookAssignment object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py index b3b82e60b4f..f994aa37717 100644 --- a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py @@ -49,10 +49,10 @@ def by_managed_e_book_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]: """ - List properties and relationships of the managedEBook objects. + List properties and relationships of the iosVppEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedEBook, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedEBook objects. + List properties and relationships of the iosVppEBook objects. 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 ManagedEBooksRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedEBook objects. + List properties and relationships of the iosVppEBook objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index a36d6452dd5..a543db0600e 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -51,10 +51,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a microsoftStoreForBusinessApp. + Deletes a iosiPadOSWebClip. 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/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -70,10 +70,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the windowsMicrosoftEdgeApp object. + Read properties and relationships of the win32LobApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Update the properties of a windowsMicrosoftEdgeApp object. + Update the properties of a macOSLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a microsoftStoreForBusinessApp. + Deletes a iosiPadOSWebClip. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsMicrosoftEdgeApp object. + Read properties and relationships of the win32LobApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windowsMicrosoftEdgeApp object. + Update the properties of a macOSLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -341,7 +341,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsMicrosoftEdgeApp object. + Read properties and relationships of the win32LobApp object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index 5ebca7b5603..e19f54b8678 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -86,11 +86,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new windowsMobileMSI object. + Create a new androidLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windowsMobileMSI object. + Create a new androidLobApp 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/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index 087ee689785..0b6d681a36a 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -49,10 +49,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the windows81CompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new windows81CompliancePolicy object. + Create a new windows10CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the windows81CompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windows81CompliancePolicy object. + Create a new windows10CompliancePolicy object. param body: The request body 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 DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windows81CompliancePolicy objects. + List properties and relationships of the iosCompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index c01651cf690..88c4a1e5efe 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -41,10 +41,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windowsPhone81CompliancePolicy. + Deletes a windows81CompliancePolicy. 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/intune-deviceconfig-windowsphone81compliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -60,10 +60,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Read properties and relationships of the iosCompliancePolicy object. + Read properties and relationships of the macOSCompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -81,11 +81,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Update the properties of a windowsPhone81CompliancePolicy object. + Update the properties of a androidWorkProfileCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windowsPhone81CompliancePolicy. + Deletes a windows81CompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosCompliancePolicy object. + Read properties and relationships of the macOSCompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windowsPhone81CompliancePolicy object. + Update the properties of a androidWorkProfileCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -241,7 +241,7 @@ class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosCompliancePolicy object. + Read properties and relationships of the macOSCompliancePolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index ed39abdffa8..21a0f5ef273 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -49,10 +49,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the deviceConfiguration objects. + List properties and relationships of the iosDeviceFeaturesConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new macOSDeviceFeaturesConfiguration object. + Create a new iosDeviceFeaturesConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceConfiguration objects. + List properties and relationships of the iosDeviceFeaturesConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new macOSDeviceFeaturesConfiguration object. + Create a new iosDeviceFeaturesConfiguration object. param body: The request body 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 DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceConfiguration objects. + List properties and relationships of the iosDeviceFeaturesConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index 061890fedc1..4b750c19fac 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -40,10 +40,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a iosDeviceFeaturesConfiguration. + Deletes a iosGeneralDeviceConfiguration. 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/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the androidWorkProfileCustomConfiguration object. + Read properties and relationships of the windows81GeneralConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,11 +92,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a iosGeneralDeviceConfiguration object. + Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a iosDeviceFeaturesConfiguration. + Deletes a iosGeneralDeviceConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the androidWorkProfileCustomConfiguration object. + Read properties and relationships of the windows81GeneralConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosGeneralDeviceConfiguration object. + Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -234,7 +234,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the androidWorkProfileCustomConfiguration object. + Read properties and relationships of the windows81GeneralConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index 73001d0fcde..ff3374672ef 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -49,10 +49,10 @@ def by_device_enrollment_configuration_id(self,device_enrollment_configuration_i async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]: """ - List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + List properties and relationships of the deviceEnrollmentConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + List properties and relationships of the deviceEnrollmentConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. param body: The request body 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 DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + List properties and relationships of the deviceEnrollmentConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index adf220227ef..6b9a807e15c 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -35,10 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. 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/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -99,7 +99,7 @@ async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 14ef23300d5..103b73a8f6b 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -96,7 +96,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -130,7 +130,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-notification-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index 367c6d10a92..a502793aff7 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]: """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]: """ - Update the properties of a roleDefinition object. + Update the properties of a deviceAndAppManagementRoleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition 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: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a roleDefinition object. + Update the properties of a deviceAndAppManagementRoleDefinition 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 RoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class RoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the roleDefinition object. + Read properties and relationships of the deviceAndAppManagementRoleDefinition object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py index e6c26c2d35c..19f3c9f2830 100644 --- a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -49,10 +49,10 @@ def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemReq async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinitionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi async def post(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]: """ - Create a new roleDefinition object. + Create a new deviceAndAppManagementRoleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: RoleDefinition, request_configuration: Optional[Reques def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new roleDefinition object. + Create a new deviceAndAppManagementRoleDefinition object. param body: The request body 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 RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py index ee8c50387b3..9ffb4828659 100644 --- a/msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/devices/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/devices/item/get_member_objects/get_member_objects_request_builder.py index d5c1b57f54b..3e7b733ab55 100644 --- a/msgraph/generated/devices/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/devices/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py index 8add7af7eb7..ee2c5fe7f2e 100644 --- a/msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py index a4a6a25ba13..584cbf15e90 100644 --- a/msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py index 27fa7f6cc59..fc84cd8ae56 100644 --- a/msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py index 8592d640dd2..c7ae42c1bb6 100644 --- a/msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py index ecfdfa35ac0..d631465f5f3 100644 --- a/msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py index eb9be1ec3a8..275b6b15140 100644 --- a/msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py index 07ccd4e4e2a..a1872c8d196 100644 --- a/msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py index d84eb1bd46f..161585290bd 100644 --- a/msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index bcd7c063109..0a12979814a 100644 --- a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. 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/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index d8b2bfaf31a..45895ee6bc2 100644 --- a/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph/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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 """ 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/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index 42d91256220..5ecb31973c8 100644 --- a/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. 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/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index af1d91134f1..648c853bdf6 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph/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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 """ 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/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index 693d34dca1f..88b3efd1b51 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. 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/generated/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py index e26283ef285..60ad9ac8da6 100644 --- a/msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py index 748156b2736..4cd1026a80d 100644 --- a/msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/groups/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/groups/item/check_member_groups/check_member_groups_request_builder.py index 0cfa663e875..b887e5d8d5f 100644 --- a/msgraph/generated/groups/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/groups/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/groups/item/conversations/conversations_request_builder.py b/msgraph/generated/groups/item/conversations/conversations_request_builder.py index cb5d6c61d56..ccfa63a5ba9 100644 --- a/msgraph/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph/generated/groups/item/conversations/conversations_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[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. + Use reply thread or reply post to further post to that conversation. param body: The request body 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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 """ 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: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. + Use reply thread or reply post to further post to that conversation. 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/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index 1a9dc0b9816..40039028a2c 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversation. 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 """ 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]: """ - The group's conversations. + 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -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: """ - The group's conversations. + 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(): """ - The group's conversations. + Retrieve the properties and relationships of conversation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index e3c6457c9cd..e0550c02dc3 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/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: """ - 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. + 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. 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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ 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: """ - 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. + 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. 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/generated/groups/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/groups/item/get_member_objects/get_member_objects_request_builder.py index b1a3f892bf6..26483962e71 100644 --- a/msgraph/generated/groups/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/groups/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index 046334bfd07..03414d83641 100644 --- a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationThread]: """ - Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + Get a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + Get a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -171,7 +171,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + Get a thread object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index 132fb64d858..3350700aed4 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -48,10 +48,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -100,7 +100,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py index 6f10d812c98..f4aa3c2036a 100644 --- a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/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: """ - 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. + 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. 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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ 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: """ - 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. + 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. 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/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 59183b3c763..0e60cbfcd63 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/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 an ipNamedLocation object. + Delete a namedLocation 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/ipnamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 """ 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. + Retrieve the properties and relationships of a countryNamedLocation 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[NamedLoc async def patch(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[NamedLocation]: """ - Update the properties of an ipNamedLocation object. + Update the properties of a countryNamedLocation object. param body: The request body 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-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -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 an ipNamedLocation object. + Delete a namedLocation 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. + Retrieve the properties and relationships of a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an ipNamedLocation object. + Update the properties of a countryNamedLocation object. param body: The request body 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. + Retrieve the properties and relationships of a countryNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index c7f8627e738..e65a38b25b3 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_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 an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: 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/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: CustomCalloutExtension, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index 4808377e432..ca37652e538 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] - Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -181,7 +181,7 @@ class AgreementItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class AgreementItemRequestBuilderGetQueryParameters(): """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index f8237199de6..8c911466648 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -3289,6 +3289,285 @@ msgraph.generated.applicationTemplates.item.instantiate.InstantiateRequestBuilde msgraph.generated.applicationTemplates.item.instantiate.InstantiateRequestBuilder::|public|to_post_request_information(body:InstantiatePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.applicationTemplates.item.instantiate.InstantiateRequestBuilder::|public|url_template:str msgraph.generated.applicationTemplates.item.instantiate.InstantiateRequestBuilder::|public|with_url(raw_url:str):InstantiateRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration[AppRoleAssignmentsRequestBuilderGetQueryParameters] +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder.AppRoleAssignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|by_app_role_assignment_id(app_role_assignment_id:str):AppRoleAssignmentItemRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|delta:DeltaRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AppRoleAssignmentsRequestBuilderGetQueryParameters]):AppRoleAssignmentCollectionResponse +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|get_available_extension_properties:GetAvailableExtensionPropertiesRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|get_by_ids:GetByIdsRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|post(body:AppRoleAssignment; request_configuration?:RequestConfiguration[QueryParameters]):AppRoleAssignment +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AppRoleAssignmentsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|to_post_request_information(body:AppRoleAssignment; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|validate_properties:ValidatePropertiesRequestBuilder +msgraph.generated.appRoleAssignments.AppRoleAssignmentsRequestBuilder::|public|with_url(raw_url:str):AppRoleAssignmentsRequestBuilder +msgraph.generated.appRoleAssignments.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.appRoleAssignments.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.appRoleAssignments.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.appRoleAssignments.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse-->BaseDeltaFunctionResponse +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse::|public|value():list[DirectoryObject] +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse::|public|value(value:list[DirectoryObject]):None +msgraph.generated.appRoleAssignments.delta.DeltaGetResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeltaGetResponse +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder.DeltaRequestBuilderGetRequestConfiguration-->RequestConfiguration[DeltaRequestBuilderGetQueryParameters] +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DeltaRequestBuilderGetQueryParameters]):DeltaGetResponse +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DeltaRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.delta.DeltaRequestBuilder::|public|with_url(raw_url:str):DeltaRequestBuilder +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|is_synced_from_on_premises():bool +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|is_synced_from_on_premises(value:bool):None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetAvailableExtensionPropertiesPostRequestBody +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse::|public|value():list[ExtensionProperty] +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse::|public|value(value:list[ExtensionProperty]):None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetAvailableExtensionPropertiesPostResponse +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder.GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|post(body:GetAvailableExtensionPropertiesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):GetAvailableExtensionPropertiesPostResponse +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|to_post_request_information(body:GetAvailableExtensionPropertiesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.getAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder::|public|with_url(raw_url:str):GetAvailableExtensionPropertiesRequestBuilder +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|ids():list[str] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|ids(value:list[str]):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|types():list[str] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|public|types(value:list[str]):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetByIdsPostRequestBody +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse::|public|value():list[DirectoryObject] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse::|public|value(value:list[DirectoryObject]):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetByIdsPostResponse +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder.GetByIdsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|post(body:GetByIdsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):GetByIdsPostResponse +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|to_post_request_information(body:GetByIdsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.getByIds.GetByIdsRequestBuilder::|public|with_url(raw_url:str):GetByIdsRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[AppRoleAssignmentItemRequestBuilderGetQueryParameters] +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|check_member_groups:CheckMemberGroupsRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|check_member_objects:CheckMemberObjectsRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[AppRoleAssignmentItemRequestBuilderGetQueryParameters]):AppRoleAssignment +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|get_member_groups:GetMemberGroupsRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|get_member_objects:GetMemberObjectsRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|patch(body:AppRoleAssignment; request_configuration?:RequestConfiguration[QueryParameters]):AppRoleAssignment +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|restore:RestoreRequestBuilder +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AppRoleAssignmentItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|to_patch_request_information(body:AppRoleAssignment; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.item.AppRoleAssignmentItemRequestBuilder::|public|with_url(raw_url:str):AppRoleAssignmentItemRequestBuilder +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|group_ids():list[str] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|group_ids(value:list[str]):None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):CheckMemberGroupsPostRequestBody +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse::|public|value():list[str] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse::|public|value(value:list[str]):None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CheckMemberGroupsPostResponse +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder.CheckMemberGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|post(body:CheckMemberGroupsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):CheckMemberGroupsPostResponse +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|to_post_request_information(body:CheckMemberGroupsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.item.checkMemberGroups.CheckMemberGroupsRequestBuilder::|public|with_url(raw_url:str):CheckMemberGroupsRequestBuilder +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|ids():list[str] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|ids(value:list[str]):None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):CheckMemberObjectsPostRequestBody +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse::|public|value():list[str] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse::|public|value(value:list[str]):None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CheckMemberObjectsPostResponse +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder.CheckMemberObjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|post(body:CheckMemberObjectsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):CheckMemberObjectsPostResponse +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|to_post_request_information(body:CheckMemberObjectsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.item.checkMemberObjects.CheckMemberObjectsRequestBuilder::|public|with_url(raw_url:str):CheckMemberObjectsRequestBuilder +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|security_enabled_only():bool +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|security_enabled_only(value:bool):None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetMemberGroupsPostRequestBody +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse::|public|value():list[str] +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse::|public|value(value:list[str]):None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetMemberGroupsPostResponse +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder.GetMemberGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|post(body:GetMemberGroupsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):GetMemberGroupsPostResponse +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|to_post_request_information(body:GetMemberGroupsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.item.getMemberGroups.GetMemberGroupsRequestBuilder::|public|with_url(raw_url:str):GetMemberGroupsRequestBuilder +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|security_enabled_only():bool +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|security_enabled_only(value:bool):None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetMemberObjectsPostRequestBody +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse::|public|constructor():None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse::|public|value():list[str] +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse::|public|value(value:list[str]):None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetMemberObjectsPostResponse +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder.GetMemberObjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|post(body:GetMemberObjectsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):GetMemberObjectsPostResponse +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|to_post_request_information(body:GetMemberObjectsPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|with_url(raw_url:str):GetMemberObjectsRequestBuilder +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder.RestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):DirectoryObject +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.item.restore.RestoreRequestBuilder::|public|with_url(raw_url:str):RestoreRequestBuilder +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|constructor():None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|display_name():str +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|display_name(value:str):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|entity_type():str +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|entity_type(value:str):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|mail_nickname():str +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|mail_nickname(value:str):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|on_behalf_of_user_id():UUID +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|on_behalf_of_user_id(value:UUID):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ValidatePropertiesPostRequestBody +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder-->BaseRequestBuilder +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder.ValidatePropertiesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|post(body:ValidatePropertiesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|to_post_request_information(body:ValidatePropertiesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|url_template:str +msgraph.generated.appRoleAssignments.validateProperties.ValidatePropertiesRequestBuilder::|public|with_url(raw_url:str):ValidatePropertiesRequestBuilder msgraph.generated.auditLogs.AuditLogsRequestBuilder-->BaseRequestBuilder msgraph.generated.auditLogs.AuditLogsRequestBuilder.AuditLogsRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph.generated.auditLogs.AuditLogsRequestBuilder.AuditLogsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -3597,6 +3876,7 @@ msgraph.generated.BaseGraphServiceClient::|public|applications_with_app_id(app_i msgraph.generated.BaseGraphServiceClient::|public|applications_with_unique_name(unique_name:str):ApplicationsWithUniqueNameRequestBuilder msgraph.generated.BaseGraphServiceClient::|public|application_templates:ApplicationTemplatesRequestBuilder msgraph.generated.BaseGraphServiceClient::|public|app_catalogs:AppCatalogsRequestBuilder +msgraph.generated.BaseGraphServiceClient::|public|app_role_assignments:AppRoleAssignmentsRequestBuilder msgraph.generated.BaseGraphServiceClient::|public|audit_logs:AuditLogsRequestBuilder msgraph.generated.BaseGraphServiceClient::|public|authentication_methods_policy:AuthenticationMethodsPolicyRequestBuilder msgraph.generated.BaseGraphServiceClient::|public|authentication_method_configurations:AuthenticationMethodConfigurationsRequestBuilder @@ -100143,6 +100423,8 @@ msgraph.generated.models.CloudPcProvisioningPolicy::|public|alternate_resource_u msgraph.generated.models.CloudPcProvisioningPolicy::|public|alternate_resource_url(value:str):None msgraph.generated.models.CloudPcProvisioningPolicy::|public|assignments():list[CloudPcProvisioningPolicyAssignment] msgraph.generated.models.CloudPcProvisioningPolicy::|public|assignments(value:list[CloudPcProvisioningPolicyAssignment]):None +msgraph.generated.models.CloudPcProvisioningPolicy::|public|autopatch():CloudPcProvisioningPolicyAutopatch +msgraph.generated.models.CloudPcProvisioningPolicy::|public|autopatch(value:CloudPcProvisioningPolicyAutopatch):None msgraph.generated.models.CloudPcProvisioningPolicy::|public|cloud_pc_group_display_name():str msgraph.generated.models.CloudPcProvisioningPolicy::|public|cloud_pc_group_display_name(value:str):None msgraph.generated.models.CloudPcProvisioningPolicy::|public|cloud_pc_naming_template():str @@ -100193,6 +100475,18 @@ msgraph.generated.models.CloudPcProvisioningPolicyAssignmentCollectionResponse:: msgraph.generated.models.CloudPcProvisioningPolicyAssignmentCollectionResponse::|public|value():list[CloudPcProvisioningPolicyAssignment] msgraph.generated.models.CloudPcProvisioningPolicyAssignmentCollectionResponse::|public|value(value:list[CloudPcProvisioningPolicyAssignment]):None msgraph.generated.models.CloudPcProvisioningPolicyAssignmentCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcProvisioningPolicyAssignmentCollectionResponse +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|additional_data():dict[str, Any] +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|autopatch_group_id():str +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|autopatch_group_id(value:str):None +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|backing_store:BackingStore +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|constructor():None +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|odata_type():str +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|odata_type(value:str):None +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcProvisioningPolicyAutopatch +msgraph.generated.models.CloudPcProvisioningPolicyAutopatch~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.CloudPcProvisioningPolicyCollectionResponse-->BaseCollectionPaginationCountResponse msgraph.generated.models.CloudPcProvisioningPolicyCollectionResponse::|public|constructor():None msgraph.generated.models.CloudPcProvisioningPolicyCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -112424,6 +112718,7 @@ msgraph.generated.models.ManagedDeviceOverview::|static|public|create_from_discr msgraph.generated.models.ManagedDeviceOwnerType::0000-Unknown msgraph.generated.models.ManagedDeviceOwnerType::0001-Company msgraph.generated.models.ManagedDeviceOwnerType::0002-Personal +msgraph.generated.models.ManagedDeviceOwnerType::0003-UnknownFutureValue msgraph.generated.models.ManagedDevicePartnerReportedHealthState::0000-Unknown msgraph.generated.models.ManagedDevicePartnerReportedHealthState::0001-Activated msgraph.generated.models.ManagedDevicePartnerReportedHealthState::0002-Deactivated diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 98740773243..86b4dea9598 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "2A266C83E5128F78435232C790DE0C41B134CF323FA2D5EB704DAAC3C39EEA634205F3ED6EC8DE64297752B981917408558A02E7A673FE2E0AB8C6AD140E860D", + "descriptionHash": "0922012981783F96DC07F5D7A6C66ACF27F7231418359DF10E870D51A0337185AA115C991527B8D7447CE77BF79643604D78D413185E7274AE691774AA3D4716", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.23.0", diff --git a/msgraph/generated/models/certification.py b/msgraph/generated/models/certification.py index 64cdca26965..ba2afc5587b 100644 --- a/msgraph/generated/models/certification.py +++ b/msgraph/generated/models/certification.py @@ -19,7 +19,7 @@ class Certification(AdditionalDataHolder, BackedModel, Parsable): certification_expiration_date_time: Optional[datetime.datetime] = None # Indicates whether the application is certified by Microsoft. is_certified_by_microsoft: Optional[bool] = None - # Indicates whether the application has been self-attested by the application developer or the publisher. + # Indicates whether the application developer or publisher completed Publisher Attestation. is_publisher_attested: Optional[bool] = None # The timestamp when the certification for the application was most recently added or updated. last_certification_date_time: Optional[datetime.datetime] = None diff --git a/msgraph/generated/models/chat_restrictions.py b/msgraph/generated/models/chat_restrictions.py index a3ee3f4ba25..2f90d623444 100644 --- a/msgraph/generated/models/chat_restrictions.py +++ b/msgraph/generated/models/chat_restrictions.py @@ -12,7 +12,7 @@ class ChatRestrictions(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 allowTextOnly property + # Indicates whether only text is allowed in the meeting chat. Optional. allow_text_only: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/cloud_pc_provisioning_policy.py b/msgraph/generated/models/cloud_pc_provisioning_policy.py index 9cd84a9af2b..a4932502b32 100644 --- a/msgraph/generated/models/cloud_pc_provisioning_policy.py +++ b/msgraph/generated/models/cloud_pc_provisioning_policy.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType from .cloud_pc_provisioning_type import CloudPcProvisioningType from .cloud_pc_windows_setting import CloudPcWindowsSetting @@ -21,6 +22,8 @@ class CloudPcProvisioningPolicy(Entity, Parsable): alternate_resource_url: Optional[str] = None # A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. assignments: Optional[list[CloudPcProvisioningPolicyAssignment]] = None + # The autopatch property + autopatch: Optional[CloudPcProvisioningPolicyAutopatch] = None # The display name of the Cloud PC group that the Cloud PCs reside in. Read-only. cloud_pc_group_display_name: Optional[str] = None # The template used to name Cloud PCs provisioned using this policy. The template can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, CPC-%USERNAME:4%-%RAND:5% means that the name of the Cloud PC starts with CPC-, followed by a four-character username, a - character, and then five random characters. The total length of the text generated by the template can't exceed 15 characters. Supports $filter, $select, and $orderby. @@ -70,6 +73,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType from .cloud_pc_provisioning_type import CloudPcProvisioningType from .cloud_pc_windows_setting import CloudPcWindowsSetting @@ -78,6 +82,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .cloud_pc_domain_join_configuration import CloudPcDomainJoinConfiguration from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment + from .cloud_pc_provisioning_policy_autopatch import CloudPcProvisioningPolicyAutopatch from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType from .cloud_pc_provisioning_type import CloudPcProvisioningType from .cloud_pc_windows_setting import CloudPcWindowsSetting @@ -87,6 +92,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "alternateResourceUrl": lambda n : setattr(self, 'alternate_resource_url', n.get_str_value()), "assignments": lambda n : setattr(self, 'assignments', n.get_collection_of_object_values(CloudPcProvisioningPolicyAssignment)), + "autopatch": lambda n : setattr(self, 'autopatch', n.get_object_value(CloudPcProvisioningPolicyAutopatch)), "cloudPcGroupDisplayName": lambda n : setattr(self, 'cloud_pc_group_display_name', n.get_str_value()), "cloudPcNamingTemplate": lambda n : setattr(self, 'cloud_pc_naming_template', n.get_str_value()), "description": lambda n : setattr(self, 'description', n.get_str_value()), @@ -117,6 +123,7 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_str_value("alternateResourceUrl", self.alternate_resource_url) writer.write_collection_of_object_values("assignments", self.assignments) + writer.write_object_value("autopatch", self.autopatch) writer.write_str_value("cloudPcGroupDisplayName", self.cloud_pc_group_display_name) writer.write_str_value("cloudPcNamingTemplate", self.cloud_pc_naming_template) writer.write_str_value("description", self.description) diff --git a/msgraph/generated/models/cloud_pc_provisioning_policy_autopatch.py b/msgraph/generated/models/cloud_pc_provisioning_policy_autopatch.py new file mode 100644 index 00000000000..36d44656b57 --- /dev/null +++ b/msgraph/generated/models/cloud_pc_provisioning_policy_autopatch.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 CloudPcProvisioningPolicyAutopatch(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 autopatchGroupId property + autopatch_group_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcProvisioningPolicyAutopatch: + """ + 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: CloudPcProvisioningPolicyAutopatch + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CloudPcProvisioningPolicyAutopatch() + + 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]] = { + "autopatchGroupId": lambda n : setattr(self, 'autopatch_group_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', 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("autopatchGroupId", self.autopatch_group_id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/device_configuration_device_status.py b/msgraph/generated/models/device_configuration_device_status.py index 5e9683612d7..963123b81d2 100644 --- a/msgraph/generated/models/device_configuration_device_status.py +++ b/msgraph/generated/models/device_configuration_device_status.py @@ -13,6 +13,9 @@ @dataclass class DeviceConfigurationDeviceStatus(Entity, Parsable): + """ + Support for this Entity is being deprecated starting May 2026 & will no longer be supported. + """ # The DateTime when device compliance grace period expires compliance_grace_period_expiration_date_time: Optional[datetime.datetime] = None # Device name of the DevicePolicyStatus. diff --git a/msgraph/generated/models/device_configuration_state.py b/msgraph/generated/models/device_configuration_state.py index da4fbbac658..44cc69d9ba5 100644 --- a/msgraph/generated/models/device_configuration_state.py +++ b/msgraph/generated/models/device_configuration_state.py @@ -15,7 +15,7 @@ @dataclass class DeviceConfigurationState(Entity, Parsable): """ - Device Configuration State for a given device. + Support for this Entity is being deprecated starting May 2026 & will no longer be supported. """ # The name of the policy for this policyBase display_name: Optional[str] = None diff --git a/msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py b/msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py index 63d7af1224c..b0ccd8f505a 100644 --- a/msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py +++ b/msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py @@ -13,7 +13,7 @@ @dataclass class DeviceEnrollmentPlatformRestrictionsConfiguration(DeviceEnrollmentConfiguration, Parsable): """ - Device Enrollment Configuration that restricts the types of devices a user can enroll + Default Device Enrollment Platform Restrictions Configuration that restricts the types of devices a user can enroll """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration" diff --git a/msgraph/generated/models/device_enrollment_type.py b/msgraph/generated/models/device_enrollment_type.py index 4510aacafc9..e261a95ce13 100644 --- a/msgraph/generated/models/device_enrollment_type.py +++ b/msgraph/generated/models/device_enrollment_type.py @@ -11,20 +11,20 @@ class DeviceEnrollmentType(str, Enum): AppleBulkWithUser = "appleBulkWithUser", # Apple bulk enrollment without user challenge. (DEP, Apple Configurator, Mobile Config) AppleBulkWithoutUser = "appleBulkWithoutUser", - # Windows 10 Azure AD Join. + # Windows 10 Entra ID (Azure AD) Join. WindowsAzureADJoin = "windowsAzureADJoin", # Windows 10 Bulk enrollment through ICD with certificate. WindowsBulkUserless = "windowsBulkUserless", # Windows 10 automatic enrollment. (Add work account) WindowsAutoEnrollment = "windowsAutoEnrollment", - # Windows 10 bulk Azure AD Join. + # Windows 10 bulk Entra ID (Azure AD) Join. WindowsBulkAzureDomainJoin = "windowsBulkAzureDomainJoin", # Windows 10 Co-Management triggered by AutoPilot or Group Policy. WindowsCoManagement = "windowsCoManagement", - # Windows 10 Azure AD Join using Device Auth. + # Windows 10 Entra ID (Azure AD) Join using Device Auth. WindowsAzureADJoinUsingDeviceAuth = "windowsAzureADJoinUsingDeviceAuth", - # Device managed by Apple user enrollment + # Indicates the device is enrolled via Apple User Enrollment with Company Portal. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities AppleUserEnrollment = "appleUserEnrollment", - # Device managed by Apple user enrollment with service account + # Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities AppleUserEnrollmentWithServiceAccount = "appleUserEnrollmentWithServiceAccount", diff --git a/msgraph/generated/models/device_management.py b/msgraph/generated/models/device_management.py index fe18337bab3..e27a73255d0 100644 --- a/msgraph/generated/models/device_management.py +++ b/msgraph/generated/models/device_management.py @@ -75,9 +75,6 @@ @dataclass class DeviceManagement(Entity, Parsable): - """ - Singleton entity that acts as a container for all device management functionality. - """ # Apple push notification certificate. apple_push_notification_certificate: Optional[ApplePushNotificationCertificate] = None # The Audit Events diff --git a/msgraph/generated/models/managed_device_owner_type.py b/msgraph/generated/models/managed_device_owner_type.py index cdad5637e4a..44024a0ed73 100644 --- a/msgraph/generated/models/managed_device_owner_type.py +++ b/msgraph/generated/models/managed_device_owner_type.py @@ -1,10 +1,12 @@ from enum import Enum class ManagedDeviceOwnerType(str, Enum): - # Unknown. + # Unknown device owner type. Unknown = "unknown", - # Owned by company. + # Corporate device owner type. Company = "company", - # Owned by person. + # Personal device owner type. Personal = "personal", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph/generated/models/online_meeting_base.py b/msgraph/generated/models/online_meeting_base.py index 3e768178ea7..914e52140ec 100644 --- a/msgraph/generated/models/online_meeting_base.py +++ b/msgraph/generated/models/online_meeting_base.py @@ -46,7 +46,7 @@ class OnlineMeetingBase(Entity, Parsable): audio_conferencing: Optional[AudioConferencing] = None # The chat information associated with this online meeting. chat_info: Optional[ChatInfo] = None - # The chatRestrictions property + # Specifies the configuration settings for meeting chat restrictions. chat_restrictions: Optional[ChatRestrictions] = None # Indicates whether to announce when callers join or leave. is_entry_exit_announced: Optional[bool] = None diff --git a/msgraph/generated/models/schedule.py b/msgraph/generated/models/schedule.py index f8c69ef7050..8949c75c3cd 100644 --- a/msgraph/generated/models/schedule.py +++ b/msgraph/generated/models/schedule.py @@ -59,7 +59,7 @@ class Schedule(Entity, Parsable): time_zone: Optional[str] = None # The instances of times off in the schedule. times_off: Optional[list[TimeOff]] = None - # The workforceIntegrationIds property + # The IDs for the workforce integrations associated with this schedule. workforce_integration_ids: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/shift.py b/msgraph/generated/models/shift.py index 4798c6e36a1..fdfd0bbc70b 100644 --- a/msgraph/generated/models/shift.py +++ b/msgraph/generated/models/shift.py @@ -14,7 +14,7 @@ class Shift(ChangeTrackedEntity, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.shift" - # Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they are shared, which copies the changes from the draftShift to the sharedShift property. + # Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift property. draft_shift: Optional[ShiftItem] = None # The shift is marked for deletion, a process that is finalized when the schedule is shared. is_staged_for_deletion: Optional[bool] = None diff --git a/msgraph/generated/models/user.py b/msgraph/generated/models/user.py index 22c12e5229a..44aed53e24c 100644 --- a/msgraph/generated/models/user.py +++ b/msgraph/generated/models/user.py @@ -244,7 +244,7 @@ class User(DirectoryObject, Parsable): onenote: Optional[Onenote] = None # Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. online_meetings: Optional[list[OnlineMeeting]] = None - # A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + # A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). other_mails: Optional[list[str]] = None # The outlook property outlook: Optional[OutlookUser] = None diff --git a/msgraph/generated/models/user_teamwork.py b/msgraph/generated/models/user_teamwork.py index 9bc7b6f0077..d1f8477defe 100644 --- a/msgraph/generated/models/user_teamwork.py +++ b/msgraph/generated/models/user_teamwork.py @@ -17,7 +17,7 @@ class UserTeamwork(Entity, Parsable): associated_teams: Optional[list[AssociatedTeamInfo]] = None # The apps installed in the personal scope of this user. installed_apps: Optional[list[UserScopeTeamsAppInstallation]] = None - # Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user’s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. + # Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. locale: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/workforce_integration.py b/msgraph/generated/models/workforce_integration.py index 3ad90877741..4822a7ab877 100644 --- a/msgraph/generated/models/workforce_integration.py +++ b/msgraph/generated/models/workforce_integration.py @@ -16,7 +16,7 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.workforceIntegration" - # API version for the call back URL. Start with 1. + # API version for the callback URL. Start with 1. api_version: Optional[int] = None # Name of the workforce integration. display_name: Optional[str] = None @@ -26,7 +26,7 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable): encryption: Optional[WorkforceIntegrationEncryption] = None # Indicates whether this workforce integration is currently active and available. is_active: Optional[bool] = None - # The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. + # The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, 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. supported_entities: Optional[WorkforceIntegrationSupportedEntities] = None # Workforce Integration URL for callbacks from the Shifts service. url: Optional[str] = None diff --git a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index ca0d753e775..e4b35183510 100644 --- a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes - Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py index 16afbecefc2..a61086ac48d 100644 --- a/msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/organization/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/organization/item/get_member_objects/get_member_objects_request_builder.py index 015f2c9b619..ec90c5e84b7 100644 --- a/msgraph/generated/organization/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/organization/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index 9c1a2da31ce..619c136b25c 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -80,11 +80,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Organiza async def patch(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Organization]: """ - Update the properties of a organization object. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a organization object. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. 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/generated/organization/organization_request_builder.py b/msgraph/generated/organization/organization_request_builder.py index 314b4ec2fb3..9b9fe4c5965 100644 --- a/msgraph/generated/organization/organization_request_builder.py +++ b/msgraph/generated/organization/organization_request_builder.py @@ -53,10 +53,10 @@ def by_organization_id(self,organization_id: str) -> OrganizationItemRequestBuil async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]: """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -97,7 +97,7 @@ async def post(self,body: Organization, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -179,7 +179,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class OrganizationRequestBuilderGetQueryParameters(): """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py index 63420139d18..ffe9321b868 100644 --- a/msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py index 2f9d355b606..a39eb75e291 100644 --- a/msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py index e15d411e951..d72f204c86a 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py +++ b/msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py @@ -48,9 +48,10 @@ def by_ediscovery_review_tag_id1(self,ediscovery_review_tag_id1: str) -> Ediscov async def get(self,request_configuration: Optional[RequestConfiguration[ChildTagsRequestBuilderGetQueryParameters]] = None) -> Optional[EdiscoveryReviewTagCollectionResponse]: """ - Returns the tags that are a child of a tag. + List eDiscovery review tags with the tag hierarchy shown. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewTagCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-ashierarchy?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildTag def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ChildTagsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Returns the tags that are a child of a tag. + List eDiscovery review tags with the tag hierarchy shown. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +100,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildTagsRequestBuilderGetQueryParameters(): """ - Returns the tags that are a child of a tag. + List eDiscovery review tags with the tag hierarchy shown. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py index 13cd052facb..713643f9cb7 100644 --- a/msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py index 8e033eaa2da..4398ac400af 100644 --- a/msgraph/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/sites/item/lists/item/list_item_request_builder.py b/msgraph/generated/sites/item/lists/item/list_item_request_builder.py index 5ee3c5973e7..c4878267e2e 100644 --- a/msgraph/generated/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph/generated/sites/item/lists/item/list_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]: """ - Get a list of rich long-running operations associated with a list. + Returns the metadata for a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] - Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of rich long-running operations associated with a list. + Returns the metadata for a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -229,7 +229,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Get a list of rich long-running operations associated with a list. + Returns the metadata for a list. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index be3502ce166..bd501a59da3 100644 --- a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team or channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 """ 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_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team or channel. 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/generated/teams/item/channels/item/members/members_request_builder.py b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py index a7c95ccd2eb..94557c919d0 100644 --- a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MembersR async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Add a conversationMember to a channel. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py b/msgraph/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py index d828804407b..dc181c9d320 100644 --- a/msgraph/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py +++ b/msgraph/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workforc async def post(self,body: WorkforceIntegration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkforceIntegration]: """ - Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. + Create a new workforceIntegration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkforceIntegration] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: WorkforceIntegration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. + Create a new workforceIntegration 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/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index e7a7de2e992..0e452ac20de 100644 --- a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -55,11 +55,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. 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/generated/users/item/check_member_groups/check_member_groups_request_builder.py b/msgraph/generated/users/item/check_member_groups/check_member_groups_request_builder.py index 51270439290..3487a6306fe 100644 --- a/msgraph/generated/users/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph/generated/users/item/check_member_groups/check_member_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. 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/generated/users/item/get_member_objects/get_member_objects_request_builder.py b/msgraph/generated/users/item/get_member_objects/get_member_objects_request_builder.py index 5a6eab0629b..e1efe74deb3 100644 --- a/msgraph/generated/users/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph/generated/users/item/get_member_objects/get_member_objects_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] @@ -57,7 +57,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. 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/generated/users/item/presence/presence_request_builder.py b/msgraph/generated/users/item/presence/presence_request_builder.py index 06b15b9be0b..ed34299e61f 100644 --- a/msgraph/generated/users/item/presence/presence_request_builder.py +++ b/msgraph/generated/users/item/presence/presence_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -199,7 +199,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index cde917837fa..e672b17e031 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -108,10 +108,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 user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -142,10 +142,10 @@ def export_device_and_app_management_data_with_skip_with_top(self,skip: int, top async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -202,7 +202,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: st def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -213,7 +213,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -923,7 +923,7 @@ class UserItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index b49452ca308..0b6df8286b2 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -53,10 +53,10 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -98,7 +98,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -180,7 +180,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of user objects. + List properties and relationships of the user objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py index 75cf2d72789..c262eb59852 100644 --- a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +++ b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py @@ -35,10 +35,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 user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -99,7 +99,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -154,7 +154,7 @@ class UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration(Request @dataclass class UsersWithUserPrincipalNameRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. """ def get_query_parameter(self,original_name: str) -> str: """