Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[Application]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse):
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ExtensionProperty]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse):
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[DirectoryObject]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class FilterOperatorsGetResponse(BaseCollectionPaginationCountResponse):
class FilterOperatorsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[FilterOperatorSchema]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class FunctionsGetResponse(BaseCollectionPaginationCountResponse):
class FunctionsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[AttributeMappingFunctionSchema]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class FilterOperatorsGetResponse(BaseCollectionPaginationCountResponse):
class FilterOperatorsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[FilterOperatorSchema]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class FunctionsGetResponse(BaseCollectionPaginationCountResponse):
class FunctionsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[AttributeMappingFunctionSchema]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAllMessagesGetResponse(BaseCollectionPaginationCountResponse):
class GetAllMessagesGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ChatMessage]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse):
class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ChatMessage]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class AddPostResponse(BaseCollectionPaginationCountResponse):
class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ActionResultPart]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .....models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[ChatMessage]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .......models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[ChatMessage]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse(BaseCollectionPaginationCountResponse):
class GetDirectRoutingCallsWithFromDateTimeWithToDateTimeGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[DirectRoutingLogRow]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse(BaseCollectionPaginationCountResponse):
class GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[PstnCallLogRow]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetPresencesByUserIdPostResponse(BaseCollectionPaginationCountResponse):
class GetPresencesByUserIdPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[Presence]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse(BaseCollectionPaginationCountResponse):
class GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[CallRecording]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse(BaseCollectionPaginationCountResponse):
class GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[CallTranscript]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ......models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[CallRecording]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ......models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[CallTranscript]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class AddActivitiesPostResponse(BaseCollectionPaginationCountResponse):
class AddActivitiesPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ExternalActivityResult]] = None

Expand Down
2 changes: 1 addition & 1 deletion msgraph/generated/contacts/delta/delta_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[OrgContact]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse):
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ExtensionProperty]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse):
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[DirectoryObject]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
2 changes: 1 addition & 1 deletion msgraph/generated/contracts/delta/delta_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[DirectoryObject]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse):
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ExtensionProperty]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse):
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[DirectoryObject]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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-policyset-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
Expand All @@ -71,7 +71,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.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,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 managedAppProtection object.
Read properties and relationships of the windowsInformationProtection 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-managedappprotection-get?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0
"""
request_info = self.to_get_request_information(
request_configuration
Expand Down Expand Up @@ -105,7 +105,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 managedAppProtection object.
Read properties and relationships of the windowsInformationProtection object.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig
@dataclass
class ManagedAppPolicyItemRequestBuilderGetQueryParameters():
"""
Read properties and relationships of the managedAppProtection object.
Read properties and relationships of the windowsInformationProtection object.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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-targetedmanagedappprotection-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.")
Expand Down
Loading
Loading