Skip to content

Commit

Permalink
Merge pull request #933 from microsoftgraph/v1.0/pipelinebuild/167435
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
shemogumbe authored Oct 17, 2024
2 parents 58f61a0 + 03b3c7a commit 4b3919c
Show file tree
Hide file tree
Showing 61 changed files with 244 additions and 246 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,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 channel or a chat.
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.
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/chatmessage-post?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0
"""
if body is None:
raise TypeError("body cannot be null.")
Expand Down Expand Up @@ -105,7 +105,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 channel or a chat.
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D

async def get(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters]] = None) -> Optional[GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse]:
"""
Get log of PSTN calls as a collection of pstnCallLogRow entries.
Get a log of PSTN calls as a collection of pstnCallLogRow entries.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse]
"""
Expand All @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Get log of PSTN calls as a collection of pstnCallLogRow entries.
Get a log of PSTN calls as a collection of pstnCallLogRow entries.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand All @@ -79,7 +79,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphCallRecordsGetPstnCallsWithFrom
@dataclass
class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters():
"""
Get log of PSTN calls as a collection of pstnCallLogRow entries.
Get a log of PSTN calls as a collection of pstnCallLogRow entries.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
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-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-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-apps-deviceappmanagement-update?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-books-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 @@ -49,10 +49,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 managedAppRegistration objects.
List properties and relationships of the iosManagedAppRegistration 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-managedappregistration-list?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0
"""
request_info = self.to_get_request_information(
request_configuration
Expand Down Expand Up @@ -94,7 +94,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 managedAppRegistration objects.
List properties and relationships of the iosManagedAppRegistration objects.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -149,7 +149,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp
@dataclass
class ManagedAppRegistrationsRequestBuilderGetQueryParameters():
"""
List properties and relationships of the managedAppRegistration objects.
List properties and relationships of the iosManagedAppRegistration objects.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,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
Expand Down Expand Up @@ -104,7 +104,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
"""
Expand Down Expand Up @@ -148,7 +148,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:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,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
Expand Down Expand Up @@ -92,7 +92,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
"""
Expand Down Expand Up @@ -138,7 +138,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:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ def by_managed_e_book_assignment_id(self,managed_e_book_assignment_id: str) -> M

async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]:
"""
List properties and relationships of the iosVppEBookAssignment objects.
List properties and relationships of the managedEBookAssignment objects.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[ManagedEBookAssignmentCollectionResponse]
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0
"""
request_info = self.to_get_request_information(
request_configuration
Expand All @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme

async def post(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
"""
Create a new iosVppEBookAssignment object.
Create a new managedEBookAssignment object.
param body: The request body
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-create?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0
"""
if body is None:
raise TypeError("body cannot be null.")
Expand All @@ -93,7 +93,7 @@ async def post(self,body: ManagedEBookAssignment, request_configuration: Optiona

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
List properties and relationships of the iosVppEBookAssignment objects.
List properties and relationships of the managedEBookAssignment objects.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand All @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi

def to_post_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
"""
Create a new iosVppEBookAssignment object.
Create a new managedEBookAssignment object.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
Expand Down Expand Up @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
@dataclass
class AssignmentsRequestBuilderGetQueryParameters():
"""
List properties and relationships of the iosVppEBookAssignment objects.
List properties and relationships of the managedEBookAssignment objects.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
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[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
Expand Down Expand Up @@ -106,7 +106,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
"""
Expand Down Expand Up @@ -150,7 +150,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:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,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 iosVppEBook objects.
List properties and relationships of the managedEBook 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-iosvppebook-list?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0
"""
request_info = self.to_get_request_information(
request_configuration
Expand Down Expand Up @@ -93,7 +93,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 iosVppEBook objects.
List properties and relationships of the managedEBook objects.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
@dataclass
class ManagedEBooksRequestBuilderGetQueryParameters():
"""
List properties and relationships of the iosVppEBook objects.
List properties and relationships of the managedEBook objects.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
Expand Down
Loading

0 comments on commit 4b3919c

Please sign in to comment.