Skip to content

Commit

Permalink
Update Swagger.json (12363342505) (#281)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
pyansys-ci-bot and pyansys-ci-bot authored Dec 17, 2024
1 parent 5b6695b commit 32f9e07
Show file tree
Hide file tree
Showing 8 changed files with 1,090 additions and 547 deletions.
2 changes: 1 addition & 1 deletion ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ansys-grantami-serverapi-openapi"
description = "Autogenerated client library for the Granta MI Server API."
version = "4.0.0.dev362"
version = "4.0.0.dev364"
license = "MIT"
authors = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
maintainers = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@
from .models.gsa_linking_value_match_behavior import GsaLinkingValueMatchBehavior
from .models.gsa_links_info import GsaLinksInfo
from .models.gsa_list_action import GsaListAction
from .models.gsa_list_audit_log_item import GsaListAuditLogItem
from .models.gsa_list_audit_log_search_request import GsaListAuditLogSearchRequest
from .models.gsa_list_boolean_criterion import GsaListBooleanCriterion
from .models.gsa_list_criterion import GsaListCriterion
Expand Down Expand Up @@ -1497,6 +1498,7 @@
"GsaLinkingValueMatchBehavior",
"GsaLinksInfo",
"GsaListAction",
"GsaListAuditLogItem",
"GsaListAuditLogSearchRequest",
"GsaListBooleanCriterion",
"GsaListCriterion",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ListAuditLogApi(ApiBase):

def get_list_audit_log_search_results(
self, *, result_resource_identifier: "str"
) -> "Union[GsaRecordListSearchResultsInfo, None]":
) -> "Union[None, list[GsaListAuditLogItem]]":
"""Returns the search results found in the specified resource
This method makes a synchronous HTTP request.
Expand All @@ -61,7 +61,7 @@ def get_list_audit_log_search_results(
Returns
-------
Union[GsaRecordListSearchResultsInfo, None]
Union[None, list[GsaListAuditLogItem]]
"""
data = self._get_list_audit_log_search_results_with_http_info(
result_resource_identifier, _return_http_data_only=True
Expand Down Expand Up @@ -115,7 +115,7 @@ def _get_list_audit_log_search_results_with_http_info(
)

response_type_map: dict[int, Optional[str]] = {
200: "GsaRecordListSearchResultsInfo",
200: "list[GsaListAuditLogItem]",
403: None,
404: None,
410: None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@
from .gsa_linking_value_match_behavior import GsaLinkingValueMatchBehavior
from .gsa_links_info import GsaLinksInfo
from .gsa_list_action import GsaListAction
from .gsa_list_audit_log_item import GsaListAuditLogItem
from .gsa_list_audit_log_search_request import GsaListAuditLogSearchRequest
from .gsa_list_boolean_criterion import GsaListBooleanCriterion
from .gsa_list_criterion import GsaListCriterion
Expand Down Expand Up @@ -1374,6 +1375,7 @@
"GsaLinkingValueMatchBehavior",
"GsaLinksInfo",
"GsaListAction",
"GsaListAuditLogItem",
"GsaListAuditLogSearchRequest",
"GsaListBooleanCriterion",
"GsaListCriterion",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,18 @@ class GsaListAction(Enum):
"""
Allowed Enum values
"""
LISTCREATED = "ListCreated"
LISTDELETED = "ListDeleted"
ITEMADDED = "ItemAdded"
ITEMREMOVED = "ItemRemoved"
LISTNAMECHANGED = "ListNameChanged"
LISTDESCRIPTIONCHANGED = "ListDescriptionChanged"
LISTNOTESCHANGED = "ListNotesChanged"
LISTSETTOAWAITINGAPPROVAL = "ListSetToAwaitingApproval"
LISTAWAITINGAPPROVALREMOVED = "ListAwaitingApprovalRemoved"
LISTPUBLISHED = "ListPublished"
LISTUNPUBLISHED = "ListUnpublished"
LISTREVISIONCREATED = "ListRevisionCreated"
USERSUBSCRIBED = "UserSubscribed"
USERUNSUBSCRIBED = "UserUnsubscribed"
LISTCURATORADDED = "ListCuratorAdded"
Expand All @@ -52,17 +62,5 @@ class GsaListAction(Enum):
LISTADMINREMOVED = "ListAdminRemoved"
LISTPUBLISHERADDED = "ListPublisherAdded"
LISTPUBLISHERREMOVED = "ListPublisherRemoved"
LISTNAMECHANGED = "ListNameChanged"
LISTDESCRIPTIONCHANGED = "ListDescriptionChanged"
LISTNOTESCHANGED = "ListNotesChanged"
LISTMADEINTERNAL = "ListMadeInternal"
LISTMADENOTINTERNAL = "ListMadeNotInternal"
LISTCREATED = "ListCreated"
LISTDELETED = "ListDeleted"
LISTSETTOAWAITINGAPPROVAL = "ListSetToAwaitingApproval"
LISTSETTOAWAITINGUNPUBLISH = "ListSetToAwaitingUnpublish"
LISTAWAITINGAPPROVALREMOVED = "ListAwaitingApprovalRemoved"
LISTPUBLISHED = "ListPublished"
LISTUNPUBLISHED = "ListUnpublished"
LISTREVISIONCREATED = "ListRevisionCreated"
LISTCOPIED = "ListCopied"
Loading

0 comments on commit 32f9e07

Please sign in to comment.