Skip to content

Commit

Permalink
Merge pull request #357 from microsoftgraph/v1.0/pipelinebuild/125234
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
samwelkanda authored Sep 19, 2023
2 parents bdebe16 + d715df8 commit 20eda09
Show file tree
Hide file tree
Showing 7,168 changed files with 14,083 additions and 7,608 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0a16] - 2023-09-19

### Added

### Changed
- Fix issue with using raw url in request builder due to incorrect parameter order.

## [1.0.0a15] - 2023-09-13

### Added
Expand Down
2 changes: 1 addition & 1 deletion msgraph/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION: str = '1.0.0a15'
VERSION: str = '1.0.0a16'
2 changes: 1 addition & 1 deletion msgraph/generated/admin/admin_request_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AdminRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return AdminRequestBuilder(raw_url, self.request_adapter)
return AdminRequestBuilder(self.request_adapter, raw_url)

@property
def edge(self) -> EdgeRequestBuilder:
Expand Down
2 changes: 1 addition & 1 deletion msgraph/generated/admin/edge/edge_request_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def with_url(self,raw_url: Optional[str] = None) -> EdgeRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return EdgeRequestBuilder(raw_url, self.request_adapter)
return EdgeRequestBuilder(self.request_adapter, raw_url)

@property
def internet_explorer_mode(self) -> InternetExplorerModeRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def with_url(self,raw_url: Optional[str] = None) -> InternetExplorerModeRequestB
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return InternetExplorerModeRequestBuilder(raw_url, self.request_adapter)
return InternetExplorerModeRequestBuilder(self.request_adapter, raw_url)

@property
def site_lists(self) -> SiteListsRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BrowserSiteListItemRequestBu
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return BrowserSiteListItemRequestBuilder(raw_url, self.request_adapter)
return BrowserSiteListItemRequestBuilder(self.request_adapter, raw_url)

@property
def publish(self) -> PublishRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return PublishRequestBuilder(raw_url, self.request_adapter)
return PublishRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BrowserSharedCookieItemReque
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return BrowserSharedCookieItemRequestBuilder(raw_url, self.request_adapter)
return BrowserSharedCookieItemRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SharedCookiesRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return SharedCookiesRequestBuilder(raw_url, self.request_adapter)
return SharedCookiesRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BrowserSiteItemRequestBuilde
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return BrowserSiteItemRequestBuilder(raw_url, self.request_adapter)
return BrowserSiteItemRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SitesRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return SitesRequestBuilder(raw_url, self.request_adapter)
return SitesRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SiteListsRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return SiteListsRequestBuilder(raw_url, self.request_adapter)
return SiteListsRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def with_url(self,raw_url: Optional[str] = None) -> HealthOverviewsRequestBuilde
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return HealthOverviewsRequestBuilder(raw_url, self.request_adapter)
return HealthOverviewsRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def with_url(self,raw_url: Optional[str] = None) -> IssuesRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return IssuesRequestBuilder(raw_url, self.request_adapter)
return IssuesRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def with_url(self,raw_url: Optional[str] = None) -> IncidentReportRequestBuilder
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return IncidentReportRequestBuilder(raw_url, self.request_adapter)
return IncidentReportRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServiceHealthIssueItemReques
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ServiceHealthIssueItemRequestBuilder(raw_url, self.request_adapter)
return ServiceHealthIssueItemRequestBuilder(self.request_adapter, raw_url)

@property
def incident_report(self) -> IncidentReportRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServiceHealthItemRequestBuil
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ServiceHealthItemRequestBuilder(raw_url, self.request_adapter)
return ServiceHealthItemRequestBuilder(self.request_adapter, raw_url)

@property
def issues(self) -> IssuesRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def with_url(self,raw_url: Optional[str] = None) -> IssuesRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return IssuesRequestBuilder(raw_url, self.request_adapter)
return IssuesRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def with_url(self,raw_url: Optional[str] = None) -> IncidentReportRequestBuilder
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return IncidentReportRequestBuilder(raw_url, self.request_adapter)
return IncidentReportRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServiceHealthIssueItemReques
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ServiceHealthIssueItemRequestBuilder(raw_url, self.request_adapter)
return ServiceHealthIssueItemRequestBuilder(self.request_adapter, raw_url)

@property
def incident_report(self) -> IncidentReportRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ArchiveRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ArchiveRequestBuilder(raw_url, self.request_adapter)
return ArchiveRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> FavoriteRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return FavoriteRequestBuilder(raw_url, self.request_adapter)
return FavoriteRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AttachmentsRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return AttachmentsRequestBuilder(raw_url, self.request_adapter)
return AttachmentsRequestBuilder(self.request_adapter, raw_url)

@property
def count(self) -> CountRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return CountRequestBuilder(raw_url, self.request_adapter)
return CountRequestBuilder(self.request_adapter, raw_url)

@dataclass
class CountRequestBuilderGetQueryParameters():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ContentRequestBuilder(raw_url, self.request_adapter)
return ContentRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServiceAnnouncementAttachmen
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ServiceAnnouncementAttachmentItemRequestBuilder(raw_url, self.request_adapter)
return ServiceAnnouncementAttachmentItemRequestBuilder(self.request_adapter, raw_url)

@property
def content(self) -> ContentRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AttachmentsArchiveRequestBui
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return AttachmentsArchiveRequestBuilder(raw_url, self.request_adapter)
return AttachmentsArchiveRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServiceUpdateMessageItemRequ
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ServiceUpdateMessageItemRequestBuilder(raw_url, self.request_adapter)
return ServiceUpdateMessageItemRequestBuilder(self.request_adapter, raw_url)

@property
def attachments(self) -> AttachmentsRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MarkReadRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return MarkReadRequestBuilder(raw_url, self.request_adapter)
return MarkReadRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MarkUnreadRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return MarkUnreadRequestBuilder(raw_url, self.request_adapter)
return MarkUnreadRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MessagesRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return MessagesRequestBuilder(raw_url, self.request_adapter)
return MessagesRequestBuilder(self.request_adapter, raw_url)

@property
def archive(self) -> ArchiveRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return UnarchiveRequestBuilder(raw_url, self.request_adapter)
return UnarchiveRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def with_url(self,raw_url: Optional[str] = None) -> UnfavoriteRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return UnfavoriteRequestBuilder(raw_url, self.request_adapter)
return UnfavoriteRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ServiceAnnouncementRequestBu
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return ServiceAnnouncementRequestBuilder(raw_url, self.request_adapter)
return ServiceAnnouncementRequestBuilder(self.request_adapter, raw_url)

@property
def health_overviews(self) -> HealthOverviewsRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SettingsRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return SettingsRequestBuilder(raw_url, self.request_adapter)
return SettingsRequestBuilder(self.request_adapter, raw_url)

from kiota_abstractions.base_request_configuration import BaseRequestConfiguration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SharepointRequestBuilder:
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return SharepointRequestBuilder(raw_url, self.request_adapter)
return SharepointRequestBuilder(self.request_adapter, raw_url)

@property
def settings(self) -> SettingsRequestBuilder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AgreementAcceptancesRequestB
"""
if not raw_url:
raise TypeError("raw_url cannot be null.")
return AgreementAcceptancesRequestBuilder(raw_url, self.request_adapter)
return AgreementAcceptancesRequestBuilder(self.request_adapter, raw_url)

@dataclass
class AgreementAcceptancesRequestBuilderGetQueryParameters():
Expand Down
Loading

0 comments on commit 20eda09

Please sign in to comment.