Skip to content

Commit e8c8628

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 225181
1 parent 1bf9c50 commit e8c8628

697 files changed

Lines changed: 25739 additions & 4296 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

msgraph/generated/admin/service_announcement/health_overviews/item/issues/item/incident_report/incident_report_request_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3131

3232
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
3333
"""
34-
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
34+
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: bytes
3737
Find more info here: https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-1.0
@@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar
5050

5151
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5252
"""
53-
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
53+
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: RequestInformation
5656
"""

msgraph/generated/admin/service_announcement/issues/item/incident_report/incident_report_request_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3131

3232
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
3333
"""
34-
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
34+
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: bytes
3737
Find more info here: https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-1.0
@@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar
5050

5151
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5252
"""
53-
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
53+
Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: RequestInformation
5656
"""

msgraph/generated/admin/service_announcement/issues/item/service_health_issue_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5151

5252
async def get(self,request_configuration: Optional[RequestConfiguration[ServiceHealthIssueItemRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceHealthIssue]:
5353
"""
54-
Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
54+
Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ServiceHealthIssue]
5757
Find more info here: https://learn.microsoft.com/graph/api/servicehealthissue-get?view=graph-rest-1.0
@@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
106106

107107
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceHealthIssueItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
109+
Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation
112112
"""
@@ -159,7 +159,7 @@ class ServiceHealthIssueItemRequestBuilderDeleteRequestConfiguration(RequestConf
159159
@dataclass
160160
class ServiceHealthIssueItemRequestBuilderGetQueryParameters():
161161
"""
162-
Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
162+
Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
163163
"""
164164
def get_query_parameter(self,original_name: str) -> str:
165165
"""

msgraph/generated/admin/service_announcement/messages/archive/archive_post_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ArchivePostResponse(AdditionalDataHolder, BackedModel, Parsable):
1313
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1414
additional_data: dict[str, Any] = field(default_factory=dict)
1515
# The value property
16-
value: Optional[bool] = None
16+
value: Optional[bool] = False
1717

1818
@staticmethod
1919
def create_from_discriminator_value(parse_node: ParseNode) -> ArchivePostResponse:

msgraph/generated/admin/service_announcement/messages/favorite/favorite_post_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class FavoritePostResponse(AdditionalDataHolder, BackedModel, Parsable):
1313
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1414
additional_data: dict[str, Any] = field(default_factory=dict)
1515
# The value property
16-
value: Optional[bool] = None
16+
value: Optional[bool] = False
1717

1818
@staticmethod
1919
def create_from_discriminator_value(parse_node: ParseNode) -> FavoritePostResponse:

msgraph/generated/admin/service_announcement/messages/item/service_update_message_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5252

5353
async def get(self,request_configuration: Optional[RequestConfiguration[ServiceUpdateMessageItemRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceUpdateMessage]:
5454
"""
55-
Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
55+
Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
5656
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5757
Returns: Optional[ServiceUpdateMessage]
5858
Find more info here: https://learn.microsoft.com/graph/api/serviceupdatemessage-get?view=graph-rest-1.0
@@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
107107

108108
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceUpdateMessageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109109
"""
110-
Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
110+
Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
111111
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112112
Returns: RequestInformation
113113
"""
@@ -169,7 +169,7 @@ class ServiceUpdateMessageItemRequestBuilderDeleteRequestConfiguration(RequestCo
169169
@dataclass
170170
class ServiceUpdateMessageItemRequestBuilderGetQueryParameters():
171171
"""
172-
Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
172+
Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
173173
"""
174174
def get_query_parameter(self,original_name: str) -> str:
175175
"""

msgraph/generated/admin/service_announcement/messages/mark_read/mark_read_post_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class MarkReadPostResponse(AdditionalDataHolder, BackedModel, Parsable):
1313
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1414
additional_data: dict[str, Any] = field(default_factory=dict)
1515
# The value property
16-
value: Optional[bool] = None
16+
value: Optional[bool] = False
1717

1818
@staticmethod
1919
def create_from_discriminator_value(parse_node: ParseNode) -> MarkReadPostResponse:

msgraph/generated/admin/service_announcement/messages/mark_unread/mark_unread_post_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class MarkUnreadPostResponse(AdditionalDataHolder, BackedModel, Parsable):
1313
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1414
additional_data: dict[str, Any] = field(default_factory=dict)
1515
# The value property
16-
value: Optional[bool] = None
16+
value: Optional[bool] = False
1717

1818
@staticmethod
1919
def create_from_discriminator_value(parse_node: ParseNode) -> MarkUnreadPostResponse:

msgraph/generated/admin/service_announcement/messages/unarchive/unarchive_post_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class UnarchivePostResponse(AdditionalDataHolder, BackedModel, Parsable):
1313
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1414
additional_data: dict[str, Any] = field(default_factory=dict)
1515
# The value property
16-
value: Optional[bool] = None
16+
value: Optional[bool] = False
1717

1818
@staticmethod
1919
def create_from_discriminator_value(parse_node: ParseNode) -> UnarchivePostResponse:

msgraph/generated/admin/service_announcement/messages/unfavorite/unfavorite_post_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class UnfavoritePostResponse(AdditionalDataHolder, BackedModel, Parsable):
1313
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1414
additional_data: dict[str, Any] = field(default_factory=dict)
1515
# The value property
16-
value: Optional[bool] = None
16+
value: Optional[bool] = False
1717

1818
@staticmethod
1919
def create_from_discriminator_value(parse_node: ParseNode) -> UnfavoritePostResponse:

0 commit comments

Comments
 (0)